/* ChronMD — shared design system, extracted from _redesign/v4.html (approved design) */
:root{--paper:#fff;--soft:#f7f8fb;--ink:#0b1530;--body:#3f485b;--muted:#707789;--accent:#4338ca;--accent-dark:#3730a3;--rule:#dfe3ea;--dark:#111a31}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:104px}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
.container{width:min(1379px,calc(100% - 108px));margin:auto}
.section{padding:80px 0}
.soft{background:var(--soft);border-block:1px solid var(--rule)}
.dark{background:var(--dark);color:#fff}

/* ---------- nav ---------- */
.nav{position:fixed;inset:0 0 auto;z-index:10;background:var(--paper);border-bottom:1px solid var(--rule);transition:box-shadow .2s}
.nav.scrolled{box-shadow:0 6px 22px rgba(11,21,48,.09)}
.nav-inner{width:min(1411px,calc(100% - 76px));height:98px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.wordmark{display:inline-flex;align-items:center;gap:12px;font-size:31px;font-weight:800;letter-spacing:-.04em}
.logo-mark{display:inline-flex;line-height:0}
.logo-mark img{display:block;width:38px;height:38px}
.nav-links{display:flex;align-items:center;gap:28px}
.nav-links>a:not(.button){font-size:18px;font-weight:500;color:#0b1530}
.nav-links>a:not(.button):hover{color:var(--accent)}
.nav-links>a[aria-current="page"]{color:var(--accent);font-weight:650;text-decoration:underline;text-underline-offset:9px;text-decoration-thickness:2px}
.menu-toggle{display:none;border:0;background:transparent;font-size:26px;color:var(--ink);width:44px;height:44px;cursor:pointer}

/* ---------- type ---------- */
h1,h2,h3,p{margin:0}
h1{font-size:clamp(46px,4vw,60px);font-weight:700;line-height:1.08;letter-spacing:-.04em}
h2{font-size:clamp(32px,3.2vw,46px);line-height:1.13;letter-spacing:-.032em}
h3{font-size:19px;font-weight:700;line-height:1.3;letter-spacing:-.012em}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--accent)}
.lead{font-size:20px;line-height:1.68;color:var(--body);max-width:70ch}
.muted{font-size:16px;line-height:1.75;color:#596273;max-width:70ch}
main p a:hover,main h3 a:hover,.notfound .links a:hover{text-decoration:underline}
.stack{display:flex;flex-direction:column;gap:20px}

/* ---------- buttons ---------- */
.actions{display:flex;gap:17px;flex-wrap:wrap}
.button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;padding:14px 36px;border-radius:5px;background:var(--accent);border:1px solid var(--accent);color:#fff;font-size:17px;font-weight:700;transition:.18s}
.button:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
.button:focus-visible,.nav-links a:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #9c96ef;outline-offset:3px}
.button-ghost{background:transparent;color:var(--accent-dark);border-color:#8b87d8}
.button-ghost:hover{background:#eeecff;color:var(--accent-dark)}
.button-white{background:#fff;border-color:#fff;color:#25206f}
.button-white:hover{background:#e7e5ff;border-color:#e7e5ff}
.button-white-outline{background:transparent;border-color:rgba(255,255,255,.56);color:#fff}
.button-white-outline:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.8)}

/* ---------- imagery ---------- */
figure{margin:0}
.product-image{display:block;width:100%;height:auto;border:1px solid var(--rule);border-radius:4px;box-shadow:0 14px 34px rgba(17,23,43,.11)}
figcaption{margin-top:10px;color:#596273;font-size:13px}

/* ---------- hero (home) ---------- */
.hero{padding:132px 0 0}
.hero-content{padding-bottom:31px}
.hero-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:52px;align-items:center}
.hero-copy{gap:28px}
.hero-image-window{position:relative;width:100%;height:570px;overflow:hidden}
.hero-product-image{width:136%;max-width:none;margin:-28px 0 0 -18%;border:0;border-radius:0;box-shadow:none}
.hero-caption{padding:0 0 8px;color:#596273;font-size:13px}
.hero-copy h1{font-size:clamp(34px,3vw,44px);line-height:1.14;letter-spacing:-.032em}
.proof{display:flex;flex-direction:column;gap:7px}
.proof-strip{display:flex;flex-wrap:wrap;align-items:baseline;font-size:15px;font-weight:600;color:#596273;letter-spacing:.01em}
.proof-strip .sep{margin:0 11px;color:#b3bac8;font-weight:400}
.proof-note{font-size:13.5px;line-height:1.6;color:#707789}

/* ---------- sub-page hero ---------- */
.subhero{padding:158px 0 46px}
.subhero .stack{max-width:820px}

/* ---------- deliverables row ---------- */
.deliverables-shell{width:100%;border-block:1px solid var(--rule)}
.strip-label{margin:0;text-align:center;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#707789;padding:24px 24px 2px}
.deliverable-strip{display:grid;grid-template-columns:repeat(4,1fr)}
.strip-item{display:flex;align-items:flex-start;gap:15px;padding:24px 26px 30px;border-right:1px solid var(--rule);transition:background .15s}
.strip-item:hover{background:var(--soft)}
.strip-item:focus-visible{outline:3px solid #9c96ef;outline-offset:-3px}
.strip-item:last-child{border-right:0}
.strip-text{display:flex;flex-direction:column;gap:3px}
.strip-title{color:var(--ink);font-size:16.5px;font-weight:650;line-height:1.3}
.strip-desc{color:#707789;font-size:13.5px;line-height:1.5}
.strip-item .icon{width:28px;height:28px;color:var(--accent);flex:none;margin-top:1px}

/* ---------- sections ---------- */
.section-head{display:flex;flex-direction:column;gap:16px;max-width:760px;margin-bottom:40px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.workflow-section{padding:35px 0 50px}
.workflow-title{font-size:28px;line-height:1.2;letter-spacing:-.025em}
.workflow{display:grid;grid-template-columns:repeat(3,1fr);margin-top:28px}
.step{display:grid;grid-template-columns:66px 1fr;gap:36px;padding:0 34px;border-right:1px solid var(--rule)}
.step:first-child{padding-left:8px}
.step:last-child{border:0}
.step-no{font-size:56px;line-height:1;color:var(--accent);letter-spacing:-.04em}
.step h3{font-size:16.5px;line-height:1.35}
.step p{margin-top:8px;color:var(--body);font-size:14.5px;line-height:1.55}
.ruled{border-top:1px solid var(--rule)}
.ruled-row{padding:20px 0;border-bottom:1px solid var(--rule)}
.ruled-row p{margin-top:6px;color:var(--body)}

/* ---------- dark security band ---------- */
.security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.dark .lead,.dark p{color:#cbd5e1}
.dark .eyebrow{color:#c7d2fe}
.dark h3{color:#fff}
.dark-point{display:grid;grid-template-columns:44px 1fr;gap:16px;padding:20px 0;border-top:1px solid #35415d}
.dark-point .icon{width:26px;height:26px;color:#c7d2fe}
.dark .button:focus-visible,.dark a:focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #211a78}

/* ---------- pricing ---------- */
.price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.price-card{display:flex;flex-direction:column;gap:18px;background:#fff;border:1px solid var(--rule);border-radius:8px;padding:30px;box-shadow:0 8px 24px rgba(17,23,43,.05)}
.price-card.featured{border-color:#7168d8;box-shadow:0 12px 30px rgba(67,56,202,.12)}
.price-card .button{margin-top:auto}
.callout-note{background:#eeecff;border:1px solid #cbc7f3;border-radius:6px;padding:12px 16px;font-size:14.5px;line-height:1.6;color:var(--accent-dark);margin-top:24px;max-width:70ch}
.badge{align-self:flex-start;padding:5px 9px;border:1px solid #cbc7f3;border-radius:4px;background:#eeecff;color:var(--accent-dark);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.price{font-size:44px;line-height:1.05;font-weight:750;letter-spacing:-.04em}
.features{margin:0;padding-left:20px;color:var(--body)}
.features li{margin-bottom:4px}

/* ---------- final CTA ---------- */
.final{text-align:center}
.final .section-head{align-items:center;margin-inline:auto}
.final .actions{justify-content:center}

/* ---------- footer ---------- */
.footer{padding:58px 0 30px;background:#0b1326;color:#fff}
.footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px}
.footer-col{display:flex;flex-direction:column;gap:8px}
.footer h3{color:#fff}
.footer a,.footer p{font-size:14px;color:#cbd5e1}
.footer a:hover{color:#fff}
.legal{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #26324a;margin-top:34px;padding-top:24px}
.legal p{font-size:12px;color:#9aa7bd}

/* ---------- legal / article pages ---------- */
.legal-main{padding:150px 0 80px}
.legal-wrap{max-width:760px;margin:0 auto;padding:0 24px}
.legal-article h1{font-size:34px;font-weight:800;letter-spacing:-.02em;line-height:1.15;margin-bottom:6px}
.legal-article h2{font-size:20px;font-weight:700;letter-spacing:-.01em;margin:36px 0 12px;line-height:1.3}
.legal-article p,.legal-article li{color:var(--body);margin-bottom:12px;font-size:15.5px;line-height:1.7}
.legal-article ul,.legal-article ol{padding-left:22px;margin-bottom:12px;margin-top:0}
.legal-article a{color:var(--accent)}
.legal-article .meta{color:var(--muted);font-size:13.5px;margin-bottom:24px}
.legal-article .callout{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:10px;padding:14px 18px;margin:16px 0;color:#065f46;font-size:14.5px}
.legal-article table{width:100%;border-collapse:collapse;font-size:14px;margin:14px 0 20px}
.legal-article th,.legal-article td{border:1px solid var(--rule);padding:10px 12px;text-align:left;vertical-align:top}
.legal-article th{background:var(--soft);font-weight:700}

/* ---------- 404 ---------- */
.notfound{padding:180px 0 120px;text-align:center}
.notfound .code{font-size:clamp(64px,14vw,120px);font-weight:800;letter-spacing:-.04em;line-height:1;color:var(--accent)}
.notfound h1{font-size:clamp(24px,4vw,32px);margin:18px 0 10px}
.notfound p{max-width:520px;margin:0 auto 28px;color:var(--body)}
.notfound .actions{justify-content:center}
.notfound .links{margin-top:26px;font-size:13.5px;color:var(--muted)}
.notfound .links a{margin:0 8px;font-weight:600;color:var(--accent)}

/* ---------- responsive ---------- */
@media(max-width:991px){
  .container{width:calc(100% - 80px)}
  .nav-inner{width:calc(100% - 48px);height:72px}
  .wordmark{font-size:25px}
  html{scroll-padding-top:84px}
  .nav-links{display:none;position:fixed;inset:72px 0 auto;min-height:calc(100vh - 72px);background:var(--paper);padding:20px;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--rule);overflow-y:auto}
  .nav-links.open{display:flex}
  .menu-toggle{display:inline-grid;place-items:center}
  .hero{padding-top:106px}
  .subhero{padding:118px 0 36px}
  .legal-main{padding-top:112px}
  .notfound{padding:140px 0 90px}
  .hero-grid{grid-template-columns:1fr;gap:40px}
  .hero-copy{padding-top:0}
  .hero-image-window{height:auto;overflow:visible}
  .hero-product-image{width:100%;margin:0}
  .workflow{grid-template-columns:1fr}
  .step{padding:24px 0;border-right:0;border-bottom:1px solid var(--rule)}
  .step:last-child{border-bottom:0}
  .deliverable-strip{grid-template-columns:1fr 1fr}
  .strip-item{border-bottom:1px solid var(--rule)}
  .strip-item:nth-child(2n){border-right:0}
  .strip-item:nth-child(n+3){border-bottom:0}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:960px){
  .container{width:calc(100% - 64px)}
  .section{padding:56px 0}
  .grid-2,.security-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .container{width:calc(100% - 40px)}
  .hero{padding-top:102px}
  h1{font-size:36px;line-height:1.1;white-space:normal}
  .actions{flex-direction:column}
  .actions .button{width:100%}
  .deliverable-strip,.workflow{grid-template-columns:1fr}
  .strip-item,.step{border-right:0;border-bottom:1px solid var(--rule)}
  .strip-item:nth-child(n+3){border-bottom:1px solid var(--rule)}
  .strip-item:last-child,.step:last-child{border-bottom:0}
  .strip-item:last-child{border-bottom:0}
  .step{grid-template-columns:58px 1fr;padding:24px 0}
  .step-no{font-size:42px}
  .price-grid,.footer-grid{grid-template-columns:1fr}
  .legal{flex-direction:column}
}
