/* YourDoc F Care — website styles. Plain CSS, no build step, no external requests. Light theme only.
   Shared by every page. The home page adds assets/css/home.css on top.
   The colours below were measured from the app mock-ups and the logo: airy white and pale-sky backgrounds,
   navy headings, a cyan-teal for buttons, deep-blue banners and soft pastel tiles. */

/* Inter for the text and the interface, Playfair Display for the headlines (both variable fonts, latin only: a character outside
   it, such as the rupee sign, is drawn by the visitor's own system font). */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  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;
}

:root {
  color-scheme: light;
  /* brand */
  --navy: #083898; /* logo "Your" */
  --navy-900: #05185f; /* headings */
  --navy-800: #0a2a73;
  --navy-700: #104192; /* active tab, strong tiles */
  --blue-800: #155195; /* banner start */
  --blue: #1c65a0; /* links, banner end */
  --teal: #058ba0; /* buttons ("Book") */
  --teal-700: #04788b; /* button hover */
  --turq: #08a8b8; /* logo "Doc", accents */
  --teal-300: #4fc4cf;
  --mint: #8fdfe6;
  /* soft tints (tiles, panels) */
  --teal-100: #e7f9f9;
  --sky: #eaf4fe;
  --sky-50: #f4fcfe;
  --sky-100: #ecf7fd;
  --sky-200: #e6f3fd;
  --sky-300: #c7eef4;
  --lav: #f4f2fe;
  --amber-50: #fef7ed;
  --rose-50: #fde9eb;
  /* text and lines */
  --ink: #2c3f66;
  --muted: #62728c;
  --line: #e1eaf4;
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f4f9fd;
  --ok: #138a5b;
  --warn: #b45309;
  --danger: #c62d3b;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(8, 56, 152, .05), 0 8px 22px rgba(8, 56, 152, .06);
  --shadow: 0 16px 40px rgba(8, 56, 152, .11);
  --shadow-lg: 0 32px 72px rgba(8, 56, 152, .18);
  --grad: linear-gradient(110deg, #155195 0%, #1b94ad 62%, #3fb9c4 100%); /* banners */
  --grad-btn: linear-gradient(180deg, #0a9ab0, #058ba0);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
  --font-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --max: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --vh: 1vh;
}
@supports (height: 1svh) { :root { --vh: 1svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; background: var(--sky-50); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-optical-sizing: auto; overflow-x: clip;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.14; margin: 0 0 .6em; letter-spacing: -.02em; color: var(--navy-900); }
/* headlines: the serif, at a medium-bold weight, with the gentle tracking a serif wants */
h1, h2, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.018em; line-height: 1.1; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 6px; }

/* icons: <svg class="i"><use href="#i-name"/></svg> */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- shown only when a page is opened straight from a folder (see boot.js and preview.bat) ---------- */
.file-note { position: relative; z-index: 70; padding: 9px 16px; text-align: center; font-size: .85rem; line-height: 1.45; background: #fff7ea; color: #6b3a05; border-bottom: 1px solid #f6d7a4; }
.file-note code { background: rgba(255, 255, 255, .8); border: 1px solid #f0cf9c; border-radius: 6px; padding: 1px 6px; font-size: .92em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h); margin-bottom: calc(var(--header-h) * -1);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
  view-transition-name: site-header;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--line); box-shadow: 0 8px 30px rgba(8, 56, 152, .08);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 46px; width: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.04); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  position: relative; padding: 9px 15px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .94rem;
  color: #33456a; transition: background .25s, color .25s;
}
.nav a:not(.btn):hover { background: var(--sky); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--sky-200); }
.nav .btn { margin-left: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid #d3e3f2; border-radius: 14px; background: #fff;
  cursor: pointer; align-items: center; justify-content: center; padding: 0; box-shadow: var(--shadow-sm);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s; font-family: inherit; line-height: 1.2; letter-spacing: -.005em;
}
.btn:hover { transform: translateY(-3px); }
.btn::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .42) 50%, transparent 68%); transform: translateX(-130%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(130%); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 24px rgba(5, 139, 160, .3), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(5, 139, 160, .42), inset 0 1px 0 rgba(255, 255, 255, .32); }
.btn-ghost { background: #fff; color: var(--navy); border-color: #cfe0f1; box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--sky); border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); box-shadow: var(--shadow); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .62); background: rgba(255, 255, 255, .08); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { color: #fff; box-shadow: 0 10px 24px rgba(198, 45, 59, .35); }
.btn svg { width: 20px; height: 20px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--grad-btn); }

