/* nova by teleos — shared site styles */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Rounded Elegance"; src: url(../fonts/RoundedElegance.woff2) format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/PlusJakartaSans-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/PlusJakartaSans-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/PlusJakartaSans-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/PlusJakartaSans-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/PlusJakartaSans-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* Teleos brand */
  --charcoal: #2e3339;
  --light-gray: #eaedf1;
  --green: #288463;
  /* derived tints (not brand colours) */
  --charcoal-2: #3b424a;
  --green-light: #5cc79e;   /* green on charcoal (AA contrast) */
  --green-dark: #1f6a4f;

  --ink: var(--charcoal);
  --paper: var(--light-gray);
  --card: #ffffff;
  --text: var(--charcoal);
  --muted: #5d646c;
  --on-ink: #f3f5f7;
  --on-ink-muted: #b4bbc3;
  --line: #d6dbe1;
  --radius: 18px;
  --overlap: clamp(110px, 24vw, 300px);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Brand type ---------- */
.nv { font-family: "Rounded Elegance", "Plus Jakarta Sans", sans-serif; font-weight: 400; font-synthesis: none; font-size: 1.12em; letter-spacing: 0; line-height: 1; text-transform: none; }
.wordmark { font-family: "Rounded Elegance", "Plus Jakarta Sans", sans-serif; font-weight: 400; font-synthesis: none; letter-spacing: -.02em; line-height: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px 1px rgba(40,132,99,.55); }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(46,51,57,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: #fff; }
.brand .wordmark { font-size: 40px; }
.brand .by { font-family: "Rounded Elegance", sans-serif; font-size: 11px; letter-spacing: .06em; color: #c9cfd6; margin-top: -7px; margin-right: 2px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--on-ink-muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav a[aria-current="page"] { color: #fff; }
.nav .btn { margin-left: 8px; padding: 10px 18px; font-size: 15px; color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; border-radius: 10px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--ink); flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.08); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 16px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 26px -10px rgba(40,132,99,.7); }
.btn-ghost { color: var(--on-ink); border: 1px solid rgba(255,255,255,.22); }
.btn-ghost.dark { color: var(--ink); border-color: var(--line); }
.btn svg { width: 18px; height: 18px; }
.btn { -webkit-tap-highlight-color: transparent; }
.btn:has(svg) { padding-inline-end: 24px; } /* optical: 2px less on the arrow side */
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; color: var(--on-ink); padding: 24px 0 calc(var(--overlap) + 64px);
  background: radial-gradient(520px 320px at 50% 30%, rgba(40,132,99,.30) 0%, transparent 70%), var(--ink); }
