/* The Executive AI Atelier, by Creatrixe
   Standalone stylesheet for /atelier/ and /atelier/thanks/.
   Direction: a private bank's printed brief. Ivory paper, navy ink, warm gold.
   Gold (#B08D57) is used as text only on navy; on ivory use --gold-ink. */

:root {
  --paper: #F7F3EC;
  --paper-deep: #EFE8DC;
  --paper-edge: #E4DACA;
  --ink: #0F1E3D;
  --ink-deep: #0A1530;
  --ink-soft: #46506A;
  --gold: #B08D57;
  --gold-ink: #7E5F33;
  --on-ink: #F7F3EC;
  --on-ink-soft: #C3C8D4;
  --rule: rgba(15, 30, 61, .16);
  --rule-strong: rgba(15, 30, 61, .32);
  --rule-on-ink: rgba(247, 243, 236, .18);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --measure: 40rem;
  --wrap: 1160px;
  --section-y: clamp(72px, 11vw, 144px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--gold-ink); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.band :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: var(--ink-deep); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #C29F69; }
.btn-line { border-color: var(--rule-on-ink); color: var(--on-ink); }
.btn-line:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, .94);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(247, 243, 236, .82); backdrop-filter: blur(10px); }
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.wordmark .seal { width: 38px; height: 38px; flex: none; color: var(--ink); }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.wordmark-name {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 450;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.wordmark-by {
  font-size: .76rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.site-header .btn { min-height: 44px; padding: 10px 20px; font-size: .9rem; }

@media (max-width: 560px) {
  .site-header .wrap { min-height: 64px; }
  .wordmark .seal { width: 32px; height: 32px; }
  .wordmark-name { font-size: .98rem; }
  .site-header .btn { padding: 10px 14px; font-size: .84rem; }
  .site-header .btn .long { display: none; }
}
@media (max-width: 340px) {
  .wordmark .seal { display: none; }
}

/* ---------- Hero (navy band) ---------- */
.band { background: var(--ink); color: var(--on-ink); }
.band a { color: var(--on-ink); }

.hero { padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.hero::after {
  /* single fine gold rule along the foot of the hero */
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(176, 141, 87, 0));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
}
.hero-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--gold);
  margin: 0 0 22px;
}
.hero h1 {
  font-size: clamp(2.9rem, 8.4vw, 6rem);
  line-height: .98;
  letter-spacing: -.028em;
  font-weight: 350;
  font-variation-settings: "opsz" 72;
  max-width: 11ch;
}
.hero-lede {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 34rem;
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--on-ink-soft);
}
.hero-lede strong { color: var(--on-ink); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust {
  list-style: none;
  margin: 40px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--rule-on-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  font-size: .9rem;
  color: var(--on-ink-soft);
  max-width: 36rem;
}
.hero-trust li { display: flex; align-items: center; }
.hero-trust li + li::before {
  content: "";
  width: 1px; height: 14px;
  background: var(--gold);
  margin: 0 16px;
  opacity: .8;
}
@media (max-width: 560px) {
  .hero-trust { flex-direction: column; }
  .hero-trust li + li::before { display: none; }
  .hero-trust li::after { content: none; }
}

/* The agenda card: a week, as it can look afterwards */
.agenda {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.agenda-inner {
  border: 1px solid var(--gold);
  outline: 1px solid rgba(176, 141, 87, .45);
  outline-offset: -6px;
  padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 30px) clamp(18px, 2.4vw, 26px);
}
.agenda-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-strong);
}
.agenda-title { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin: 0; }
.agenda-note { font-size: .78rem; color: var(--ink-soft); margin: 0; }
.agenda ol { list-style: none; margin: 0; padding: 0; }
.agenda li {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 4px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.agenda li:last-child { border-bottom: 0; padding-bottom: 4px; }
.agenda .when {
  margin: 0;
  font-size: .78rem;
  line-height: 1.35;
  font-variant-caps: all-small-caps;
  letter-spacing: .06em;
  color: var(--gold-ink);
  font-weight: 600;
  padding-top: 3px;
}
.agenda .when span { display: block; font-variant-caps: normal; font-variant-numeric: tabular-nums; letter-spacing: 0; font-weight: 500; color: var(--ink-soft); font-size: .8rem; }
.agenda .what { font-family: var(--serif); font-size: 1.02rem; line-height: 1.42; margin: 0; }
.agenda li.free .what { font-style: italic; }
@media (max-width: 560px) {
  .agenda { padding: 10px; }
  .agenda-inner { padding: 20px 18px 14px; }
  .agenda-head { flex-wrap: wrap; row-gap: 2px; }
  .agenda li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 13px 0; }
  .agenda .when { display: flex; align-items: baseline; gap: 10px; padding-top: 0; }
  .agenda .when span { display: inline; }
}

