:root {
  color-scheme: dark;
  --bg:#080a0d;
  --bg-2:#0d1116;
  --panel:#11161c;
  --text:#f4f5f6;
  --muted:#9ba5af;
  --soft:#c8cdd2;
  --line:#272e36;
  --line-strong:#3a424c;
  --accent:#e7402f;
  --accent-hover:#ff503e;
  --green:#53cf7b;
  --amber:#e3b95c;
  font-family:"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);min-height:100vh}
a{color:inherit}
main{display:block}
.section-wrap,.header-inner,.footer-inner{width:min(1320px,calc(100% - 56px));margin-left:auto;margin-right:auto}
.site-header{height:78px;border-bottom:1px solid var(--line);background:rgba(8,10,13,.96);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}
.header-inner{height:100%;display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:28px}
.business-brand{display:block;width:184px;height:54px;overflow:hidden;text-decoration:none}
.business-brand img{width:100%;height:100%;object-fit:contain;object-position:left center}
.header-product{justify-self:start;display:flex;align-items:center;gap:10px;color:#dfe3e7;font-size:.94rem;font-weight:650;letter-spacing:.015em}
.header-product img{width:30px;height:30px;border-radius:7px}
.header-link,.account-nav a,.text-link{color:#dce1e6;text-decoration:none;border-bottom:1px solid #59616a;padding-bottom:2px}
.header-link:hover,.account-nav a:hover,.text-link:hover{color:#fff;border-color:#fff}
.account-nav{display:flex;align-items:center;gap:16px;color:var(--muted);font-size:.86rem;max-width:420px}
.account-nav span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero{min-height:720px;display:grid;grid-template-columns:minmax(420px,.88fr) minmax(600px,1.22fr);gap:62px;align-items:center;padding-top:76px;padding-bottom:82px;border-bottom:1px solid var(--line)}
.product-lockup{display:flex;align-items:center;gap:20px;margin-bottom:28px}
.product-lockup .toona-icon{width:76px;height:76px;border-radius:17px;box-shadow:0 0 0 1px #252c33}
.kicker,.section-number{font-size:.75rem;line-height:1.2;letter-spacing:.14em;text-transform:uppercase;color:#929ca6;font-weight:700}
h1{font-size:clamp(3.4rem,5.4vw,5.8rem);line-height:.94;letter-spacing:-.055em;margin:6px 0 0;font-weight:760}
.hero-lead{font-size:clamp(1.45rem,2vw,2rem);line-height:1.32;letter-spacing:-.02em;color:#f1f3f5;margin:0 0 18px;max-width:640px}
.hero-support{font-size:1.04rem;line-height:1.72;color:#b0b8c0;max-width:650px;margin:0 0 36px}
.hero-buy{display:flex;align-items:flex-end;gap:28px;padding-top:26px;border-top:1px solid var(--line);max-width:670px}
.price{font-size:2.25rem;line-height:1;font-weight:780;letter-spacing:-.035em;white-space:nowrap}
.price.small{font-size:1.8rem}
.price-note,.action-note{font-size:.87rem;line-height:1.5;color:#8f99a3;margin-top:7px}
.button{appearance:none;border:0;border-radius:2px;padding:13px 20px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font:inherit;font-weight:750;cursor:pointer;white-space:nowrap}
.button.primary{background:var(--accent);color:#fff}
.button.primary:hover{background:var(--accent-hover)}
.hero-buy .button{min-width:188px}
.hero-visual{position:relative;align-self:center;min-width:0}
.hero-visual:before{content:"";position:absolute;inset:-14px -14px 22px 24px;border:1px solid #20262d;z-index:0}
.hero-visual img{position:relative;z-index:1;width:100%;display:block;border:1px solid #353e47;background:#12171d;box-shadow:0 26px 80px rgba(0,0,0,.42)}
.screen-caption,.feature-media figcaption{font-size:.75rem;color:#77828d;letter-spacing:.04em;margin-top:10px}
.feature-section{display:grid;grid-template-columns:.72fr 1.28fr;gap:72px;align-items:center;padding-top:104px;padding-bottom:104px;border-bottom:1px solid var(--line)}
.feature-section.reverse{grid-template-columns:1.28fr .72fr}
.feature-section.reverse>.feature-copy{order:2}
.feature-section.reverse>.feature-media,.feature-section.reverse>.media-stack{order:1}
.feature-copy{max-width:430px}
.feature-copy h2,.purchase-rail h2,.licensed-preview h2{font-size:clamp(2rem,3.2vw,3.35rem);line-height:1.04;letter-spacing:-.04em;margin:13px 0 22px}
.feature-copy p,.purchase-rail p,.licensed-preview p,.account-copy p,.message-page p{font-size:1rem;line-height:1.72;color:#aeb7c0;margin:0}
.feature-media{margin:0;min-width:0}
.feature-media img{width:100%;height:auto;display:block;border:1px solid #303943;background:#10151a;box-shadow:0 24px 60px rgba(0,0,0,.26)}
.media-stack{display:grid;gap:24px}
.small-media{width:84%;justify-self:end}
.purchase-rail{display:flex;justify-content:space-between;align-items:center;gap:60px;padding-top:76px;padding-bottom:76px;border-bottom:1px solid var(--line)}
.purchase-rail>div:first-child{max-width:720px}
.purchase-rail h2{margin-top:0;margin-bottom:14px}
.purchase-rail-action{display:flex;align-items:center;gap:24px}
.site-footer{padding:46px 0 58px;background:#06080a}
.footer-inner{display:flex;align-items:center;gap:28px;color:#89939d}
.footer-inner img{width:132px;height:48px;object-fit:contain;object-position:left center;opacity:.9}
.footer-inner div{display:flex;flex-direction:column;gap:5px;font-size:.84rem}
.footer-inner strong{color:#d9dde1;font-size:.92rem}
.account-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:82px;align-items:center;padding-top:78px;padding-bottom:78px;border-bottom:1px solid var(--line);position:relative}
.account-hero.narrow-account{grid-template-columns:1fr}
.account-copy{max-width:760px}
.compact-lockup{margin-bottom:24px}
.compact-lockup .toona-icon{width:62px;height:62px;border-radius:14px}
.compact-lockup h1{font-size:clamp(2.7rem,4.4vw,4.6rem)}
.account-lead{margin-top:8px}
.signed-in-as{margin-top:26px!important;font-size:.88rem!important;color:#7f8a94!important}
.signed-in-as strong{color:#cfd4d9;font-weight:600}
.account-action{border-top:2px solid var(--line-strong);padding-top:26px}
.account-action.buy-action{border-color:var(--accent)}
.account-action.licensed-action{border-color:var(--green)}
.account-action .button{width:100%;margin-top:22px}
.licence-state{display:flex;align-items:center;gap:11px;font-size:1.12rem;font-weight:700;color:#e8ecef}
.account-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
.account-stat{border:1px solid var(--line);padding:14px 15px;background:rgba(255,255,255,.018)}
.account-stat span{display:block;color:var(--muted);font-size:.78rem;line-height:1.25;margin-bottom:5px}
.account-stat strong{display:block;color:#f4f7f8;font-size:1.65rem;line-height:1;font-weight:750}
.state-dot{width:10px;height:10px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(83,207,123,.11)}
.pending-state .state-dot{background:var(--amber);box-shadow:0 0 0 4px rgba(227,185,92,.11)}
.notice{grid-column:1/-1;padding:13px 16px;border-left:3px solid var(--line-strong);background:#0c1014;color:#d8dde1;font-size:.92rem;margin-bottom:-34px}
.notice.success{border-color:var(--green);color:#93e7ae}
.notice.pending{border-color:var(--amber);color:#e5c87c}
.notice.error{border-color:#df6257;color:#f0a19a}
.licensed-preview{display:grid;grid-template-columns:.8fr 1.2fr;gap:72px;align-items:center;padding-top:82px;padding-bottom:82px}
.preview-copy{max-width:470px}
.compact-media img{box-shadow:none}
.message-page{padding-top:110px;padding-bottom:130px;max-width:760px}
.message-page h1{font-size:clamp(2.6rem,5vw,4.5rem);margin:14px 0 24px}
.inline-button{margin-top:28px}
form{margin:0}
@media(max-width:1050px){
  .hero{grid-template-columns:1fr;min-height:0;gap:48px;padding-top:58px}
  .hero-copy{max-width:780px}
  .hero-visual{max-width:1000px}
  .feature-section,.feature-section.reverse{grid-template-columns:1fr;gap:38px;padding-top:72px;padding-bottom:72px}
  .feature-section.reverse>.feature-copy,.feature-section.reverse>.feature-media,.feature-section.reverse>.media-stack{order:initial}
  .feature-copy{max-width:720px}
  .small-media{width:100%}
}
@media(max-width:780px){
  .section-wrap,.header-inner,.footer-inner{width:min(100% - 32px,1320px)}
  .site-header{height:auto;min-height:70px;padding:10px 0;position:static}
  .header-inner{grid-template-columns:1fr auto;gap:12px}
  .business-brand{width:142px;height:44px}
  .header-product{display:none}
  .account-nav span{display:none}
  .hero{padding-top:42px;padding-bottom:58px}
  .product-lockup .toona-icon{width:58px;height:58px;border-radius:13px}
  h1{font-size:3.15rem}
  .hero-buy{align-items:stretch;flex-direction:column;gap:20px}
  .hero-buy .button{width:100%}
  .feature-section{padding-top:58px;padding-bottom:58px}
  .feature-copy h2,.purchase-rail h2,.licensed-preview h2{font-size:2.15rem}
  .purchase-rail{align-items:flex-start;flex-direction:column;gap:30px;padding-top:58px;padding-bottom:58px}
  .purchase-rail-action{width:100%;align-items:stretch;flex-direction:column}
  .purchase-rail-action .button{width:100%}
  .account-hero{grid-template-columns:1fr;gap:42px;padding-top:52px;padding-bottom:58px}
  .notice{margin-bottom:0}
  .licensed-preview{grid-template-columns:1fr;gap:36px;padding-top:58px;padding-bottom:58px}
  .footer-inner{align-items:flex-start;flex-direction:column;gap:18px}
}

/* v0.819.5 legal / purchase consent */
.terms-consent{display:flex;align-items:flex-start;gap:10px;margin-top:18px;font-size:.84rem;line-height:1.45;color:#aeb7c0;cursor:pointer}
.terms-consent input{width:18px;height:18px;flex:0 0 auto;margin:2px 0 0;accent-color:var(--accent)}
.terms-consent a{color:#eef2f6;text-decoration:underline;text-underline-offset:2px}
.terms-consent a:hover{color:#fff}
.legal-page{max-width:980px;padding-top:76px;padding-bottom:110px}
.legal-heading{padding-bottom:42px;border-bottom:1px solid var(--line)}
.legal-heading h1{font-size:clamp(2.8rem,5vw,5rem);max-width:900px}
.legal-subtitle{margin:20px 0 0;color:#929ca6;font-size:.96rem}
.legal-intro{padding:42px 0 18px}
.legal-intro p,.legal-section p,.legal-section li{font-size:1rem;line-height:1.72;color:#b3bbc3}
.legal-intro p{margin:0 0 18px}
.legal-section{padding:32px 0;border-top:1px solid var(--line)}
.legal-section h2{font-size:1.55rem;line-height:1.2;letter-spacing:-.02em;margin:0 0 18px;color:#eef2f6}
.legal-section p{margin:0 0 16px}
.legal-section p:last-child{margin-bottom:0}
.legal-section ul{margin:10px 0 18px;padding-left:24px}
.legal-section li{margin:5px 0}
.legal-section strong{color:#edf1f4}
.legal-section a,.legal-contact a,.site-footer a{color:#dce1e6;text-underline-offset:2px}
.legal-contact{margin-top:12px;border-top:2px solid var(--accent)}
@media(max-width:780px){.legal-page{padding-top:48px;padding-bottom:72px}.legal-heading{padding-bottom:30px}.legal-intro{padding-top:30px}.legal-section{padding:26px 0}}

/* v0.819.6 Custom OS credit quantity/total */
.credit-quantity{display:flex;align-items:center;gap:12px;margin-top:18px}
.credit-quantity label{font-size:.92rem;color:#d8dde1;font-weight:650}
.credit-quantity input{width:92px;min-height:34px;padding:6px 8px;border:1px solid var(--line-strong);border-radius:2px;background:#151a20;color:var(--text);font:inherit}
.credit-quantity input:focus{outline:1px solid var(--accent);border-color:var(--accent)}
.credit-total{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.credit-total span{font-size:.9rem;color:#9ba5af}
.credit-total strong{font-size:1.35rem;color:#fff;white-space:nowrap}
