/* Telvory Signage site: tokens (light + dark), reset, layout, header, footer, buttons, price toggles. */
@font-face{font-family:Inter;src:url('/fonts/InterVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Noto Sans Arabic';src:url('/fonts/NotoSansArabic-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Noto Sans Arabic';src:url('/fonts/NotoSansArabic-Bold.woff2') format('woff2');font-weight:600 800;font-display:swap}
:root{
  --navy:#0B1739;--navy-2:#13234F;--ink:#05091A;--primary:#2563EB;--primary-hover:#1D4ED8;--highlight:#3B82F6;--cyan:#22D3EE;--violet:#8B5CF6;
  --bg:#FFFFFF;--bg-alt:#F5F8FF;--surface:#FFFFFF;--text:#0B1739;--muted:#475569;--border:#D8E2F2;--tile-bg:#DBEAFE;--tile-fg:#2563EB;
  --link:#1D4ED8;--ok:#047857;--soon-bg:#FEF3C7;--soon-fg:#92400E;--code-bg:#0B1739;--code-fg:#E6ECF8;
  --font:Inter,'Noto Sans Arabic',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --radius:18px;--radius-sm:12px;--wrap:1200px;--gutter:20px;
  --shadow:0 1px 2px rgba(11,23,57,.05),0 10px 30px -12px rgba(11,23,57,.18);
  --shadow-lg:0 30px 70px -20px rgba(5,12,34,.6);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#070D22;--bg-alt:#0B1532;--surface:#0F1B3F;--text:#E8EEFA;--muted:#A6B4CF;--border:#1E2D5A;--tile-bg:rgba(59,130,246,.16);--tile-fg:#93C5FD;
  --link:#93C5FD;--primary:#3B82F6;--primary-hover:#2563EB;--ok:#34D399;--soon-bg:rgba(251,191,36,.16);--soon-fg:#FCD34D;--code-bg:#020617;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 12px 32px -12px rgba(0,0,0,.6);color-scheme:dark;
}}
html[lang=ar]{--font:'Noto Sans Arabic',Inter,system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.65 var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
html[lang=ar] body{line-height:1.85}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:var(--link);text-underline-offset:3px}
h1,h2,h3{margin:0;line-height:1.15;letter-spacing:-.02em;font-weight:700;text-wrap:balance}
html[lang=ar] :is(h1,h2,h3){letter-spacing:0;line-height:1.35}
p{margin:0}
ul,ol{margin:0;padding:0}
code,pre{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace}
:focus-visible{outline:3px solid var(--highlight);outline-offset:3px;border-radius:6px}
.skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;background:#fff;color:var(--navy);padding:10px 16px;border-radius:8px;font-weight:600}
.skip:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.wrap{width:100%;max-width:calc(var(--wrap) + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter)}
.wrap.narrow{max-width:calc(820px + 2 * var(--gutter))}
.icon{width:22px;height:22px;flex:none}
html[dir=rtl] .flip-ar{transform:scaleX(-1)}
bdi{unicode-bidi:isolate}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 20px;border-radius:12px;border:1px solid transparent;font:600 15px/1.2 var(--font);text-decoration:none;cursor:pointer;transition:background .15s,transform .15s,border-color .15s;text-align:center}
.btn .icon{width:18px;height:18px}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 10px 24px -10px rgba(37,99,235,.8)}
.btn-primary:hover{background:var(--primary-hover);color:#fff;transform:translateY(-1px)}
.btn-ghost{background:rgba(255,255,255,.07);color:#fff;border-color:rgba(255,255,255,.25)}
.btn-ghost:hover{background:rgba(255,255,255,.14);color:#fff}
.btn-light{background:var(--surface);color:var(--text);border-color:var(--border)}
.btn-light:hover{border-color:var(--primary);color:var(--text)}
.btn-sm{min-height:40px;padding:8px 16px;font-size:14px;border-radius:10px}
.btn-lg{min-height:54px;padding:14px 26px;font-size:16px;border-radius:14px}

/* Header (dark in both themes) */
.site-header{position:sticky;top:0;z-index:50;background:rgba(11,23,57,.94);backdrop-filter:saturate(160%) blur(12px);-webkit-backdrop-filter:saturate(160%) blur(12px);border-bottom:1px solid rgba(255,255,255,.08);color:#fff}
.bar{display:flex;align-items:center;gap:20px;height:68px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;flex:none}
.brand img{width:36px;height:36px}
.word{font:600 19px/1 Inter,system-ui,sans-serif;letter-spacing:-.01em;white-space:nowrap}
.word b{font-weight:800;background:linear-gradient(90deg,#60A5FA,#22D3EE);-webkit-background-clip:text;background-clip:text;color:transparent}
.nav{display:flex;gap:2px;margin-inline-start:12px}
.nav a,.actions a:not(.btn){color:rgba(255,255,255,.8);text-decoration:none;font-weight:500;font-size:15px;padding:9px 11px;border-radius:8px;white-space:nowrap}
.nav a:hover,.nav a[aria-current=page],.actions a:not(.btn):hover{color:#fff;background:rgba(255,255,255,.08)}
.actions{display:flex;align-items:center;gap:6px;margin-inline-start:auto}
.actions .lang{border:1px solid rgba(255,255,255,.2)}
.menu{display:none;margin-inline-start:auto}
.menu summary{list-style:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.22);border-radius:10px;cursor:pointer;color:#fff}
.menu summary::-webkit-details-marker{display:none}
.menu-panel{position:fixed;inset-inline:0;top:68px;max-height:calc(100vh - 68px);overflow-y:auto;background:var(--navy);border-bottom:1px solid rgba(255,255,255,.1);padding:10px var(--gutter) 20px;display:grid;gap:4px;box-shadow:var(--shadow-lg)}
.menu-panel nav{display:grid;gap:2px}
.menu-panel a:not(.btn){color:#fff;text-decoration:none;padding:13px 12px;border-radius:10px;font-size:17px}
.menu-panel a:not(.btn):hover,.menu-panel a[aria-current=page]{background:rgba(255,255,255,.08)}
.menu-panel .btn{margin-top:8px}
@media (max-width:980px){.nav,.actions{display:none}.menu{display:block}}

/* Footer */
.site-footer{background:var(--navy);color:rgba(255,255,255,.78);padding:56px 0 28px;margin-top:0}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:36px}
.site-footer h2{font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:#fff;margin:0 0 12px}
html[lang=ar] .site-footer h2{letter-spacing:0;text-transform:none;font-size:15px}
.site-footer h2:not(:first-child){margin-top:22px}
.site-footer ul{list-style:none;display:grid;gap:8px}
.site-footer a{color:rgba(255,255,255,.85);text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.foot-brand p{margin-top:14px;max-width:34ch}
.cur-pick a{font-weight:600}
.foot-legal{margin-top:40px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1);display:grid;gap:6px;font-size:13px;color:rgba(255,255,255,.6)}
.foot-legal address{font-style:normal}
@media (max-width:900px){.foot-grid{grid-template-columns:1fr 1fr}.foot-brand{grid-column:1/-1}}
@media (max-width:480px){.foot-grid{grid-template-columns:1fr}}

/* Price toggles: <html data-cur> picks the currency, the Yearly / Monthly radios pick the period (no JavaScript). */
html[data-cur=USD] .cu-sar,html[data-cur=SAR] .cu-usd{display:none}
html:has(#bill-m:checked) .bi-y{display:none}
html:not(:has(#bill-m:checked)) .bi-m{display:none}

/* Small standalone pages (404, release coming soon) */
.soon{display:grid;min-height:100vh;place-items:center}
.soon-box{max-width:620px;display:grid;gap:14px;justify-items:start;padding:40px var(--gutter)}
.soon-box h1{font-size:32px}
.menu:not([open]) .menu-panel{display:none}