/* One orchestrated entrance: headline, then the week writes itself */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .2s; }
  .hero-copy > :nth-child(4) { animation-delay: .3s; }
  .hero-copy > :nth-child(5) { animation-delay: .38s; }
  .agenda { animation: settle 1.1s var(--ease) .25s both; }
  .agenda li { animation: ink .7s var(--ease) both; }
  .agenda li:nth-child(1) { animation-delay: .7s; }
  .agenda li:nth-child(2) { animation-delay: .95s; }
  .agenda li:nth-child(3) { animation-delay: 1.2s; }
  .agenda li:nth-child(4) { animation-delay: 1.45s; }
  .agenda li:nth-child(5) { animation-delay: 1.75s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ink { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Document sections ---------- */
.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--rule); }
.section-deep { background: var(--paper-deep); }
.section-deep + .section, .section + .section-deep { border-top: 0; }

.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
@media (min-width: 960px) {
  .doc { grid-template-columns: 13rem minmax(0, 1fr); gap: 56px; }
  .doc-mark { position: sticky; top: 112px; align-self: start; }
}
.doc-mark {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--gold-ink);
}
@media (min-width: 960px) {
  .doc-mark { flex-direction: column; gap: 10px; }
}
.doc-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .04em;
  min-width: 2.4rem;
}
@media (min-width: 960px) {
  .doc-num { padding-bottom: 10px; border-bottom: 1px solid var(--gold-ink); min-width: 3rem; }
}
.doc-label {
  font-size: .98rem;
  font-weight: 600;
  font-variant-caps: all-small-caps;
  letter-spacing: .07em;
}
.doc-body { min-width: 0; }

.h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 380;
  font-variation-settings: "opsz" 60;
  max-width: 20ch;
}
.h2-wide { max-width: 24ch; }
.lede {
  margin-top: 26px;
  max-width: var(--measure);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.36rem);
  line-height: 1.6;
  color: var(--ink);
}
.prose { max-width: var(--measure); color: var(--ink-soft); }
.prose p { margin-bottom: 1.05em; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.mt-m { margin-top: 28px; }

/* The gap */
.gap-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  max-width: 44rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 720px) { .gap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.gap-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.4;
}
.gap-list li span { display: block; font-family: var(--sans); font-size: .92rem; color: var(--ink-soft); margin-top: 4px; }

/* What changes */
.outcomes {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 760px) { .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 56px); } }
.outcomes li { padding: 26px 0 28px; border-bottom: 1px solid var(--rule); }
.outcomes h3 { font-size: 1.42rem; line-height: 1.2; font-weight: 450; letter-spacing: -.01em; }
.outcomes p { margin-top: 8px; color: var(--ink-soft); max-width: 30rem; }

.measure-note {
  margin-top: 48px;
  max-width: 44rem;
  padding: 26px 0 0 28px;
  border-left: 1px solid var(--gold-ink);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.5;
}
.measure-note small { display: block; margin-top: 10px; font-family: var(--sans); font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }

/* Three promises */
.promises {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 860px) {
  .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promise + .promise { border-left: 1px solid var(--rule); padding-left: clamp(24px, 3vw, 40px); }
  .promise { padding-right: clamp(16px, 2.5vw, 32px); }
}
.promise { padding-top: 28px; padding-bottom: 28px; }
@media (max-width: 859px) { .promise + .promise { border-top: 1px solid var(--rule); } }
.promise h3 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 350;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 72;
}
.promise p { margin-top: 18px; color: var(--ink-soft); }

