/* Credolex landing page
   Brand palette and the Averia Serif Libre / Inter pairing come from the Claude
   Design prototype. The section rhythm alternates on purpose — cream hero,
   white card, dark tracks, cream pricing, navy request, cream FAQ, dark footer —
   so no two adjacent sections share a ground. Breakpoints: 1180 / 940 / 620. */

:root {
  --sand: #F2EFE6;
  --navy: #2C4A6E;
  --navy-dark: #1E3550;
  --gold: #C9A227;
  --gold-dark: #B8930F;
  --gold-text: #9B7C13;
  --ink: #1A1A1A;
  --serif: 'Averia Serif Libre', Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-dark); }
img { display: block; max-width: 100%; }
input, select, button, textarea { font-family: var(--sans); }
/* .form is display:grid, which otherwise beats the hidden attribute. */
[hidden] { display: none !important; }

/* ---------- Hero ----------
   The texture is three stacked CSS layers instead of the old canvas mesh: the
   sand gradient on the section, two radial washes on ::before, and a masked
   64px grid on ::after. Nothing to paint per frame, nothing to fall back to. */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: stretch;
  min-height: 760px;
  background: linear-gradient(150deg, #FBF9F3 0%, #F2EFE6 46%, #EAE5D6 100%);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  background:
    /* Settles the diagonal onto flat sand at the bottom edge, so the section
       below can start on the body colour with no seam across the boundary. */
    linear-gradient(to bottom, rgba(242, 239, 230, 0) calc(100% - 140px), var(--sand) 100%),
    radial-gradient(900px 520px at 12% -10%, rgba(201, 162, 39, 0.13), transparent 62%),
    radial-gradient(760px 620px at 62% 110%, rgba(44, 74, 110, 0.10), transparent 66%);
}

