/* =========================================================
   MAKE SENSE LOGIC
   Website Builder · Guided Planning
   ========================================================= */

:root {
  --navy-950: #031421;
  --navy-900: #071c2b;
  --navy-850: #0b2635;
  --navy-800: #103343;

  --ink: #092239;
  --text: #273c4d;
  --muted: #697b88;

  --ivory: #f8f7f2;
  --paper: #ffffff;
  --line: #dce4e6;
  --line-dark: rgba(255, 255, 255, 0.12);

  --cyan: #48c5f2;
  --teal: #29b9a9;
  --green: #42dea0;
  --emerald: #087460;
  --emerald-dark: #055647;

  --gold: #d9b954;
  --gold-light: #f0d780;

  --shadow:
    0 24px 70px rgba(5, 27, 39, 0.12);

  --shadow-small:
    0 12px 30px rgba(5, 27, 39, 0.09);

  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 12px;

  --font-body: "DM Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(
      circle at 8% 78%,
      rgba(41, 185, 169, 0.1),
      transparent 24rem
    ),
    radial-gradient(
      circle at 97% 12%,
      rgba(217, 185, 84, 0.1),
      transparent 28rem
    ),
    var(--ivory);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
}

[hidden] {
  display: none !important;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
  outline: 3px solid rgba(72, 197, 242, 0.55);
  outline-offset: 4px;
}

.route-card input:focus-visible + .route-card-inner {
  outline: 3px solid rgba(72, 197, 242, 0.5);
  outline-offset: 4px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 102px;
  padding: 18px clamp(24px, 5vw, 76px);
  color: #ffffff;
  background: var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 16px;
}

.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  border: 3px solid var(--cyan);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 34px;
  height: 2px;
  background: var(--cyan);
  transform: translateY(-50%);
}

.brand-mark::before {
  width: 45px;
  box-shadow:
    0 -10px 0 var(--gold),
    0 10px 0 var(--green);
}

.brand-mark::after {
  display: none;
}

.brand-mark i {
  position: absolute;
  top: 50%;
  right: 11px;
  width: 26px;
  height: 26px;
  border-top: 6px solid var(--green);
  border-right: 6px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.brand-name strong b {
  color: var(--green);
  font-weight: 800;
}

.brand-name small {
  margin-top: 9px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-align: center;
}

.product-name {
  display: grid;
  gap: 2px;
  text-align: center;
}

.product-name span {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-name small {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.return-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  color: #ffffff;
  border: 1px solid rgba(72, 197, 242, 0.55);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.return-link span {
  color: var(--green);
}

.return-link:hover {
  background: rgba(72, 197, 242, 0.08);
  border-color: var(--green);
  transform: translateY(-2px);
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.planner-shell {
  display: grid;
  grid-template-columns:
    minmax(230px, 0.7fr)
    minmax(620px, 1.8fr)
    minmax(220px, 0.62fr);
  gap: clamp(20px, 2.2vw, 38px);
  width: min(1600px, calc(100% - 56px));
  min-height: calc(100vh - 182px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 84px) 0;
}


/* =========================================================
   LEFT INTRODUCTION
   ========================================================= */

.planner-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px 8px 28px;
}

.planner-intro::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -90px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(41, 185, 169, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.planner-intro::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: -120px;
  width: 260px;
  height: 260px;
  background: rgba(41, 185, 169, 0.06);
  border-radius: 44% 56% 62% 38%;
  transform: rotate(24deg);
  pointer-events: none;
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 16px;
  background: var(--gold);
}

.planner-intro h1 {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.1vw, 70px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.planner-intro h1 span {
  display: block;
  color: var(--emerald);
}

.intro-statement {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: 28px 0 0;
  color: #526978;
  font-family: var(--font-heading);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.3;
}

.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.intro-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 70px;
}

.intro-footer::before {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--gold);
}

.intro-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}


/* =========================================================
   CENTRAL WORKSPACE
   ========================================================= */

.planner-workspace {
  position: relative;
  min-width: 0;
}

.planner-screen {
  min-height: 680px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 116, 96, 0.11);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
  animation: screenReveal 420ms ease both;
}

.screen-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  border-bottom: 1px solid var(--line);
}

