@font-face {
    font-family: 'Cairo';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/cairo-arabic-400.woff2') format('woff2');
  }
  @font-face {
    font-family: 'Cairo';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/cairo-arabic-700.woff2') format('woff2');
  }
  @font-face {
    font-family: 'Cairo';
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/cairo-arabic-900.woff2') format('woff2');
  }
  @font-face {
    font-family: 'Manrope';
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/manrope-800.woff2') format('woff2');
  }

  /* ============ TOKENS — light is the base :root, dark redefines ============ */
  :root {
    --bg: #FAF9F7;
    --panel: #F4F3F1;
    --panel-raised: #EBE9E6;
    --panel-hover: #E2DFDA;
    --border: rgba(46,42,38,.16);
    --border-strong: rgba(46,42,38,.28);
    --text: #1B1A18;
    --text-muted: #5C5850;
    --text-faint: rgba(92,88,80,.55);
    --accent: #EB8300;
    --accent-soft: #FFA44F;
    --accent-glow: rgba(235,131,0,.18);
    --positive-bg: rgba(46,140,58,.12);
    --positive-text: #1C6B2A;
    --danger: #D53D18;
    --on-accent: #1E0C00;
    --shadow-tray: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -20px rgba(30,20,10,.25);
    --shadow-panel: 0 10px 30px -18px rgba(30,20,10,.35);

    --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --font-num: 'Manrope', 'Cairo', sans-serif;
    --radius-tray: 30px;
    --radius-panel: 18px;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0C0E10;
      --panel: #171A1C;
      --panel-raised: #1D2022;
      --panel-hover: #232629;
      --border: rgba(70,72,74,.30);
      --border-strong: rgba(70,72,74,.48);
      --text: #EEEEF0;
      --text-muted: #AAABAD;
      --text-faint: rgba(170,171,173,.5);
      --accent: #FFA44F;
      --accent-soft: #FF8F00;
      --accent-glow: rgba(255,164,79,.20);
      --positive-bg: rgba(157,241,151,.14);
      --positive-text: #9DF197;
      --shadow-tray: 0 1px 0 rgba(255,255,255,.03) inset, 0 24px 50px -22px rgba(0,0,0,.6);
      --shadow-panel: 0 14px 34px -18px rgba(0,0,0,.55);
    }
  }

  :root[data-theme="dark"] {
    --bg: #0C0E10;
    --panel: #171A1C;
    --panel-raised: #1D2022;
    --panel-hover: #232629;
    --border: rgba(70,72,74,.30);
    --border-strong: rgba(70,72,74,.48);
    --text: #EEEEF0;
    --text-muted: #AAABAD;
    --text-faint: rgba(170,171,173,.5);
    --accent: #FFA44F;
    --accent-soft: #FF8F00;
    --accent-glow: rgba(255,164,79,.20);
    --positive-bg: rgba(157,241,151,.14);
    --positive-text: #9DF197;
    --shadow-tray: 0 1px 0 rgba(255,255,255,.03) inset, 0 24px 50px -22px rgba(0,0,0,.6);
    --shadow-panel: 0 14px 34px -18px rgba(0,0,0,.55);
  }

  /* ============ base ============ */
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ar);
    transition: background .25s ease, color .25s ease;
    overflow-x: hidden;
  }
  .page { direction: rtl; }
  bdi.num {
    font-family: var(--font-num);
    font-variant-numeric: tabular-nums;
    unicode-bidi: isolate;
  }
  h1, h2, h3 { text-wrap: balance; margin: 0; font-family: var(--font-ar); }
  p { margin: 0; }
  a { color: inherit; }
  ::selection { background: var(--accent-glow); }
  @media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  }

  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
  }

  /* ============ header ============ */
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 26px 28px 10px;
    max-width: 1120px;
    margin: 0 auto;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .brand-link { text-decoration: none; }
  .brand-glyph { flex: none; }
  .brand-mark {
    font-family: var(--font-ar);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -.2px;
  }
  .brand-tag {
    font-size: 12.5px;
    color: var(--text-muted);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    padding: 3px 12px;
    font-weight: 700;
  }
  .header-note {
    font-size: 12.5px;
    color: var(--text-faint);
    font-weight: 700;
  }

  /* ============ hero — the drawer front ============ */
  .tray-outer {
    max-width: 1120px;
    margin: 18px auto 0;
    padding: 0 28px;
  }
  .drawer-front {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    align-items: center;
    background:
      radial-gradient(120% 160% at 18% -10%, var(--accent-glow), transparent 55%),
      var(--panel);
    background-size: 180% 180%, auto;
    background-position: 0% 0%, center;
    animation: ambientDrift 16s ease-in-out infinite;
    border: 1px solid var(--border);
    border-radius: var(--radius-tray);
    box-shadow: var(--shadow-tray);
    padding: 50px 56px 38px;
    overflow: hidden;
  }
  @keyframes ambientDrift {
    0%, 100% { background-position: 0% 0%, center; }
    50% { background-position: 30% 20%, center; }
  }
  .hero-content,
  .hero-illustration {
    min-width: 0;
  }
  .hero-illustration {
    filter: drop-shadow(0 18px 30px rgba(0,0,0,.18));
  }
  .hero-illustration svg { width: 100%; height: auto; display: block; }

  /* staggered hero entrance */
  .hero-in {
    opacity: 0;
    transform: translateY(16px);
    animation: heroIn .7s cubic-bezier(.2,.7,.3,1) forwards;
    animation-delay: calc(var(--d, 0) * 110ms);
  }
  @keyframes heroIn {
    to { opacity: 1; transform: none; }
  }

  /* generic scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .2px;
  }
  .eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }
  h1.hero-title {
    font-weight: 900;
    font-size: clamp(34px, 5.2vw, 54px);
    line-height: 1.08;
    margin-top: 14px;
    max-width: 15ch;
  }
  h1.hero-title .pull { color: var(--accent); }
  .hero-slogan {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
  }
  .hero-slogan::before {
    content: "";
    flex: none;
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  }
  .hero-sub {
    margin-top: 16px;
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 56ch;
    font-weight: 400;
  }

  /* the handle groove */
  .handle-groove {
    margin: 30px 0 28px;
    height: 12px;
    border-radius: 100px;
    background: var(--panel-raised);
    box-shadow: 0 2px 6px rgba(0,0,0,.18) inset, 0 1px 0 rgba(255,255,255,.04);
    position: relative;
    max-width: 340px;
  }
  .handle-groove::after {
    content: "";
    position: absolute;
    inset: 3px 34%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
    opacity: .9;
  }

  .stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
  }
  .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .stat b {
    font-family: var(--font-num);
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .stat span {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 700;
  }

  /* ============ call to action buttons ============ */
  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ar);
    font-weight: 800;
    font-size: 15px;
    color: var(--on-accent);
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
    border: none;
    border-radius: 12px;
    padding: 13px 26px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px var(--accent-glow); }
  .cta-btn.ghost {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border-strong);
  }
  .cta-btn.ghost:hover { border-color: var(--accent); box-shadow: none; }
  .cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
  }

  /* ============ platform downloads section ============ */
  .platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .platform-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 22px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
  }
  .platform-card:hover {
    border-color: var(--accent);
    background: var(--panel-hover);
    transform: translateY(-3px);
  }
  .platform-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .platform-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--panel-raised);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: color .2s ease, border-color .2s ease, background .2s ease;
  }
  .platform-card:hover .platform-icon {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-glow);
  }
  .platform-arrow {
    color: var(--text-faint);
    transition: color .2s ease, transform .2s ease;
  }
  .platform-card:hover .platform-arrow {
    color: var(--accent);
    transform: translateX(-3px);
  }
  .platform-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .platform-name {
    font-size: 16px;
    font-weight: 800;
  }
  .platform-hint {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 700;
  }
  .pricing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding: 24px 28px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
  }
  .pricing-cta p { font-size: 14px; color: var(--text-muted); font-weight: 700; }

  /* ============ section shell ============ */
  section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 86px 28px 0;
  }
  /* Extra breathing room above pricing — the market-comparison panel right
     before it reads as visually "heavy", so the default section gap alone
     felt tight coming out of it. */
  #pricing { margin-top: 48px; }
  .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-weight: 800;
    font-size: clamp(24px, 3vw, 32px);
    max-width: 22ch;
  }
  .section-head p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 34ch;
    line-height: 1.6;
    font-weight: 400;
  }
  .seam {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
    margin-top: 86px;
  }

  /* ============ compartments — the three apps as one open tray ============ */
  .compartments {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 0;
    background: var(--panel-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
  }
  .compartment {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-inline-start: 1px solid var(--border);
    position: relative;
    transition: background .3s ease, transform .3s ease;
  }
  .compartment:first-child { border-inline-start: none; }
  .compartment:hover {
    background: var(--panel-hover);
    transform: translateY(-3px);
  }
  .compartment.core {
    background: var(--panel);
  }
  .compartment.core:hover {
    background: var(--panel);
  }
  .compartment-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--panel-raised);
    border: 1px solid var(--border);
    color: var(--text-muted);
  }
  .compartment.core .compartment-icon {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-glow);
  }
  .compartment.core::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  }
  .tag {
    align-self: flex-start;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 100px;
    letter-spacing: .2px;
  }
  .tag.free {
    background: var(--positive-bg);
    color: var(--positive-text);
  }
  .tag.addon {
    background: var(--panel-hover);
    color: var(--text-muted);
    border: 1px solid var(--border-strong);
  }
  .compartment h3 {
    font-size: 19px;
    font-weight: 800;
  }
  .compartment p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    font-weight: 400;
  }
  .compartment ul {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .compartment li {
    font-size: 13.5px;
    color: var(--text-muted);
    padding-inline-start: 16px;
    position: relative;
    line-height: 1.5;
  }
  .compartment li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .55em;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--border-strong);
  }
  .compartment.core li::before { background: var(--accent); }
  .compartments-note {
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--text-faint);
    font-weight: 400;
  }

  /* ============ how it works — network diagram ============ */
  .how-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 44px;
    align-items: center;
  }
  .how-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
  }
  .diagram-panel { min-width: 0; }
  .how-item {
    display: flex;
    gap: 14px;
  }
  .how-icon {
    flex: none;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--panel-raised);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
  }
  .how-item h4 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 4px;
  }
  .how-item p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
  }
  .diagram-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-panel);
    padding: 30px 20px;
  }
  .diagram-panel svg { width: 100%; height: auto; display: block; }
  .sync-pulse {
    offset-rotate: 0deg;
    animation: travel 2.1s linear infinite;
  }
  @keyframes travel {
    0% { offset-distance: 0%; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
  }
  .diagram-caption {
    text-align: center;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-faint);
    font-weight: 700;
  }

  /* ============ pricing compare ============ */
  .compare-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-panel);
    padding: 36px 34px;
  }
  .compare-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
  }
  .compare-row + .compare-row { border-top: 1px solid var(--border); }
  .compare-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-muted);
    min-width: 0;
  }
  .compare-label small {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: var(--text-faint);
    margin-top: 3px;
  }
  .compare-bar-wrap { display: flex; align-items: center; gap: 16px; min-width: 0; }
  .compare-bar-track { flex: 1; height: 30px; background: var(--panel-raised); border-radius: 8px; overflow: hidden; }
  .compare-bar {
    height: 100%;
    border-radius: 8px;
    width: 0;
    transition: width 1.1s cubic-bezier(.2,.7,.2,1);
  }
  .compare-bar.market { background: linear-gradient(90deg, var(--border-strong), var(--text-faint)); }
  .compare-bar.aldurg { background: linear-gradient(90deg, var(--accent-soft), var(--accent)); }
  .compare-value {
    font-family: var(--font-num);
    font-weight: 800;
    font-size: 20px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .compare-foot {
    margin-top: 22px;
    font-size: 13px;
    color: var(--text-faint);
    line-height: 1.6;
    font-weight: 400;
  }

  .tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
  }
  .tier {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
    padding: 24px 22px;
    background: var(--panel);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .tier:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-panel);
  }
  .tier.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-panel);
    padding-top: 32px;
  }
  .tier.featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-panel);
  }
  .tier-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11.5px;
    font-weight: 800;
    color: var(--on-accent);
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
    padding: 5px 14px;
    border-radius: 100px;
    letter-spacing: .2px;
    white-space: nowrap;
    box-shadow: 0 6px 16px -6px var(--accent-glow);
  }
  .tier-name { font-size: 14px; font-weight: 800; color: var(--text-muted); }
  .tier-price {
    font-family: var(--font-num);
    font-weight: 800;
    font-size: 26px;
    font-variant-numeric: tabular-nums;
  }
  .tier-price span { font-size: 13px; color: var(--text-muted); font-family: var(--font-ar); font-weight: 700; }
  .tier-price-was-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .tier-price-was {
    font-family: var(--font-num);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-faint);
    text-decoration: line-through;
    text-decoration-color: var(--danger);
    text-decoration-thickness: 1.5px;
  }
  .tier-discount-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--danger);
    background: color-mix(in srgb, var(--danger) 14%, transparent);
    padding: 2px 8px;
    border-radius: 100px;
  }
  .tier-discount-until {
    font-size: 12px;
    color: var(--text-faint);
    font-weight: 700;
    margin-top: -6px;
  }
  .tier-devices {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 700;
  }
  .tier-count {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text);
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid var(--border);
  }
  .tier.featured .tier-count { color: var(--accent); }
  .tier-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
  .tier-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text-muted);
  }
  .tier-features li.is-unavailable { color: var(--text-faint); }
  .tier-features .feature-icon {
    flex: none;
    width: 17px; height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tier-cta {
    justify-content: center;
    width: 100%;
    margin-top: auto;
  }
  .tier-features li.is-available .feature-icon { background: var(--positive-bg); color: var(--positive-text); }
  .tier-features li.is-unavailable .feature-icon { background: var(--panel-hover); color: var(--text-faint); }

  /* ============ monthly / yearly billing tabs ============ */
  .cycle-tabs {
    position: relative;
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin: 0 auto 28px;
    border-radius: 100px;
    background: var(--panel-raised);
    border: 1px solid var(--border);
  }
  .pricing-tabs-scope { display: flex; flex-direction: column; align-items: center; }
  .pricing-tabs-scope > .tier-grid { width: 100%; }
  .cycle-tabs input {
    position: absolute;
    opacity: 0;
    width: 1px; height: 1px;
    pointer-events: none;
  }
  .cycle-tabs label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    user-select: none;
  }
  .cycle-tabs input:checked + label {
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
    color: var(--on-accent);
  }
  .cycle-tabs input:focus-visible + label {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  .cycle-save-chip {
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--positive-bg);
    color: var(--positive-text);
  }
  .cycle-tabs input:checked + label .cycle-save-chip {
    background: rgba(255, 255, 255, .25);
    color: var(--on-accent);
  }

  /* Yearly price/CTA start hidden; the scoped :has() rules below reveal
     them (and hide the monthly ones) only on cards that actually have a
     yearly option, only while the "سنوي" tab is checked. A free plan or
     any plan the admin hasn't set a yearly price for just keeps showing
     its monthly price no matter which tab is active. */
  .tier-price-yearly { display: none; }
  .tier-cta-yearly { display: none; }
  .tier-yearly-savings {
    font-size: 12px;
    color: var(--positive-text);
    font-weight: 700;
    margin-top: -6px;
  }
  .pricing-tabs-scope:has(#cycle-yearly:checked) .tier:has(.tier-price-yearly) .tier-price-monthly { display: none; }
  .pricing-tabs-scope:has(#cycle-yearly:checked) .tier-price-yearly { display: block; }
  .pricing-tabs-scope:has(#cycle-yearly:checked) .tier:has(.tier-cta-yearly) .tier-cta-monthly { display: none; }
  .pricing-tabs-scope:has(#cycle-yearly:checked) .tier-cta-yearly { display: inline-flex; }
  .pricing-caveat {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-faint);
    font-weight: 700;
  }

  /* ============ vision strip ============ */
  .vision-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 26px 30px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
  }
  .vision-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
  }
  .chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    transition: border-color .25s ease, color .25s ease;
  }
  .chip:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .chip.now {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-glow);
  }

  /* ============ footer ============ */
  footer {
    max-width: 1120px;
    margin: 90px auto 0;
    padding: 26px 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid var(--border);
  }
  footer .brand-mark { font-size: 16px; }
  .footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .footer-links a {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
  }
  .footer-links a:hover { color: var(--accent); }
  .footer-status {
    font-size: 12px;
    color: var(--text-faint);
    font-weight: 700;
  }

  /* ============ responsive ============ */
  @media (max-width: 860px) {
    .drawer-front { grid-template-columns: 1fr; padding: 48px 26px 34px; border-radius: 22px; }
    .hero-illustration { max-width: 280px; margin: 8px auto 0; }
    .compartments { grid-template-columns: 1fr; }
    .compartment { border-inline-start: none; border-top: 1px solid var(--border); }
    .compartment:first-child { border-top: none; }
    .how-grid { grid-template-columns: 1fr; }
    .compare-row { grid-template-columns: 1fr; gap: 8px; }
    .tier-grid { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    section { padding-top: 64px; }
    .seam { margin-top: 64px; }
  }

  @media (max-width: 480px) {
    .header-note { display: none; }
    .brand-tag { display: none; }
    .platform-grid { grid-template-columns: 1fr; }
    .stat-row { gap: 22px; }
    .stat b { font-size: 28px; }
  }
