/* ReddyFile site styles.
   Layout: a calm, light marketing site on a soft lime-to-blue wash, with deep navy bands for contrast.
   Sticky header with a Services menu; content in a 1200px column; one column on phones. */
:root {
  --ink: #0D0F12;
  --ink-2: #4E5662;
  --ink-3: #868E99;
  --navy: #2C5490;
  --navy-hover: #23467A;
  --navy-deep: #16294A;
  --navy-deeper: #0F1D36;
  --navy-tint: #E8EEF8;
  --yellow: #F7F0C6;
  --yellow-strong: #E3C33A;
  --green: #1F9D55;
  --green-tint: #E2F4E9;
  --danger: #C3352B;
  --wash-a: #EEF1C6;
  --wash-b: #C8D6E4;
  --canvas: #F6F7F8;
  --panel: #FFFFFF;
  --line: #E6E9EE;
  --line-strong: #D6DBE2;
  --ring: rgba(44, 84, 144, .25);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 24px 48px -28px rgba(22, 41, 74, .28);
  --radius: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; background: var(--panel); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--panel); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: var(--navy-tint); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--navy); }
.link-arrow:hover { gap: 9px; }
.link-arrow::after { content: "→"; transition: transform .15s; }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--navy-deep); color: #C9D5EA; font-size: 13px; }
.utility-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility-link { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.utility-link:hover { text-decoration: underline; }
@media (max-width: 720px) { .utility-note { display: none; } .utility-row { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 24, 40, .4); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.logo svg { flex: none; }
.logo-light { color: #fff; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; border: 0; background: none;
  color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: var(--canvas); }
.nav-link[aria-current] { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 380px; padding: 10px; display: grid; gap: 2px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-menu.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.menu-item:hover { background: var(--canvas); }
.menu-item b { display: block; font-size: 14.5px; font-weight: 700; }
.menu-item small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.menu-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--navy-tint); color: var(--navy); }
.menu-all { margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; text-decoration: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--panel); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--nav-top, 110px); left: 0; right: 0; bottom: 0; z-index: 49; display: none; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 16px 20px 32px; background: var(--panel); overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav-open .nav { display: flex; }
  /* A backdrop blur would make the fixed menu panel position against the header instead of the screen. */
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--panel); }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 17px; }
  .menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 0; display: none; }
  .has-menu.open .menu { display: grid; }
  .menu-icon { width: 34px; height: 34px; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { min-height: 52px; font-size: 16px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section-tight { padding-block: 48px; }
@media (min-width: 900px) { .section { padding-block: 104px; } }
.section-wash { background:
  radial-gradient(60% 80% at 0% 0%, var(--wash-a), transparent 70%),
  radial-gradient(60% 80% at 100% 100%, var(--wash-b), transparent 70%), var(--canvas); }
.section-canvas { background: var(--canvas); }
.section-dark { background: var(--navy-deep); color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.eyebrow .sep { color: var(--ink-3); font-weight: 500; }
.section-dark .eyebrow { color: #A9C1EC; }
.section-dark .eyebrow .sep { color: #6F86AE; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; letter-spacing: -0.035em; }
.h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.section-head.center .lead { margin-inline: auto; }
.section-dark .lead, .section-dark p { color: #C9D5EA; }
.accent { color: var(--navy); }
.section-dark .accent { color: #F2DC74; }

/* ---------- Hero ---------- */
.hero { padding-block: 56px 72px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding-block: 88px 104px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 { font-size: clamp(40px, 6.4vw, 70px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.hero h1 .accent { display: block; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19.5px); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { color: var(--green); flex: none; }

/* Product visual: a client folder, in the style of the upload page */
.visual { position: relative; max-width: 520px; margin-inline: auto; width: 100%; padding-top: 46px; }
.visual-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; }
.visual-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.visual-head b { font-size: 16px; }
.visual-head span { font-size: 12.5px; color: var(--ink-3); }
.v-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 10px; background: var(--navy-tint); color: var(--navy); font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.v-group { border-top: 1px solid var(--line); padding: 12px 0 10px; }
.v-group:first-of-type { border-top: 0; padding-top: 0; }
.v-group-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.v-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--canvas); }
.v-count { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.v-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: center; padding: 3px 0; font-size: 14px; }
.v-row svg { color: var(--green); }
.v-row b { font-weight: 700; }
.v-row span span { color: var(--ink-3); font-size: 12.5px; margin-left: 6px; }
.v-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600; }
.v-float small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.v-float .dot { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.v-float-a { right: -14px; top: 0; }
.v-float-a .dot { background: var(--green-tint); color: var(--green); }
.v-float-b { left: -26px; bottom: -28px; }
.v-float-b .dot { background: var(--yellow); color: #6A5300; }
.visual-note { margin-top: 14px; text-align: right; font-size: 12px; color: var(--ink-3); }
@media (max-width: 600px) { .visual-note { margin-top: 48px; text-align: center; } }
@media (max-width: 600px) { .v-float-a { right: -4px; } .v-float-b { left: -4px; } }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--panel); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 24px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
@media (max-width: 960px) { .trust-item + .trust-item { border-left: 0; } .trust-item { padding: 18px 4px; } }
.trust-item svg { flex: none; color: var(--navy); margin-top: 2px; }
.trust-item b { display: block; font-size: 15px; }
.trust-item span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Service tiles ---------- */
.tiles { display: grid; gap: 16px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.tile-num { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.tile-num .sep { color: var(--ink-3); font-weight: 500; }
.tile h3 { font-size: 24px; font-weight: 800; }
.tile p { color: var(--ink-2); }
.tile ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14.5px; }
.tile li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.tile li svg { color: var(--green); margin-top: 4px; }
.tile .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- Situations (physicians) ---------- */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .split { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.situations { display: grid; gap: 12px; }
@media (min-width: 640px) { .situations { grid-template-columns: repeat(2, 1fr); } }
.situation { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.situation h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.situation p { font-size: 14.5px; color: #C9D5EA; }
.section:not(.section-dark) .situation { background: var(--panel); border-color: var(--line); }
.section:not(.section-dark) .situation h3 { color: var(--ink); }
.section:not(.section-dark) .situation p { color: var(--ink-2); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 15px; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }
.step a { font-weight: 700; }

/* ---------- Chips / tools ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
a.chip { color: var(--ink); text-decoration: none; transition: border-color .15s; }
a.chip:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq.center { margin-inline: auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232C5490' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 48px 28px; background: var(--navy-deep); color: #fff; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.2fr auto; padding: 64px; } }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 220, 116, .22), transparent 65%); pointer-events: none; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.035em; }
.cta-band p { margin-top: 12px; color: #C9D5EA; font-size: 17px; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ---------- Sub-page hero ---------- */
.page-hero { padding-block: 56px 64px; }
@media (min-width: 900px) { .page-hero { padding-block: 80px 88px; } }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; max-width: 16ch; }
.page-hero.wide h1 { max-width: 22ch; }
.page-hero .lead { font-size: clamp(17px, 1.5vw, 19px); }
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; font-size: 13.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--navy); }
.section-dark .crumbs { color: #8EA3C7; }
.section-dark .crumbs a { color: #C9D5EA; }
.section-dark .crumbs a:hover { color: #fff; }

/* ---------- Checklists, columns, cards ---------- */
.checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .checks.two { grid-template-columns: repeat(2, 1fr); gap: 14px 28px; } }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checks li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%231F9D55' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center no-repeat; }
.checks b { display: block; }
.checks span { color: var(--ink-2); font-size: 15px; }

.cols { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 64px; } .cols.wide-left { grid-template-columns: 1.3fr 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-yellow { background: var(--yellow); border-color: transparent; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.card p + p { margin-top: 10px; }
.card .pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 99px; background: var(--panel); font-size: 12.5px; font-weight: 700; margin-bottom: 12px; }
.card .pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-strong); }
.doc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.doc-list li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.doc-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-top: 10px; }
.stack { display: grid; gap: 16px; }

/* Services overview rows */
.svc-rows { display: grid; gap: 16px; }
.svc-row { display: grid; gap: 20px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
@media (min-width: 900px) { .svc-row { grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 40px; padding: 32px 36px; } }
.svc-row h2 { font-size: 24px; font-weight: 800; }
.svc-row p { color: var(--ink-2); margin-top: 8px; }

/* Pricing approach */
.price-points { display: grid; gap: 16px; }
@media (min-width: 900px) { .price-points { grid-template-columns: repeat(3, 1fr); } }
.price-point { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.price-point .big { font-size: 15px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .1em; }
.price-point h3 { margin: 10px 0 8px; font-size: 20px; font-weight: 800; }
.price-point p { color: var(--ink-2); font-size: 15px; }

/* Deadlines */
.deadlines { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.deadline { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.deadline time { display: grid; justify-items: center; padding: 8px 0; border-radius: 12px; background: var(--navy-tint); color: var(--navy); line-height: 1.1; }
.deadline time b { font-size: 24px; font-weight: 800; }
.deadline time small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.deadline h3 { font-size: 16px; font-weight: 800; }
.deadline p { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.deadline.next { border-color: var(--yellow-strong); box-shadow: 0 0 0 3px var(--yellow); }
.deadline .soon { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--yellow); color: #5C4B07; font-size: 11.5px; font-weight: 700; vertical-align: 2px; }

/* Founder */
.founder { display: grid; gap: 28px; align-items: start; }
@media (min-width: 760px) { .founder { grid-template-columns: 240px 1fr; gap: 48px; } }
.headshot { margin: 0; display: grid; gap: 14px; max-width: 240px; }
.headshot img, .meet-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; background: var(--canvas); box-shadow: var(--shadow); }
.headshot figcaption b { display: block; font-size: 15.5px; }
.headshot figcaption span { font-size: 14px; color: var(--ink-2); }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; }
.timeline li { display: grid; gap: 4px 20px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
@media (min-width: 640px) { .timeline li { grid-template-columns: 120px 1fr; } }
.timeline .when { font-size: 13.5px; font-weight: 700; color: var(--navy); padding-top: 2px; }
.timeline b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.015em; }
.timeline .role { display: block; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.timeline p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.meet { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .meet { grid-template-columns: 320px 1fr; gap: 64px; } }
.meet-photo { max-width: 320px; }
.avatar { width: 180px; height: 180px; max-width: 100%; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; font-size: 64px; font-weight: 800; letter-spacing: -0.04em; }
.values { display: grid; gap: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.value .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-tint); color: var(--navy); margin-bottom: 14px; }
.value h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.value p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-size: 13.5px; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: 12px; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: right 19px center, right 14px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--ring); }
.form-note { font-size: 13px; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--navy-tint); color: var(--navy); }
.contact-list b { display: block; }
.contact-list span, .contact-list a { font-size: 15px; color: var(--ink-2); }
.contact-list a { color: var(--navy); font-weight: 600; }

.booking-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.booking-embed iframe { display: block; width: 100%; height: 760px; border: 0; }
@media (max-width: 760px) { .booking-embed iframe { height: 1040px; } }

/* ---------- Prose (privacy, terms) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; margin: 12px 0; }
.prose .updated { font-size: 14px; color: var(--ink-3); }

/* ---------- Partner page ---------- */
.partner-mark { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-size: 14px; margin-bottom: 22px; }
.partner-mark .x { color: var(--ink-3); font-weight: 500; }
.partner-mark .pos { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 10px; border-radius: 99px; background: #0021A5; color: #fff; font-size: 13px; font-weight: 800; }
.partner-mark .pos em { font-style: normal; color: #FA4616; margin-left: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deeper); color: #AFC0DD; padding-block: 64px 32px; font-size: 14.5px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; } }
.footer-brand p { margin: 16px 0 14px; max-width: 34ch; }
.footer-email { color: #fff; font-weight: 600; text-decoration: none; }
.footer-email:hover { text-decoration: underline; }
.footer-head { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: #AFC0DD; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #7F93B6; }

/* ---------- Upload page (full screen) ---------- */
body.bare { background: radial-gradient(70% 80% at 0% 0%, var(--wash-a), transparent 70%), radial-gradient(70% 80% at 100% 100%, var(--wash-b), transparent 70%), #ECEFF0; }
.upload-loading { position: fixed; inset: 0; display: grid; place-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--ink-2); font-weight: 500; }
.upload-frame { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.upload-back { position: fixed; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 16px; }
.notfound .big { font-size: 96px; font-weight: 800; letter-spacing: -0.05em; color: var(--navy); line-height: 1; }

/* Gentle entrance for the hero only */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .05s; } .hero-copy > *:nth-child(3) { animation-delay: .1s; }
.hero-copy > *:nth-child(4) { animation-delay: .15s; } .hero-copy > *:nth-child(5) { animation-delay: .2s; }
.visual { animation: rise .7s .15s cubic-bezier(.2, .7, .2, 1) both; }