.hero::after {
  background-image:
    linear-gradient(to right, rgba(44, 74, 110, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(44, 74, 110, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(760px 620px at 22% 34%, #000, transparent 78%);
  mask-image: radial-gradient(760px 620px at 22% 34%, #000, transparent 78%);
}

.hero__panel {
  position: relative;
  z-index: 1;
  padding: 32px 64px 88px 72px;
  display: flex;
  flex-direction: column;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 72px;
}

.masthead__logo { height: 34px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav__link {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__link:hover { color: var(--navy); border-bottom-color: var(--gold); }

.nav__login {
  border: 1px solid rgba(44, 74, 110, 0.4);
  border-radius: 999px;
  padding: 9px 20px;
  color: var(--navy);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nav__login:hover { background: var(--navy); border-color: var(--navy); color: var(--sand); }

.hero__body {
  max-width: 620px;
  margin: auto 0;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 70px;
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0 0 26px;
  text-wrap: balance;
}

.hero__lede {
  font-size: 19px;
  line-height: 1.66;
  color: #4A4A4A;
  margin: 0 0 38px;
  max-width: 560px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__note {
  font-size: 13.5px;
  color: #7A7770;
  margin: 26px 0 0;
}

.hero__media { position: relative; z-index: 1; }

/* The photo floats inside the column rather than bleeding to its edges. */
.hero__frame {
  position: absolute;
  inset: 26px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(30, 53, 80, 0.30);
}

.hero__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 38%;
}

/* Cools the photo into the navy end of the palette and draws the inner ring. */
.hero__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(30, 53, 80, 0.42), rgba(30, 53, 80, 0.06) 46%, rgba(201, 162, 39, 0.10));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--solid {
  background: linear-gradient(180deg, #35577E, #2C4A6E);
  color: #F7F5EE;
  padding: 17px 34px;
  box-shadow: 0 14px 30px rgba(44, 74, 110, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn--solid:hover {
  color: #F7F5EE;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(44, 74, 110, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.btn--outline {
  border: 1px solid rgba(44, 74, 110, 0.55);
  color: var(--navy);
  padding: 14px 24px;
}
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: var(--sand); }

.btn--gold {
  background: var(--gold);
  color: #223854;
  padding: 14px 24px;
}
.btn--gold:hover {
  background: #D4AD30;
  color: #223854;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(201, 162, 39, 0.32);
}

.btn--text {
  color: var(--navy);
  border-radius: 0;
  border-bottom: 1px solid rgba(44, 74, 110, 0.25);
  padding-bottom: 4px;
}
.btn--text:hover { color: var(--navy-dark); border-bottom-color: var(--gold); }

.btn__arrow { font-size: 17px; }

/* ---------- "What it does" card ---------- */

.section { padding: 24px 72px 96px; }

.card {
  background: #FFFFFF;
  border: 1px solid rgba(44, 74, 110, 0.09);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.03), 0 30px 70px rgba(44, 74, 110, 0.09);
  padding: 80px 76px 82px;
}

.card__intro { max-width: 720px; }

.h2 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0 0 16px;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: #6B6B6B;
  margin: 0;
  text-wrap: pretty;
}

.rule {
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0.15));
  margin: 44px 0 52px;
}

.card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Rules between the steps, not boxes around them. */
.steps { display: grid; gap: 28px; }
.step + .step { border-top: 1px solid #EFEBE0; padding-top: 28px; }

.step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.step__body {
  font-size: 15.5px;
  line-height: 1.62;
  color: #5A5A5A;
  margin: 0;
  max-width: 420px;
}

.steps__quote {
  padding-left: 16px;
  border-left: 2px solid rgba(201, 162, 39, 0.5);
}

/* ---------- Dashboard panel ----------
   The four stat tiles are buttons. The two that map to a status in the sample
   rows carry data-filter and drive the dimming below; the other two have
   nothing to filter to and are inert figures. */

.panel {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E7E3D8;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(44, 74, 110, 0.14);
  padding: 28px 28px 12px;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
}

.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.panel__eyebrow {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8A8A8A;
  font-weight: 600;
  margin-bottom: 6px;
}

.panel__figure {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 0.9;
  color: var(--navy);
}

.panel__live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #8A8A8A;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  animation: dot-pulse 2.6s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 0 5px rgba(201, 162, 39, 0); }
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.tile {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #FAF8F2;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 10px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tile:disabled { cursor: default; }
.tile[data-filter]:hover { background: #FCFAF3; border-color: #E6DFCA; }

.tile[aria-pressed="true"] {
  border-color: var(--gold);
  background: #FFFCF2;
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.tile:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.tile__num { display: block; font-size: 19px; font-weight: 700; color: var(--ink); }
.tile__label { display: block; font-size: 10.5px; color: #8A8A8A; margin-top: 3px; line-height: 1.3; }

.rows__head,
.row {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr auto;
  gap: 12px;
}

.rows__head {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A0A0A0;
  font-weight: 600;
  padding: 0 4px 10px;
  border-bottom: 1px solid #EFEBE0;
}

.row {
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px solid #F4F1E9;
  border-radius: 8px;
  transition: opacity 0.2s ease, background-color 0.15s ease;
}

.row:hover { background: #FBF9F3; }

/* The whole filter is this one attribute on the wrapper. */
.rows[data-filter="expired"] .row:not([data-status="expired"]),
.rows[data-filter="due"] .row:not([data-status="due"]) { opacity: 0.22; }

.rows__status { text-align: right; }
.row__name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.row__req { font-size: 13px; color: #6B6B6B; }

.pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 99px;
}

.pill--current { background: #E8F2E9; color: #2E6B3D; box-shadow: inset 0 0 0 1px rgba(46, 107, 61, 0.24); }
.pill--due { background: #FBF1DC; color: #8A6A10; box-shadow: inset 0 0 0 1px rgba(138, 106, 16, 0.24); }
.pill--expired { background: #F8E7E5; color: #9B2C21; box-shadow: inset 0 0 0 1px rgba(155, 44, 33, 0.24); }

.panel__foot { height: 14px; }

/* ---------- What Credolex tracks ----------
   Full-bleed navy, and the three categories are a tablist rather than three
   columns of list items. */

.tracks {
  position: relative;
  overflow: hidden;
  padding: 112px 72px 120px;
  background: linear-gradient(160deg, #24435F 0%, #2C4A6E 46%, #1A2E46 100%);
}

.tracks::before,
.tracks::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tracks::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(720px 520px at 94% 2%, #000, transparent 72%);
  mask-image: radial-gradient(720px 520px at 94% 2%, #000, transparent 72%);
}

.tracks::after {
  background: radial-gradient(680px 420px at 8% 96%, rgba(201, 162, 39, 0.16), transparent 62%);
}

/* Flex column so the <noscript> rules can interleave the pills with their own
   panels by order alone. */
.tracks__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.tracks__h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: #F7F5EE;
  margin: 0;
}

.tracks__rule {
  width: 110px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0.15));
  margin: 22px 0 0;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 44px 0 40px;
}

.tab {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #C7D3E1;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, box-shadow 0.18s ease;
}

.tab[aria-selected="false"]:hover { background: rgba(255, 255, 255, 0.11); color: #E7EBF1; }

.tab[aria-selected="true"] {
  background: var(--sand);
  border-color: var(--sand);
  color: #213852;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tabpanel:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 8px; }

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  /* Restarts on its own each time a panel goes from display:none to a box. */
  animation: chips-in 0.34s ease both;
}

@keyframes chips-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.4;
  color: #E7EBF1;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.chip::before {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.chip:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(201, 162, 39, 0.55);
}

/* ---------- Pricing ---------- */

.pricing {
  padding: 100px 72px 110px;
  text-align: center;
  background: var(--sand);
}

.pricing__title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 40px;
  letter-spacing: -0.012em;
  margin: 0 0 20px;
}

.pricing__rule {
  width: 90px;
  height: 2px;
  border-radius: 2px;
  margin: 0 auto 46px;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.15), var(--gold), rgba(201, 162, 39, 0.15));
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 28px;
  justify-content: center;
  align-items: start;
  text-align: left;
}

.plan {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(26, 26, 26, 0.03), 0 14px 40px rgba(44, 74, 110, 0.07);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 420px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(26, 26, 26, 0.03), 0 34px 72px rgba(44, 74, 110, 0.16);
}

.plan--featured {
  background: linear-gradient(165deg, #33547A, #2C4A6E 48%, #1E3550);
  box-shadow: 0 2px 4px rgba(26, 26, 26, 0.03), 0 22px 58px rgba(30, 53, 80, 0.26);
}

.plan--featured:hover {
  box-shadow: 0 2px 4px rgba(26, 26, 26, 0.03), 0 38px 78px rgba(30, 53, 80, 0.34);
}

.plan--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.plan__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.plan__eyebrow {
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8A8A8A;
  font-weight: 600;
}

.plan__badge {
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 600;
}

.plan__price {
  font-family: var(--serif);
  font-size: 46px;
  color: var(--navy);
  line-height: 1.1;
  margin-top: 10px;
}

.plan__per {
  font-family: var(--sans);
  font-size: 17px;
  color: #6B6B6B;
  font-weight: 500;
}

.plan__meta { font-size: 14.5px; color: #6B6B6B; margin-top: 4px; }

.plan__features {
  display: grid;
  gap: 12px;
  font-size: 14.5px;
  color: #3A3A3A;
}

.feature { display: flex; gap: 10px; align-items: flex-start; }
.feature__check { color: var(--gold); font-weight: 700; }

.plan--featured .plan__eyebrow,
.plan--featured .plan__price { color: #F7F5EE; }
.plan--featured .plan__badge,
.plan--featured .feature__check { color: #E4C96B; }
.plan--featured .plan__meta,
.plan--featured .plan__per { color: #B9C6D6; }
.plan--featured .plan__features { color: #DCE4EE; }

.plan__cta {
  margin-top: auto;
  justify-content: center;
  font-size: 15px;
}

.pricing__note {
  font-size: 13.5px;
  color: #7A7770;
  margin: 32px 0 0;
}

/* ---------- Request access ---------- */

.request {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #33547A 0%, #2C4A6E 45%, #1B3049 100%);
  color: var(--sand);
  padding: 110px 72px;
}

.request::before,
.request::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.request::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(680px 560px at 2% 46%, #000, transparent 74%);
  mask-image: radial-gradient(680px 560px at 2% 46%, #000, transparent 74%);
}

.request::after {
  background: radial-gradient(700px 420px at 88% 8%, rgba(201, 162, 39, 0.16), transparent 64%);
}

.request__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.request__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--sand);
  margin: 0 0 22px;
  text-wrap: balance;
}

.request__lede {
  font-size: 17px;
  line-height: 1.65;
  color: #D6DEE9;
  margin: 0;
  max-width: 480px;
  text-wrap: pretty;
}

.form {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 16px;
}

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

.field__label {
  font-size: 12.5px;
  font-weight: 600;
  color: #4A4A4A;
}

.field__input {
  border: 1px solid #DDD8CB;
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 14.5px;
  color: var(--ink);
  background: #FCFBF7;
  outline: none;
  width: 100%;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

select.field__input { padding: 11px 10px; }

.field__input:focus,
.field__input:focus-visible {
  background: #FFFFFF;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(44, 74, 110, 0.15);
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form__submit {
  margin-top: 6px;
  width: 100%;
  background: linear-gradient(180deg, #D4AD30, var(--gold));
  color: #223854;
  border: none;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(201, 162, 39, 0.28);
  transition: background 0.15s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.form__submit:hover:not(:disabled) {
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(201, 162, 39, 0.34);
}
.form__submit:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

.field__opt { font-weight: 500; color: #8A8A8A; }

.field__textarea {
  resize: vertical;
  min-height: 76px;
  line-height: 1.5;
}

/* Honeypot. Off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form__msg {
  margin: 0;
  background: #F8E7E5;
  color: #9B2C21;
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 13.5px;
  line-height: 1.45;
}

.form--done { align-content: center; gap: 12px; }
.form--done:focus { outline: none; }

.form__done-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  margin: 0;
}

.form__done-body {
  font-size: 15px;
  line-height: 1.6;
  color: #5A5A5A;
  margin: 0;
}

/* ---------- FAQ ----------
   <details>/<summary>, so it opens and closes with no JavaScript. One white
   container with rules between the items, not seven floating cards. */

.faq {
  padding: 96px 72px 104px;
  background: linear-gradient(180deg, var(--sand) 0%, #EAE5D6 100%);
}

.faq__title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  max-width: 860px;
  margin: 0 auto 30px;
}

.faq__list {
  background: #FFFFFF;
  border: 1px solid rgba(44, 74, 110, 0.08);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.03), 0 24px 60px rgba(44, 74, 110, 0.09);
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 34px;
}

.faq__item { padding: 22px 0; }
.faq__item + .faq__item { border-top: 1px solid #F1EDE3; }

.faq__q {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
/* Safari still draws the default triangle without this. */
.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: '+';
  color: var(--gold-text);
  font-weight: 700;
  line-height: 1;
}
.faq__item[open] .faq__q::after { content: '\2013'; }

.faq__q:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq__a {
  font-size: 15.5px;
  line-height: 1.62;
  color: #5A5A5A;
  margin: 12px 0 0;
  max-width: 700px;
  text-wrap: pretty;
}

/* ---------- Footer ---------- */

.footer {
  background: #16283C;
  padding: 76px 72px 46px;
}

.footer__inner { max-width: 1180px; margin: 0 auto; }

.footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

/* The logo is a dark mark on transparent, so it needs its own light ground. */
.footer__plaque {
  background: var(--sand);
  border-radius: 12px;
  padding: 13px 18px;
  width: fit-content;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.footer__plaque img { height: 26px; width: auto; }

.footer__tagline {
  font-size: 15px;
  line-height: 1.55;
  color: #C7D3E1;
  margin: 24px 0 0;
  max-width: 460px;
}

.footer__note {
  font-size: 13.5px;
  line-height: 1.6;
  color: #8FA0B4;
  margin: 14px 0 0;
  max-width: 520px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 14.5px;
}

.footer__links a {
  color: #DCE4EE;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer__links a:hover { color: #F7F5EE; border-bottom-color: var(--gold); }

.footer__legal {
  font-size: 12.5px;
  color: #6F8299;
  margin: 64px 0 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero__panel { padding: 28px 44px 72px 48px; }
  .hero__title { font-size: 54px; }

  .section { padding: 24px 48px 80px; }
  .card { padding: 60px 48px 64px; }
  .card__grid { gap: 44px; }

  .tracks { padding: 88px 48px 96px; }
  .tracks__h2 { font-size: 38px; }

  .pricing { padding: 84px 48px 90px; }

  .request { padding: 90px 48px; }
  .request__inner { gap: 48px; }
  .request__title { font-size: 40px; }

  .faq { padding: 84px 48px 88px; }
  .footer { padding: 64px 48px 44px; }
  .footer__cols { gap: 48px; }
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__panel { padding: 28px 32px 64px; }
  .hero__title { font-size: 46px; }
  .hero__lede { font-size: 17.5px; }
  .hero__body { margin: 0; }
  .hero__media { height: 420px; }
  .hero__frame { inset: 20px; }

  .section { padding: 16px 32px 64px; }
  .card { padding: 48px 32px 52px; border-radius: 20px; }
  .card__grid { grid-template-columns: 1fr; gap: 44px; }
  .h2 { font-size: 30px; }

  .tracks { padding: 72px 32px 80px; }
  .tracks__h2 { font-size: 32px; }
  .tablist { margin: 36px 0 32px; }
  .chips { grid-template-columns: 1fr; }

  .pricing { padding: 72px 32px 76px; }
  .pricing__title { font-size: 34px; }
  .pricing__rule { margin-bottom: 36px; }
  .plans { grid-template-columns: minmax(0, 420px); }

  .request { padding: 72px 32px; }
  .request__inner { grid-template-columns: 1fr; gap: 36px; }
  .request__title { font-size: 34px; }

  .faq { padding: 72px 32px 76px; }
  .faq__title { font-size: 30px; }

  .footer { padding: 56px 32px 40px; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { align-items: flex-start; }
  .footer__legal { margin-top: 48px; }
}

@media (max-width: 620px) {
  .masthead {
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 48px;
  }
  .nav { gap: 20px; font-size: 14px; }

  .hero__panel { padding: 24px 22px 52px; }
  .hero__title { font-size: 38px; }
  .hero__actions { gap: 18px; }
  .btn--solid { padding: 15px 28px; }
  .hero__media { height: 300px; }
  .hero__frame { inset: 16px; border-radius: 20px; }
  .hero__frame::after { border-radius: 20px; }

  .section { padding: 12px 16px 48px; }
  .card { padding: 34px 22px 38px; border-radius: 18px; }
  .h2 { font-size: 26px; }
  .rule { margin: 32px 0 36px; }

  .panel { padding: 22px 18px 10px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .rows__head, .row { gap: 8px; }
  .row__name { font-size: 13px; }
  .row__req { font-size: 12.5px; }
  .pill { font-size: 11px; padding: 4px 9px; }

  .tracks { padding: 56px 18px 64px; }
  .tracks__h2 { font-size: 27px; }
  .tab { font-size: 14px; padding: 10px 16px; }
  .chip { padding: 14px 16px; font-size: 14.5px; }

  .pricing { padding: 56px 16px 60px; }
  .pricing__title { font-size: 28px; }
  .plan { padding: 32px 24px 28px; min-height: 0; }

  .request { padding: 52px 16px; }
  .form { padding: 26px; }
  .field-pair { grid-template-columns: 1fr; }

  .faq { padding: 56px 16px 60px; }
  .faq__title { font-size: 26px; }
  .faq__list { padding: 4px 22px; border-radius: 18px; }
  .faq__item { padding: 18px 0; }
  .faq__q { font-size: 15.5px; }

  .footer { padding: 48px 18px 34px; }
  .footer__legal { margin-top: 40px; }
}

/* Everything decorative here is a transform, an opacity or a pulse, so there is
   nothing to keep once the visitor has asked for less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .plan:hover, .chip:hover, .form__submit:hover:not(:disabled) { transform: none; }
}
