/* Kasetra website: dark and cinematic. Charcoal + Kasetra orange, Manrope throughout. */
@font-face { font-family:"Manrope"; src:url("/assets/fonts/manrope.woff2") format("woff2"); font-weight:200 800; font-style:normal; font-display:swap; }

:root {
  color-scheme: dark;
  --ink:#121416;        /* deepest ground */
  --char:#1E2124;       /* Kasetra charcoal */
  --panel:#24282C;      /* raised surfaces */
  --line:#33383D;
  --bone:#F4F2EE;       /* text */
  --soft:#A8AEB4;       /* secondary text */
  --orange:#FF6B1A;     /* Kasetra orange */
  --ember:#FF8A47;      /* orange, lighter, for text on dark */
  --gutter:clamp(16px, 4vw, 48px);
}

* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; background:var(--ink); overflow-x:clip; }
body { background:var(--ink); color:var(--bone); font-family:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,sans-serif; font-size:17px; line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a { color:inherit; }
.tnum { font-variant-numeric:tabular-nums; }
:focus-visible { outline:3px solid var(--orange); outline-offset:3px; border-radius:6px; }

/* Buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 20px; border-radius:999px; font-weight:700; font-size:15px; text-decoration:none; white-space:nowrap; transition:background .15s, border-color .15s, color .15s; }
.btn.big { min-height:52px; padding:14px 28px; font-size:16px; }
.btn.solid { background:var(--orange); color:#1E2124; }
.btn.solid:hover { background:var(--ember); }
.btn.ghost { border:1px solid var(--line); color:var(--bone); }
.btn.ghost:hover { border-color:var(--orange); }

/* Top bar */
.top { position:sticky; top:0; z-index:10; display:flex; align-items:center; gap:24px; padding:14px var(--gutter); padding-top:calc(14px + env(safe-area-inset-top, 0px)); background:rgba(18,20,22,.82); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid rgba(51,56,61,.6); }
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; font-weight:800; font-size:22px; letter-spacing:-0.04em; color:var(--bone); }
.logo svg { width:34px; height:34px; }
.logo.small { font-size:18px; } .logo.small svg { width:28px; height:28px; }
.top nav { display:flex; gap:22px; margin-left:12px; }
.top nav a { text-decoration:none; color:var(--soft); font-weight:600; font-size:15px; }
.top nav a:hover { color:var(--bone); }
.top-cta { margin-left:auto; display:flex; gap:10px; }

/* Sections share one rhythm */
main > section { padding:clamp(64px, 10vw, 128px) var(--gutter); max-width:1240px; margin:0 auto; }
h1, h2, h3 { text-wrap:balance; }
h2 { font-size:clamp(30px, 4.4vw, 52px); font-weight:800; letter-spacing:-0.035em; line-height:1.06; max-width:20ch; }