.screen-kicker {
  margin: 0;
  color: var(--emerald);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.screen-status {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.planning-time {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  color: var(--emerald-dark);
  background: rgba(41, 185, 169, 0.09);
  border: 1px solid rgba(41, 185, 169, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}


/* =========================================================
   WELCOME SCREEN
   ========================================================= */

.welcome-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
  padding: clamp(60px, 8vw, 110px) clamp(34px, 7vw, 92px);
}

.welcome-symbol {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 34px;
  padding: 13px;
  color: var(--emerald);
  background:
    linear-gradient(
      145deg,
      rgba(41, 185, 169, 0.14),
      rgba(72, 197, 242, 0.1)
    );
  border: 1px solid rgba(41, 185, 169, 0.22);
  border-radius: 50%;
}

.welcome-symbol svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.welcome-content .eyebrow {
  margin-bottom: 20px;
}

.welcome-content .eyebrow::after {
  display: none;
}

.welcome-content h2,
.next-content h2 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.welcome-content > p:not(.eyebrow):not(.privacy-message) {
  max-width: 610px;
  margin: 26px 0 0;
  color: #566c79;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    background 180ms ease;
}

.button.primary {
  min-width: 230px;
  margin-top: 38px;
  color: #ffffff;
  background:
    linear-gradient(
      110deg,
      var(--emerald),
      var(--teal)
    );
  box-shadow:
    0 14px 30px rgba(8, 116, 96, 0.2);
}

.button.primary span {
  font-size: 20px;
  transition: transform 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(8, 116, 96, 0.24);
}

.button:hover:not(:disabled) span {
  transform: translateX(4px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
}

.privacy-message {
  margin: 24px 0 0;
  color: #7b8c96;
  font-size: 12px;
}


/* =========================================================
   ROUTE SCREEN
   ========================================================= */

.route-fieldset {
  min-width: 0;
  margin: 0;
  padding: 36px 34px 16px;
  border: 0;
}

.route-fieldset legend {
  width: 100%;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.question-support {
  max-width: 680px;
  margin: 12px 0 26px;
  color: var(--muted);
  font-size: 15px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.route-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.route-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.route-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  height: 100%;
  padding: 23px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  box-shadow: 0 8px 20px rgba(8, 34, 48, 0.035);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.route-card-inner::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  background: rgba(41, 185, 169, 0.06);
  border-radius: 50%;
  transition: transform 240ms ease;
}

.route-card:hover .route-card-inner {
  border-color: rgba(8, 116, 96, 0.35);
  box-shadow: var(--shadow-small);
  transform: translateY(-3px);
}

.route-card:hover .route-card-inner::after {
  transform: scale(1.2);
}

.route-card input:checked + .route-card-inner {
  background:
    linear-gradient(
      145deg,
      rgba(41, 185, 169, 0.09),
      rgba(255, 255, 255, 0.98) 58%
    );
  border-color: var(--emerald);
  box-shadow:
    0 0 0 2px rgba(8, 116, 96, 0.1),
    var(--shadow-small);
}

.route-card input:checked + .route-card-inner::before {
  content: "✓";
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #ffffff;
  background: var(--emerald);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.route-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 50%;
}

.route-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-icon-build {
  color: var(--emerald);
  background: rgba(41, 185, 169, 0.13);
}

.route-icon-learn {
  color: #21779a;
  background: rgba(72, 197, 242, 0.14);
}

.route-icon-hybrid {
  color: #936f14;
  background: rgba(217, 185, 84, 0.17);
}

.route-icon-guidance {
  color: #6a6b9e;
  background: rgba(106, 107, 158, 0.12);
}

.route-number {
  margin-bottom: 4px;
  color: var(--emerald);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.route-card strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.25;
}

.route-description {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.route-select {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--emerald-dark);
  font-size: 11px;
  font-weight: 700;
}

.route-select b {
  color: var(--teal);
  font-size: 17px;
  transition: transform 180ms ease;
}

.route-card:hover .route-select b {
  transform: translateX(4px);
}

.route-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 20px 34px 30px;
  border-top: 1px solid var(--line);
}

.route-actions p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.route-actions .button {
  flex: 0 0 auto;
  min-width: 180px;
  margin-top: 0;
}

.quiet-button {
  padding: 6px 0;
  color: var(--emerald-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.quiet-button:hover {
  color: var(--teal);
}


/* =========================================================
   TEMPORARY NEXT SCREEN
   ========================================================= */

.next-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
  padding: clamp(52px, 7vw, 90px);
}

.next-content .quiet-button {
  margin-bottom: 50px;
}

.next-content .eyebrow {
  margin-bottom: 20px;
}

.next-content .eyebrow::after {
  display: none;
}

.next-content > p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.next-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 630px;
  margin-top: 34px;
  padding: 20px;
  background: rgba(41, 185, 169, 0.08);
  border: 1px solid rgba(41, 185, 169, 0.2);
  border-radius: var(--radius-small);
}

.next-callout > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: var(--emerald);
  border-radius: 50%;
  font-size: 12px;
}

.next-callout p {
  margin: 1px 0 0;
  color: #4f6874;
  font-size: 14px;
}


/* =========================================================
   RIGHT JOURNEY PANEL
   ========================================================= */

.journey-panel {
  align-self: start;
  padding: 34px 27px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 116, 96, 0.12);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(12px);
}

.journey-title {
  margin: 0 0 32px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
}

.journey-list {
  position: relative;
  display: grid;
  gap: 23px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-list::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 10px;
  width: 1px;
  background: var(--line);
}

.journey-list li {
  position: relative;
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 13px;
  align-items: flex-start;
}

.journey-list li > span {
  position: relative;
  z-index: 1;
  display: block;
  width: 21px;
  height: 21px;
  background: var(--paper);
  border: 2px solid #cdd7da;
  border-radius: 50%;
}

.journey-list li.is-active > span {
  background: var(--emerald);
  border-color: var(--emerald);
  box-shadow: 0 0 0 5px rgba(41, 185, 169, 0.1);
}

.journey-list li.is-active > span::after {
  content: "";
  position: absolute;
  inset: 7px;
  background: #ffffff;
  border-radius: 50%;
}

.journey-list strong,
.journey-list small {
  display: block;
}

.journey-list strong {
  color: #556a77;
  font-size: 13px;
  font-weight: 600;
}

.journey-list small {
  margin-top: 2px;
  color: #93a0a7;
  font-size: 10px;
  line-height: 1.35;
}

.journey-list li.is-active strong {
  color: var(--ink);
}

.journey-message {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.journey-message > span {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 15px;
  background: var(--gold);
}

.journey-message p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 80px;
  padding: 18px clamp(24px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.65);
  background: var(--navy-950);
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer > div {
  display: flex;
  gap: 22px;
}

.site-footer a:hover {
  color: var(--green);
}

.footer-message {
  justify-self: end;
}

.footer-message span {
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: var(--gold);
}

.noscript-message {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  padding: 18px;
  color: #ffffff;
  background: #8d3030;
  border-radius: 10px;
  text-align: center;
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes screenReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   LARGE TABLETS
   ========================================================= */

@media (max-width: 1180px) {
  .planner-shell {
    grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1.5fr);
  }

  .journey-panel {
    display: none;
  }

  .planner-intro h1 {
    font-size: clamp(40px, 5vw, 58px);
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 88px;
    padding: 14px 24px;
  }

  .product-name {
    display: none;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .brand-mark::before {
    right: 28px;
    width: 36px;
  }

  .brand-mark i {
    right: 9px;
    width: 21px;
    height: 21px;
    border-width: 5px;
  }

  .brand-name strong {
    font-size: 15px;
  }

  .planner-shell {
    display: block;
    width: min(100% - 32px, 760px);
    min-height: auto;
    padding: 34px 0 50px;
  }

  .planner-intro {
    padding: 20px 6px 40px;
  }

  .planner-intro::before,
  .planner-intro::after,
  .intro-footer {
    display: none;
  }

  .planner-intro h1 {
    max-width: 600px;
    font-size: clamp(42px, 9vw, 68px);
  }

  .intro-statement {
    margin-top: 18px;
  }

  .intro-copy {
    max-width: 650px;
    margin-top: 16px;
  }

  .planner-screen {
    min-height: 640px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {
  .site-header {
    min-height: 78px;
    padding: 11px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 49px;
    height: 49px;
    border-width: 2px;
  }

  .brand-mark::before {
    right: 24px;
    width: 30px;
    height: 1px;
    box-shadow:
      0 -7px 0 var(--gold),
      0 7px 0 var(--green);
  }

  .brand-mark i {
    right: 8px;
    width: 17px;
    height: 17px;
    border-width: 4px;
  }

  .brand-name strong {
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .brand-name small {
    margin-top: 6px;
    font-size: 8px;
  }

  .return-link {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }

  .return-link span {
    display: none;
  }

  .planner-shell {
    width: min(100% - 20px, 580px);
    padding: 22px 0 34px;
  }

  .planner-intro {
    padding: 10px 5px 28px;
  }

  .planner-intro .eyebrow {
    margin-bottom: 18px;
  }

  .planner-intro h1 {
    max-width: 420px;
    font-size: clamp(40px, 13vw, 58px);
  }

  .intro-statement {
    max-width: 420px;
    font-size: 21px;
  }

  .intro-copy {
    font-size: 14px;
  }

  .planner-screen {
    min-height: 0;
    border-radius: 20px;
  }

  .screen-topline {
    display: block;
    padding: 20px;
  }

  .planning-time {
    margin-top: 13px;
  }

  .screen-topline .quiet-button {
    margin-top: 12px;
  }

  .welcome-content {
    padding: 48px 22px 44px;
  }

  .welcome-symbol {
    width: 66px;
    height: 66px;
    margin-bottom: 26px;
  }

  .welcome-content h2,
  .next-content h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .welcome-content > p:not(.eyebrow):not(.privacy-message) {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .route-fieldset {
    padding: 28px 18px 12px;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .route-card-inner {
    min-height: 235px;
  }

  .route-actions {
    display: grid;
    padding: 20px 18px 26px;
  }

  .route-actions .button {
    width: 100%;
  }

  .next-content {
    padding: 38px 22px 44px;
  }

  .next-content .quiet-button {
    margin-bottom: 38px;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 26px 20px;
  }

  .site-footer > div {
    flex-wrap: wrap;
  }

  .footer-message {
    justify-self: auto;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {
  .brand-name strong {
    font-size: 11px;
  }

  .return-link {
    padding: 0 11px;
  }

  .planner-intro h1 {
    font-size: 39px;
  }

  .route-card-inner {
    padding: 20px;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   GUIDED FORMS
   Help Me Decide + Your Business
   ========================================================= */

.guided-form {
  padding: clamp(32px, 5vw, 58px);
}

.form-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.form-heading .eyebrow {
  margin-bottom: 16px;
}

.form-heading .eyebrow::after {
  display: none;
}

.form-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.form-heading > p:not(.eyebrow) {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.stage-progress {
  height: 5px;
  overflow: hidden;
  background: #e8edef;
}

.stage-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--emerald),
    var(--green)
  );
}


/* =========================================================
   GUIDANCE QUESTIONS
   ========================================================= */

.question-block {
  margin: 0;
  padding: 32px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.question-block legend {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  margin-bottom: 21px;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.question-block legend > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: -3px;
  color: var(--emerald);
  background: rgba(41, 185, 169, 0.1);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.choice-grid {
  display: grid;
  gap: 13px;
}

.choice-grid.three-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-grid.two-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
  position: relative;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-card > span {
  position: relative;
  display: block;
  min-height: 120px;
  height: 100%;
  padding: 21px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.choice-card:hover > span {
  border-color: rgba(8, 116, 96, 0.45);
  box-shadow: var(--shadow-small);
  transform: translateY(-2px);
}

.choice-card input:checked + span {
  background: rgba(41, 185, 169, 0.08);
  border-color: var(--emerald);
  box-shadow: 0 0 0 2px rgba(8, 116, 96, 0.08);
}

.choice-card input:checked + span::after {
  content: "✓";
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #ffffff;
  background: var(--emerald);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.choice-card input:focus-visible + span {
  outline: 3px solid rgba(72, 197, 242, 0.5);
  outline-offset: 3px;
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  padding-right: 28px;
  color: var(--ink);
  font-size: 15px;
}

.choice-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}


/* =========================================================
   BUSINESS FORM
   ========================================================= */

.form-section {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.form-section-heading {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 17px;
  margin-bottom: 27px;
}

.form-section-heading > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--emerald);
  background: rgba(41, 185, 169, 0.1);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.form-section-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 23px;
}

.form-section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
  margin-top: 19px;
}

.field > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.field > span b {
  color: #ba554c;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cedadd;
  border-radius: 11px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field input,
.field select {
  min-height: 51px;
  padding: 0 15px;
}

.field textarea {
  min-height: 110px;
  padding: 14px 15px;
  line-height: 1.6;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(41, 185, 169, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa8af;
}

.inline-question {
  margin: 27px 0 0;
  padding: 0;
  border: 0;
}

.inline-question legend {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.compact-choices {
  display: flex;
  gap: 10px;
}

.wrap-choices {
  flex-wrap: wrap;
}

.compact-choices label {
  position: relative;
  cursor: pointer;
}

.compact-choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.compact-choices label > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 15px;
  color: #526875;
  background: #ffffff;
  border: 1px solid #d2dcdf;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.compact-choices input:checked + span {
  color: #ffffff;
  background: var(--emerald);
  border-color: var(--emerald);
}

.compact-choices input:focus-visible + span {
  outline: 3px solid rgba(72, 197, 242, 0.5);
  outline-offset: 3px;
}

#existing-website-details {
  margin-top: 27px;
  padding: 25px;
  background: rgba(41, 185, 169, 0.05);
  border: 1px solid rgba(41, 185, 169, 0.18);
  border-radius: 16px;
}

#existing-website-details .field:first-child {
  margin-top: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.form-actions p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-actions .button {
  flex: 0 0 auto;
  width: auto;
  min-width: 220px;
  margin: 0;
}


/* Completed journey item */

.journey-list li.is-complete > span {
  background: var(--green);
  border-color: var(--green);
}

.journey-list li.is-complete > span::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  font-size: 10px;
  font-weight: 800;
}


/* =========================================================
   RESPONSIVE FORM LAYOUT
   ========================================================= */

@media (max-width: 760px) {
  .choice-grid.three-options,
  .choice-grid.two-options,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .choice-card > span {
    min-height: 104px;
  }

  .form-actions {
    display: grid;
  }

  .form-actions .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .guided-form {
    padding: 30px 19px 36px;
  }

  .question-block {
    padding: 26px 0;
  }

  .question-block legend {
    font-size: 17px;
  }

  .form-section {
    padding: 31px 0;
  }

  .compact-choices {
    flex-wrap: wrap;
  }

  #existing-website-details {
    padding: 18px;
  }
}


/* =========================================================
   STEP 2 — PURPOSE & WEBSITE TYPE
   ========================================================= */

.purpose-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.purpose-fieldset legend {
  margin-bottom: 17px;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.purpose-fieldset legend b {
  color: #ba554c;
}


/* Website goals */

.purpose-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.purpose-choice {
  position: relative;
  cursor: pointer;
}

.purpose-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.purpose-choice > span {
  position: relative;
  display: block;
  min-height: 125px;
  height: 100%;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.purpose-choice:hover > span {
  border-color: rgba(8, 116, 96, 0.42);
  box-shadow: var(--shadow-small);
  transform: translateY(-2px);
}

.purpose-choice input:checked + span {
  background: rgba(41, 185, 169, 0.08);
  border-color: var(--emerald);
  box-shadow: 0 0 0 2px rgba(8, 116, 96, 0.07);
}

.purpose-choice input:checked + span::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  background: var(--emerald);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.purpose-choice input:focus-visible + span {
  outline: 3px solid rgba(72, 197, 242, 0.5);
  outline-offset: 3px;
}

.purpose-choice strong,
.purpose-choice small {
  display: block;
}

.purpose-choice strong {
  padding-right: 25px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.purpose-choice small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}


/* Main visitor action */

.main-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.action-choice {
  position: relative;
  cursor: pointer;
}

.action-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.action-choice > span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  height: 100%;
  padding: 12px 42px 12px 16px;
  color: #526875;
  background: #ffffff;
  border: 1px solid #d2dcdf;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.action-choice:hover > span {
  color: var(--emerald-dark);
  border-color: rgba(8, 116, 96, 0.4);
  transform: translateY(-1px);
}

.action-choice input:checked + span {
  color: var(--emerald-dark);
  background: rgba(41, 185, 169, 0.09);
  border-color: var(--emerald);
}

.action-choice input:checked + span::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #ffffff;
  background: var(--emerald);
  border-radius: 50%;
  font-size: 10px;
  transform: translateY(-50%);
}

.action-choice input:focus-visible + span {
  outline: 3px solid rgba(72, 197, 242, 0.5);
  outline-offset: 3px;
}


/* Website types */

.website-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.website-type-card {
  position: relative;
  cursor: pointer;
}

.website-type-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.website-type-card > span {
  position: relative;
  display: block;
  min-height: 105px;
  height: 100%;
  padding: 20px 48px 20px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.website-type-card:hover > span {
  border-color: rgba(8, 116, 96, 0.42);
  box-shadow: var(--shadow-small);
  transform: translateY(-2px);
}

.website-type-card input:checked + span {
  background: rgba(41, 185, 169, 0.08);
  border-color: var(--emerald);
}

.website-type-card input:checked + span::after {
  content: "✓";
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #ffffff;
  background: var(--emerald);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.website-type-card input:focus-visible + span {
  outline: 3px solid rgba(72, 197, 242, 0.5);
  outline-offset: 3px;
}

.website-type-card strong,
.website-type-card small {
  display: block;
}

.website-type-card strong {
  color: var(--ink);
  font-size: 14px;
}

.website-type-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.recommend-card > span {
  background:
    linear-gradient(
      140deg,
      rgba(217, 185, 84, 0.1),
      #ffffff 65%
    );
  border-color: rgba(217, 185, 84, 0.45);
}


/* Responsive Step 2 */

@media (max-width: 900px) {
  .purpose-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .purpose-choice-grid,
  .main-action-grid,
  .website-type-grid {
    grid-template-columns: 1fr;
  }

  .purpose-choice > span {
    min-height: 105px;
  }

  .website-type-card > span {
    min-height: 96px;
  }
}


/* =========================================================
   STEP 3 — PAGES & REQUIREMENTS
   ========================================================= */

.requirements-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.requirements-fieldset legend {
  margin-bottom: 17px;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.requirements-fieldset legend b {
  color: #ba554c;
}


/* Reusable selection chips */

.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.selection-chip {
  position: relative;
  cursor: pointer;
}

.selection-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.selection-chip > span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 55px;
  height: 100%;
  padding: 11px 42px 11px 15px;
  color: #526875;
  background: #ffffff;
  border: 1px solid #d2dcdf;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.selection-chip:hover > span {
  color: var(--emerald-dark);
  border-color: rgba(8, 116, 96, 0.42);
  box-shadow: 0 8px 18px rgba(5, 27, 39, 0.06);
  transform: translateY(-1px);
}

.selection-chip input:checked + span {
  color: var(--emerald-dark);
  background: rgba(41, 185, 169, 0.09);
  border-color: var(--emerald);
}

.selection-chip input:checked + span::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 13px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #ffffff;
  background: var(--emerald);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  transform: translateY(-50%);
}

.selection-chip input:focus-visible + span {
  outline: 3px solid rgba(72, 197, 242, 0.5);
  outline-offset: 3px;
}

.recommendation-chip > span {
  color: #806718;
  background:
    linear-gradient(
      140deg,
      rgba(217, 185, 84, 0.12),
      #ffffff 75%
    );
  border-color: rgba(217, 185, 84, 0.45);
}


/* Conditional panels */

.conditional-section {
  margin-top: 28px;
  padding: 30px;
  background:
    linear-gradient(
      145deg,
      rgba(41, 185, 169, 0.06),
      rgba(255, 255, 255, 0.9)
    );
  border: 1px solid rgba(41, 185, 169, 0.2);
  border-radius: 17px;
}

.conditional-section .form-section-heading {
  margin-bottom: 22px;
}

.conditional-section .form-section-heading > span {
  color: #806718;
  background: rgba(217, 185, 84, 0.16);
}


/* Responsive requirements */

@media (max-width: 900px) {
  .selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .selection-grid {
    grid-template-columns: 1fr;
  }

  .conditional-section {
    padding: 20px 17px;
  }
}


/* =========================================================
   STEP 4 · DESIGN & CONTENT
   ========================================================= */

#design-screen .form-introduction {
  position: relative;
  overflow: hidden;
}

#design-screen .form-introduction::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(41, 185, 169, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(72, 197, 242, 0.035),
    0 0 0 104px rgba(217, 185, 84, 0.025);
  pointer-events: none;
}

#design-screen .selection-guidance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

#design-screen #style-count {
  flex: 0 0 auto;
  padding: 7px 11px;
  color: var(--emerald-dark);
  background: rgba(41, 185, 169, 0.09);
  border: 1px solid rgba(41, 185, 169, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#design-screen #design-style-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#design-screen #design-style-grid .selection-chip > span {
  min-height: 76px;
  align-items: flex-start;
  padding-top: 17px;
  background:
    linear-gradient(
      145deg,
      rgba(72, 197, 242, 0.025),
      #ffffff 70%
    );
}

#design-screen #design-style-grid .selection-chip input:checked + span {
  background:
    linear-gradient(
      145deg,
      rgba(41, 185, 169, 0.14),
      rgba(72, 197, 242, 0.06)
    );
  box-shadow: 0 10px 24px rgba(5, 86, 71, 0.08);
}

#brand-colour-field {
  margin-top: 20px;
  padding: 22px;
  background: rgba(41, 185, 169, 0.055);
  border: 1px solid rgba(41, 185, 169, 0.18);
  border-radius: 14px;
  animation: reveal-field 220ms ease both;
}

#brand-colour-field[hidden] {
  display: none;
}

#design-screen .form-information {
  margin-top: 24px;
  padding: 18px 20px;
  color: #506875;
  background:
    linear-gradient(
      135deg,
      rgba(72, 197, 242, 0.07),
      rgba(41, 185, 169, 0.06)
    );
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  font-size: 13px;
  line-height: 1.65;
}

#design-screen input[type="url"] {
  width: 100%;
}

#design-screen .form-message {
  min-height: 22px;
}

@keyframes reveal-field {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  #design-screen #design-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #design-screen .selection-guidance {
    align-items: flex-start;
    flex-direction: column;
  }

  #design-screen #design-style-grid {
    grid-template-columns: 1fr;
  }

  #brand-colour-field {
    padding: 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #brand-colour-field {
    animation: none;
  }
}



