/* Thermora website draft v1 — FAST Clinical / Thermora patient brand
   Palette + type per 10_context/brand/visual_identity.md */

:root {
  --ink: #033745;        /* headline color */
  --body: #266373;       /* body color */
  --dark: #033340;       /* accent dark teal (section bg) */
  --darker: #02272f;
  --teal: #139ba2;       /* bright teal (bands, buttons, eyebrows) */
  --teal-soft: #83b7b5;  /* primary muted teal */
  --pale: #eef6f6;       /* neutral light */
  --white: #ffffff;
  --maxw: 1140px;
  font-size: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display { font-family: 'Instrument Sans', sans-serif; color: var(--ink); line-height: 1.12; letter-spacing: -0.01em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---- draft banner ---- */
.draftbar {
  background: var(--darker); color: #ffd98a;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; padding: 7px 16px; font-weight: 700;
}
.draftbar span { color: #9fc6c4; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ---- nav ---- */
header.site {
  background: var(--white); border-bottom: 1px solid #e2eeee;
  position: sticky; top: 0; z-index: 50;
}
.navrow { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Instrument Sans', sans-serif; font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 7px; }
.logo .mark { width: 14px; height: 14px; border-radius: 50% 50% 50% 4px; background: var(--teal); display: inline-block; }
nav.main { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav.main a {
  font-family: 'Instrument Sans', sans-serif; font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); padding: 7px 11px; border-radius: 999px; white-space: nowrap;
}
nav.main a:hover { background: var(--pale); }
nav.main a.active { background: var(--dark); color: var(--white); }

/* ---- hero ---- */
.hero {
  background: linear-gradient(178deg, #74aaa8 0%, #a9cbc9 38%, #e9f3f2 100%);
  position: relative; overflow: hidden;
}
.hero .swirl {
  position: absolute; right: -120px; top: 40px; width: 520px; height: 520px;
  opacity: 0.35; pointer-events: none;
}
.hero-inner { position: relative; padding: 84px 0 96px; max-width: 720px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; }
.hero h1 .lt { color: var(--white); }
.hero .sub { font-size: 19px; color: #29555c; margin: 18px 0 30px; max-width: 480px; }
.hero .eyebrow { margin-bottom: 14px; }

.hero.boxed .hero-inner { max-width: none; }
.herobox {
  display: inline-block; border: 2px solid var(--ink); border-radius: 28px;
  padding: 26px 38px; background: rgba(255,255,255,0.18);
}
.herobox h1 { font-size: clamp(34px, 4.6vw, 52px); }

.eyebrow {
  font-family: 'Instrument Sans', sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
  display: block;
}
.on-dark .eyebrow { color: #7fd4d8; }

/* ---- buttons ---- */
.btn {
  display: inline-block; font-family: 'Instrument Sans', sans-serif;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; padding: 14px 28px; border: 0; cursor: pointer;
}
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--darker); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #0f868c; }
.btn-light { background: var(--white); color: var(--ink); }

/* ---- sections ---- */
section { padding: 76px 0; }
section.tight { padding: 56px 0; }
.on-dark { background: var(--dark); color: #cfe6e6; }
.on-dark h2, .on-dark h3 { color: var(--white); }
.on-pale { background: var(--pale); }
.on-teal { background: var(--teal); color: var(--white); }
.on-teal h2, .on-teal h3 { color: var(--white); }

.statement { text-align: center; max-width: 880px; margin: 0 auto; }
.statement h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; margin-bottom: 22px; }
.statement p { font-size: 18px; max-width: 760px; margin: 0 auto; }
.statement p strong { color: var(--ink); }

.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mt48 { margin-top: 48px; }

h2.sec { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h2.sec .light { font-weight: 400; }

/* what-is steps */
.steps { max-width: 560px; margin: 40px auto 0; display: grid; gap: 28px; }
.step { border-left: 3px solid var(--teal); padding-left: 20px; }
.step h3 { font-size: 22px; color: var(--white); font-weight: 600; }
.step h3 .n { color: var(--white); margin-right: 6px; }
.step h3 .t { color: #6ecbd0; }
.step p { font-size: 15px; color: #b9d8d8; margin-top: 6px; }

/* checkerboard */
.checker { display: grid; grid-template-columns: 1fr 1fr; }
.checker .cell { padding: 64px 48px; min-height: 240px; display: flex; flex-direction: column; justify-content: center; }
.cell.c-white { background: var(--white); }
.cell.c-teal { background: var(--teal); color: var(--white); }
.cell.c-dark { background: var(--dark); color: #d6eaea; }
.cell .eyebrow { margin-bottom: 12px; }
.cell.c-teal .eyebrow { color: #d2f3f4; }
.cell h3 { font-size: 26px; font-weight: 600; }
.cell.c-teal h3, .cell.c-dark h3 { color: var(--white); }
.cell p { font-size: 16px; }

/* icon grids */
.iconrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 48px; }
.iconrow .it { text-align: center; }
.iconrow .ic { width: 54px; height: 54px; margin: 0 auto 14px; color: #6ecbd0; }
.iconrow h3 { font-size: 18px; color: var(--white); font-weight: 600; margin-bottom: 8px; }
.iconrow p { font-size: 14px; color: #b9d8d8; }
.iconrow.lightmode .ic { color: var(--teal); }
.iconrow.lightmode h3 { color: var(--ink); }
.iconrow.lightmode p { color: var(--body); }

/* procedure day timeline */
.timeline { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-top: 48px; flex-wrap: wrap; }
.tl-step { text-align: center; width: 190px; }
.tl-step .ic { width: 52px; height: 52px; margin: 0 auto 10px; color: var(--teal); }
.tl-step h3 { font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.tl-step p { font-size: 13.5px; margin-top: 6px; }
.tl-dash { flex: 0 0 56px; height: 2px; background: var(--teal); margin-top: 26px; }

/* cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.card {
  border: 1.5px solid var(--teal); border-radius: 14px; padding: 28px 22px; text-align: center;
  background: transparent;
}
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { font-size: 14px; }
.on-dark .card h3 { color: var(--white); }
.on-dark .card p { color: #b9d8d8; }
.card .ic { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--teal); display: block; }
.on-dark .card .ic { color: #6ecbd0; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; margin-bottom: 14px; }
.split p { font-size: 16px; }
.split .eyebrow { margin-bottom: 12px; }

/* candidate grid */
.candgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; max-width: 920px; margin: 48px auto 0; }
.cand { text-align: center; }
.cand .ic { width: 30px; height: 30px; margin: 0 auto 12px; color: #6ecbd0; }
.cand p { font-size: 15px; color: #d6eaea; }

/* placeholder block */
.placeholder {
  border: 2px dashed #b9b9b9; background: #c9c9c9; color: #3c3c3c;
  border-radius: 8px; padding: 56px 32px; text-align: center;
  font-family: 'Instrument Sans', sans-serif; font-size: 18px; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.placeholder small { display: block; text-transform: none; letter-spacing: 0; font-family: 'Lato', sans-serif; font-size: 13px; margin-top: 10px; color: #555; }

/* review note chip */
.note {
  display: inline-block; background: #fff4d6; border: 1px solid #e8c668; color: #6b5414;
  border-radius: 6px; font-size: 12.5px; padding: 6px 12px; margin-top: 16px;
}
.on-dark .note, .on-teal .note { background: rgba(255,244,214,0.95); }

/* comparison table */
table.compare { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 14.5px; }
.compare th, .compare td { padding: 13px 14px; text-align: left; border-bottom: 1px solid #d8e8e8; vertical-align: top; }
.compare thead th { font-family: 'Instrument Sans', sans-serif; color: var(--ink); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 2px solid var(--teal); }
.compare td:first-child { font-weight: 700; color: var(--ink); }
.compare td.hl { background: var(--pale); font-weight: 700; color: var(--ink); }

/* faq */
.faqsec h2 { font-size: 26px; margin-bottom: 6px; }
.faqsec .rule { height: 2px; background: var(--teal); margin: 14px 0 10px; }
.faqgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
details.qa { border-bottom: 1px solid rgba(128,160,160,0.25); padding: 14px 0; }
details.qa summary {
  cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: baseline;
  font-family: 'Instrument Sans', sans-serif; font-weight: 600; font-size: 16px; color: var(--ink);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::before { content: '+'; color: var(--teal); font-weight: 700; }
details.qa[open] summary::before { content: '\2212'; }
details.qa p { padding: 10px 0 4px 26px; font-size: 15px; }
.on-dark details.qa summary { color: var(--white); }
.on-dark details.qa p { color: #c4dede; }
.on-dark details.qa summary::before { color: #6ecbd0; }

/* conditional cards (get started) */
.condcards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.cond { border: 1.5px solid var(--teal); border-radius: 14px; padding: 32px 28px; text-align: center; }
.cond .ic { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--teal); }
.cond h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; }
.cond p { font-size: 14.5px; color: #b9d8d8; }

/* CTA + form */
.ctaform { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.ctaform h2 { color: var(--white); font-size: clamp(26px, 3.2vw, 36px); }
.ctaform h2 .accent { color: #5fc4ca; display: block; }
.ctaform .lead { color: #b9d8d8; margin-top: 14px; font-size: 15.5px; }
form.list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.list input, form.list textarea {
  border: 0; border-radius: 999px; padding: 13px 20px; font-family: 'Lato', sans-serif;
  font-size: 14.5px; color: var(--ink); background: var(--white); width: 100%;
}
form.list textarea { border-radius: 18px; min-height: 150px; grid-column: 1 / -1; resize: vertical; }
form.list .full { grid-column: 1 / -1; }
form.list button { grid-column: 1 / -1; justify-self: start; }
.formnote { font-size: 12px; color: #8fb9b9; grid-column: 1 / -1; }

/* band + footer */
.band { height: 56px; background: var(--teal); }
footer.site { background: var(--dark); color: #b9d8d8; padding: 56px 0 40px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
footer.site a { color: #d6eaea; text-decoration: none; font-size: 13.5px; }
footer.site a:hover { color: var(--white); }
footer.site .fl { display: grid; gap: 8px; }
footer.site .logo { color: var(--white); }
.legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 24px; font-size: 12px; color: #8fb9b9; max-width: 920px; }
.legal p + p { margin-top: 8px; }

.footnote { font-size: 12.5px; color: #6f9aa5; max-width: 820px; margin: 28px auto 0; text-align: center; }
.on-dark .footnote { color: #8fb9b9; }

/* link block (physicians) */
.linkblock {
  display: block; border: 1.5px solid var(--teal); border-radius: 14px; padding: 24px 28px;
  text-decoration: none; margin-top: 16px;
}
.linkblock h3 { color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.linkblock p { color: var(--body); font-size: 14px; }
.linkblock:hover { background: var(--pale); }

/* video placeholder */
.video-ph { background: #d9d9d9; border-radius: 6px; min-height: 320px; display: flex; align-items: center; justify-content: center; color: #444; font-family: 'Instrument Sans', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }

/* responsive */
@media (max-width: 900px) {
  .navrow { flex-direction: column; height: auto; padding: 12px 0; gap: 8px; }
  .checker, .faqgrid, .split, .ctaform, .condcards { grid-template-columns: 1fr; }
  .iconrow { grid-template-columns: 1fr 1fr; }
  .cards3, .candgrid { grid-template-columns: 1fr; }
  .tl-dash { display: none; }
  .checker .cell { min-height: 0; padding: 40px 28px; }
  .hero-inner { padding: 56px 0; }
}
