/* Sienna Crests design system */
:root {
  --bg: #ffffff;
  --surface: #f5f8f7;
  --ink: #0b1526;
  --ink-2: #3a4859;
  --muted: #667487;
  --line: rgba(11, 21, 38, 0.08);
  --line-strong: rgba(11, 21, 38, 0.14);
  --navy-900: #061429;
  --navy-800: #0a2240;
  --navy-700: #12335d;
  --jade-700: #0b7a52;
  --jade-600: #0f8f61;
  --jade-500: #14a871;
  --jade-100: #e7f6ee;
  --mint: #8be6bf;
  --on-dark: #e8eef6;
  --on-dark-2: #a9b8cb;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, 0.05), 0 1px 1px rgba(11, 21, 38, 0.03);
  --shadow-md: 0 1px 3px rgba(11, 21, 38, 0.06), 0 12px 32px -8px rgba(11, 21, 38, 0.12);
  --shadow-lg: 0 2px 4px rgba(6, 20, 41, 0.1), 0 32px 80px -16px rgba(2, 10, 24, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss01"; }
a { color: var(--jade-700); text-underline-offset: 3px; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--jade-500); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Type */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 650; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -0.04em; line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.035em; }
h3 { font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; font-weight: 600; }
.serif { font-family: var(--display); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--jade-700); margin-bottom: 16px; }
.kicker .ico { width: 16px; height: 16px; }
.lead { font-size: 18.5px; line-height: 1.6; color: var(--muted); margin: 18px 0 0; max-width: 600px; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; font: 600 15.5px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; color: #fff; background: var(--jade-600); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(6, 20, 41, 0.2); transition: background 0.18s, transform 0.18s, box-shadow 0.18s; }
.btn:hover { background: var(--jade-700); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; stroke-width: 2; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; height: 52px; font-size: 16px; }
.btn.light { background: #fff; color: var(--navy-800); }
.btn.light:hover { background: var(--jade-100); }
.btn[disabled] { background: #c3ccd6; color: #fff; box-shadow: none; cursor: not-allowed; }

/* Header */
header.site { position: sticky; top: 0; z-index: 30; background: rgba(6, 20, 41, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 650; font-size: 17px; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; }
nav.links { display: flex; align-items: center; gap: 30px; }
nav.links a:not(.btn) { color: var(--on-dark-2); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 0.15s; }
nav.links a:not(.btn):hover { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background:
  radial-gradient(900px 520px at 78% 18%, rgba(20, 168, 113, 0.22), transparent 62%),
  radial-gradient(700px 500px at 8% 90%, rgba(18, 51, 93, 0.9), transparent 70%),
  linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  margin-top: -64px; padding: 148px 0 112px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--on-dark); font-size: 13.5px; font-weight: 500; margin-bottom: 28px; }
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(139, 230, 191, 0.16); color: var(--mint); display: grid; place-items: center; }
.pill .dot .ico { width: 14px; height: 14px; }
.hero h1 { color: #fff; }
.hero h1 .serif { color: var(--mint); font-size: 1.08em; }
.hero .lead { color: var(--on-dark-2); font-size: 19px; max-width: 540px; }
.trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-size: 14.5px; font-weight: 500; }
.trust .ico { color: var(--mint); width: 18px; height: 18px; stroke-width: 2; }

/* Floating learning icons */
.doodles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.doodles svg { position: absolute; width: 30px; height: 30px; fill: none; stroke: var(--mint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.18; }

/* Upload card */
.upload-card { position: relative; background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 28px; scroll-margin: 120px; transition: box-shadow 0.3s; }
.upload-card.pulse { animation: pulse 1.2s ease-out; }
@keyframes pulse { 0% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(139, 230, 191, 0.75); } 100% { box-shadow: var(--shadow-lg), 0 0 0 22px rgba(139, 230, 191, 0); } }
.card-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.card-title h3 { font-size: 19px; }
.card-title span { font-size: 13px; color: var(--muted); }
.add-files { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); cursor: pointer; transition: background 0.18s, border-color 0.18s; }
.add-files:hover, .add-files.over { background: var(--jade-100); border-color: var(--jade-500); }
.add-files .plus { width: 48px; height: 48px; border-radius: 14px; background: var(--jade-100); color: var(--jade-700); display: grid; place-items: center; flex: none; transition: background 0.18s, color 0.18s; }
.add-files .plus .ico { width: 22px; height: 22px; stroke-width: 2; }
.add-files:hover .plus, .add-files.over .plus { background: var(--jade-600); color: #fff; }
.add-files strong { display: block; color: var(--ink); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.add-files small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.filelist { list-style: none; margin: 10px 0 0; padding: 0; max-height: 140px; overflow-y: auto; }
.filelist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.filelist li span { color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.filelist button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 4px; border-radius: 6px; }
.filelist button:hover { color: var(--ink); background: var(--surface); }
.field { margin-top: 10px; }
.field input { width: 100%; height: 50px; padding: 0 16px; font: 15.5px var(--sans); color: var(--ink); background: var(--surface); border: 1px solid transparent; border-radius: 12px; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.field input::placeholder { color: #8794a5; }
.field input:focus { outline: none; background: #fff; border-color: var(--jade-500); box-shadow: 0 0 0 4px rgba(20, 168, 113, 0.14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 16px 0 18px; line-height: 1.5; cursor: pointer; }
.check input { margin: 1px 0 0; width: 17px; height: 17px; flex: none; accent-color: var(--jade-600); }
.progress { height: 4px; background: var(--surface); border-radius: 4px; overflow: hidden; margin-top: 14px; }
.progress div { height: 100%; width: 0; background: linear-gradient(90deg, var(--jade-500), var(--mint)); transition: width 0.2s; }
.status { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 1em; }
.error { color: #c02a1d; font-size: 13.5px; margin-top: 6px; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--jade-100); color: var(--navy-800); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px; }
.notice .ico { color: var(--jade-700); width: 18px; height: 18px; margin-top: 1px; }
.card-foot { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }
.card-foot .ico { width: 14px; height: 14px; }
.thanks { text-align: center; padding: 20px 4px 8px; }
.thanks .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--jade-100); color: var(--jade-600); display: grid; place-items: center; margin: 0 auto 20px; }
.thanks .tick .ico { width: 30px; height: 30px; stroke-width: 2.4; }
.thanks h3 { font-size: 24px; margin-bottom: 10px; }
.thanks p { color: var(--muted); font-size: 15px; margin: 0 0 8px; }

/* Sections */
section { padding: 120px 0; position: relative; }
section.tint { background: var(--surface); }

/* Value cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--jade-100); color: var(--jade-700); margin-bottom: 22px; }
.tile .ico { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.quote { margin: 56px auto 0; max-width: 820px; text-align: center; font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.35; color: var(--navy-800); letter-spacing: -0.01em; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--jade-500), rgba(20, 168, 113, 0.15)); }
.steps li { position: relative; }
.steps .num { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); color: var(--jade-700); display: grid; place-items: center; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.steps .num .ico { width: 20px; height: 20px; }
.steps small { display: block; font-size: 12.5px; font-weight: 600; color: var(--jade-700); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card .label { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-big { font-size: clamp(48px, 6vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin: 10px 0 6px; color: var(--ink); }
.price-big span { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; margin-left: 6px; }
.tiers { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.tiers li { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.tiers li span { display: inline-flex; align-items: center; gap: 10px; }
.tiers li .ico { color: var(--jade-600); }
.tiers b { font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.price-card .fine { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }
.estimator { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--on-dark); border-radius: var(--r-lg); padding: 40px; position: relative; overflow: hidden; }
.estimator::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(20, 168, 113, 0.35), transparent 65%); pointer-events: none; }
.estimator h3 { color: #fff; font-size: 20px; }
.estimator > p { color: var(--on-dark-2); font-size: 14.5px; margin: 6px 0 26px; }
.slider { margin-bottom: 22px; position: relative; z-index: 1; }
.slider label { display: flex; justify-content: space-between; font-size: 14px; color: var(--on-dark); font-weight: 500; margin-bottom: 10px; }
.slider output { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--jade-500); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--jade-500); cursor: pointer; }
.result { position: relative; z-index: 1; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.result span { font-size: 14px; color: var(--on-dark-2); }
.result strong { font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--mint); font-variant-numeric: tabular-nums; }
.estimator .fine { position: relative; z-index: 1; font-size: 12.5px; color: var(--on-dark-2); margin: 14px 0 0; }

.transparency { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.t-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.t-item .ico { color: var(--jade-600); width: 22px; height: 22px; margin-bottom: 14px; }
.t-item h4 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.t-item p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.promise { background: #fff; padding: 32px; }
.promise .tile { margin-bottom: 18px; }
.promise h3 { margin-bottom: 6px; }
.promise p { margin: 0; color: var(--muted); font-size: 15px; }

/* Founder */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.portrait { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); background: var(--surface); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder h3 { font-size: 26px; letter-spacing: -0.03em; }
.founder .role { color: var(--jade-700); font-weight: 600; font-size: 14.5px; margin: 6px 0 20px; }
.founder p { color: var(--ink-2); margin: 0 0 14px; font-size: 16.5px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; padding: 0; list-style: none; }
.creds li { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.creds .ico { width: 16px; height: 16px; color: var(--jade-600); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.outline { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.btn.outline:hover { background: var(--surface); }
.btn.outline svg.li { width: 18px; height: 18px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.faq-side p { color: var(--muted); margin: 16px 0 0; }
.faq-list { border-top: 1px solid var(--line-strong); }
details { border-bottom: 1px solid var(--line-strong); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 17px; letter-spacing: -0.015em; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary .chev { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); flex: none; transition: transform 0.25s, background 0.2s; }
summary .chev .ico { width: 16px; height: 16px; stroke-width: 2.2; }
details[open] summary .chev { transform: rotate(45deg); background: var(--jade-100); color: var(--jade-700); }
details p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 640px; }

/* CTA */
.cta { text-align: center; color: var(--on-dark); background: radial-gradient(700px 360px at 50% 0%, rgba(20, 168, 113, 0.28), transparent 70%), linear-gradient(180deg, var(--navy-800), var(--navy-900)); overflow: hidden; }
.cta h2 { color: #fff; }
.cta h2 .serif { color: var(--mint); }
.cta .lead { color: var(--on-dark-2); margin: 16px auto 36px; }

/* Footer */
footer { background: var(--navy-900); color: var(--on-dark-2); padding: 56px 0 40px; font-size: 14px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.foot-top p { margin: 12px 0 0; max-width: 320px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: var(--on-dark); text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; }
.foot-bottom span { display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom .ico { width: 15px; height: 15px; color: var(--mint); }

/* Legal pages */
.legal-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: var(--on-dark); margin-top: -64px; padding: 136px 0 64px; }
.legal-hero h1 { color: #fff; font-size: clamp(36px, 4.4vw, 52px); }
.legal-hero .lead { color: var(--on-dark-2); }
.legal { padding: 72px 0 112px; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 21px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal li { margin-bottom: 8px; }

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .upload-card { max-width: 520px; }
  .features, .promises { grid-template-columns: 1fr 1fr; }
  .transparency { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .founder { grid-template-columns: 240px 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  nav.links a:not(.btn) { display: none; }
  .hero { padding: 112px 0 72px; }
  .hero .lead { font-size: 17.5px; }
  .doodles { display: none; }
  section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .upload-card { padding: 22px; }
  .features, .promises, .transparency, .steps { grid-template-columns: 1fr; }
  .price-card, .estimator { padding: 28px; }
  .founder { grid-template-columns: 1fr; }
  .portrait { max-width: 260px; }
  .result strong { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