/* =========================================================
   STEP 7 · REVIEW & SUBMIT
   ========================================================= */

.review-body {
  padding: clamp(2rem, 5vw, 4.5rem);
}

.review-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.review-card {
  overflow: hidden;
  border: 1px solid #d7e1e5;
  border-radius: 1.25rem;
  background: #fff;
}

.review-card.has-missing {
  border-color: #dba84a;
  background: #fffcf5;
}

.review-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e4eaed;
  background: #fbfcfc;
}

.review-card.has-missing .review-card-heading {
  background: #fff8e8;
}

.review-card-heading div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-card-heading > div > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #eaf7f3;
  color: #237b68;
  font-size: 0.75rem;
  font-weight: 700;
}

.review-card-heading h3 {
  margin: 0;
  color: #10243d;
  font-size: 1.15rem;
}

.review-edit {
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #1d6658;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.review-edit:hover,
.review-edit:focus-visible {
  color: #10243d;
}

.review-card-content {
  padding: 1.5rem;
}

.review-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.6fr);
  gap: 1.5rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #edf1f2;
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row dt {
  color: #687b8b;
  font-size: 0.9rem;
  font-weight: 600;
}

.review-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #10243d;
  line-height: 1.6;
  white-space: pre-line;
}

.review-empty,
.review-missing {
  margin: 0;
  color: #687b8b;
  line-height: 1.7;
}