/* Hero */
.hero { display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(32px, 5vw, 72px); align-items:center; min-height:calc(100vh - 72px); position:relative; }
.hero::before { content:""; position:absolute; inset:-10% 0 auto 25%; height:110%; background:radial-gradient(closest-side, rgba(255,107,26,.20), rgba(255,107,26,0)); pointer-events:none; z-index:-1; }
.hero h1 { font-size:clamp(40px, 6.2vw, 84px); font-weight:800; letter-spacing:-0.045em; line-height:.98; max-width:16ch; }
.hero .sub { margin-top:26px; color:var(--soft); font-size:clamp(17px, 1.5vw, 20px); max-width:52ch; }
.hero-cta { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.hero-cta.center { justify-content:center; }
.fine { margin-top:18px; color:var(--soft); font-size:14px; }

/* The case card: the page's one moving moment */
.case { position:relative; background:linear-gradient(160deg, #272B2F, #1C1F22); border:1px solid var(--line); border-radius:22px; padding:26px 26px 22px; box-shadow:0 40px 120px -40px rgba(255,107,26,.35), 0 20px 60px -30px rgba(0,0,0,.8); min-width:0; }
.case-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding-bottom:18px; border-bottom:1px solid var(--line); padding-right:96px; }
.case-no { font-weight:800; font-size:22px; letter-spacing:-0.02em; }
.case-what { color:var(--soft); font-size:14px; }
.case-total { text-align:right; font-weight:800; font-size:22px; }
.case-total small { display:block; color:var(--soft); font-weight:600; font-size:12px; }
.life { list-style:none; margin-top:18px; display:grid; gap:4px; }
.life li { position:relative; padding:10px 0 10px 34px; opacity:.28; transition:opacity .5s ease; }
.life li::before { content:""; position:absolute; left:6px; top:15px; width:12px; height:12px; border-radius:50%; border:2px solid var(--soft); transition:background .5s, border-color .5s; }
.life li::after { content:""; position:absolute; left:12px; top:31px; bottom:-10px; width:2px; background:var(--line); }
.life li:last-child::after { display:none; }
.life li.on { opacity:1; }
.life li.on::before { background:var(--orange); border-color:var(--orange); box-shadow:0 0 0 5px rgba(255,107,26,.18); }
.life b { display:block; font-size:16px; }
.life span { display:block; color:var(--soft); font-size:14px; }
.life em { font-style:normal; color:var(--ember); font-weight:700; }
.ring { position:absolute; top:18px; right:22px; width:80px; height:80px; }
.ring svg { width:100%; height:100%; transform:rotate(-90deg); }
.ring circle { fill:none; stroke-width:9; }
.ring-bg { stroke:var(--line); }
.ring-fg { stroke:var(--orange); stroke-linecap:round; transition:stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1); }
.ring-txt { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1; }
.ring-txt b { font-size:22px; font-weight:800; }
.ring-txt small { color:var(--soft); font-size:11px; margin-top:3px; }

/* Why */
.why-lead { font-size:clamp(24px, 3vw, 36px); font-weight:300; letter-spacing:-0.02em; line-height:1.3; max-width:32ch; }
.why-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:clamp(24px, 4vw, 56px); margin-top:56px; padding-top:40px; border-top:1px solid var(--line); }
.why-grid h3 { font-size:20px; font-weight:800; letter-spacing:-0.02em; margin-bottom:8px; }
.why-grid p { color:var(--soft); font-size:16px; }

/* Modules: a ledger, not a card grid */
.mod-list { margin-top:48px; border-top:1px solid var(--line); }
.mod { display:grid; grid-template-columns:minmax(200px, 300px) 1fr; gap:clamp(20px, 4vw, 64px); padding:34px 0; border-bottom:1px solid var(--line); }
.mod-name b { display:block; font-size:clamp(34px, 4vw, 48px); font-weight:800; letter-spacing:-0.04em; line-height:1; }
.mod-name span { display:block; color:var(--ember); font-weight:700; font-size:15px; margin-top:8px; }
.mod-body { min-width:0; }
.mod-body p { font-size:18px; max-width:62ch; }
.mod-body ul { list-style:none; margin-top:14px; display:flex; flex-wrap:wrap; gap:8px; }
.mod-body li { color:var(--soft); font-size:14px; border:1px solid var(--line); border-radius:999px; padding:6px 12px; }

/* Lot trace */
.trace { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px, 5vw, 72px); align-items:center; }
.trace p { color:var(--soft); margin-top:20px; max-width:48ch; font-size:18px; }
.lot { background:var(--char); border:1px solid var(--line); border-radius:18px; padding:8px 0; min-width:0; }
.lot-head { display:flex; justify-content:space-between; gap:12px; padding:14px 22px; }
.lot-no { font-weight:800; font-size:20px; }
.lot-exp { color:var(--soft); font-size:14px; align-self:center; }
.lot-row { display:grid; grid-template-columns:1fr auto auto; gap:16px; padding:12px 22px; border-top:1px solid var(--line); font-size:15px; font-variant-numeric:tabular-nums; }
.lot-row .dim { color:var(--soft); min-width:7ch; text-align:right; }
.lot-row.hot { background:rgba(255,107,26,.08); }
.lot-row.hot span:first-child { color:var(--ember); font-weight:700; }

