/* A link straight to one section (for example /privacy/#delete, the address
   Google Play is given for account deletion) must land below the sticky
   header, not behind it. */
html{scroll-padding-top:92px;}
@media (max-width:767px){ html{scroll-padding-top:80px;} }
/* SubzTracker marketing website. Same colours, fonts and shapes as the app.
   Dark by default for dark-mode devices, light for light-mode devices; the
   header switch overrides it (remembered on this device). */
:root{
  /* Light is the default. Dark only when the visitor picks it (remembered). */
  --bg:#f6f6f9; --bg-2:#eeeef4; --surface:#ffffff; --surface-2:#f0f0f5; --border:#e3e3ea;
  --violet:#6a51f2; --violet-strong:#5038d8; --violet-dim:#7158f81f; --brand:#7158F8; --mint:#14895a; --coral:#d13f34; --amber:#a5700b;
  --text:#17171b; --text-dim:#55555f; --text-faint:#60606a;
  --on-violet:#fff; --shadow:0 18px 50px #1f1a4a1c; --shadow-sm:0 6px 18px #1f1a4a14;
  --radius:18px; --radius-sm:12px; --wrap:1180px;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#0a0a0c; --bg-2:#0f0f13; --surface:#151519; --surface-2:#1c1c22; --border:#26262e;
  --violet:#8473FA; --violet-strong:#a99cfb; --violet-dim:#8473fa2e; --brand:#8473FA; --mint:#4ade9c; --coral:#f97066; --amber:#f5b942;
  --text:#f2f2f5; --text-dim:#a3a3ae; --text-faint:#8a8a96;
  --shadow:0 18px 50px #00000073; --shadow-sm:0 6px 18px #00000059;
  color-scheme:dark;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} *, *::before, *::after{animation:none !important; transition:none !important;} }