.review-missing {
  color: #8a5a00;
  font-weight: 600;
}

.review-alert {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid #e5bf68;
  border-radius: 0.9rem;
  background: #fff8e8;
  color: #76500a;
  line-height: 1.6;
}

.review-alert.is-success {
  border-color: #bde8dc;
  background: #effaf7;
  color: #176353;
}

.review-submit-form {
  margin-top: 2rem;
}

.review-consent {
  padding: 1.5rem;
  border: 1px solid #d7e1e5;
  border-radius: 1.15rem;
  background: #f8fbfa;
}

.consent-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: #10243d;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
}

.consent-choice input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.18rem;
  flex: 0 0 auto;
  accent-color: #237b68;
}

.review-consent p {
  margin: 1rem 0 0 2.15rem;
  color: #687b8b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.review-consent a {
  color: #176353;
  font-weight: 700;
}

.review-actions {
  margin-top: 1.5rem;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.submission-success {
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(2rem, 6vw, 5rem);
  text-align: center;
}

.success-symbol {
  display: grid;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #237b68, #54d5b2);
  box-shadow: 0 1.2rem 3rem rgba(35, 123, 104, 0.2);
  color: white;
  font-size: 2rem;
  font-weight: 700;
}

.submission-success h2 {
  margin: 1rem auto;
  color: #10243d;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
}

.submission-success > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  color: #687b8b;
  font-size: 1.1rem;
  line-height: 1.8;
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.button.is-submitting {
  cursor: wait;
  opacity: 0.75;
}

@media (max-width: 700px) {
  .review-body {
    padding: 1.5rem;
  }

  .review-card-heading {
    align-items: flex-start;
    padding: 1rem;
  }

  .review-card-content {
    padding: 1rem;
  }

  .review-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .review-consent p {
    margin-left: 0;
  }

  .success-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .success-actions .button {
    justify-content: center;
    width: 100%;
  }
}