/* How it works */
.steps { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: step; border-top: 1px solid var(--rule-strong); }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 860px) {
  .step { grid-template-columns: 4rem minmax(0, 1.25fr) minmax(0, .75fr); gap: 0 32px; }
}
.step::before {
  content: counter(step);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-ink);
  font-variant-numeric: oldstyle-nums;
  font-weight: 350;
}
.step h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 450; }
.step p { margin-top: 8px; color: var(--ink-soft); }
.step .step-feel {
  grid-column: 2;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--ink);
}
.step .step-feel__label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--sans);
  font-style: normal;
  font-size: .9rem;
  font-weight: 600;
  font-variant-caps: all-small-caps;
  letter-spacing: .07em;
  color: var(--gold-ink);
}
@media (min-width: 860px) {
  .step .step-feel { grid-column: 3; grid-row: 1; margin: 4px 0 0; padding-left: 20px; border-left: 1px solid var(--rule-strong); }
}

/* What you keep: a contents page */
.contents {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  counter-reset: item;
  max-width: 50rem;
}
.contents li { counter-increment: item; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.contents li:first-child { border-top: 1px solid var(--rule-strong); }
.contents .line {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.contents .line::before {
  content: counter(item) ".";
  font-family: var(--serif);
  color: var(--gold-ink);
  font-size: 1.1rem;
  min-width: 1.6rem;
  font-variant-numeric: oldstyle-nums;
}
.contents h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 450; line-height: 1.25; flex: 0 1 auto; }
.contents .leader {
  flex: 1 1 2rem;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--rule-strong);
  transform: translateY(-.3em);
}
.contents .tag {
  flex: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-ink);
  white-space: nowrap;
}
.contents p { margin: 8px 0 0 2.35rem; color: var(--ink-soft); max-width: 38rem; }
@media (max-width: 600px) {
  .contents .line { flex-wrap: wrap; row-gap: 2px; }
  .contents .leader { display: none; }
  .contents .tag { flex-basis: 100%; padding-left: 2.35rem; }
  .contents p { margin-left: 2.35rem; }
}

/* Privacy */
.commitments {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 760px) { .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.commitments li {
  position: relative;
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}
.commitments li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.62em;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--gold-ink);
  border-bottom: 1.5px solid var(--gold-ink);
  transform: rotate(-45deg) translateY(-6px);
}
.commitments strong { color: var(--ink); font-weight: 600; }
.aside-note {
  margin-top: 36px;
  max-width: 44rem;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  font-size: .98rem;
  color: var(--ink-soft);
}
.aside-note strong { color: var(--ink); }

/* For / not for */
.fit-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
@media (min-width: 820px) { .fit-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; } }
.fit-grid h3 { font-size: 1.3rem; font-weight: 450; padding-bottom: 14px; border-bottom: 1px solid var(--rule-strong); }
.fit-grid ul { list-style: none; margin: 0; padding: 0; }
.fit-grid li { padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
.fit-grid li strong { color: var(--ink); font-weight: 600; }
.fit-not li { color: var(--ink-soft); }

/* FAQ */
.faq { margin-top: 44px; max-width: 48rem; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.8vw, 1.36rem);
  line-height: 1.3;
  font-weight: 450;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  margin-right: 4px;
  border-right: 1.5px solid var(--gold-ink);
  border-bottom: 1.5px solid var(--gold-ink);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq .answer { padding: 0 0 24px; max-width: 40rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .answer { animation: ink .35s var(--ease) both; }
}

/* ---------- Application (navy band) ---------- */
.apply { padding-block: var(--section-y); }
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
}
@media (min-width: 980px) { .apply-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .apply-intro { position: sticky; top: 112px; align-self: start; } }
.apply .seal { width: 64px; height: 64px; color: var(--gold); margin-bottom: 28px; }
.apply h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 350;
  font-variation-settings: "opsz" 72;
  max-width: 12ch;
}
.apply-intro > p { margin-top: 22px; color: var(--on-ink-soft); max-width: 30rem; }
.next-steps { list-style: none; counter-reset: n; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--rule-on-ink); max-width: 30rem; }
.next-steps li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-on-ink);
  color: var(--on-ink-soft);
  font-size: .98rem;
}
.next-steps li::before { content: counter(n); font-family: var(--serif); color: var(--gold); font-size: 1.1rem; line-height: 1.4; }