/* ---------- app store buttons (placeholders until the apps are live; see assets/js/config.js) ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 14px; min-width: 190px;
  border-radius: 15px; background: linear-gradient(160deg, #141b30, #05070f); color: #fff; text-decoration: none; border: 1px solid #0c1226;
  box-shadow: 0 12px 26px rgba(5, 24, 95, .24), inset 0 1px 0 rgba(255, 255, 255, .14); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.store:hover { color: #fff; transform: translateY(-3px); border-color: var(--turq); box-shadow: 0 18px 36px rgba(5, 24, 95, .3), 0 0 0 1px rgba(8, 168, 184, .5); }
.store svg { width: 30px; height: 30px; flex: none; }
.store__t { display: grid; line-height: 1.1; text-align: left; }
.store__t small { font-size: .6rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.store__t b { font-size: 1.14rem; font-weight: 700; letter-spacing: -.012em; }
.store__soon {
  align-self: center; margin-left: 4px; padding: 4px 10px; border-radius: 99px; font-size: .58rem; font-weight: 800; letter-spacing: .1em; line-height: 1.2;
  text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #0a9ab0, #155195); box-shadow: 0 4px 14px rgba(5, 139, 160, .4);
}
.store::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .14) 50%, transparent 62%); transform: translateX(-120%); animation: storeShine 5.5s var(--ease) infinite; }
.store.is-live .store__soon { display: none; }
.store.is-live::after { animation: none; }
.store.is-light { background: #fff; color: var(--navy-900); border-color: rgba(255, 255, 255, .8); box-shadow: 0 12px 28px rgba(5, 24, 95, .22); }
.store.is-light:hover { color: var(--navy-900); }
@keyframes storeShine { 0%, 62% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- image slots (space kept for pictures; see asset.md) ---------- */
.slot {
  position: relative; display: block; margin: 0; overflow: hidden; border-radius: 24px; isolation: isolate; aspect-ratio: var(--ratio, 4 / 5);
  background: linear-gradient(160deg, var(--sky), var(--teal-100)); border: 1.5px dashed #a9cbe6;
}
.slot::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(135deg, rgba(8, 56, 152, .035) 0 12px, transparent 12px 24px), linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  background-size: auto, 240% 100%; animation: shimmer 5s linear infinite;
}
.slot__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 7px; text-align: center; padding: 16px; color: #4d6f93; }
.slot__ph .i { width: 34px; height: 34px; opacity: .8; }
.slot__ph b { font-size: .86rem; font-weight: 700; color: var(--navy-700); }
.slot__ph small { font-size: .7rem; opacity: .85; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; line-height: 1.5; }
.slot img, .slot canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot img { opacity: 0; transition: opacity .7s var(--ease); }
.slot.is-filled { border-style: solid; border-color: transparent; }
.slot.is-filled img { opacity: 1; }
.slot.is-filled .slot__ph, .slot.is-filled::before { display: none; }
.quiet-slots .slot__ph small { display: none; }
.slot--round { border-radius: 50%; aspect-ratio: 1; }
.slot--logo { --ratio: 3 / 1; border-radius: 14px; }
@keyframes shimmer { to { background-position: 0 0, -240% 0; } }