/* Plans */
.plans-sub { color:var(--soft); margin-top:16px; max-width:60ch; }
.plan-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; margin-top:44px; align-items:stretch; }
.plan { display:flex; flex-direction:column; background:var(--char); border:1px solid var(--line); border-radius:20px; padding:30px 26px; min-width:0; }
.plan.main { border-color:var(--orange); background:linear-gradient(180deg, rgba(255,107,26,.10), rgba(255,107,26,0) 55%), var(--char); }
.plan h3 { font-size:24px; font-weight:800; letter-spacing:-0.02em; }
.plan .who { color:var(--soft); font-size:15px; min-height:3em; margin-top:4px; }
.plan .price { margin:18px 0 20px; }
.plan .price span { font-size:44px; font-weight:800; letter-spacing:-0.04em; }
.plan .price small { color:var(--soft); font-size:15px; margin-left:6px; }
.plan ul { list-style:none; display:grid; gap:10px; margin-bottom:28px; flex:1; align-content:start; }
.plan li { padding-left:24px; position:relative; }
.plan li::before { content:""; position:absolute; left:0; top:.55em; width:10px; height:10px; border-radius:50%; border:2.5px solid var(--orange); }
.plan .btn { width:100%; }
.plans-note { color:var(--soft); margin-top:22px; font-size:15px; }

/* Trust */
.trust-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:clamp(24px, 4vw, 48px) clamp(24px, 5vw, 72px); margin-top:44px; }
.trust-grid h3 { font-size:20px; font-weight:800; letter-spacing:-0.02em; margin-bottom:6px; }
.trust-grid p { color:var(--soft); max-width:46ch; }

/* Last call */
.last { text-align:center; }
.last h2 { margin:0 auto; }
.last p { color:var(--soft); max-width:54ch; margin:18px auto 0; }

/* Footer */
.foot { border-top:1px solid var(--line); padding:36px var(--gutter); padding-bottom:calc(36px + env(safe-area-inset-bottom, 0px)); max-width:1240px; margin:0 auto; color:var(--soft); font-size:14px; }
.foot-row { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:18px; }
.foot nav { display:flex; gap:20px; flex-wrap:wrap; }
.foot nav a { text-decoration:none; } .foot nav a:hover { color:var(--bone); }
.foot .dim { margin-top:6px; opacity:.75; }

