/* seikcal.com — same "Organic" look as the app: cream ground, terracotta and olive, Caprasimo + Figtree. */
@font-face { font-family: 'Caprasimo'; font-weight: 400; font-display: swap; src: url('/fonts/eb092b2e.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caprasimo'; font-weight: 400; font-display: swap; src: url('/fonts/27bb8c21.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4; }
@font-face { font-family: 'Figtree'; font-weight: 400 700; font-display: swap; src: url('/fonts/3eb0ed3b.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-weight: 400 700; font-display: swap; src: url('/fonts/ba15efa2.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4; }

:root {
  --bg: #f5ead8;
  --surface: #ebddc5;
  --card: #fbf6ee;
  --ink: #2b2118;
  --ink-soft: #5a4a3b;
  --terra: #c67139;       /* decoration only: too light for text on cream */
  --terra-ink: #8c491a;   /* text and filled buttons */
  --olive: #7a8a5e;
  --olive-ink: #56633f;
  --olive-deep: #3d472b;
  --line: rgb(43 33 24 / 14%);
  --shadow: 0 18px 40px -22px rgb(46 43 37 / 38%);
  --r: 24px;
  --head: 'Caprasimo', Georgia, serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
a { color: var(--terra-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--terra-ink); outline-offset: 3px; border-radius: 6px; }
figure { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--card); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; text-decoration: none; line-height: 1.2; }
.btn-lg { min-height: 52px; padding: 13px 28px; font-size: 1.05rem; }
.btn-main { background: var(--terra-ink); color: #fff8f2; }
.btn-main:hover { background: #703a14; }
.btn-line { border-color: var(--olive-ink); color: var(--olive-deep); }
.btn-line:hover { background: rgb(122 138 94 / 18%); }
.btn-quiet { color: var(--ink); }
.btn-quiet:hover { background: var(--surface); }
.btn-light { background: var(--bg); color: var(--olive-deep); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(245 234 216 / 94%); border-bottom: 1px solid transparent; }
.top.compact { border-bottom-color: var(--line); box-shadow: 0 8px 22px -18px rgb(46 43 37 / 50%); }
.bar { display: flex; align-items: center; gap: 14px; min-height: 76px; flex-wrap: wrap; }
.top.compact .bar { min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 1.55rem var(--head); color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { border-radius: 11px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--terra-ink); }
#nav { display: flex; gap: 22px; margin-right: 8px; }
.top-cta { display: flex; gap: 6px; }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .js .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: none; font: 700 1rem var(--body); color: var(--ink); cursor: pointer; order: 2; }
  .js #nav { display: none; }
  .js #nav.open { display: flex; }
  #nav { order: 3; width: 100%; flex-direction: column; gap: 0; margin: 0; padding-bottom: 12px; }
  #nav a { padding: 11px 4px; border-top: 1px solid var(--line); }
  .top-cta { order: 1; }
}
@media (max-width: 620px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .top-demo { display: none; }
  .bar { gap: 6px; }
  .brand { font-size: 1.25rem; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .top-cta .btn { padding-inline: 6px; font-size: .93rem; }
  .js .menu-btn { padding: 8px 12px; font-size: .93rem; }
}

/* hero */
.hero { padding: 44px 0 72px; background: radial-gradient(1000px 560px at 82% -12%, #fbf3e6, transparent 70%); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { color: var(--olive-ink); font-weight: 700; margin-bottom: 12px; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.devices { position: relative; padding-bottom: 34px; }
.laptop { background: var(--ink); border-radius: 18px 18px 6px 6px; padding: 10px 10px 12px; box-shadow: var(--shadow); width: 92%; }
.screen { border-radius: 8px; overflow: hidden; background: var(--bg); }
.screen img { width: 100%; }
.laptop-base { width: 96%; height: 12px; margin-left: -2%; border-radius: 0 0 16px 16px; background: linear-gradient(#cdbb9f, #a8957a); }
.float-b { position: absolute; right: 0; bottom: 0; width: 27%; }
.phone { background: var(--ink); border-radius: 30px; padding: 7px; box-shadow: var(--shadow); }
.phone img { width: 100%; border-radius: 23px; }
@media (min-width: 960px) {
  .hero { padding: 68px 0 96px; }
  .hero-grid { grid-template-columns: 5fr 7fr; }
}

/* sections */
.section { padding: 76px 0; }
.tinted { background: var(--surface); }
.sub { color: var(--ink-soft); font-size: 1.1rem; max-width: 40em; }
.band { background: var(--olive-deep); color: #f7f0e2; padding: 68px 0; }
.band h2 { max-width: 18em; margin-bottom: 30px; }
.cards3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); color: var(--ink); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; }

.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 28px; position: relative; }
.steps li { position: relative; }
.steps p { color: var(--ink-soft); margin: 0; }
.num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--terra-ink); color: #fff8f2; font: 400 1.35rem var(--head); margin-bottom: 14px; position: relative; z-index: 1; }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps::before { content: ''; position: absolute; left: 24px; right: calc(33.333% - 48px); top: 23px; height: 3px; background: var(--terra); transform-origin: left; }
}

/* features */
.features { display: grid; gap: 22px; margin-top: 30px; }
.features > * { min-width: 0; }
.ftabs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ftabs button { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-content: start; align-items: center; text-align: left; background: var(--card); border: 2px solid transparent; border-radius: 20px; padding: 16px; font: inherit; color: inherit; cursor: pointer; }
.ftabs svg { width: 26px; height: 26px; fill: none; stroke: var(--olive-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ftabs strong { font: 400 1.08rem/1.25 var(--head); }
.ftabs span { grid-column: 1 / -1; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.ftabs button[aria-selected='true'] { border-color: var(--terra-ink); box-shadow: var(--shadow); }
.ftabs button[aria-selected='true'] svg { stroke: var(--terra-ink); }
.fpanels { display: grid; gap: 22px; align-content: start; }
.fpanels figure img { border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.fpanels .shot-phone img { width: min(300px, 100%); margin-inline: auto; border-radius: 26px; border: 6px solid var(--ink); }
.fpanels .shot-pair { display: grid; gap: 14px; }
.fpanels figcaption { color: var(--ink-soft); margin-top: 12px; }
.tabbed .fpanels figure:not(.active) { display: none; }

@media (max-width: 959px) {
  .tabbed .ftabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px; scrollbar-width: thin; }
  .tabbed .ftabs button { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 16px; min-height: 46px; }
  .tabbed .ftabs svg { width: 20px; height: 20px; }
  .tabbed .ftabs strong { font-size: 1rem; white-space: nowrap; }
  .tabbed .ftabs span { display: none; }
}
@media (min-width: 960px) {
  .tabbed .features { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .tabbed .ftabs { grid-template-columns: 1fr 1fr; }
  .tabbed .ftabs span { font-size: .88rem; }
  .tabbed .fpanels { position: sticky; top: 90px; }
  .tabbed .fpanels figcaption { display: none; }
}

/* tour */
.tour { display: grid; gap: 20px; margin: 26px 0 30px; }
.tour > * { min-width: 0; }
.player { background: var(--ink); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow); align-self: start; }
.player video { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 16px; background: var(--ink); }
.chapters { background: var(--card); border-radius: var(--r); padding: 18px; }
.chapters ol { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; }
.chapters button { display: flex; gap: 12px; width: 100%; min-height: 40px; align-items: center; background: none; border: 0; border-radius: 10px; padding: 6px 10px; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.chapters button span { color: var(--olive-ink); font-variant-numeric: tabular-nums; font-weight: 700; min-width: 2.6em; }
.chapters button:hover { background: var(--surface); }
.chapters button[aria-current='true'] { background: var(--olive-deep); color: #f7f0e2; }
.chapters button[aria-current='true'] span { color: #e1eecc; }
@media (min-width: 960px) {
  .tour { grid-template-columns: minmax(0, 1fr) 290px; align-items: start; }
  .chapters ol { max-height: 380px; }
}

/* patients */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); gap: clamp(10px, 3vw, 36px); justify-content: center; margin: 34px 0; }
.phones figcaption { text-align: center; margin-top: 12px; font-weight: 700; }
.phones .phone { border-radius: clamp(18px, 3vw, 30px); padding: clamp(4px, .8vw, 7px); }
.phones .phone img { border-radius: clamp(14px, 2.4vw, 23px); }
.ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 28px; }
.ticks li { background: var(--card); border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.ticks li::before { content: '✓'; color: var(--olive-ink); margin-right: 8px; font-weight: 700; }

/* clinics, privacy, faq, contact */
.split { display: grid; gap: 28px; align-items: center; }
.addresses { display: grid; gap: 14px; }
.address { display: block; background: var(--card); border-radius: var(--r); padding: 22px 26px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.address span { display: block; color: var(--olive-ink); font-weight: 700; }
.address strong { font: 400 clamp(1.15rem, 4.8vw, 1.5rem) var(--head); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.plain { padding-left: 1.2em; }
.plain li { margin-bottom: 8px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; margin: 22px 0 0; }
details { background: var(--card); border-radius: 18px; padding: 4px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
details p { color: var(--ink-soft); }
.contact { background: var(--olive-deep); color: #f7f0e2; }

.foot { padding: 30px 0 40px; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; }

/* Motion: only for people who have not asked for less of it. Transform and opacity only. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .bar { transition: min-height .2s ease; }
  .motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
  .motion .reveal.in { opacity: 1; transform: none; }
  .motion .cards3 .reveal:nth-child(2), .motion .phones .reveal:nth-child(2) { transition-delay: 60ms; }
  .motion .cards3 .reveal:nth-child(3), .motion .phones .reveal:nth-child(3) { transition-delay: 120ms; }
  .float-a { animation: float 8s ease-in-out infinite; }
  .float-b { animation: float 8s ease-in-out -4s infinite; }
  .motion .steps::before { transform: scaleX(0); transition: transform 1.1s ease .25s; }
  .motion .steps.in::before { transform: scaleX(1); }
  .ftabs button, .card, .address { transition: transform .2s ease; }
  .ftabs button:hover, .card:hover, .address:hover { transform: translateY(-4px); }
  .motion .card.reveal:not(.in):hover { transform: translateY(16px); }
  .tabbed .fpanels figure.active { animation: fade .35s ease; }
  @keyframes float { 50% { transform: translateY(-6px); } }
  @keyframes fade { from { opacity: 0; transform: translateY(8px); } }
}