body{margin:0; background:var(--bg); color:var(--text); font-family:'Inter',system-ui,-apple-system,sans-serif; font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
h1,h2,h3{font-family:'Space Grotesk','Inter',sans-serif; line-height:1.15; margin:0; letter-spacing:-0.01em;}
p{margin:0;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; height:auto; display:block;}
[hidden]{display:none !important;}
:focus-visible{outline:2px solid var(--violet); outline-offset:3px; border-radius:6px;}
.wrap{width:100%; max-width:var(--wrap); margin:0 auto; padding:0 20px;}
@media (min-width:768px){ .wrap{padding:0 32px;} }
.skip{position:absolute; left:-999px; top:8px; z-index:100; background:var(--surface); color:var(--text); padding:10px 16px; border-radius:10px;}
.skip:focus{left:12px;}
.muted{color:var(--text-dim);}
/* a link inside dimmed prose (the contact page's email) needs marking too */
.muted a{color:var(--text); font-weight:600;}
.muted a:hover{color:var(--violet-strong);}
:root[data-theme="dark"] .muted a:hover{color:#b9b0fa;}
.small{font-size:14px;}

/* ---------- buttons ---------- */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 22px; border-radius:100px; font-weight:700; font-size:15px; text-decoration:none; border:1px solid transparent; cursor:pointer; font-family:inherit; transition:transform .15s ease, filter .15s ease, background-color .15s ease, border-color .15s ease; white-space:nowrap;}
.btn:active{transform:scale(.98);}
.btn-primary{background:linear-gradient(135deg,var(--violet),#5a4fd6); color:var(--on-violet); box-shadow:0 8px 22px #7c6ef24d;}
.btn-primary:hover{filter:brightness(1.08);}
.btn-ghost{background:var(--surface); color:var(--text); border-color:var(--border);}
.btn-ghost:hover{border-color:var(--text-faint);}
.btn-sm{min-height:44px; padding:0 18px; font-size:14px;}

/* ---------- header ---------- */
.site-header{position:sticky; top:0; z-index:50; background:color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter:saturate(1.5) blur(30px); -webkit-backdrop-filter:saturate(1.5) blur(30px); border-bottom:1px solid transparent; transition:border-color .2s ease, box-shadow .2s ease;}
.site-header.scrolled{border-bottom-color:var(--border); box-shadow:0 6px 20px #0000001f;}
.nav{display:flex; align-items:center; gap:20px; height:68px;}
.brand{display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:19px; color:var(--text); min-height:44px;}
.brand img{width:34px; height:34px; border-radius:9px;}
.nav-links{display:none; gap:4px; margin:0 auto;}
.nav-links a{color:var(--text-dim); text-decoration:none; font-weight:600; font-size:15px; padding:10px 14px; border-radius:10px; min-height:44px; display:inline-flex; align-items:center;}
.nav-links a:hover{color:var(--text); background:var(--surface-2);}
.nav-actions{display:none; align-items:center; gap:10px;}
.theme-toggle{width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:12px; background:none; border:1px solid var(--border); color:var(--text-dim); cursor:pointer;}
.theme-toggle:hover{color:var(--text); border-color:var(--text-faint);}
.theme-toggle svg{width:20px; height:20px;}
.theme-toggle .sun{display:none;}
:root:not([data-theme="dark"]) .theme-toggle .sun{display:block;} :root:not([data-theme="dark"]) .theme-toggle .moon{display:none;}
.nav-toggle{margin-left:auto; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; background:none; border:1px solid var(--border); border-radius:12px; color:var(--text); cursor:pointer;}
.nav-toggle svg{width:22px; height:22px;}
.nav-mobile-end{display:flex; align-items:center; gap:8px; margin-left:auto;}
.nav-mobile-end .nav-toggle{margin-left:0;}
.mobile-menu{display:none; border-top:1px solid var(--border); padding:10px 20px 20px; background:var(--bg);}
.mobile-menu.open{display:block;}
.mobile-menu a:not(.btn){display:flex; align-items:center; min-height:48px; font-weight:600; text-decoration:none; color:var(--text); border-bottom:1px solid var(--border);}
.mobile-menu .btn{width:100%; margin-top:12px;}
@media (min-width:960px){
  .nav-links, .nav-actions{display:flex;}
  .nav-mobile-end, .mobile-menu, .mobile-menu.open{display:none;}
}

/* ---------- sections ---------- */
section{padding:72px 0;}
@media (min-width:960px){ section{padding:104px 0;} }
.band{background:var(--bg-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.section-head{text-align:center; max-width:660px; margin:0 auto 44px;}
.section-head h2{font-size:32px;}
.section-head p{margin-top:12px; color:var(--text-dim); font-size:17px;}
@media (min-width:768px){ .section-head h2{font-size:40px;} }
.eyebrow{display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--violet-strong); background:var(--violet-dim); padding:6px 12px; border-radius:100px; margin-bottom:18px;}
:root[data-theme="dark"] .eyebrow{color:#c3bcfa;}

/* reveal on scroll (only when JavaScript is running) */
.js .reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.js .reveal.is-visible{opacity:1; transform:none;}

/* ---------- hero ---------- */
.hero{position:relative; padding-top:48px; overflow:hidden;}
.hero::before{content:""; position:absolute; inset:-200px -100px auto auto; width:720px; height:720px; background:radial-gradient(closest-side, #7c6ef240, transparent 70%); pointer-events:none;}
.hero::after{content:""; position:absolute; left:-200px; top:120px; width:560px; height:560px; background:radial-gradient(closest-side, #f9706618, transparent 70%); pointer-events:none;}
.hero-grid{position:relative; display:grid; gap:48px; align-items:center;}
@media (min-width:960px){ .hero-grid{grid-template-columns:1.05fr .95fr; gap:56px;} .hero{padding-top:72px;} }
.hero h1{font-size:40px; font-weight:700;}
@media (min-width:768px){ .hero h1{font-size:58px;} }
.hero h1 .accent{background:linear-gradient(135deg,var(--violet-strong),#c06cf2); -webkit-background-clip:text; background-clip:text; color:transparent;}
.hero .lead{margin-top:20px; font-size:18px; color:var(--text-dim); max-width:540px;}
.hero-ctas{display:flex; flex-wrap:wrap; gap:12px; margin-top:30px;}
.hero-note{margin-top:16px; font-size:14px; color:var(--text-faint);}
.hero-visual{position:relative; display:flex; justify-content:center; min-height:520px;}
/* On phones the hero is one column, so the glow above would sit behind the
   headline. The same glow, same colour and size, is drawn behind the phone
   mockup instead; tablet and desktop keep it exactly where it was. */
@media (max-width:767px){
  .hero::before{display:none;}
  .hero-visual::before{content:""; position:absolute; left:50%; top:50%; width:720px; height:720px; transform:translate(-50%,-50%); background:radial-gradient(closest-side, #7c6ef240, transparent 70%); pointer-events:none; z-index:0;}
}
.phone{position:relative; width:270px; border-radius:42px; padding:10px; background:linear-gradient(160deg,#2a2a33,#121216); box-shadow:var(--shadow), inset 0 0 0 1px #ffffff14;}
.phone img{border-radius:33px; width:100%; aspect-ratio:390/844; object-fit:cover; object-position:top; background:#0a0a0c;}
@media (min-width:768px){ .phone{width:300px;} }
.float-card{position:absolute; display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:12px 14px; box-shadow:var(--shadow); font-size:14px; max-width:240px;}
.float-card b{display:block; font-size:14px;}
.float-card span{color:var(--text-dim); font-size:13px;}
.float-card .dot{width:36px; height:36px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0; background:var(--violet-dim); color:var(--violet-strong);}
:root[data-theme="dark"] .float-card .dot{color:#c3bcfa;}
.float-card .dot svg{width:18px; height:18px;}
/* The Netflix card sits higher (Randa, 19 Nov 2026): its bottom edge stays
   just above the "My Subz" title in the phone (about 50px down), so the
   title is never covered, whatever the card's height, while the card still
   overlaps the top of the phone. Its drift only moves it up. */
.float-a{left:0; bottom:calc(100% - 42px);}
/* Tablet (one column): a little room above the phone, so the raised card
   clears the line of text above it. */
@media (min-width:700px) and (max-width:959px){ .hero-visual{margin-top:28px;} }
.float-b{right:0; bottom:70px;}
@media (min-width:960px){ .float-a{left:-6px;} .float-b{right:-6px;} }
@media (max-width:420px){ .float-card{max-width:200px; font-size:13px;} .float-a{left:-6px; top:20px;} .float-b{right:-6px; bottom:30px;} }
.js .float-card{opacity:0; transform:translateY(10px); transition:opacity .5s ease .6s, transform .5s ease .6s;}
.js .is-visible .float-card{opacity:1; transform:none;}
.js .is-visible .float-b{transition-delay:1.1s;}

/* ---------- feature tour (tabs) ---------- */
.tour{display:grid; gap:28px; align-items:start;}
@media (min-width:700px){ .tour{grid-template-columns:400px 1fr; gap:56px; align-items:center;} }
.tab-list{display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; padding:4px; margin:-4px; scrollbar-width:none;}
.tab-list::-webkit-scrollbar{display:none;}
@media (min-width:700px){ .tab-list{flex-direction:column; overflow:visible;} }
.tab-btn{display:flex; align-items:flex-start; gap:14px; text-align:left; background:transparent; border:1px solid transparent; border-radius:16px; padding:14px 16px; cursor:pointer; color:var(--text); font-family:inherit; scroll-snap-align:start; flex:0 0 auto; min-height:48px; transition:background-color .2s ease, border-color .2s ease;}
.tab-btn:hover{background:var(--surface);}
.tab-btn[aria-selected="true"]{background:var(--surface); border-color:var(--border); box-shadow:var(--shadow);}
.tab-btn .ic{width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:var(--surface-2); color:var(--text-dim); flex-shrink:0;}
.tab-btn[aria-selected="true"] .ic{background:linear-gradient(135deg,var(--violet),#5a4fd6); color:#fff;}
.tab-btn .ic svg{width:20px; height:20px;}
.tab-btn b{display:block; font-size:16px; white-space:nowrap;}
.tab-btn span{display:none; color:var(--text-dim); font-size:14px; line-height:1.45; margin-top:2px;}
@media (min-width:700px){ .tab-btn span{display:block;} .tab-btn b{white-space:normal;} }
.tab-panels{position:relative; min-height:560px; display:flex; justify-content:center; align-items:center;}
.tab-panel{display:none; width:100%; justify-content:center; align-items:center; flex-direction:column; gap:20px;}
.tab-panel.active{display:flex; animation:panelIn .45s ease;}
@keyframes panelIn{from{opacity:0; transform:translateY(12px) scale(.985)} to{opacity:1; transform:none}}
.panel-caption{max-width:440px; text-align:center; color:var(--text-dim); font-size:15px;}
@media (min-width:700px){ .panel-caption{display:none;} }
.device-pair{position:relative; width:100%; max-width:640px; padding-bottom:40px;}
.laptop{border-radius:14px; padding:8px; background:linear-gradient(160deg,#2a2a33,#121216); box-shadow:var(--shadow), inset 0 0 0 1px #ffffff14;}
.laptop img{border-radius:8px; width:100%; aspect-ratio:1440/900; object-fit:cover; background:#0a0a0c;}
.device-pair .phone{position:absolute; right:-6px; bottom:0; width:130px; border-radius:24px; padding:5px;}
.device-pair .phone img{border-radius:20px;}
@media (min-width:768px){ .device-pair .phone{width:160px; right:-20px;} }

/* ---------- steps ---------- */
.steps{display:grid; gap:16px; counter-reset:step;}
@media (min-width:640px){ .steps{grid-template-columns:repeat(2,1fr);} }
@media (min-width:1024px){ .steps{grid-template-columns:repeat(4,1fr);} }
.step{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:24px; transition:transform .2s ease, border-color .2s ease;}
.step:hover{transform:translateY(-3px); border-color:var(--text-faint);}
.step .num{width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--violet),#5a4fd6); color:#fff; font-weight:700; font-family:'Space Grotesk',sans-serif; margin-bottom:18px;}
.step h3{font-size:19px; margin-bottom:8px;}
.step p{color:var(--text-dim); font-size:15px;}
.center-row{display:flex; justify-content:center; margin-top:32px;}

/* ---------- pricing ---------- */
.plans{display:grid; gap:16px; max-width:820px; margin:0 auto;}
@media (min-width:768px){ .plans{grid-template-columns:1fr 1fr;} }
.plan{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px;}
.plan.featured{border-color:var(--violet); box-shadow:0 0 0 1px var(--violet) inset, var(--shadow);}
.plan h3{font-size:20px;}
.plan .price{font-family:'Space Grotesk',sans-serif; font-size:36px; font-weight:700; margin:12px 0 4px;}
.plan ul{list-style:none; padding:0; margin:18px 0 24px; display:grid; gap:10px;}
.plan li{display:flex; gap:10px; color:var(--text-dim); font-size:15px;}
.plan li::before{content:"✓"; color:var(--mint); font-weight:700;}

/* ---------- get the app ---------- */
.apps-grid{display:grid; gap:40px; align-items:center;}
@media (min-width:1100px){ .apps-grid{grid-template-columns:1.1fr .9fr;} }
.apps-grid h2{font-size:32px;}
@media (min-width:768px){ .apps-grid h2{font-size:40px;} }
.apps-grid > div > p{margin-top:14px; color:var(--text-dim); font-size:17px;}
.store-row{display:flex; flex-wrap:wrap; gap:12px; margin:26px 0 18px;}
.store-badge{display:inline-flex; align-items:center; gap:12px; min-height:56px; padding:8px 18px 8px 14px; border-radius:14px; background:#000; color:#fff; text-decoration:none; border:1px solid #ffffff2b;}
.store-badge svg{width:24px; height:24px;}
.store-badge small{display:block; font-size:11px; letter-spacing:.04em; text-transform:uppercase; opacity:.8; line-height:1.2;}
.store-badge b{display:block; font-size:17px; line-height:1.2;}
.store-badge.soon{background:var(--surface); color:var(--text); border-color:var(--border); cursor:default;}
.install-steps{display:grid; gap:12px; margin-top:8px;}
@media (min-width:640px){ .install-steps{grid-template-columns:1fr 1fr;} }
.install{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:16px;}
.install b{display:block; margin-bottom:4px;}
.install p{color:var(--text-dim); font-size:14px;}
.checks{list-style:none; padding:0; margin:22px 0 0; display:grid; gap:10px;}
.checks li{display:flex; gap:10px; color:var(--text-dim); font-size:15px;}
.checks li::before{content:"✓"; color:var(--mint); font-weight:700;}
.apps-visual{display:flex; justify-content:center;}

/* ---------- final call to action + trust ---------- */
.cta-card{position:relative; overflow:hidden; text-align:center; background:var(--surface); border:1px solid var(--border); border-radius:28px; padding:56px 24px; box-shadow:var(--shadow);}
.cta-card::before{content:""; position:absolute; inset:-120px auto auto -120px; width:380px; height:380px; background:radial-gradient(closest-side,#7c6ef238,transparent 70%);}
.cta-card::after{content:""; position:absolute; inset:auto -120px -160px auto; width:380px; height:380px; background:radial-gradient(closest-side,#4ade9c22,transparent 70%);}
.cta-card > *{position:relative;}
.cta-card h2{font-size:30px; max-width:640px; margin:0 auto;}
@media (min-width:768px){ .cta-card{padding:72px 40px;} .cta-card h2{font-size:42px;} }
.cta-card p{margin:16px auto 28px; color:var(--text-dim); max-width:520px; font-size:17px;}
.cta-notes{margin-top:18px; color:var(--text-faint); font-size:14px;}
.trust-strip{padding:22px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.trust-items{display:flex; flex-wrap:wrap; justify-content:center; gap:14px 28px; color:var(--text-dim); font-size:14px;}
.trust-item{display:flex; align-items:center; gap:8px;}
.trust-item svg{width:16px; height:16px; color:var(--mint);}
.trust-item a{color:var(--text); font-weight:600; display:inline-flex; align-items:center; min-height:44px;}
.trust-item a:hover{color:var(--violet-strong);}

/* ---------- footer ---------- */
.site-footer{padding:56px 0 28px; background:var(--bg-2);}
.footer-grid{display:grid; gap:32px;}
@media (min-width:768px){ .footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr;} }
.footer-grid p{color:var(--text-dim); font-size:15px; margin-top:14px; max-width:300px;}
.footer-grid h3{font-family:'Inter',sans-serif; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--text-dim); margin-bottom:12px;}
.footer-grid ul{list-style:none; padding:0; margin:0; display:grid; gap:2px;}
.footer-grid li a{display:inline-flex; align-items:center; min-height:44px; color:var(--text-dim); text-decoration:none; font-size:15px;}
.footer-grid li a:hover{color:var(--text);}
.footer-bottom{display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; align-items:center; margin-top:40px; padding-top:24px; border-top:1px solid var(--border); color:var(--text-dim); font-size:14px;}
.footer-bottom a{color:var(--text); font-weight:600;}
.footer-bottom a:hover{color:var(--violet-strong);}
:root[data-theme="dark"] .trust-item a:hover, :root[data-theme="dark"] .footer-bottom a:hover{color:#b9b0fa;}
.socials{display:flex; gap:8px;}
.socials a{width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:12px; color:var(--text-dim);}
.socials a:hover{color:var(--text); border-color:var(--text-faint);}
.socials svg{width:18px; height:18px;}

/* ---------- inner pages ---------- */
.page-hero{padding:56px 0 24px; text-align:center;}
.page-hero h1{font-size:34px;}
@media (min-width:768px){ .page-hero h1{font-size:46px;} }
.page-hero p{color:var(--text-dim); margin-top:10px; font-size:17px;}
.page-body{padding:16px 0 88px;}
.doc{max-width:780px; margin:0 auto; background:var(--surface); border:1px solid var(--border); border-radius:22px; padding:28px 22px;}
@media (min-width:768px){ .doc{padding:44px 48px;} }
.doc h2{font-size:22px; margin:34px 0 10px;}
.doc h2:first-child{margin-top:0;}
.doc h3{font-size:17px; margin:22px 0 8px; font-family:'Inter',sans-serif; font-weight:700;}
.doc p, .doc li{color:var(--text-dim); font-size:16px;}
.doc p + p{margin-top:12px;}
.doc ul, .doc ol{padding-left:22px; margin:10px 0; display:grid; gap:6px;}
.doc a{color:var(--violet-strong); font-weight:600;}
:root[data-theme="dark"] .doc a{color:#b9b0fa;}
.doc .note{background:var(--surface-2); border-radius:12px; padding:14px 16px; color:var(--text-dim); font-size:15px; margin:14px 0;}
.tbd{background:#f5b9422e; color:var(--text); border-radius:6px; padding:1px 6px; font-weight:700; font-size:.9em; overflow-wrap:anywhere;}
.doc table{width:100%; border-collapse:collapse; margin:12px 0; font-size:15px;}
.doc th, .doc td{text-align:left; padding:10px 8px; border-bottom:1px solid var(--border); vertical-align:top; color:var(--text-dim);}
.doc th{color:var(--text); font-weight:700;}
.table-scroll{overflow-x:auto; border-radius:8px;}
.toc{display:flex; flex-wrap:wrap; gap:8px; margin:0 0 8px;}
.toc a{font-size:14px; padding:8px 12px; border:1px solid var(--border); border-radius:100px; text-decoration:none; color:var(--text-dim) !important; min-height:44px; display:inline-flex; align-items:center;}
.toc a:hover{color:var(--text) !important; border-color:var(--text-faint);}
/* Terms and Privacy: one collapsible section per heading (site.js). The
   headings are the list, so the chips above go; an open section keeps its
   heading at the top of the screen, under the site header. */
.doc.has-sections .toc{display:none;}
.doc .legal-sec{border-bottom:1px solid var(--border);}
.doc .legal-sec[hidden]{display:none;}
.doc .legal-sec > summary{list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:56px; margin:0 -22px; padding:6px 22px; background:var(--surface);}
@media (min-width:768px){ .doc .legal-sec > summary{margin:0 -48px; padding:6px 48px;} }
.doc .legal-sec > summary::-webkit-details-marker{display:none;}
.doc .legal-sec > summary h2{margin:0; font-size:18px;}
.doc .legal-sec > summary::after{content:""; flex:none; width:9px; height:9px; border-right:2px solid var(--text-faint); border-bottom:2px solid var(--text-faint); transform:rotate(45deg); margin:0 4px 4px 0; transition:transform .2s ease;}
.doc .legal-sec[open] > summary{position:sticky; top:var(--sec-top, 0px); z-index:2; border-bottom:1px solid var(--border);}
.doc .legal-sec[open] > summary::after{transform:rotate(-135deg); margin-bottom:-4px;}
.doc .legal-sec-body{padding:14px 0 18px;}

/* FAQ accordion */
.faq{display:grid; gap:10px; margin-top:12px;}
.faq details{background:var(--surface-2); border-radius:14px; border:1px solid transparent;}
.faq details[open]{border-color:var(--border);}
.faq summary{list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 18px; font-weight:600; color:var(--text); min-height:52px;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:""; width:10px; height:10px; border-right:2px solid var(--text-dim); border-bottom:2px solid var(--text-dim); transform:rotate(45deg); transition:transform .2s ease; flex-shrink:0; margin-top:-4px;}
.faq details[open] summary::after{transform:rotate(-135deg); margin-top:4px;}
.faq details > div{padding:0 18px 16px;}

/* contact form */
.form-card{max-width:600px; margin:0 auto; background:var(--surface); border:1px solid var(--border); border-radius:22px; padding:28px 22px; box-shadow:var(--shadow);}
@media (min-width:768px){ .form-card{padding:36px 40px;} }
.field{margin-top:20px;}
.field label, .field legend{display:block; font-weight:700; font-size:15px; margin-bottom:8px; padding:0;}
fieldset{border:none; margin:0; padding:0;}
fieldset legend{display:block; font-weight:700; font-size:15px; margin-bottom:10px; padding:0;}
.form-note{font-size:13px; color:var(--text-faint); margin-top:12px; line-height:1.5;}
.form-note a{color:var(--text-dim);}
.chips{display:flex; flex-wrap:wrap; gap:8px;}
.chips label{position:relative; margin:0; font-weight:600;}
.chips input{position:absolute; opacity:0; width:1px; height:1px;}
.chips span{display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border-radius:100px; border:1px solid var(--border); background:var(--bg); cursor:pointer; font-size:15px;}
.chips input:checked + span{background:var(--violet-dim); border-color:var(--violet); color:var(--text);}
.chips input:focus-visible + span{outline:2px solid var(--violet); outline-offset:2px;}
.input, textarea.input{width:100%; min-height:48px; padding:12px 14px; border-radius:12px; border:1px solid var(--border); background:var(--bg); color:var(--text); font:inherit; font-size:16px;}
textarea.input{min-height:150px; resize:vertical;}
.input:focus{outline:none; border-color:var(--violet); box-shadow:0 0 0 3px var(--violet-dim);}
.input[aria-invalid="true"]{border-color:var(--coral);}
.hint{display:flex; justify-content:space-between; gap:12px; font-size:13px; color:var(--text-faint); margin-top:6px;}
.error-text{color:var(--coral); font-size:14px; margin-top:6px;}
.form-actions{margin-top:24px;}
.form-actions .btn{width:100%;}
.form-status{margin-top:16px; padding:14px 16px; border-radius:12px; font-size:15px;}
.form-status.ok{background:#4ade9c1f; color:var(--text); border:1px solid #4ade9c55;}
.form-status.bad{background:#f970661f; color:var(--text); border:1px solid #f9706655;}
.honey{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}


/* =====================================================================
   v2: new logo, light/dark screenshots, motion, interactive feature tour
   ===================================================================== */
/* ---- logo (approved Subz Tracker logo; one file per theme) ---- */
.brand img{width:96px; height:auto; border-radius:0;}
@media (min-width:768px){ .brand img{width:110px;} }
/* The header logo sits beside 15px menu items: about two lines of them. */
.site-header .brand img{width:78px;}
@media (min-width:768px){ .site-header .brand img{width:86px;} }
.brand .logo-dark{display:none;}
:root[data-theme="dark"] .brand .logo-dark{display:block;} :root[data-theme="dark"] .brand .logo-light{display:none;}
/* ---- app screenshots: light ones in light mode, dark ones in dark mode ---- */
.shot-dark{display:none !important;}
:root[data-theme="dark"] .shot-dark{display:block !important;} :root[data-theme="dark"] .shot-light{display:none !important;}

/* ---- motion helpers ---- */
.btn{transition:transform .15s ease, filter .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;}
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:translateY(0) scale(.97);}
.nav-links a, .footer-grid li a, .trust-item a, .doc a{transition:color .15s ease, background-color .15s ease;}
.js .reveal{transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);}
.js .reveal-2{transition-delay:.12s;} .js .reveal-3{transition-delay:.24s;}

/* ---- hero: floating cards drift gently after they fade in ---- */
@keyframes driftA{0%,100%{transform:translate(0,0)} 50%{transform:translate(6px,-10px)}}
@keyframes driftB{0%,100%{transform:translate(0,0)} 50%{transform:translate(-8px,8px)}}
.js .is-visible .float-a{animation:driftA 6s ease-in-out 1.2s infinite;}
.js .is-visible .float-b{animation:driftB 7s ease-in-out 1.8s infinite;}
.hero .phone{animation:none;}

/* ---- feature tour ---- */
.tour{display:grid; gap:28px; align-items:center;}
@media (min-width:700px){ .tour{grid-template-columns:380px 1fr; gap:48px;} }
.tab-list{display:grid; grid-template-columns:1fr 1fr; gap:8px; overflow:visible; margin:0; padding:0;}
.tab-list .tab-btn:last-child{grid-column:1 / -1;}
@media (min-width:700px){ .tab-list{display:flex; flex-direction:column;} }
.tab-btn{position:relative; overflow:hidden; align-items:center; padding:12px; border:1px solid var(--border); background:var(--surface); min-width:0;}
.tab-btn b{white-space:normal; font-size:15px; line-height:1.3;}
.tab-btn .ic{width:36px; height:36px;}
@media (min-width:700px){ .tab-btn{padding:14px 16px; align-items:flex-start; border-color:transparent; background:transparent;} .tab-btn b{font-size:16px;} .tab-btn .ic{width:40px; height:40px;} }
.tab-btn:hover{border-color:var(--text-faint);}
.tab-btn[aria-selected="true"]{background:var(--surface); border-color:var(--violet); box-shadow:var(--shadow-sm);}
@media (min-width:700px){ .tab-btn[aria-selected="true"]{border-color:var(--border); box-shadow:var(--shadow);} }
.tab-btn .prog{position:absolute; left:0; bottom:0; height:3px; width:100%; transform-origin:left; transform:scaleX(0); background:linear-gradient(90deg,var(--violet),#a685ff); opacity:0;}
.tour.autoplay .tab-btn[aria-selected="true"] .prog{opacity:1; animation:prog var(--dur,7s) linear forwards;}
.tour.paused .tab-btn[aria-selected="true"] .prog{animation-play-state:paused;}
@keyframes prog{to{transform:scaleX(1)}}
.tour-desc{margin:4px 2px 0; color:var(--text-dim); font-size:15px; min-height:46px;}
@media (min-width:700px){ .tour-desc{display:none;} }
.tab-panels{min-height:0;}
@media (min-width:1100px){ .tab-panels{min-height:800px;} .tour{align-items:start;} .tab-list{margin-top:120px;} }
.tab-panel{gap:0;}
.tab-panel.active{animation:panelIn .5s cubic-bezier(.2,.7,.2,1);}
.panel-caption{display:none !important;}

/* bigger device frame so the screen is readable */
.phone.big{width:min(340px, 86vw); padding:11px; border-radius:46px;}
@media (min-width:1100px){ .phone.big{width:360px;} }
.phone.big .screen{position:relative; overflow:hidden; border-radius:36px; aspect-ratio:390/720; background:var(--bg); color:var(--text); font-size:13.5px; line-height:1.35;}
.phone.big .screen::before{content:""; position:absolute; top:9px; left:50%; width:84px; height:22px; margin-left:-42px; border-radius:20px; background:#000; z-index:20;}

/* ---- mock app screens (styled like the real app; follow the site theme) ---- */
.m-app{padding:44px 14px 14px; font-family:'Inter',sans-serif;}
.m-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:12px;}
.m-top b{font-family:'Space Grotesk',sans-serif; font-size:22px;}
.m-pill{font-size:12px; font-weight:700; color:#fff; background:linear-gradient(135deg,var(--brand),#5a4fd6); border-radius:100px; padding:6px 12px;}
.m-sub{color:var(--text-dim); font-size:12.5px; margin:-6px 0 10px;}
.m-list{display:grid; gap:8px;}
.m-card{display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:10px; transition:transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s ease, box-shadow .4s ease, border-color .4s ease;}
.m-card b{display:block; font-size:13.5px;}
.m-card small{display:block; color:var(--text-dim); font-size:11.5px; margin-top:1px;}
.m-card em{margin-left:auto; font-style:normal; font-weight:700; font-family:'Space Grotesk',sans-serif; font-size:13.5px; text-align:right;}
.m-card em small{font-weight:500; font-family:'Inter',sans-serif;}
.m-ic{width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#fff; font-weight:800; font-family:'Space Grotesk',sans-serif; background:var(--c,#7158F8);}
.m-badge{display:inline-block; font-size:10.5px; font-weight:700; padding:1px 6px; border-radius:100px; background:var(--violet-dim); color:var(--violet-strong); margin-left:4px;}
:root[data-theme="dark"] .m-badge{color:#c3bcfa;}
.m-badge.soon{background:#f9706622; color:var(--coral);}
.m-new{transform:translateY(-14px); opacity:0; max-height:0; padding-top:0; padding-bottom:0; border-width:0; overflow:hidden; transition:transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s ease, max-height .45s ease, padding .45s ease, box-shadow .6s ease;}
.s-saved .m-new{transform:none; opacity:1; max-height:70px; padding-top:10px; padding-bottom:10px; border-width:1px; box-shadow:0 0 0 2px var(--violet), var(--shadow-sm);}
.s-done .m-new{box-shadow:none;}
.m-scrim{position:absolute; inset:0; background:#0000004d; opacity:0; transition:opacity .35s ease; pointer-events:none; z-index:5;}
.m-sheet{position:absolute; left:0; right:0; bottom:0; z-index:6; background:var(--surface); border-radius:22px 22px 0 0; padding:10px 14px 18px; transform:translateY(105%); transition:transform .45s cubic-bezier(.2,.8,.2,1); box-shadow:0 -10px 30px #0000002e;}
.m-sheet::before{content:""; display:block; width:34px; height:4px; border-radius:4px; background:var(--border); margin:0 auto 10px;}
.m-sheet h4{margin:0 0 10px; text-align:center; font-family:'Space Grotesk',sans-serif; font-size:15px;}
.m-choice{display:flex; align-items:center; gap:10px; border:1px solid var(--border); border-radius:12px; padding:10px; margin-top:8px; font-weight:600; font-size:13px; transition:border-color .2s ease, background-color .2s ease;}
.m-choice .m-ic{width:30px; height:30px; background:var(--violet-dim); color:var(--violet-strong);}
:root[data-theme="dark"] .m-choice .m-ic{color:#c3bcfa;}
.m-choice .m-ic svg{width:16px; height:16px;}
.m-choice.hit{border-color:var(--violet); background:var(--violet-dim);}
.m-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:4px;}
.m-grid div{display:flex; flex-direction:column; align-items:center; gap:4px; font-size:10.5px; color:var(--text-dim); border-radius:10px; padding:4px 0; transition:background-color .2s ease;}
.m-grid div.hit{background:var(--violet-dim);}
.m-grid .m-ic{width:38px; height:38px; border-radius:11px;}
.m-field{display:flex; justify-content:space-between; align-items:center; gap:10px; padding:9px 10px; border-bottom:1px solid var(--border); font-size:12.5px; color:var(--text-dim);}
.m-field:last-of-type{border-bottom:none;}
.m-field span:last-child{color:var(--text); font-weight:600; min-height:1em; text-align:right;}
.m-field .acc{color:var(--violet-strong) !important;}
:root[data-theme="dark"] .m-field .acc{color:#c3bcfa !important;}
.m-group{background:var(--surface-2); border-radius:12px; margin-bottom:8px;}
.m-field.fill span:last-child{animation:fillFlash 1s ease;}
@keyframes fillFlash{0%{background:var(--violet-dim); border-radius:6px} 100%{background:transparent}}
.m-caret::after{content:""; display:inline-block; width:1.5px; height:1em; margin-left:1px; vertical-align:-2px; background:var(--violet); animation:blink 1s step-end infinite;}
@keyframes blink{50%{opacity:0}}
.m-save{display:block; text-align:center; width:100%; margin-top:10px; border:none; border-radius:12px; padding:11px; font:inherit; font-weight:700; color:#fff; background:linear-gradient(135deg,var(--brand),#5a4fd6); transition:transform .15s ease, filter .15s ease;}
.m-save.hit{transform:scale(.96); filter:brightness(1.1);}
.s-choice .m-scrim, .s-catalog .m-scrim, .s-form .m-scrim, .s-receipt .m-scrim{opacity:1;}
.s-choice .m-sheet.choice, .s-catalog .m-sheet.catalog, .s-form .m-sheet.form{transform:none;}
.m-toast{position:absolute; left:50%; bottom:22px; transform:translate(-50%,20px); opacity:0; background:#2b2b35; color:#f7f7fa; font-size:12px; font-weight:600; border-radius:100px; padding:8px 14px; white-space:nowrap; transition:opacity .3s ease, transform .3s ease; z-index:8;}
.s-saved .m-toast{opacity:1; transform:translate(-50%,0);}
.s-done .m-toast{opacity:0;}
.m-tap{position:absolute; width:34px; height:34px; margin:-17px 0 0 -17px; border-radius:50%; background:#7158f84d; border:2px solid #7158F8; z-index:15; opacity:0; transform:scale(.4); pointer-events:none;}
.m-tap.go{animation:tap .6s ease-out;}
@keyframes tap{0%{opacity:0; transform:scale(.4)} 30%{opacity:1; transform:scale(1)} 100%{opacity:0; transform:scale(1.5)}}
/* reminders */
.m-switch{width:38px; height:22px; border-radius:100px; background:var(--border); position:relative; transition:background-color .3s ease; flex-shrink:0;}
.m-switch::after{content:""; position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:50%; background:#fff; transition:transform .3s ease; box-shadow:0 1px 3px #0003;}
.s-on .m-switch{background:var(--brand);} .s-on .m-switch::after{transform:translateX(16px);}
.m-rows{max-height:0; overflow:hidden; transition:max-height .5s ease;}
.s-on .m-rows{max-height:200px;}
.m-note{color:var(--text-faint); font-size:11.5px; padding:8px 10px 10px;}
.m-notif{position:absolute; left:10px; right:10px; z-index:9; display:flex; gap:10px; align-items:flex-start; background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:10px 12px; box-shadow:var(--shadow); transform:translateY(-130%); opacity:0; transition:transform .55s cubic-bezier(.2,.9,.25,1.1), opacity .3s ease;}
.m-notif .m-ic{width:32px; height:32px; border-radius:9px;}
.m-notif small{display:block; color:var(--text-dim); font-size:11px;}
.m-notif b{display:block; font-size:13px;}
.m-notif > div > span{display:block; font-size:12px; color:var(--text-dim);}
.m-notif.one{top:40px;} .m-notif.two{top:118px;}
.s-n1 .m-notif.one, .s-n2 .m-notif.two{transform:none; opacity:1;}
/* analytics */
.m-seg{display:inline-flex; background:var(--surface-2); border:1px solid var(--border); border-radius:100px; padding:3px; margin-bottom:10px;}
.m-seg span{font-size:12px; font-weight:600; padding:5px 12px; border-radius:100px; color:var(--text-dim);}
.m-seg span:first-child{background:var(--brand); color:#fff;}
.m-stat{background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:10px 12px; margin-bottom:10px;}
.m-stat b{display:block; font-family:'Space Grotesk',sans-serif; font-size:22px;}
.m-stat small{color:var(--text-dim); font-size:11.5px;}
.m-chart{background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:12px 10px 8px; margin-bottom:10px;}
.m-chart h5{margin:0 0 10px; font-size:11px; letter-spacing:.04em; text-transform:uppercase; color:var(--text-dim);}
.m-bars{display:flex; align-items:flex-end; gap:5px; height:120px;}
.m-bars div{flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; gap:5px;}
.m-bars i{display:block; width:100%; height:6%; border-radius:5px 5px 2px 2px; background:linear-gradient(180deg,var(--brand),#5a4fd6); transition:height .7s cubic-bezier(.2,.8,.2,1), outline-color .2s ease; outline:2px solid transparent; outline-offset:1px;}
.m-bars span{font-size:9px; color:var(--text-faint);}
.m-bars div.sel i{outline-color:var(--text);}
.m-cats div{display:flex; align-items:center; gap:8px; font-size:12px; padding:5px 2px;}
.m-cats i{display:block; height:6px; border-radius:6px; background:var(--c); width:0; transition:width .8s cubic-bezier(.2,.8,.2,1);}
.m-cats em{margin-left:auto; font-style:normal; font-weight:700;}
.m-cats .lbl{width:92px; flex-shrink:0;}
.m-cats em{min-width:72px; text-align:right;}
.m-cats .bar{flex:1; display:block; height:6px; border-radius:6px; background:var(--surface-2); overflow:hidden;}
/* receipt scan */
.m-receipt{position:absolute; left:28px; right:28px; top:70px; z-index:7; background:#fffef9; color:#2a2a2a; border-radius:6px; padding:16px 16px 22px; font-family:ui-monospace,Menlo,monospace; font-size:11.5px; line-height:1.6; box-shadow:0 14px 40px #0006; transform:translateY(30px) scale(.96); opacity:0; transition:transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s ease; overflow:hidden;
  -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) bottom/14px 8px repeat-x;}
.m-receipt b{font-size:14px; letter-spacing:.08em;}
.m-receipt .row{display:flex; justify-content:space-between;}
.m-receipt hr{border:none; border-top:1px dashed #bbb; margin:8px 0;}
.m-receipt .hl{border-radius:3px; transition:background-color .3s ease;}
.m-receipt .hl.on{background:#7158f833;}
.m-scan{position:absolute; left:0; right:0; top:0; height:3px; background:linear-gradient(90deg,transparent,#7158F8,transparent); box-shadow:0 0 14px 4px #7158f866; opacity:0;}
.s-receipt .m-receipt{transform:none; opacity:1;}
.s-scanning .m-scan{opacity:1; animation:scanline 1.6s ease-in-out 2;}
@keyframes scanline{0%{top:0} 50%{top:calc(100% - 3px)} 100%{top:0}}
.m-reading{position:absolute; left:0; right:0; top:300px; z-index:7; text-align:center; color:#fff; font-size:12.5px; font-weight:600; opacity:0; transition:opacity .3s ease;}
.s-scanning .m-reading{opacity:1;}
.s-form .m-receipt{transform:translateY(-40px) scale(.9); opacity:0;}
.m-found{font-size:11.5px; color:var(--mint); font-weight:700; margin:0 0 8px; text-align:center;}
/* desktop + phone */
.duo{position:relative; width:100%; max-width:680px; padding-bottom:30px;}
.duo .laptop{transition:transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s ease, filter .6s ease;}
.duo .phone{position:absolute; right:0; bottom:0; width:150px; border-radius:26px; padding:6px; transition:transform .6s cubic-bezier(.2,.8,.2,1), filter .6s ease;}
.duo .phone img{border-radius:21px;}
@media (min-width:768px){ .duo .phone{width:180px; right:-10px;} }
.duo.s-phone .laptop{transform:scale(.96); filter:saturate(.6) brightness(.92);}
.duo.s-phone .phone{transform:translate(-12px,-16px) scale(1.12);}
.duo-label{position:absolute; left:12px; top:-14px; z-index:3; display:flex; gap:6px;}
.duo-label span{font-size:12px; font-weight:700; padding:5px 10px; border-radius:100px; background:var(--surface); border:1px solid var(--border); color:var(--text-dim); transition:all .3s ease;}
.duo:not(.s-phone) .duo-label span:first-child, .duo.s-phone .duo-label span:last-child{background:var(--brand); color:#fff; border-color:transparent;}

/* ---- four steps: 2 per row on phones and tablets ---- */
.steps{grid-template-columns:1fr 1fr; gap:12px;}
@media (max-width:420px){ .step{padding:16px;} .step h3{font-size:16px;} .step p{font-size:14px;} .step .num{width:30px; height:30px; margin-bottom:12px;} }
@media (min-width:1024px){ .steps{grid-template-columns:repeat(4,1fr); gap:16px;} }

/* ---- take it with you ---- */
.apps-grid{gap:44px;}
@media (min-width:1100px){ .apps-grid{grid-template-columns:1fr 1.05fr; gap:56px;} }
.get-cards{display:grid; gap:12px; margin-top:26px;}
@media (min-width:640px){ .get-cards{grid-template-columns:1fr 1fr;} .get-card.wide{grid-column:1 / -1;} }
.get-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:18px; display:flex; flex-direction:column; gap:8px; transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;}
.get-card:hover{transform:translateY(-2px); border-color:var(--text-faint); box-shadow:var(--shadow-sm);}
.get-card .head{display:flex; align-items:center; gap:10px;}
.get-card .gi{width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; background:var(--surface-2); flex-shrink:0;}
.get-card .gi svg{width:20px; height:20px;}
.get-card h3{font-size:17px;}
.get-card p{color:var(--text-dim); font-size:14.5px;}
.get-card .btn{align-self:flex-start; margin-top:4px;}
.chip-soon{display:inline-flex; align-items:center; gap:6px; align-self:flex-start; font-size:12.5px; font-weight:700; padding:5px 10px; border-radius:100px; background:#f5b9422e; color:var(--text);}
.chip-soon::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--amber);}
.install-row{display:grid; gap:10px; margin-top:4px;}
@media (min-width:640px){ .install-row{grid-template-columns:1fr 1fr;} }
.install-step{display:flex; gap:10px; align-items:flex-start; background:var(--surface-2); border-radius:12px; padding:12px;}
.install-step .gi{width:32px; height:32px; background:var(--surface);}
.install-step b{display:block; font-size:14px;}
.install-step span{color:var(--text-dim); font-size:13.5px;}
/* The iPhone's own symbols inside the steps, in its colours (same in light and dark). */
.ios-ico{display:inline-block; vertical-align:-3px; width:17px; height:17px; margin:0 1px;}
.ios-ico svg{display:block; width:100%; height:100%;}
.ios-ico.ios-switch{width:26px; height:15px; vertical-align:-2px;}
.combo{position:relative; padding:10px 20px 40px 0;}
.combo .laptop{transform:perspective(1400px) rotateY(-6deg); transform-origin:left center; transition:transform .6s ease;}
.combo:hover .laptop{transform:perspective(1400px) rotateY(-2deg);}
.combo .phone{position:absolute; right:-4px; bottom:0; width:38%; max-width:190px; border-radius:28px; padding:7px;}
.combo .phone img{border-radius:22px;}
.store-row, .install-steps, .checks{display:none;}

/* ---- mobile menu: an overlay over the page ---- */
.menu-scrim{position:fixed; inset:68px 0 0 0; background:#0b0b1466; backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px); opacity:0; pointer-events:none; transition:opacity .25s ease; z-index:48;}
.mobile-menu{display:block; position:fixed; top:68px; left:0; right:0; z-index:49; max-height:calc(100vh - 68px); overflow-y:auto; background:var(--bg); border-bottom:1px solid var(--border); box-shadow:var(--shadow); padding:8px 20px 22px; transform:translateY(-8px); opacity:0; visibility:hidden; transition:transform .25s ease, opacity .25s ease, visibility .25s;}
.mobile-menu.open{transform:none; opacity:1; visibility:visible;}
body.menu-open .menu-scrim{opacity:1; pointer-events:auto;}
body.menu-open{overflow:hidden;}
.nav-toggle .x{display:none;}
.nav-toggle[aria-expanded="true"] .x{display:block;} .nav-toggle[aria-expanded="true"] .bars{display:none;}
@media (min-width:960px){ .mobile-menu, .mobile-menu.open, .menu-scrim{display:none !important;} }

/* =====================================================================
   v3: white device frames in light mode, frameless tour cards,
   translucent menu, pricing
   ===================================================================== */
/* ---- device frames: white in light mode, dark in dark mode ---- */
.phone, .laptop{background:#ffffff; box-shadow:0 24px 60px #1f1a4a26, inset 0 0 0 1px #e3e3ea;}
:root[data-theme="dark"] .phone, :root[data-theme="dark"] .laptop{background:linear-gradient(160deg,#2a2a33,#121216); box-shadow:var(--shadow), inset 0 0 0 1px #ffffff14;}
.phone img, .laptop img{box-shadow:0 0 0 1px #00000010;}

/* ---- feature tour: the app UI as frameless floating cards ---- */
.phone.big{background:none !important; box-shadow:none !important; padding:0; border-radius:0; width:min(380px, 92vw);}
@media (min-width:1100px){ .phone.big{width:390px;} }
.phone.big .screen{border-radius:26px; aspect-ratio:390/700; border:1px solid var(--border); box-shadow:0 30px 70px #1f1a4a24, 0 4px 14px #1f1a4a12; background:var(--bg);}
:root[data-theme="dark"] .phone.big .screen{box-shadow:0 30px 70px #00000080;}
.phone.big .screen::before{display:none;}
.m-app{padding-top:18px;}
.m-notif.one{top:14px;} .m-notif.two{top:92px;}
@keyframes cardFloat{0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)}}
.js .tab-panel.active .phone.big{animation:cardFloat 7s ease-in-out infinite;}
.duo .laptop{border-radius:16px;}

/* ---- phone menu: over the page, translucent with blur ---- */
.mobile-menu{background:color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter:blur(20px) saturate(1.5); -webkit-backdrop-filter:blur(20px) saturate(1.5); border-bottom:1px solid color-mix(in srgb, var(--border) 70%, transparent);}
.menu-scrim{background:#0b0b1426; backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);}

/* ---- pricing ---- */
/* Randa's approved sketch (19 Nov 2026), in the app's own colours and
   fonts. Every card: name, a big price, one short line, then two small
   limit boxes side by side. Plus stands out: "Most popular", accent
   border, soft accent tint, soft shadow; its limit boxes are white with a
   light accent border so they stay visible on the tint. What every plan
   has is one dashed "Every plan includes" box under the cards. Phones:
   stacked. Computers: three side by side, Plus in the middle and a little
   raised, the box full width under them. */
.pricing .section-head .eyebrow{margin-bottom:14px;}
.price-period{display:flex; gap:4px; width:fit-content; max-width:100%; margin:0 auto 22px; padding:4px; border-radius:100px; background:var(--surface-2); border:1px solid var(--border);}
.price-period[hidden]{display:none;}
.price-period button{display:inline-flex; align-items:center; justify-content:center; gap:8px; flex:0 0 auto; min-height:40px; padding:0 18px; border:none; border-radius:100px; background:none; color:var(--text-dim); font-family:inherit; font-size:15px; font-weight:600; white-space:nowrap; cursor:pointer;}
/* The "2 months free" tag sits with the same room above, below and to its
   right inside the chosen pill: (40px - its 20px height) / 2 = 10px. */
.price-period button[data-period="year"]{padding-right:10px;}
.price-period button[aria-checked="true"]{background:var(--surface); color:var(--text); box-shadow:0 1px 4px #0000002e;}
:root[data-theme="dark"] .price-period button[aria-checked="true"]{background:#37315a; color:#fff; box-shadow:inset 0 0 0 1px #8b7cf566;}
.price-period button:focus-visible{outline:2px solid var(--violet); outline-offset:2px;}
.pt-tag{display:inline-flex; align-items:center; height:20px; font-size:11px; font-weight:700; line-height:1; color:#0b6b43; background:#d9f7e7; border-radius:100px; padding:0 8px; white-space:nowrap;}
:root[data-theme="dark"] .pt-tag{color:#4ade9c; background:#4ade9c1f;}
/* When "Yearly" and its tag do not fit on one line inside the pill (very
   large text, a very narrow screen), the script moves the tag UNDER the
   switch as a small centred tag (Randa, 19 Nov 2026). It never wraps,
   squeezes or spills out. The tag inside stays for screen readers. */
.price-period-tag{display:flex; justify-content:center; margin:-14px 0 22px;}
.price-period-tag[hidden]{display:none;}
.price-period.tag-below button[data-period="year"]{padding-right:18px;}
.price-period.stacked{flex-direction:column; width:100%; border-radius:22px;}
.price-period.stacked button{width:100%;}
.price-period.tag-below .pt-tag{position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;}
.price-grid{display:grid; gap:20px; max-width:1100px; margin:0 auto; align-items:stretch;}
@media (min-width:700px){ .price-grid{grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; padding-top:14px;} }
.price-card{position:relative; container-type:inline-size; display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:24px 20px; color:var(--text);}
@media (min-width:900px){ .price-card{padding:30px 28px;} }
.price-card.popular{background:color-mix(in srgb, var(--violet) 7%, var(--surface)); border:1.5px solid var(--violet); box-shadow:0 14px 36px color-mix(in srgb, var(--violet) 18%, transparent);}
/* "Most popular" sits ON Plus's top border, half outside the card, on
   phones and computers alike (Randa, 19 Nov 2026). Plus is not raised:
   all three cards share the same top, bottom and height; Plus stands out
   by its border, tint and shadow only. */
.price-card.popular .pc-popular{position:absolute; top:0; left:20px; margin:0; transform:translateY(-50%); box-shadow:0 2px 8px color-mix(in srgb, var(--violet) 35%, transparent);}
.price-card.popular{margin-top:12px;}
@media (min-width:700px){
  .price-card.popular{margin-top:0;}
  .price-card.popular .pc-popular{left:28px;}
  /* Side by side the limit boxes sit along the bottom of every card, so a
     line that wraps in one card never breaks the row of boxes. */
  .price-card .pc-limits{margin-top:auto;}
}
.pc-popular{white-space:nowrap; font-size:12px; font-weight:700; padding:4px 10px; border-radius:100px; background:var(--violet); color:#fff;}
.price-card h3{margin:0; font-size:19px;}
.pc-price{margin:14px 0 0; font-family:'Space Grotesk',sans-serif; font-size:40px; font-weight:700; line-height:1.1;}
/* The amount never breaks: "EGP 1,965" stays on one line. */
.pc-price > span{white-space:nowrap;}
.pc-price small{font-family:'Inter',sans-serif; font-size:15px; font-weight:500; color:var(--text-dim);}
.pc-billed{font-size:13.5px; line-height:1.3; color:var(--text-dim); margin:6px 0 0;}
/* Free has no USD amount; in the local-currency view it says "No card
   needed" in the same place, so its boxes sit as far from the price as in
   Plus and Pro and all three cards look the same (Randa, 18 Nov 2026). */
.pc-billed[hidden]{display:none;}
.pc-head{margin-bottom:28px;}
.pc-limits{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
@media (min-width:700px){ .pc-limits{gap:12px;} }
.pc-limit{background:var(--surface-2); border:1px solid transparent; border-radius:var(--radius-sm); padding:12px; min-width:0;}
.price-card.popular .pc-limit{background:var(--surface); border-color:color-mix(in srgb, var(--violet) 30%, transparent);}
.pc-limit b{display:block; font-family:'Space Grotesk',sans-serif; font-size:19px; font-weight:700; line-height:1.2; overflow-wrap:anywhere;}
.pc-limit > span{display:block; font-size:13.5px; color:var(--text-dim); line-height:1.3; white-space:nowrap;}
/* A card too narrow for two boxes side by side (small laptops, very large
   text) stacks them, the same way in all three cards (they are always the
   same width), so "AI scans / month" never breaks mid-label. */
@container (max-width:276px){ .pc-limits{grid-template-columns:1fr;} }
/* Only when even one stacked box is too narrow for "AI scans / month" (the
   largest text on a small phone): the shorter "AI scans / mo". Screen
   readers always hear the full words. */
.pc-limit .lbl-short{display:none;}
@container (max-width:128px){ .pc-limit .lbl-short{display:inline;} .pc-limit .lbl-long{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;} }
.pc-get{align-self:flex-start; margin-top:12px; font-weight:700; font-size:14px; color:var(--violet-strong); text-decoration:none;}
.pc-get[hidden]{display:none;}
.pc-get:hover{filter:brightness(1.15);}
.price-includes{max-width:1100px; margin:20px auto 0; padding:20px 22px; border:1.5px dashed var(--border); border-radius:var(--radius); background:var(--surface);}
:root[data-theme="dark"] .price-includes{border-color:#3a3a46;}
@media (min-width:700px){ .price-includes{margin-top:26px; padding:26px 28px;} .price-includes ul{grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px;} }
.price-includes h3{margin:0 0 8px; font-size:16px;}
.price-includes ul{list-style:none; padding:0; margin:0; display:grid; gap:6px;}
.price-includes li{display:flex; gap:8px; align-items:flex-start; font-size:15px; line-height:1.4;}
.price-includes li svg{width:16px; height:16px; flex-shrink:0; margin-top:3px; color:var(--violet);}
.price-soon{text-align:center; color:var(--text-dim); font-size:15px; margin:18px 0 0;}
.price-soon[hidden]{display:none;}
.price-actions{display:flex; justify-content:center; margin-top:14px;}
.price-actions .btn{min-width:200px;}
.price-local{text-align:center; color:var(--text-dim); font-size:13px; margin:14px auto 0; max-width:520px;}
.price-local[hidden]{display:none;}
.price-local a{color:var(--violet); font-weight:600; text-decoration:none;}
.price-local a:hover{filter:brightness(1.15);}
.price-note{text-align:center; color:var(--text-faint); font-size:13px; margin-top:12px;}
/* Very large text or a very narrow screen: a little less room in the
   switch, the button takes the width, a smaller heading and price. */
@media (max-width:330px){
  .price-period button, .price-period button[data-period="year"], .price-period.tag-below button[data-period="year"]{padding:0 8px; font-size:13.5px;}
  .price-card{padding:20px 14px;}
  .pc-limit{padding:8px;}
  .pc-limit > span{font-size:12.5px;}
  .price-actions .btn{min-width:0; width:100%; white-space:normal;}
  .pricing .section-head h2{font-size:24px;}
  .pc-price{font-size:32px;}
  .pc-price .cur{font-size:.6em;}
}

/* ---- Hero: on phones and tablets everything is centred, the mockup under the text (desktop unchanged) ---- */
@media (max-width:959px){
  .hero-grid > .reveal:first-child{text-align:center;}
  .hero .lead{margin-left:auto; margin-right:auto;}
  .hero-ctas{justify-content:center;}
  .hero-visual{justify-content:center;}
}

/* ---- Hero mockup: a live drawing of the My Subz screen (dates from today, see site.js) ---- */
.hero-app{position:relative; overflow:hidden; border-radius:33px; aspect-ratio:390/844; background:var(--bg); color:var(--text); font-size:11px; line-height:1.3; padding:40px 12px 0;}
.hero-app .m-top b{font-size:17px;}
.hero-app .m-pill{font-size:10px; padding:5px 10px;}
.hero-app .m-sub{font-size:10.5px; margin:-4px 0 8px;}
.h-chart{background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:9px 10px; margin-bottom:8px;}
.h-row{display:flex; justify-content:space-between; font-size:9px; font-weight:700; letter-spacing:.04em; color:var(--text-dim);}
.h-row.small{font-weight:500; letter-spacing:0; color:var(--text-faint); font-size:8.5px;}
.h-bars{display:flex; align-items:flex-end; gap:2px; height:44px; margin:8px 0 5px;}
.h-bars i{flex:1; height:12%; border-radius:2px; background:var(--surface-2);}
.h-bars i.hi{height:100%; background:var(--brand, #7158F8);}
.h-bars i.now{background:var(--text-faint);}
.h-stats{display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-bottom:8px;}
.h-stats > div{background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:8px 10px;}
.h-stats b{display:block; font-size:16px; font-family:'Space Grotesk',sans-serif;}
.h-stats small{font-size:9px; color:var(--text-dim);}
.hero-app .m-list{gap:6px;}
.hero-app .m-card{padding:8px; border-radius:12px; gap:8px;}
.hero-app .m-card b{font-size:11.5px;}
.hero-app .m-card small{font-size:9.5px; color:var(--text-dim);}
.hero-app .m-card em{margin-left:auto; font-style:normal; font-weight:700; font-size:11px; text-align:right;}
.hero-app .m-card em small{display:block; font-weight:500;}
.hero-app .m-ic{width:30px; height:30px; border-radius:9px; font-size:13px;}
.hero-app .m-badge{font-size:8.5px;}
.hero-app .m-badge.off{background:var(--surface-2); color:var(--text-dim); margin-left:0;}
.hero-app .meth{color:var(--text-faint);}
.h-tabs{position:absolute; left:0; right:0; bottom:0; display:flex; justify-content:space-around; padding:10px 0 14px; background:var(--surface); border-top:1px solid var(--border); font-size:9.5px; font-weight:600; color:var(--text-faint);}
.h-tabs .on{color:var(--violet-strong);}
/* The list fills the space above the tab bar and never runs under it; on phones the payment method is left out so each card stays on one line. */
.hero-app{display:flex; flex-direction:column; padding-bottom:42px;}
.hero-app .m-list{flex:1; min-height:0; overflow:hidden; align-content:start;}
@media (max-width:699px){ .hero-app .meth{display:none;} }
@media (max-width:699px){ .hero-app .m-card:nth-child(n+5){display:none;} }
/* On phones the floating cards would cover the app inside the mockup, so they are left out there. */
@media (max-width:699px){ .hero .float-card{display:none !important;} .hero-visual{min-height:0;} }

/* ---- Fixes, 18 Nov 2026 (Randa) ---- */
/* Tablet and small laptops (up to 1099px): the feature tour and "Take it
   with you" use the stacked layout (buttons in two columns, the mockup
   under them; text and cards on top, the devices underneath), so nothing
   is squeezed into a narrow column or pushed off the right edge. From
   1100px they sit side by side as before. */
@media (max-width:1099px){ .combo{max-width:680px; margin:0 auto; width:100%;} .apps-grid > div > p{max-width:640px;} }

/* Hero from 700px (tablets and small laptops too): the floating cards overlap
   the phone exactly as on desktop (Randa, 18 Nov 2026): each covers the
   phone's outer 132px (44% of its 300px width) and sticks out 108px.
   The Netflix card sits on the top left corner, ending just above
   "My Subz"; the total sits on the right edge, 70px above the bottom.
   The heights come from the desktop rules; only the sides are set here,
   from the centre (the phone is centred): each card's inner edge sits
   132px inside the phone. Where there is less room on the right (small
   laptops, 960-1099px) the total card is a little narrower, so it never
   reaches the screen edge. */
@media (min-width:700px){
  .hero .phone{width:300px;}
  .float-a{left:calc(50% - 258px); right:auto;}
  .float-b{left:calc(50% + 18px); right:auto; width:max-content; max-width:min(240px, calc(50% - 2px));}
}

/* "See it before you try it" from 700px: the desktop layout, the feature
   list (icon, title, short line) on the left, the mockup on the right.
   Between 700 and 1099px both columns share the width and the mockup
   scales to its column (never wider than on desktop). */
@media (min-width:700px) and (max-width:1099px){
  .tour{grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; align-items:center;}
  .tab-panels{container-type:inline-size;}
  .tab-panels .phone.big{--pw:min(390px, 100cqw);}
  .duo .phone{width:38%; right:0;}
}

/* Pricing from 700px: the three cards in one row, as on desktop. Between
   700 and 899px a little less padding; the price shrinks to fit its card
   if it must (site.js), it never wraps. */
@media (min-width:700px) and (max-width:899px){
  .price-grid{gap:16px;}
  .price-card{padding:24px 16px;}
  .price-card.popular .pc-popular{left:16px;}
}
.pc-price{white-space:nowrap;}

/* Reminders mockup: the two messages have their own room under the
   settings, so they never cover the switch or any row. The icon tiles
   keep their symbol or letter centred. */
.m-notif .m-ic{display:flex;}
.m-notif .m-ic svg{width:16px; height:16px;}
.m-notif > div > span span{display:inline; font-size:inherit; color:inherit;}
.m-notif > div{min-width:0;}
[data-demo="reminders"]{display:flex; flex-direction:column;}
.m-notifs{margin-top:auto; display:flex; flex-direction:column; gap:8px; padding-top:12px;}
.m-notifs .m-notif{position:relative; top:auto; left:auto; right:auto; transform:translateY(14px); opacity:0;}
.m-notifs .m-notif.one, .m-notifs .m-notif.two{top:auto;}
.s-n1 .m-notifs .m-notif.one, .s-n2 .m-notifs .m-notif.two{transform:none; opacity:1;}

/* Monthly | Yearly: one white pill that slides to the chosen side with a
   short, soft bounce (site.js places it). Reduce Motion: no movement. */
.price-period{position:relative;}
.price-period button{position:relative; z-index:1;}
.pp-thumb{position:absolute; top:0; left:0; border-radius:100px; background:var(--surface); box-shadow:0 1px 4px #0000002e; pointer-events:none; transition:transform .42s cubic-bezier(.34,1.45,.64,1), width .3s ease, height .3s ease;}
.pp-thumb.no-anim{transition:none;}
:root[data-theme="dark"] .pp-thumb{background:#37315a; box-shadow:inset 0 0 0 1px #8b7cf566;}
.price-period.has-thumb button[aria-checked="true"], :root[data-theme] .price-period.has-thumb button[aria-checked="true"]{background:none; box-shadow:none;}
@media (prefers-reduced-motion: reduce){ .pp-thumb{transition:none;} }
/* The mockup screens keep their phone shape, but with very large text they
   grow taller to fit what is inside instead of cutting the bottom off. */
.phone.big{--pw:min(380px, 92vw, calc(100vw - 24px)); width:var(--pw);}
@media (min-width:1100px){ .phone.big{--pw:390px;} }
.phone.big .screen{aspect-ratio:auto; min-height:calc(var(--pw) * 700 / 390);}
/* Feature buttons on small phones (under 375px wide) and with very large
   text: the icon sits above the name, so a long word like "subscription"
   always has the full width of the button; at the very largest text one
   button per row. No feature name is ever cut. */
.tab-btn > div{min-width:0;}
.tab-btn b{overflow-wrap:break-word;}
@media (max-width:374px){ .tab-btn{flex-direction:column; align-items:flex-start; gap:8px;} }
@media (max-width:340px){ .tab-list{grid-template-columns:1fr;} }