/* Tablet and phone */
@media (max-width: 960px) {
  .hero, .trace { grid-template-columns:1fr; min-height:0; }
  .why-grid, .plan-grid { grid-template-columns:1fr; }
  .top nav { display:none; }
}
@media (max-width: 640px) {
  body { font-size:16px; }
  .mod { grid-template-columns:1fr; gap:14px; padding:28px 0; }
  .trust-grid { grid-template-columns:1fr; }
  .top-cta .ghost { display:none; }
  .top { gap:12px; }
  .case { padding:20px 18px 16px; }
  .case-head { padding-right:76px; flex-direction:column; gap:6px; }
  .case-total { text-align:left; }
  .ring { width:64px; height:64px; top:16px; right:16px; }
  .ring-txt b { font-size:18px; }
  .lot-row { grid-template-columns:1fr auto; }
  .lot-row .dim { grid-column:1 / -1; text-align:left; margin-top:-8px; }
  .hero-cta .btn { flex:1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .life li, .life li::before, .ring-fg { transition:none; }
}

/* Plan comparison */
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.compare { margin-top:56px; }
.compare-h { font-size:26px; font-weight:800; letter-spacing:-0.025em; margin-bottom:18px; }
.cmp-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:18px; background:var(--char); }
.cmp { width:100%; min-width:640px; border-collapse:collapse; font-size:15px; table-layout:fixed; }
.cmp thead th:not(:first-child) { width:18%; }
.cmp th, .cmp td { padding:12px 18px; border-bottom:1px solid var(--line); text-align:center; vertical-align:middle; }
.cmp th[scope="row"] { text-align:left; font-weight:500; color:var(--bone); width:46%; }
.cmp thead th { position:sticky; top:0; background:var(--char); font-size:17px; font-weight:800; padding-top:18px; padding-bottom:14px; }
.cmp thead th.main { color:var(--ember); }
.cmp td:nth-child(3) { background:rgba(255,107,26,.05); }
.cmp .top-row th, .cmp .top-row td { font-weight:700; }
.cmp .top-row td { color:var(--bone); font-size:15px; }
.cmp .grp th { text-align:left; background:var(--panel); padding-top:14px; padding-bottom:12px; font-size:16px; }
.cmp .grp th span { color:var(--ember); font-weight:600; font-size:14px; margin-left:8px; }
.cmp .y .dot { display:inline-block; width:12px; height:12px; border-radius:50%; background:var(--orange); }
.cmp .n { color:#5E636A; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom:0; }
@media (max-width: 640px) {
  .cmp { font-size:14px; min-width:560px; }
  .cmp th, .cmp td { padding:10px 12px; }
  .cmp th[scope="row"] { position:sticky; left:0; background:var(--char); z-index:1; }
}

/* Signup */
.su-main { max-width:1240px; margin:0 auto; padding:clamp(40px, 6vw, 80px) var(--gutter) 80px; }
.su-intro h1 { font-size:clamp(36px, 5vw, 64px); font-weight:800; letter-spacing:-0.04em; line-height:1.02; }
.su-intro p { color:var(--soft); max-width:60ch; margin-top:16px; font-size:18px; }
.su-grid { display:grid; grid-template-columns:minmax(0, 1fr) 360px; gap:clamp(24px, 4vw, 56px); margin-top:40px; align-items:start; }
.su-form { display:grid; gap:22px; min-width:0; }
.blk { border:1px solid var(--line); border-radius:18px; padding:24px 24px 26px; background:var(--char); min-width:0; }
.blk legend { font-size:20px; font-weight:800; letter-spacing:-0.02em; padding:0 8px; margin-left:-8px; }
.blk .hint { color:var(--soft); font-size:14px; margin:2px 0 4px; }
.blk label, .blk .lab { display:block; font-size:14px; font-weight:700; margin:16px 0 7px; }
.opt-l { color:var(--soft); font-weight:500; }
.blk input:not([type=radio]):not([type=checkbox]), .blk select, .blk textarea { width:100%; font:inherit; font-size:16px; color:var(--bone); background:var(--ink); border:1px solid var(--line); border-radius:10px; padding:12px 14px; min-height:48px; }
.blk textarea { resize:vertical; }
.blk input:focus, .blk select:focus, .blk textarea:focus { outline:none; border-color:var(--orange); box-shadow:0 0 0 3px rgba(255,107,26,.25); }
.blk [aria-invalid="true"] { border-color:#FF8A80 !important; }
.blk input::placeholder, .blk textarea::placeholder { color:#6B7177; }
.row2 { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.row3 { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.row3.addr { grid-template-columns:2fr 1fr 1fr; }
.pick { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:14px; }
.opt { margin:0 !important; cursor:pointer; }
.opt input, .seg input { position:absolute; opacity:0; width:1px; height:1px; }
.opt span { display:flex; flex-direction:column; gap:4px; height:100%; border:1px solid var(--line); border-radius:14px; padding:16px; background:var(--ink); transition:border-color .15s, background .15s; }
.opt b { font-size:18px; }
.opt em { font-style:normal; color:var(--soft); font-size:13px; font-weight:500; }
.opt strong { margin-top:8px; font-size:22px; letter-spacing:-0.02em; }
.opt strong small { font-size:13px; color:var(--soft); font-weight:500; }
.opt input:checked + span { border-color:var(--orange); background:linear-gradient(180deg, rgba(255,107,26,.14), rgba(255,107,26,.03)); }
.opt input:focus-visible + span, .seg input:focus-visible + span { outline:3px solid var(--orange); outline-offset:2px; }
.seg { display:flex; flex-wrap:wrap; gap:6px; background:var(--ink); border:1px solid var(--line); border-radius:12px; padding:4px; }
.seg label { margin:0 !important; flex:1 1 auto; font-weight:600; }
.seg span { display:block; text-align:center; padding:10px 12px; border-radius:9px; cursor:pointer; color:var(--soft); white-space:nowrap; }
.seg input:checked + span { background:var(--orange); color:#1E2124; }
.check { display:flex !important; gap:10px; align-items:flex-start; font-weight:600 !important; cursor:pointer; }
.check input { width:20px; height:20px; accent-color:var(--orange); flex:0 0 auto; margin-top:1px; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.su-sum { position:sticky; top:calc(84px + env(safe-area-inset-top, 0px)); }
.sum-card { border:1px solid var(--orange); border-radius:20px; padding:26px; background:linear-gradient(180deg, rgba(255,107,26,.10), rgba(255,107,26,0) 50%), var(--char); }
.sum-plan { font-size:30px; font-weight:800; letter-spacing:-0.03em; }
.sum-mods { color:var(--soft); font-size:14px; }
.sum-card dl { margin:20px 0 12px; display:grid; gap:10px; }
.sum-card dl div { display:flex; justify-content:space-between; gap:12px; font-size:15px; }
.sum-card dt { color:var(--soft); }
.sum-card dd { font-weight:700; }
.sum-card .tot { border-top:1px solid var(--line); padding-top:12px; font-size:17px; }
.sum-card .tot dt { color:var(--bone); font-weight:700; }
.sum-note { color:var(--soft); font-size:13px; }
.agree { margin:18px 0 16px !important; font-size:14px; font-weight:500 !important; }
.agree a { color:var(--ember); }
.btn.full { width:100%; }
.btn:disabled { opacity:.6; cursor:wait; }
.err { color:#FF8A80; font-weight:700; font-size:14px; margin-bottom:12px; }
.sum-fine { color:var(--soft); font-size:12.5px; text-align:center; margin-top:12px; }
.done { text-align:center; padding:60px 0 20px; }
.done svg { width:96px; height:96px; }
.done h1 { font-size:clamp(34px, 5vw, 56px); font-weight:800; letter-spacing:-0.04em; margin-top:18px; }
.done p { color:var(--soft); max-width:56ch; margin:14px auto 28px; font-size:18px; }
@media (max-width: 960px) {
  .su-grid { grid-template-columns:1fr; }
  .su-sum { position:static; }
}
@media (max-width: 640px) {
  .pick { grid-template-columns:1fr; }
  .row2, .row3, .row3.addr { grid-template-columns:1fr; }
  .blk { padding:20px 16px 22px; }
  .seg span { white-space:normal; }
}

/* The website and the app are separate: one small link for customers who land here */
.signin-link { color:var(--soft); font-weight:600; font-size:14px; text-decoration:none; align-self:center; padding:10px 4px; }
.signin-link:hover { color:var(--bone); }
.top-cta { align-items:center; gap:18px; }
@media (max-width: 640px) { .top-cta .signin-link { display:none; } }

/* Request a demo (19 Oct 2026): one column, the same blocks as the license form */
.demo-form { max-width:760px; margin-top:40px; }
.demo-form .btn.full { margin-top:4px; }
/* Invoicing & AR add-on on Core and Pro (20 Oct 2026) */
.plan li.addon { color:var(--ember); }
.plan li.addon::before { border-style:dashed; }
.cmp td.a { font-size:13px; color:var(--ember); font-weight:600; }
.addon-pick { display:flex; gap:10px; align-items:flex-start; margin:14px 0 4px; padding:12px 14px; border:1px dashed var(--ember); border-radius:10px; cursor:pointer; font-size:15px; line-height:1.45; }
.addon-pick input { margin-top:4px; accent-color:var(--orange); width:18px; height:18px; flex:none; }
.addon-pick[hidden] { display:none; }
.addon-pick span { font-weight:400; } .addon-pick b { font-weight:700; }
