/* Landing page refinement. Loaded only by index.html and scoped to
   body.landing, so the dashboard, generators and admin (which share app.css
   classes such as .tool-card and .pricing-card) keep their own look.
   Direction: calm navy with one restrained gold, a serif for headlines,
   hairlines instead of shadows and coloured edges, no shimmer or floating. */
body.landing{
  --serif:"Newsreader","Iowan Old Style","Georgia",serif;
  --gold-ink:#a8841a;
  --hair:color-mix(in srgb, var(--ink) 11%, transparent);
  background:var(--card);
}
html[data-theme="dark"] body.landing{--gold-ink:#d8b64a;background:var(--paper)}

/* ---- Topbar ---- */
body.landing .topbar{background:color-mix(in srgb, var(--card) 88%, transparent);border-bottom:1px solid var(--hair)}
body.landing .topbar-inner{height:72px}
body.landing .brand{font-size:18px;letter-spacing:-.015em}
body.landing .brand em{color:var(--gold-ink);font-weight:700}
body.landing .brand .brand-mark{box-shadow:none}
body.landing .navbar-links{gap:34px}
body.landing .navbar-links a{font-size:13.5px;font-weight:500;color:var(--muted);position:relative;padding:6px 0}
body.landing .navbar-links a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--gold-ink);transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
body.landing .navbar-links a:hover{color:var(--ink)}
body.landing .navbar-links a:hover:after{transform:scaleX(1)}
body.landing .topbar .btn{border-radius:8px;box-shadow:none}
body.landing .topbar .btn-ghost{border-color:transparent;background:transparent;color:var(--ink)}
body.landing .topbar .btn-ghost:hover{background:var(--paper)}
body.landing .topbar .btn-primary{background:var(--navy);color:#fff}
body.landing .topbar .btn-primary:hover{background:var(--navy-2);transform:none}
html[data-theme="dark"] body.landing .topbar .btn-primary{background:#fff;color:var(--navy)}
body.landing .lang-toggle{border-color:var(--hair);background:transparent}
body.landing .lang-toggle button.active{background:var(--navy);color:#fff}
html[data-theme="dark"] body.landing .lang-toggle button.active{background:#fff;color:var(--navy)}

/* ---- Hero ---- */
body.landing .hero-band{background:linear-gradient(180deg,#0a0f1f 0%,#0f1730 100%);padding:88px 0 80px}
body.landing .hero-band:before,body.landing .hero-band:after{display:none}
body.landing .hero-grid-bg{opacity:.35;background-size:64px 64px;mask-image:radial-gradient(ellipse 70% 70% at 70% 30%,#000 20%,transparent 100%)}
body.landing .hero-inner{grid-template-columns:1.1fr .9fr;gap:64px}
body.landing .hero-badge{background:transparent;border:0;border-radius:0;padding:0;gap:12px;margin-bottom:26px;font-size:11.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#c9b26a;backdrop-filter:none}
body.landing .hero-badge:before{content:"";width:28px;height:1px;background:#c9b26a}
body.landing .hero-badge i{display:none}
body.landing .hero-band h1{font-family:var(--serif);font-weight:500;font-size:clamp(38px,4.6vw,60px);line-height:1.06;letter-spacing:-.025em;max-width:15ch;margin-bottom:22px}
body.landing .hero-band h1 em{font-style:italic;font-weight:400;background:none;-webkit-background-clip:initial;background-clip:initial;color:#dcc27a;animation:none}
body.landing .hero-band p{color:#b4bcd4;font-size:16.5px;line-height:1.7;max-width:520px}
body.landing .hero-promo{color:#dcc27a;font-size:14px;line-height:1.6;max-width:460px;margin:-4px 0 28px;padding-left:14px;border-left:2px solid var(--gold-ink)}
body.landing .hero-cta{margin-top:36px;gap:14px}
body.landing .hero-cta .btn{padding:14px 26px;border-radius:8px;font-size:14px}
body.landing .hero-cta .btn-primary{background:#dcc27a;color:#0a0f1f;box-shadow:none}
body.landing .hero-cta .btn-primary:hover{background:#e8d28f;transform:none}
body.landing .hero-cta .btn-ghost-light{background:transparent;border:1px solid rgba(255,255,255,.28);color:#fff;font-weight:600}
body.landing .hero-cta .btn-ghost-light:hover{border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.05)}
body.landing .hero-trust{gap:10px 26px;margin-top:26px}
body.landing .hero-trust span{font-size:12.5px;font-weight:500;color:#9aa4c2}
body.landing .hero-trust i{color:#c9b26a}
body.landing .hero-stats{margin-top:52px;padding-top:28px;border-top:1px solid rgba(255,255,255,.12)}
body.landing .hero-stats div{padding:0 36px;border-left:1px solid rgba(255,255,255,.12)}
body.landing .hero-stats div:first-child{padding-left:0}
body.landing .hero-stats strong{font-family:var(--serif);font-weight:500;font-size:34px;letter-spacing:-.02em;line-height:1.1}
body.landing .hero-stats span{font-size:10.5px;letter-spacing:.14em;margin-top:6px;color:#8f99b8}

body.landing .hero-visual{height:430px}
body.landing .mock-card-peek{width:330px;height:236px;left:34px;top:36px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:6px;transform:rotate(-3deg)}
body.landing .mock-card{width:350px;border-radius:6px;padding:28px 26px 22px;transform:rotate(1.2deg);animation:none;box-shadow:0 50px 90px -30px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.04)}
body.landing .mock-card-head{border-bottom:1px solid #171b23}
body.landing .mock-brand{font-family:var(--serif);font-weight:600;font-size:15px}
body.landing .mock-type{color:#171b23;letter-spacing:.14em;font-size:11px}
body.landing .mock-line{font-size:11.5px}
body.landing .mock-total{border-top:1px solid #171b23}
body.landing .mock-total b{color:#171b23}
body.landing .mock-chip{z-index:2;border-radius:6px;animation:none;box-shadow:0 18px 36px -14px rgba(0,0,0,.5);font-weight:600}
body.landing .chip-a{left:-30px;bottom:70px}
body.landing .chip-b{right:-20px;top:40px}
body.landing .chip-b i{color:var(--gold-ink)}

/* ---- Section headings ---- */
body.landing .container{width:min(1160px,calc(100% - 48px))}
body.landing .section-heading{padding:84px 0 40px;max-width:640px}
body.landing .eyebrow{font-size:11.5px;font-weight:600;letter-spacing:.2em;color:var(--gold-ink);margin-bottom:16px}
body.landing .eyebrow:before{width:28px;height:1px;background:var(--gold-ink)}
body.landing .section-heading h2{font-family:var(--serif);font-weight:500;font-size:clamp(30px,3.4vw,42px);letter-spacing:-.022em;line-height:1.1;margin-bottom:14px}
body.landing .section-heading p{font-size:16px;line-height:1.65;color:var(--muted)}

/* ---- Document catalogue ---- */
body.landing .tool-category{margin-bottom:48px}
body.landing .tool-carousel-btn.prev{left:-20px}
body.landing .tool-carousel-btn.next{right:-20px}
body.landing .tool-category-title{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);margin-bottom:18px;gap:12px}
body.landing .tool-category-title i{width:auto;height:auto;background:none;border-radius:0;font-size:13px;color:var(--accent)}
body.landing .tool-category-title:after{background:var(--hair);margin-left:8px}
body.landing .tool-grid{gap:0;padding:0;border-top:1px solid var(--hair);border-left:1px solid var(--hair)}
body.landing .tool-card{border:0;border-right:1px solid var(--hair);border-bottom:1px solid var(--hair);border-radius:0;box-shadow:none;background:transparent;padding:26px 24px 22px;gap:10px;transition:background-color .18s ease}
body.landing .tool-card:hover{transform:none;box-shadow:none;background:color-mix(in srgb, var(--accent) 5%, var(--card))}
body.landing .tool-card .tool-icon{width:auto;height:auto;background:none;border-radius:0;font-size:19px;color:var(--accent);justify-content:start;margin-bottom:6px}
body.landing .tool-card:hover .tool-icon{transform:none}
body.landing .tool-card h3{font-size:15.5px;font-weight:650;letter-spacing:-.01em}
body.landing .tool-card p{font-size:13px;line-height:1.6}
body.landing .tool-card .tool-go{font-size:12.5px;font-weight:600;color:var(--accent);margin-top:4px}
body.landing .tool-card-soon{border-radius:0}
body.landing .tool-badge{border-radius:4px}
body.landing .tool-carousel-wrap{padding-bottom:0}

/* ---- How it works ---- */
body.landing .steps-section{padding:24px 0 96px}
body.landing .steps-panel{margin-top:8px;padding:64px 48px;border-radius:4px;background:#0a0f1f}
body.landing .steps-panel:before,body.landing .steps-panel:after{display:none}
body.landing .step-num{width:60px;height:60px;background:transparent;border:1px solid #c9b26a;color:#dcc27a;box-shadow:none;font-size:19px}
body.landing .step-num b{background:#dcc27a;color:#0a0f1f;border:0;font-family:var(--serif);font-size:12px}
body.landing .step-item h3{font-family:var(--serif);font-weight:500;font-size:21px;letter-spacing:-.01em}
body.landing .step-item p{font-size:13.5px;color:#a3acc8}
body.landing .step-connector{color:#3b4468;height:60px}

/* ---- Why us ---- */
body.landing .feature-strip-section{padding:0 0 96px}
body.landing .feature-strip{gap:0;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair)}
body.landing .feature-strip-item{border:0;border-left:1px solid var(--hair);border-radius:0;box-shadow:none;background:transparent;padding:32px 28px}
body.landing .feature-strip-item:first-child{border-left:0}
body.landing .feature-strip-item:hover{transform:none;box-shadow:none}
body.landing .feature-strip-icon{width:auto;height:auto;background:none;color:var(--gold-ink);font-size:20px;margin-bottom:18px}
body.landing .feature-strip-item h3{font-family:var(--serif);font-weight:600;font-size:19px;margin-bottom:8px}
body.landing .feature-strip-item p{font-size:13.5px;line-height:1.65}

/* ---- Pricing ---- */
body.landing .pricing-section{padding:0 0 88px}
body.landing .pricing-grid{gap:20px;margin-top:8px}
body.landing .pricing-card{border-radius:6px;box-shadow:none;border:1px solid var(--hair);padding:32px 26px;background:var(--card)}
body.landing .pricing-card:hover{transform:none;box-shadow:none;border-color:color-mix(in srgb, var(--ink) 28%, transparent)}
body.landing .pricing-icon{display:none}
body.landing .pricing-tier{font-size:11.5px;letter-spacing:.18em;color:var(--muted)}
body.landing .pricing-price{margin:18px 0 26px}
body.landing .pricing-price .amt{font-family:var(--serif);font-weight:500;font-size:38px;letter-spacing:-.02em}
body.landing .pricing-features li i{background:none;color:var(--gold-ink);font-size:11px;width:auto;height:auto}
body.landing .pricing-card.popular{background:#0a0f1f;border-color:#0a0f1f;box-shadow:0 30px 60px -30px rgba(10,15,31,.55);transform:none;border-top:3px solid #dcc27a}
body.landing .pricing-card.popular:hover{transform:none}
body.landing .pricing-card.popular .pricing-tier{color:#dcc27a}
body.landing .pricing-card.popular .pricing-features li i{background:none;color:#dcc27a}

/* ---- FAQ ---- */
body.landing .faq-section{padding:0 0 96px}
body.landing .faq-list{max-width:820px;border-top:1px solid var(--hair)}
body.landing .faq-item{border-bottom:1px solid var(--hair)}
body.landing .faq-item:hover{background:none}
body.landing .faq-item summary{font-family:var(--serif);font-weight:500;font-size:19px;padding:22px 4px;letter-spacing:-.005em}
body.landing .faq-item p{margin:0 4px 24px;font-size:14.5px;line-height:1.75}

/* ---- Closing CTA ---- */
body.landing .cta-band{margin:0 0 88px;padding:76px 40px;border-radius:4px;background:#0a0f1f}
body.landing .cta-band:before{display:none}
body.landing .cta-band-inner{max-width:620px}
body.landing .cta-band h2{font-family:var(--serif);font-weight:500;font-size:clamp(28px,3.4vw,40px);letter-spacing:-.02em;line-height:1.12}
body.landing .cta-band p{font-size:15.5px;color:#a3acc8}
body.landing .cta-band .btn{padding:14px 28px;border-radius:8px}
body.landing .cta-band .btn-primary{background:#dcc27a;color:#0a0f1f;box-shadow:none}
body.landing .cta-band .btn-primary:hover{background:#e8d28f;transform:none}

@media(max-width:960px){
  body.landing .hero-band{padding:64px 0 72px}
  body.landing .hero-inner{grid-template-columns:1fr;gap:32px}
  body.landing .hero-visual{height:300px}
  body.landing .section-heading{padding-top:68px}
  body.landing .feature-strip-item:nth-child(3){border-left:0}
  body.landing .feature-strip-item{border-top:1px solid var(--hair)}
  body.landing .feature-strip-item:nth-child(-n+2){border-top:0}
}
@media(max-width:640px){
  body.landing .hero-stats div{padding:0 18px}
  body.landing .steps-panel{padding:44px 22px}
  body.landing .feature-strip-item{border-left:0;border-top:1px solid var(--hair)}
  body.landing .feature-strip-item:first-child{border-top:0}
}
@media(prefers-reduced-motion:reduce){body.landing *{animation:none!important}}
body.landing .pricing-card.popular .btn-primary{background:#dcc27a;color:#0a0f1f;box-shadow:none}
body.landing .pricing-card .btn{border-radius:8px}

/* ---- Footer ---- */
body.landing .site-footer-full{background:#0a0f1f;color:#a3acc8;padding:80px 0 0;border-top:1px solid rgba(220,194,122,.35)}
body.landing .footer-grid{grid-template-columns:1.1fr 2.3fr .75fr .75fr;gap:56px;padding:0 0 64px;border-bottom:1px solid rgba(255,255,255,.1)}
body.landing .footer-brand-col .brand{font-size:19px}
body.landing .footer-brand-col .brand em{color:#dcc27a}
body.landing .footer-brand-col p{font-family:var(--serif);font-size:16px;line-height:1.65;color:#a3acc8;max-width:300px;margin-top:20px}
body.landing .footer-col{gap:14px}
body.landing .footer-col b{font-family:var(--sans);font-size:11px;font-weight:600;letter-spacing:.2em;color:#dcc27a;margin-bottom:8px}
body.landing .footer-col a{font-size:13.5px;color:#a3acc8}
body.landing .footer-col a:hover{color:#fff}
body.landing .footer-col-products{column-gap:48px}
body.landing .footer-col-products>b{text-align:left;padding-bottom:14px;margin-bottom:6px;border-bottom:1px solid rgba(255,255,255,.1)}
body.landing .footer-drop{border-bottom:1px solid rgba(255,255,255,.07)}
body.landing .footer-drop summary{font-size:13.5px;padding:12px 0;color:#c3c9de}
body.landing .footer-drop summary i{color:#6f79a0}
body.landing .footer-drop[open] summary i{color:#dcc27a}
body.landing .footer-drop-links a{font-size:12.5px;color:#8f99b8}
body.landing .footer-drop-links a:hover{color:#dcc27a}
body.landing .footer-bottom{padding:28px 0 36px;font-size:12px;color:#7f89aa;letter-spacing:.01em}
@media(max-width:900px){body.landing .footer-grid{grid-template-columns:1fr 1fr;gap:40px 28px}}
@media(max-width:560px){body.landing .site-footer-full{padding-top:56px}body.landing .footer-grid{grid-template-columns:1fr;padding-bottom:44px}}

/* ---- Document Editor showcase (#editor) ----
   The list of what the editor does beside a drawn mock of it: a page with a
   table that adds itself up, a PAID stamp, and the assistant taking an order. */
body.landing .editor-showcase{padding:0 0 96px}
body.landing .es-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:56px;align-items:center}
body.landing .es-points{list-style:none;margin:0;padding:0;display:grid;gap:26px}
body.landing .es-points li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:16px;align-items:start}
body.landing .es-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--hair);border-radius:50%;color:var(--gold-ink);font-size:14px}
body.landing .es-points h3{font-family:var(--serif);font-weight:600;font-size:18.5px;margin:2px 0 4px;color:var(--ink)}
body.landing .es-points p{margin:0;font-size:13.8px;line-height:1.65;color:var(--muted)}
body.landing .es-visual{position:relative}
body.landing .es-window{border-radius:14px;overflow:hidden;background:#0a0f1f;box-shadow:0 30px 70px -30px rgba(10,15,31,.55);border:1px solid rgba(255,255,255,.06)}
body.landing .es-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#111a33;color:#9aa6c4;font-size:11px;letter-spacing:.08em}
body.landing .es-bar i{width:9px;height:9px;border-radius:50%;background:#2a3456}
body.landing .es-bar span{margin-left:8px}
body.landing .es-body{display:grid;grid-template-columns:34px minmax(0,1fr) 168px;min-height:330px}
body.landing .es-rail{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px 0;background:#0d1428}
body.landing .es-rail b{width:16px;height:16px;border-radius:5px;background:#24304f}
body.landing .es-rail b:first-child{background:#dcc27a}
body.landing .es-stage{display:grid;place-items:center;padding:20px 14px;background:repeating-linear-gradient(0deg,transparent 0 19px,rgba(255,255,255,.025) 19px 20px),#131c38}
body.landing .es-paper{position:relative;width:100%;max-width:250px;aspect-ratio:210/260;background:#fff;border-radius:3px;padding:16px 16px 12px;box-shadow:0 12px 30px -12px rgba(0,0,0,.6);color:#12141c;display:flex;flex-direction:column;gap:6px}
body.landing .es-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #1d4ed8;padding-bottom:6px;margin-bottom:4px}
body.landing .es-logo{width:20px;height:20px;border-radius:5px;background:#e0e7ff}
body.landing .es-title{font:800 11px/1 Inter,system-ui,sans-serif;letter-spacing:.06em;color:#1d4ed8}
body.landing .es-line{display:block;height:4px;border-radius:2px;background:#e3e7ef}
body.landing .es-line.w60{width:60%}
body.landing .es-line.w40{width:40%;margin-bottom:6px}
body.landing .es-table{width:100%;border-collapse:collapse;font:500 7.5px/1.3 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}
body.landing .es-table th{background:#1d4ed8;color:#fff;font-weight:700;text-align:left;padding:3px 4px}
body.landing .es-table td{padding:3px 4px;border-bottom:1px solid #eef1f6}
body.landing .es-table td:last-child,body.landing .es-table th:last-child{text-align:right}
body.landing .es-total td{border-bottom:0;font-weight:700}
body.landing .es-grand td:nth-child(n+2){background:#eef1f8}
body.landing .es-stamp{position:absolute;right:14px;bottom:30px;transform:rotate(-12deg);border:2px solid #16a34a;color:#16a34a;border-radius:6px;padding:2px 8px;font:800 10px/1.2 Inter,system-ui,sans-serif;letter-spacing:.1em;opacity:.85}
body.landing .es-sign{position:absolute;left:16px;bottom:14px;width:60px;height:1px;background:#12141c}
body.landing .es-chat{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:14px 10px;background:#0d1428;border-left:1px solid rgba(255,255,255,.05)}
body.landing .es-msg{font:500 10.5px/1.45 Inter,system-ui,sans-serif;padding:7px 9px;border-radius:10px;background:#1b2544;color:#d6dcef}
body.landing .es-msg.es-me{align-self:flex-end;background:#dcc27a;color:#0a0f1f;border-bottom-right-radius:3px}
body.landing .es-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:40px}
body.landing .es-cta .btn{padding:13px 24px;border-radius:8px;font-size:14px}
body.landing .es-cta .btn-primary{background:var(--navy);color:#fff;box-shadow:none}
body.landing .es-cta .btn-primary:hover{background:var(--navy-2);transform:none}
html[data-theme="dark"] body.landing .es-cta .btn-primary{background:#dcc27a;color:#0a0f1f}
html[data-theme="dark"] body.landing .es-window{border-color:rgba(255,255,255,.12)}
@media(max-width:960px){
  body.landing .es-grid{grid-template-columns:1fr;gap:40px}
  body.landing .es-visual{max-width:560px}
}
@media(max-width:560px){
  body.landing .es-body{grid-template-columns:28px minmax(0,1fr);min-height:0}
  body.landing .es-chat{grid-column:1 / -1;border-left:0;border-top:1px solid rgba(255,255,255,.05)}
  body.landing .es-cta .btn{flex:1 1 100%;text-align:center}
}