/* ---------- hero (inner pages) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border-radius: 999px; background: var(--teal-100); border: 1px solid #bfe9ee;
  color: var(--teal-700); font-weight: 700; font-size: .82rem; letter-spacing: .03em; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--turq); animation: pulse 2.2s infinite; }
.grad-text { background: linear-gradient(100deg, #083898, #058ba0 58%, #08a8b8); -webkit-background-clip: text; background-clip: text; color: transparent; }

.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--ink); background: linear-gradient(180deg, #e6f4fb 0%, #f3fafd 62%, #ffffff 100%);
  padding: calc(var(--header-h) + clamp(44px, 6.5vw, 92px)) 0 clamp(44px, 5.5vw, 76px);
  border-bottom: 1px solid #e3eef7;
}
.page-hero::before {
  content: ""; position: absolute; inset: -20%; z-index: -2;
  background: radial-gradient(46% 60% at 82% 8%, rgba(8, 168, 184, .22), transparent 70%), radial-gradient(52% 70% at 4% 96%, rgba(28, 101, 160, .16), transparent 68%), radial-gradient(36% 46% at 50% 55%, rgba(199, 238, 244, .55), transparent 72%);
  animation: aurora 22s ease-in-out infinite alternate;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(8, 56, 152, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 56, 152, .055) 1px, transparent 1px);
  background-size: 60px 60px; -webkit-mask-image: radial-gradient(70% 90% at 72% 35%, #000, transparent 78%); mask-image: radial-gradient(70% 90% at 72% 35%, #000, transparent 78%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--navy-900); font-size: clamp(2.1rem, 4.8vw, 3.5rem); margin-bottom: .32em; max-width: 14em; }
.page-hero p { max-width: 40em; font-size: 1.12rem; margin: 0; color: var(--muted); }
.page-hero .crumbs, .page-hero p, .page-hero h1, .page-hero .updated { animation: rise .9s var(--ease) both; }
.page-hero h1 { animation-delay: .08s; } .page-hero p { animation-delay: .16s; } .page-hero .updated { animation-delay: .24s; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #6a82a6; }
.crumbs a { color: var(--blue); text-decoration: none; } .crumbs a:hover { color: var(--teal); text-decoration: underline; }
.updated { display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #d6e6f4; font-size: .85rem; color: #46618a; box-shadow: var(--shadow-sm); }

/* ---------- sections ---------- */
section { position: relative; }
main { overflow-x: clip; } /* the slide-in reveals must never make the page scroll sideways */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--grad); color: #e6f4fb; } /* a deep-blue banner band, like the app's banners */
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.dark .section-head p { color: #dcecf7; }
.kicker { color: var(--teal); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; display: block; margin-bottom: 12px; }
.dark .kicker { color: #bff1f5; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  --mx: 50%; --my: 0%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; position: relative; overflow: hidden; transform-style: preserve-3d;
}
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(340px circle at var(--mx) var(--my), rgba(8, 168, 184, .12), transparent 62%); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #bfd8ee; }
.card:hover::before { opacity: 1; }
.card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover::after { transform: scaleX(1); }
.icon { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: var(--sky); color: #2f6ae6; margin-bottom: 18px; transition: transform .5s var(--ease); }
.card:hover .icon { transform: rotate(-6deg) scale(1.1) translateZ(20px); }
.icon svg { width: 28px; height: 28px; }
/* soft tinted tiles in rotation, as in the app: blue, lavender, sky, mint */
.card:nth-child(4n+1) .icon { background: var(--sky); color: #2f6ae6; }
.card:nth-child(4n+2) .icon { background: var(--lav); color: #6a35e0; }
.card:nth-child(4n+3) .icon { background: #edf7fe; color: #0a85cf; }
.card:nth-child(4n) .icon { background: var(--teal-100); color: #0b9a90; }
.card p { color: var(--muted); margin-bottom: 0; }
.dark .card { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.dark .card p { color: #e1f0f8; }
.dark .icon { background: rgba(255, 255, 255, .18); color: #fff; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step { counter-increment: s; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; box-shadow: var(--shadow-sm); }
.step::before { content: counter(s); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-btn); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(5, 139, 160, .32); }
.step h3 { margin-top: 10px; } .step p { margin: 0; color: var(--muted); font-size: .98rem; }

/* split / media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel-art { border-radius: 30px; background: var(--grad); padding: 36px; color: #fff; position: relative; overflow: hidden; min-height: 340px; display: grid; align-content: center; gap: 14px; box-shadow: var(--shadow-lg); }
.panel-art::before, .panel-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.panel-art::before { width: 260px; height: 260px; right: -80px; top: -80px; animation: float 16s ease-in-out infinite; }
.panel-art::after { width: 180px; height: 180px; left: -60px; bottom: -70px; animation: float 20s ease-in-out infinite reverse; }
.panel-art > * { position: relative; z-index: 1; }
.panel-art img { width: 120px; background: #fff; border-radius: 28px; padding: 10px; box-shadow: 0 16px 36px rgba(5, 24, 95, .25); }
.panel-art h3 { color: #fff; font-size: 1.7rem; } .panel-art p { color: #e6f4fb; margin: 0; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: block; position: relative; padding-left: 36px; } /* a block, so bold words and links inside a line keep their spaces */
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23058ba0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* values / stat strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: #fff; padding: 26px 20px; text-align: center; }
.fact b { display: block; font-family: var(--font-display); font-weight: 600; font-variant-numeric: lining-nums; font-size: 1.6rem; color: var(--navy); letter-spacing: -.01em; }
.fact span { color: var(--muted); font-size: .92rem; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 4px 22px; box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s, background .3s; }
details[open] { box-shadow: var(--shadow); border-color: #a9dbe3; background: #fbfeff; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--navy-900); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; font-size: 1.3rem; color: var(--navy); transition: transform .4s var(--ease), background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--teal-100); }
details p { color: var(--muted); padding-bottom: 8px; }

/* cta band: a deep-blue banner like the ones in the app */
.cta { margin: 0 auto; border-radius: 34px; background: var(--grad); color: #fff; padding: clamp(36px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.cta::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; right: -120px; top: -170px; background: rgba(255, 255, 255, .13); animation: float 18s ease-in-out infinite; z-index: -1; }
.cta::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; left: -90px; bottom: -150px; background: rgba(255, 255, 255, .09); animation: float 22s ease-in-out infinite reverse; z-index: -1; }
.cta h2 { color: #fff; } .cta p { color: #e6f4fb; max-width: 38em; margin-inline: auto; }
.cta .hero-cta, .cta .store-row { justify-content: center; position: relative; margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- inner pages: document layout ---------- */
.doc { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; padding: 56px 0 96px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--soft); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.toc b { display: block; margin-bottom: 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; text-decoration: none; font-size: .93rem; color: var(--ink); border-left: 3px solid transparent; transition: background .2s, border-color .2s; }
.toc a:hover { background: #fff; }
.toc a.active { background: #fff; color: var(--navy); font-weight: 700; border-left-color: var(--turq); }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; padding-top: .2em; } .prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .96rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); color: var(--navy-900); font-size: .86rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.note { border-radius: var(--radius-sm); padding: 18px 20px; margin: 1.4em 0; border: 1px solid; display: flex; gap: 14px; }
.note svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.note p:last-child { margin: 0; }
.note.info { background: var(--sky); border-color: #c7dbff; color: #17346f; }
.note.warn { background: #fff7ea; border-color: #f6d7a4; color: #6b3a05; }
.note.danger { background: #fff0f1; border-color: #f4c2c7; color: #7d1822; }
.note.ok { background: #eafaf4; border-color: #b4e8d2; color: #0b5a3c; }

/* delete page steps + form */
.dsteps { list-style: none; counter-reset: d; padding: 0; margin: 1.4em 0; display: grid; gap: 14px; }
.dsteps li { counter-increment: d; position: relative; padding: 18px 20px 18px 70px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.dsteps li::before { content: counter(d); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad-btn); color: #fff; font-weight: 800; display: grid; place-items: center; }
.form { display: grid; gap: 18px; margin-top: 1.4em; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 13px 15px; border: 1.5px solid #c9dbed; border-radius: 14px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8, 168, 184, .18); }
.field small { color: var(--muted); display: block; margin-top: 6px; }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-cards .card a { font-weight: 700; word-break: break-word; }

/* team / people */
.person { text-align: center; }
.person .avatar-lg { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 1.6rem; font-weight: 800; box-shadow: 0 12px 26px rgba(21, 81, 149, .28); }
.person .avatar-lg svg { width: 38px; height: 38px; }
.person small { color: var(--teal); font-weight: 700; display: block; margin-bottom: 8px; }

/* ---------- footer (light, with the soft wave from the sign-in screen) ---------- */
.site-footer { background: linear-gradient(180deg, var(--sky-50) 0%, var(--sky-200) 100%); color: var(--muted); padding: 0 0 28px; position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid #dcebf6; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; z-index: -1; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'%3E%3Cpath fill='%23c7eef4' fill-opacity='.55' d='M0 80C200 30 400 30 600 70s400 70 600 10V150H0z'/%3E%3Cpath fill='%23b5e4ee' fill-opacity='.45' d='M0 105C250 65 500 75 700 100s350 40 500 5V150H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(36px, 5vw, 60px) 0; border-bottom: 1px solid #d3e5f2; margin-bottom: 48px; }
.footer-cta p { margin: 0 0 6px; color: var(--teal); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; }
.footer-cta h2 { color: var(--navy-900); margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 17em; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .9fr 1.15fr 1.15fr 1.15fr; gap: 36px; position: relative; }
.site-footer h4 { color: var(--navy-900); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer a { color: #33456a; text-decoration: none; display: inline-block; padding: 4px 0; transition: color .2s, transform .2s; }
.site-footer a:hover { color: var(--teal); transform: translateX(3px); }
.site-footer .store { display: inline-flex; padding: 10px 16px 10px 14px; color: #fff; }
.site-footer .store:hover { color: #fff; transform: translateY(-3px); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 26em; font-size: .95rem; }
.footer-bottom { border-top: 1px solid #d3e5f2; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; position: relative; }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad-btn); color: #fff; box-shadow: 0 10px 26px rgba(5, 139, 160, .4); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); z-index: 40; display: grid; place-items: center; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* cursor glow (desktop pointers only; added by main.js) */
.cursor-glow { position: fixed; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .5s; background: radial-gradient(circle, rgba(8, 168, 184, .1), transparent 62%); will-change: transform; }
.cursor-glow.on { opacity: 1; }

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf b { font-family: var(--font-display); font-weight: 600; font-variant-numeric: lining-nums; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; letter-spacing: -.03em; display: block; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px) scale(.985); filter: blur(5px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); animation: revealFallback .01s 3.5s forwards; }
.js .reveal.in { opacity: 1; transform: none; filter: none; animation: none; }
.js .reveal.left { transform: translateX(-40px); } .js .reveal.right { transform: translateX(40px); } .js .reveal.zoom { transform: scale(.92); }
.js .reveal.left.in, .js .reveal.right.in, .js .reveal.zoom.in { transform: none; }
@keyframes revealFallback { to { opacity: 1; transform: none; filter: none; } }

/* split headlines: words slide up (main.js wraps each word) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .14em; margin-bottom: -.14em; }
[data-split] .w > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + var(--d, 0s)); }
[data-split].in .w > span { transform: none; }

.rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } }
@keyframes aurora { 0% { transform: translate3d(-3%, -2%, 0) scale(1); } 100% { transform: translate3d(4%, 3%, 0) scale(1.12); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(8, 168, 184, .5); } 70% { box-shadow: 0 0 0 10px rgba(8, 168, 184, 0); } 100% { box-shadow: 0 0 0 0 rgba(8, 168, 184, 0); } }
@keyframes draw { 0% { stroke-dashoffset: 1400; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- page-to-page transition (supported browsers cross-fade; others just navigate) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .3s var(--ease) both vtOut; }
::view-transition-new(root) { animation: .55s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; transform: scale(.992); filter: blur(5px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); filter: blur(5px); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .g4, .steps, .facts { grid-template-columns: repeat(2, 1fr); }
  .g3, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .doc { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; max-height: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; position: relative; z-index: 3; }
  .nav {
    position: fixed; inset: 0; z-index: 2; background: rgba(255, 255, 255, .98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); flex-direction: column; align-items: stretch; justify-content: center;
    padding: calc(var(--header-h) + 10px) 28px 32px; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 18px; font-size: 1.5rem; font-weight: 700; border-radius: 16px; transform: translateY(18px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, background .25s; }
  .menu-open .nav a:not(.btn) { transform: none; opacity: 1; }
  .menu-open .nav a:nth-child(2) { transition-delay: .05s; } .menu-open .nav a:nth-child(3) { transition-delay: .1s; } .menu-open .nav a:nth-child(4) { transition-delay: .15s; } .menu-open .nav a:nth-child(5) { transition-delay: .2s; }
  .nav .btn { margin: 18px 0 0; font-size: 1.05rem; padding: 16px 24px; }
  .menu-open { overflow: hidden; }
  .page-hero h1 { max-width: 11em; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .prose td { overflow-wrap: anywhere; }
  .g2, .g3, .g4, .steps, .facts, .contact-cards, .cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dsteps li { padding-left: 64px; }
  .hero-cta .btn { width: 100%; }
  .store { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  [data-split] .w > span { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media print {
  .site-header, .site-footer, .toc, .to-top, .cursor-glow, .home-canvas, .splash { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 12px; border: 0; } .page-hero h1, .page-hero p, .crumbs { color: #000; } .page-hero::before, .page-hero::after { display: none; }
  .doc { display: block; padding: 0; } body { font-size: 12pt; }
}
.prose .dsteps { padding-left: 0; }
.prose code { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.prose .form { margin-bottom: 1em; }
.split table.prose { display: table; }
.split table.prose th { white-space: nowrap; }
@media (max-width: 620px) { .split table.prose th { white-space: normal; } }
.hero .wrap > *, .split > *, .doc > *, .grid > *, .footer-grid > * { min-width: 0; }

/* ---------- text styles used by the longer copy of 21 Oct 2026 (headline lines, notes, centred paragraphs) ---------- */
.nowrap { white-space: nowrap; }
.card__n { display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; color: var(--teal); }
.card p.card__tag { margin: 6px 0 10px; color: var(--navy-900); font-weight: 700; }
.card p + p { margin-top: .7em; }
.card .checks { margin-top: 16px; }
.card .checks li { color: var(--ink); }
.card p.card__note, .svc__note { margin: 14px 0 0; font-size: .86rem; font-style: italic; color: var(--muted); }
.card p.card__link { margin-top: 12px; color: var(--teal); font-weight: 700; }
.person p { text-align: left; }
.centered-copy { max-width: 46em; margin: 0 auto 8px; text-align: center; }
.centered-copy p { margin: 0 0 .9em; color: var(--ink); }
.centered-copy .fine { margin-top: 14px; color: var(--muted); }
.centered-copy__close { font-size: 1.15rem; color: var(--navy-900); }
.cta p + p { margin-top: .7em; }
.cta p.cta__note { margin-top: 18px; font-size: .86rem; opacity: .88; }
.cta p strong { color: #fff; }