/* Form */
.lp-form {
  background: var(--ink-deep);
  border: 1px solid var(--rule-on-ink);
  padding: clamp(22px, 4vw, 44px);
  position: relative;
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .group > legend {
  font-size: .92rem;
  font-weight: 600;
  color: var(--on-ink);
  line-height: 1.4;
}
.opt { font-weight: 400; color: var(--on-ink-soft); }
.req { color: var(--gold); font-weight: 600; }
.hint { font-size: .85rem; color: var(--on-ink-soft); margin: 0; }

.lp-form input[type="text"],
.lp-form input[type="email"],
.lp-form input[type="tel"],
.lp-form select,
.lp-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
}
.lp-form textarea { min-height: 132px; resize: vertical; }
.lp-form ::placeholder { color: #5A6176; opacity: 1; }
.lp-form select {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.lp-form input:focus-visible,
.lp-form select:focus-visible,
.lp-form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lp-form [aria-invalid="true"] { border-color: #F2B8A6; box-shadow: 0 0 0 1px #F2B8A6; }

.group { border: 0; margin: 0; padding: 0; min-width: 0; }
.group > legend { padding: 0; margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices-stack { flex-direction: column; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(247, 243, 236, .38);
  color: var(--on-ink);
  font-size: .94rem;
  line-height: 1.3;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.choices-stack .chip span { width: 100%; }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.fit-question {
  padding: 22px 0 0;
  border-top: 1px solid var(--rule-on-ink);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .94rem;
  color: var(--on-ink-soft);
  cursor: pointer;
  line-height: 1.5;
}
.consent input {
  flex: none;
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}
.form-privacy { font-size: .88rem; color: var(--on-ink-soft); margin: 0; }
.form-privacy a { color: var(--on-ink); }
.form-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.form-actions .btn { width: 100%; min-height: 54px; font-size: 1rem; }
@media (min-width: 640px) { .form-actions .btn { width: auto; padding-inline: 36px; } }
.after-note { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.04rem; color: var(--on-ink); max-width: 34rem; line-height: 1.5; }
[data-lp-error] {
  margin: 0;
  padding: 12px 14px;
  background: rgba(242, 184, 166, .12);
  border-left: 2px solid #F2B8A6;
  color: #FFE3DA;
  font-size: .95rem;
}
[data-lp-error][hidden] { display: none; }
.lp-form button[disabled] { opacity: .7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--on-ink-soft);
  padding-block: 48px 56px;
  font-size: .9rem;
  border-top: 1px solid var(--rule-on-ink);
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-start; }
.footer-brand { font-family: var(--serif); font-size: 1.1rem; color: var(--on-ink); margin: 0 0 6px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--on-ink); text-decoration: underline; text-decoration-color: rgba(247, 243, 236, .35); }
.site-footer a:hover { text-decoration-color: var(--gold); }
.site-footer nav a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule-on-ink); font-size: .84rem; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 759px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: var(--cx-consent-h, 0px);
    z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(15, 30, 61, .97);
    border-top: 1px solid rgba(176, 141, 87, .55);
    transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s;
  }
  .sticky-cta .btn { width: 100%; }
  .sticky-cta.is-hidden { transform: translateY(110%); opacity: 0; visibility: hidden; pointer-events: none; }
  body.has-sticky { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta, .btn, .chip span, .faq summary::after { transition: none; }
}

/* ---------- Thanks page ---------- */
.thanks-hero { padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 96px); position: relative; }
.thanks-hero .seal { width: 56px; height: 56px; color: var(--gold); margin-bottom: 32px; }
.thanks-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 350;
  font-variation-settings: "opsz" 72;
  max-width: 14ch;
}
.thanks-hero p { margin-top: 24px; max-width: 34rem; color: var(--on-ink-soft); font-size: 1.12rem; }
.thanks-steps { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; counter-reset: s; border-top: 1px solid var(--rule-strong); max-width: 48rem; }
.thanks-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.thanks-steps li::before { content: counter(s); font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--gold-ink); font-variant-numeric: oldstyle-nums; }
.thanks-steps h3 { font-size: 1.3rem; font-weight: 450; line-height: 1.25; }
.thanks-steps p { margin-top: 6px; color: var(--ink-soft); }
.calendar-frame {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--paper-edge);
  min-height: 680px;
  max-width: 64rem;
}
.calendar-frame:empty::before { content: none; }
.cal-fallback { margin-top: 18px; color: var(--ink-soft); }
.cal-fallback a { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .calendar-frame { min-height: 760px; margin-inline: calc(-1 * var(--gutter) + 8px); } }