.lockup { --wm: clamp(110px, 20vw, 220px); display: inline-flex; flex-direction: column; align-items: flex-end; margin: 40px 0 34px; }
.lockup .wordmark { display: block; font-size: var(--wm); color: #fff; }
.byline { font-family: "Rounded Elegance", sans-serif; font-weight: 400; font-size: 18px; letter-spacing: .06em; color: #c9cfd6; margin-top: calc(var(--wm) * -0.17); margin-right: calc(var(--wm) * 0.045 - .06em); }
.hero h1 { margin: 0 auto 18px; max-width: 22ch; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.hero .lede { font-size: clamp(17px, 1.8vw, 20px); color: var(--on-ink-muted); max-width: 40ch; margin: 0 auto; }
.hero .lede strong { color: var(--on-ink); font-weight: 600; }
.hero-shot { margin-top: calc(-1 * var(--overlap)); position: relative; z-index: 3; }

/* ---------- Inner page header ---------- */
.page-hero { background: radial-gradient(600px 300px at 20% 0%, rgba(40,132,99,.28) 0%, transparent 70%), var(--ink); color: var(--on-ink); padding: 88px 0 80px; }
.page-hero .eyebrow { color: var(--green-light); }
.page-hero .eyebrow::before { background: var(--green-light); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.03em; margin: 14px 0 18px; max-width: 20ch; }
.page-hero p { color: var(--on-ink-muted); font-size: clamp(17px, 1.8vw, 20px); max-width: 58ch; margin: 0; }

/* ---------- Screenshots ---------- */
.frame { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(46,51,57,.12);
  box-shadow: 0 30px 70px -30px rgba(46,51,57,.55), 0 8px 20px -12px rgba(46,51,57,.25);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.frame-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f4f6f8; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d8de; }
.shot { width: 100%; aspect-ratio: 1800 / 980; background-size: 100% 100%; background-repeat: no-repeat; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 760px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head.center { margin: 0 auto; text-align: center; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 20px; font-weight: 800; color: var(--ink); }
h3 { color: var(--ink); }
.lead { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 0; }
.white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.prose p strong { color: var(--text); }

.stats { margin-top: 40px; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: 0 20px 50px -24px rgba(46,51,57,.35); border: 1px solid var(--line); }
.stat { padding: 26px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Independence band */
.indie { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.indie .two-col { align-items: center; }
.indie-card { border-radius: var(--radius); padding: 36px; background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.indie-card::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(92,199,158,.28) 0%, transparent 65%); }
.indie-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; z-index: 1; }
.indie-card li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 16.5px; color: var(--on-ink-muted); }
.indie-card li b { display: block; color: #fff; font-size: 17px; }
.tick { width: 28px; height: 28px; border-radius: 50%; background: rgba(92,199,158,.16); color: var(--green-light); display: grid; place-items: center; }
.tick svg { width: 16px; height: 16px; }

/* Showcase rows */
.showcase-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; margin-top: 64px; }
.showcase-row:nth-child(even) { grid-template-columns: 1fr 1.5fr; }
.showcase-row:nth-child(even) .frame { order: 2; }
.showcase-row h3 { margin: 0 0 12px; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; line-height: 1.2; }
.showcase-row p { margin: 0; color: var(--muted); font-size: 17px; }
.showcase-row p + p { margin-top: 12px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.ai-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--green-dark); background: rgba(40,132,99,.10); }
.ai-pill svg { width: 14px; height: 14px; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.centered { display: flex; flex-wrap: wrap; justify-content: center; }
.cards.centered > .card { flex: 0 1 calc((100% - 40px) / 3); }
@media (max-width: 900px) { .cards.centered > .card { flex-basis: 100%; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--green-light); margin-bottom: 18px; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card a.more { display: inline-flex; margin-top: 14px; font-weight: 700; font-size: 15px; text-decoration: none; }
.card .frame { margin: -28px -28px 22px; border-radius: 0; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); }
.cards.feature-cards .card { overflow: hidden; }

/* Integrations list */
.int-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.int { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.int h3 { margin: 0 0 4px; font-size: 17px; }
.int p { margin: 0; color: var(--muted); font-size: 15px; }

/* Heritage */
.heritage-card { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; border-radius: var(--radius); padding: 44px; background: #fff; border: 1px solid var(--line); }
.heritage-card .big { font-size: clamp(56px, 8vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--green); }
.heritage-card .big small { display: block; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 12px; font-weight: 700; }
.heritage-card p { margin: 0; font-size: 19px; line-height: 1.6; }

/* Statement */
.statement { background: radial-gradient(900px 500px at 15% 100%, var(--charcoal-2) 0%, var(--ink) 65%); color: var(--on-ink); text-align: center; }
.statement blockquote { margin: 0 auto; max-width: 900px; font-size: clamp(26px, 3.8vw, 46px); line-height: 1.18; letter-spacing: -.025em; font-weight: 700; }
.statement blockquote em { font-style: normal; color: var(--green-light); }

/* CTA band */
.cta { text-align: center; }
.cta h2 { max-width: 22ch; margin: 0 auto 14px; }
.cta p { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 52ch; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 56px 0 16px; }
.faq h2:first-child { margin-top: 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17px; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 24px 20px; color: var(--muted); font-size: 16.5px; }
.faq .a p { margin: 0 0 12px; }
.faq .a p:last-child { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
form.demo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
form.demo .full { grid-column: 1 / -1; }
form.demo label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
form.demo input, form.demo textarea, form.demo select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c3cad2; border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
form.demo input:focus, form.demo textarea:focus, form.demo select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
form.demo textarea { min-height: 120px; resize: vertical; }
form.demo .btn { justify-self: start; }
form.demo .small { font-size: 13.5px; color: var(--muted); margin: 0; }
.offices { display: grid; gap: 16px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.office h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.office p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.office a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* "To confirm" placeholders — remove before launch */
.todo { display: block; margin: 14px 0; padding: 14px 16px; border: 2px dashed #d4a017; background: #fff8e1; color: #6b5200; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.todo::before { content: "TO CONFIRM: "; font-weight: 800; letter-spacing: .04em; }
.on-dark .todo { background: rgba(255,248,225,.08); color: #f3d77a; border-color: #b58a12; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer .brand .wordmark { font-size: 46px; }
.site-footer .tagline { margin: 16px 0 0; max-width: 30ch; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* Reveal on scroll (only if JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .showcase-row, .showcase-row:nth-child(even) { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .showcase-row:nth-child(even) .frame { order: 0; }
  .frame-bar { height: 22px; padding: 0 10px; gap: 5px; } .frame-bar i { width: 7px; height: 7px; }
  .hero { padding: 16px 0 calc(var(--overlap) + 40px); }
  .lockup { margin: 28px 0 24px; }
  .two-col, .cards, .cards.two, .int-grid, .contact-grid { grid-template-columns: 1fr; }
  .two-col { gap: 24px; }
  section { padding: 72px 0; }
  .page-hero { padding: 64px 0 56px; }
  .heritage-card { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 20px 22px; }
  form.demo { grid-template-columns: 1fr; padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .indie-card { padding: 26px 22px; }
}

/* ---------- Integrations page ---------- */
.int-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: start; }
.int-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; }
.int-cat h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.int-cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.int-cat li { font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.int-cat li small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.int-cat .note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.int-cat.wide { grid-column: span 3; }
.int-cat.wide ul { grid-template-columns: repeat(4, 1fr); column-gap: 20px; }
.badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: #6b5200; background: #fff1c2; vertical-align: 2px; }
.int-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.int-jump a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.int-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.int-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.int-stat b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--green); line-height: 1.1; }
.int-stat span { color: var(--muted); font-size: 15px; }

/* ---------- Switching page ---------- */
.big-claim { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; border-radius: var(--radius); padding: 40px 44px; background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.big-claim::after { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(92,199,158,.28) 0%, transparent 65%); }
.big-claim .zero { font-size: clamp(64px, 9vw, 104px); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--green-light); }
.big-claim .zero small { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); margin-top: 10px; }
.big-claim p { margin: 0; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: #fff; font-weight: 600; position: relative; z-index: 1; }
.big-claim p span { display: block; margin-top: 10px; font-size: 16.5px; font-weight: 400; color: var(--on-ink-muted); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.steps li::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--green-light); font-weight: 800; font-size: 19px; }
.steps h3 { margin: 4px 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.steps .todo { margin: 12px 0 0; }

@media (max-width: 900px) {
  .int-cats { grid-template-columns: 1fr; }
  .int-cat.wide { grid-column: auto; }
  .int-cat.wide ul { grid-template-columns: 1fr 1fr; }
  .int-stats { grid-template-columns: 1fr 1fr; }
  .big-claim { grid-template-columns: 1fr; gap: 16px; padding: 30px 24px; }
  .steps li { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
}

a[href^="tel:"] { white-space: nowrap; }

/* ---------- Article / guide pages ---------- */
.article-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14.5px; }
.toc h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 4px 0 4px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.article { max-width: 720px; }
.article .meta { color: var(--muted); font-size: 14.5px; margin: 0 0 32px; }
.article h2 { font-size: clamp(24px, 2.8vw, 30px); margin: 56px 0 14px; scroll-margin-top: 96px; }
.article h2:first-of-type { margin-top: 0; }
.article h3 { font-size: 19px; margin: 28px 0 8px; }
.article p, .article li { font-size: 17.5px; line-height: 1.75; color: #40464d; }
.article p { margin: 0 0 18px; }
.article ul, .article ol.list { margin: 0 0 20px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--green); }
.article strong { color: var(--ink); }
.callout { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; padding: 20px 24px; margin: 24px 0 28px; }
.callout h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: .02em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout li { font-size: 16.5px; }
.checklist { background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: 32px 34px; margin: 32px 0; }
.checklist h2 { color: #fff; margin: 0 0 6px !important; }
.checklist > p { color: var(--on-ink-muted) !important; }
.checklist h3 { color: var(--green-light); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 22px 0 8px; }
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li { color: var(--on-ink-muted); font-size: 16px; padding-left: 26px; position: relative; margin-bottom: 7px; line-height: 1.55; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border: 2px solid var(--green-light); border-radius: 4px; }
.guide-promo { margin-top: 48px; }
@media (max-width: 900px) {
  .article-wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
  .checklist { padding: 24px 20px; }
}

/* Four-point value strip on the home page */
.stats-grid.four { grid-template-columns: repeat(4, 1fr); }
.stats-grid.four .stat b { font-size: 19px; letter-spacing: -.01em; margin-bottom: 6px; }
.stats-grid.four .stat span { font-size: 14.5px; line-height: 1.5; display: block; }
.hero h1 { max-width: 28ch; text-wrap: balance; }
.hero .lede { max-width: 52ch; }
@media (max-width: 900px) { .stats-grid.four { grid-template-columns: 1fr 1fr; } .stats-grid.four .stat:nth-child(3) { border-left: 0; } .stats-grid.four .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .stats-grid.four { grid-template-columns: 1fr; } .stats-grid.four .stat + .stat { border-left: 0; border-top: 1px solid var(--line); } }

/* Hover effects only on devices with a real pointer, so they don't stick after a tap on touch screens */
@media (hover: hover) {
  .nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
  .btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
  .btn-ghost:hover { border-color: rgba(255,255,255,.5); }
  .office a:hover { color: var(--green); }
  .site-footer a:hover { color: #fff; }
  .int-jump a:hover { border-color: var(--green); color: var(--green); }
  .toc a:hover { color: var(--ink); border-left-color: var(--green); }
}

/* "Where are you now?" chooser on the home page */
.paths { padding-bottom: 24px; }
.paths .section-head h2 { margin-bottom: 0; }
.paths-grid { margin-top: 36px; }
.card.path { display: flex; flex-direction: column; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card.path p { flex: 1; }
.card.path .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: 15px; color: var(--green); }
.card.path .more svg { width: 18px; height: 18px; } /* 3.3 stroke on a 24 grid renders ~2.5px beside bold text */
.card.path:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (hover: hover) {
  .card.path:hover { border-color: var(--green); box-shadow: 0 16px 36px -22px rgba(46,51,57,.45); transform: translateY(-2px); }
}

/* Cursor spotlight on dark sections (mouse only; off for touch and reduced motion) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(92,199,158,.16), rgba(92,199,158,.05) 40%, transparent 70%);
  opacity: 0; transition: opacity .45s ease;
}
.spot.lit::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .spot::before { display: none; } }

/* Contact form: spam trap and send status */
form.demo .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
form.demo { position: relative; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 12px; font-size: 15.5px; line-height: 1.5; }
.form-status.ok { background: rgba(40,132,99,.10); color: var(--green-dark); border: 1px solid rgba(40,132,99,.35); }
.form-status.err { background: #fdecec; color: #8a1f1f; border: 1px solid #f2b8b8; }
form.demo button[disabled] { opacity: .7; cursor: progress; transform: none; }
