/* Tidehouse Digital: one stylesheet, mobile first. */
:root {
  --ink: #0b3a46;          /* deep sea */
  --ink-2: #072a33;
  --teal: #0d7a78;
  --teal-dark: #095e5c;
  --teal-soft: #e3f2f0;
  --sand: #f7f2e8;
  --sand-2: #efe6d4;
  --coral: #e2704a;
  --text: #1c2b30;
  --muted: #55676d;
  --line: #dde5e4;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(11, 58, 70, .06), 0 8px 24px rgba(11, 58, 70, .08);
  --shadow-lg: 0 20px 50px rgba(11, 58, 70, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2, .h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3, .h3 { font-family: var(--font); font-size: 1.15rem; font-weight: 700; }
.h2 { font-family: var(--display); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .75em 1.25em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { color: #fff; border-color: #fff; }
.btn-lg { padding: .9em 1.5em; font-size: 1.05rem; }
.btn-sm { padding: .5em 1em; font-size: .92rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }
.cta-center { justify-content: center; }
.text-link { font-weight: 600; text-decoration: none; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.2rem/1 var(--display); }
.brand em { font-style: normal; color: var(--teal); }
.brand-light { color: #fff; }
.brand-light em { color: #8fd6cf; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 16px; flex-direction: column; }
.site-nav.open { display: flex; }
.site-nav a { padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--teal); }
.site-nav .btn { margin-top: 12px; border-bottom: 0; color: #fff; padding: .8em 1.2em; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-nav a { border: 0; padding: 8px 10px; font-size: .96rem; border-radius: 8px; }
  .site-nav a:hover { background: var(--teal-soft); color: var(--ink); }
  .site-nav a[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }
  .site-nav .nav-muted { color: var(--muted); }
  .site-nav .btn { margin: 0 0 0 8px; padding: .55em 1.1em; }
  .site-nav .btn:hover { background: var(--teal-dark); color: #fff; }
}

/* ---------- sections */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0 64px; }
@media (min-width: 800px) { .section { padding: 96px 0; } }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: #d7e6e8; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-ink .section-head p { color: #b9cfd2; }
.eyebrow { display: inline-block; font: 700 .78rem/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .9em; }
.eyebrow-light { color: #8fd6cf; }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--muted); }

.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } .split-center { align-items: center; } .split-form { grid-template-columns: 1.4fr 1fr; } }

/* ---------- hero */
.hero { position: relative; padding: 48px 0 64px; background: radial-gradient(1200px 500px at 85% -10%, var(--teal-soft), transparent 60%), linear-gradient(180deg, #fff, var(--sand)); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C240 60 480 0 720 25 S1200 55 1440 20 V60 H0Z' fill='%23ffffff'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
@media (min-width: 900px) { .hero { padding: 80px 0 110px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero h1 { margin-bottom: .45em; }
.hero .lead strong { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 1.7em; margin: .45em 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230d7a78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.hero .checks { display: flex; flex-wrap: wrap; gap: 4px 22px; color: var(--muted); font-size: .97rem; }
.checks-muted li::before { background-color: var(--sand-2); }

.hero-visual { position: relative; max-width: 520px; margin: 0 auto; width: 100%; padding-bottom: 70px; }
.mock-browser { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4f4; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3dadb; }
.mock-url { margin-left: 10px; flex: 1; background: #fff; border-radius: 6px; font-size: .78rem; color: var(--muted); padding: 3px 10px; }
.mock-body { padding: 16px; }
.mock-hero { height: 120px; border-radius: 10px; background: linear-gradient(120deg, var(--ink), var(--teal)); }
.mock-lines { margin: 16px 0; display: grid; gap: 8px; }
.mock-lines i { display: block; height: 10px; border-radius: 6px; background: #e7eded; }
.mock-lines .short { width: 60%; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards b { height: 64px; border-radius: 8px; background: var(--sand); }
.price-sticker { position: absolute; right: 14px; top: 54px; background: var(--coral); color: #fff; border-radius: 14px; padding: 10px 14px; text-align: center; box-shadow: 0 10px 24px rgba(226,112,74,.35); transform: rotate(4deg); }
.price-sticker strong { display: block; font: 700 1.7rem/1 var(--display); }
.price-sticker span { font-size: .72rem; font-weight: 600; }
.flow-card { position: absolute; left: -8px; bottom: 0; width: min(330px, 88%); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px 18px; font-size: .88rem; }
@media (min-width: 960px) { .flow-card { left: -40px; } }
.flow-title { font-weight: 700; color: var(--ink); margin-bottom: .5em; }
.flow-card ol { list-style: none; padding: 0; margin: 0; }
.flow-card li { display: flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-1 { background: #9bb7bc; } .dot-2 { background: var(--teal); } .dot-3 { background: var(--coral); }
.flow-save { margin: .6em 0 0; font-weight: 700; color: var(--teal-dark); }

/* ---------- trust */
.trust { padding: 32px 0 8px; }
.trust-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-grid div { border-left: 3px solid var(--teal-soft); padding-left: 14px; }
.trust-grid strong { display: block; color: var(--ink); font: 700 1.2rem/1.3 var(--display); }
.trust-grid span { font-size: .9rem; color: var(--muted); }

/* ---------- cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.card-link { display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #bfdcd8; color: inherit; }
.card-link p { color: var(--muted); }
.icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--teal-soft); font-size: 1.5rem; margin-bottom: 14px; }
.card-price { display: inline-block; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); padding: .3em .8em; border-radius: 999px; font-size: .9rem; }
.card-highlight { border-color: var(--teal); background: linear-gradient(180deg, #fff, var(--teal-soft)); }
.card-quote { background: var(--ink); color: #e3eef0; border: 0; padding: 36px; }
.card-quote p:first-child { font: 600 1.35rem/1.45 var(--display); color: #fff; }
.quote-by { color: #8fd6cf; font-weight: 600; }

/* ---------- pain list */
.pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pain-list li { background: #fff; border-radius: var(--radius-sm); padding: 16px 18px; border-left: 4px solid var(--coral); box-shadow: var(--shadow); }
.pain-list strong { display: block; color: var(--ink); }
.pain-list span { color: var(--muted); font-size: .97rem; }

/* ---------- steps */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: var(--sand); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; margin-bottom: 14px; }

/* ---------- work cards */
.work-card { display: block; background: #0f4a58; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #d7e6e8; transition: transform .15s; }
.work-card:hover { transform: translateY(-3px); color: #fff; }
.work-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.work-card div { padding: 18px 22px; }
.work-card h3 { margin-bottom: .25em; }
.work-card p { margin: 0; }
.section-ink .center { margin-top: 36px; }

.honest p { color: var(--muted); }

/* ---------- FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* ---------- CTA band */
.cta-band { background: linear-gradient(120deg, var(--ink-2), var(--teal-dark)); color: #d7e6e8; padding: 56px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band-inner { display: grid; gap: 8px; align-items: center; }
@media (min-width: 860px) { .cta-band-inner { grid-template-columns: 1fr auto; } }

/* ---------- page hero */
.page-hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--sand), #fff); }
.page-hero-sm { padding: 44px 0 20px; }
@media (min-width: 800px) { .page-hero { padding: 80px 0 48px; } }

/* ---------- pricing */
.pricing { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) { .pricing { grid-template-columns: 1.15fr 1fr 1fr; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.price-card h2 { font-size: 1.45rem; margin-bottom: .3em; }
.price-featured { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--coral); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin: 0; }
.price { display: flex; align-items: baseline; gap: 8px; margin: .2em 0 .6em; }
.price .amt { font: 700 2.6rem/1 var(--display); color: var(--ink); }
.price .per { color: var(--muted); font-size: .95rem; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 1em; }

/* ---------- AI page */
.level { font: 700 .75rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-bottom: .8em; }
.analogy { font-style: italic; color: var(--teal-dark); }
.good-for { background: var(--sand); padding: 10px 12px; border-radius: 8px; font-size: .95rem; }
.plug-diagram { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.plug-center { grid-column: 1 / -1; order: 0; justify-self: center; background: var(--ink); color: #fff; font-weight: 700; padding: 18px 26px; border-radius: 999px; margin: 6px 0 10px; box-shadow: 0 0 0 8px var(--teal-soft); }
.plug { order: 1; background: var(--sand); border-radius: 10px; padding: 12px; text-align: center; font-weight: 600; color: var(--ink); position: relative; border: 2px dashed #c9dcd9; }
.plug-caption { grid-column: 1 / -1; order: 2; margin: 8px 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
@media (min-width: 560px) { .plug-diagram { grid-template-columns: repeat(3, 1fr); } }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--teal-soft); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--teal); border: 3px solid #fff; }
.timeline .time { font-weight: 700; color: var(--teal-dark); font-size: .92rem; }
.timeline p { margin: .2em 0 0; }
.callout { background: var(--teal-soft); border-radius: var(--radius-sm); padding: 18px 20px; font-size: 1.08rem; color: var(--ink); margin-top: 12px; }

/* ---------- portfolio */
.case { display: grid; gap: 36px; align-items: center; margin-bottom: 80px; }
.case:last-child { margin-bottom: 0; }
@media (min-width: 960px) { .case { grid-template-columns: 1.1fr 1fr; gap: 56px; } .case-reverse .case-media { order: 2; } }
.case-media { position: relative; padding: 0 0 40px 0; }
.case-media > img:first-child { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.case-phone { position: absolute; right: 4%; bottom: 0; width: 26%; border-radius: 18px; border: 5px solid var(--ink); box-shadow: var(--shadow-lg); background: #fff; aspect-ratio: 390 / 700; object-fit: cover; object-position: top; }
.case-lead { font-size: 1.12rem; color: var(--muted); }
.case h3 { margin-top: 1.2em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0 1.4em; }
.tags span { font-size: .8rem; font-weight: 600; background: var(--teal-soft); color: var(--teal-dark); padding: .3em .75em; border-radius: 999px; }

/* ---------- about */
.founder-card { text-align: center; }
.avatar { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--ink), var(--teal)); color: #fff; display: grid; place-items: center; font: 700 2rem/1 var(--display); }
.founder-card h2 { font-size: 1.6rem; margin-bottom: .2em; }
.role { color: var(--teal-dark); font-weight: 600; }
.cert-list { list-style: none; padding: 0; text-align: left; margin: 1em 0; }
.cert-list li { padding: 8px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.social { display: flex; justify-content: center; gap: 18px; font-weight: 600; }
.career { list-style: none; padding: 0; margin: 0; }
.career > li { background: #fff; border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.career-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: .5em; }
.career-head h3 { margin: 0; }
.career-head span { color: var(--muted); font-size: .92rem; }
.career ul { margin: .5em 0 0; color: var(--muted); }
.career li li { margin: .25em 0; }
.skill-groups { display: grid; gap: 24px; }
@media (min-width: 800px) { .skill-groups { grid-template-columns: repeat(2, 1fr); } }
.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }

/* ---------- forms */
.form { display: block; }
.form-narrow { max-width: 460px; margin: 0 auto; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font: 700 1.2rem/1.3 var(--display); color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.legend-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font: 700 .95rem/1 var(--font); }
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, .label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .97rem; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=url], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #fff;
  border: 1.5px solid #cdd8d7; border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
[aria-invalid="true"] { border-color: #c0392b !important; }
.error { color: #b03024; font-size: .9rem; margin: 6px 0 0; }
.hint { color: var(--muted); font-size: .92rem; margin: 0 0 10px; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; }
.alert-error { background: #fdecea; color: #8a2419; }
.alert-success { background: #e4f4ee; color: #135c43; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; padding: 2px 8px; border-radius: 6px; letter-spacing: .05em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice, .chip { position: relative; margin: 0; cursor: pointer; font-weight: 500; }
.choice input, .chip input { position: absolute; opacity: 0; }
.choice span { display: block; border: 1.5px solid #cdd8d7; border-radius: var(--radius-sm); padding: 12px 14px 12px 42px; position: relative; height: 100%; }
.choice span::before { content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9fb3b2; background: #fff; }
.choice input:checked + span { border-color: var(--teal); background: var(--teal-soft); }
.choice input:checked + span::before { border: 5px solid var(--teal); }
.choice input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span { display: inline-block; border: 1.5px solid #cdd8d7; border-radius: 999px; padding: 8px 14px; font-size: .94rem; }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.check-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-label input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--teal); }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; border: 2px dashed #b9cfcc; border-radius: var(--radius); padding: 28px 16px; background: var(--sand); cursor: pointer; transition: background .15s, border-color .15s; font-weight: 500; }
.dropzone:hover, .dropzone.drag { border-color: var(--teal); background: var(--teal-soft); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone:focus-within { outline: 3px solid var(--coral); outline-offset: 2px; }
.dz-icon { font-size: 1.6rem; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: .92rem; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: #f4f7f7; border-radius: 8px; margin-bottom: 6px; }
.file-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .warn { background: #fdecea; color: #8a2419; }

/* ---------- stepper / tracking */
.stepper { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: st; }
.stepper li { position: relative; text-align: center; font-size: .82rem; color: var(--muted); }
.stepper li::before { content: ""; position: absolute; top: 18px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.current::before { background: var(--teal); }
.stepper-dot { position: relative; z-index: 1; display: grid; place-items: center; margin: 0 auto 8px; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 3px solid var(--line); font-weight: 700; color: var(--muted); }
.stepper .done .stepper-dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.stepper .current .stepper-dot { border-color: var(--teal); color: var(--teal-dark); box-shadow: 0 0 0 5px var(--teal-soft); }
.stepper .current { color: var(--ink); font-weight: 700; }
.stepper-label { display: block; line-height: 1.3; }
@media (min-width: 640px) { .stepper li { font-size: .92rem; } }
.status-card { margin-bottom: 20px; }
.note { background: var(--sand); border-radius: var(--radius-sm); padding: 14px 16px; margin: 1em 0; }
.note p { margin: .3em 0 0; white-space: pre-line; }
.quote-box { border: 2px solid var(--teal); border-radius: var(--radius); padding: 20px; margin: 1em 0; }
.quote-amt { font: 700 2.2rem/1 var(--display); color: var(--ink); }
.pre { white-space: pre-line; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 1em; }
.summary dt { font-weight: 600; color: var(--muted); }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.contact-side { display: grid; gap: 20px; }
.contact-side h2 { font-size: 1.3rem; }

/* ---------- admin */
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-sub { margin-top: 48px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 720px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--sand); color: var(--ink); }
.admin-table .fine { margin: 0; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: var(--line); white-space: nowrap; }
.pill-2 { background: #fff3d6; } .pill-3 { background: #dcecfb; } .pill-4 { background: #dff3e9; }
.msg-list { display: grid; gap: 14px; }
.msg-head { margin-bottom: .6em; }
.msg-head .fine { display: block; margin: .2em 0 0; }
.msg-done { opacity: .6; }

/* ---------- footer */
.site-footer { background: var(--ink-2); color: #a9c1c5; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: #d7e6e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .4em 0; }
.footer-h { font: 700 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #8fd6cf; margin-bottom: 1em; }
.site-footer .brand { margin-bottom: 14px; }
.small { font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
