/* =============================================================================
   TADBEER — the site design system.  ONE stylesheet for every page.

   -------------------------------------------------------------------------
   ATTRIBUTION AND LICENCES
   -------------------------------------------------------------------------
   This stylesheet is a derivative work. Its layout language was built by hand
   from two freely licensed templates. Neither template's own stylesheet ships
   here — their layout ideas were rewritten in plain CSS grid/flex — but the
   work is derived from both, so both are named:

     1. iLanding — MIT License
        BootstrapMade, distributed by ThemeWagon
        https://github.com/themewagon/iLanding
        Taken: the nav bar, the section-title block, the feature-card grid,
        the pricing card, the accordion and the footer.

     2. "landing" (the Vvveb default theme) by givanz — Apache License 2.0
        https://github.com/givanz/landing
        Taken: the centred hero-1 heading stack and the alternating
        showcase-1 rows.
        Apache-2.0 §4(a) requires the licence text to travel with the work:
        it ships beside this file as assets/LICENSE-givanz-landing.txt.

   Font: Alexandria, SIL Open Font License 1.1, self-hosted under
   assets/fonts/ (see section 1 for the weights).

   -------------------------------------------------------------------------
   HOUSE RULES ENFORCED THROUGHOUT
   -------------------------------------------------------------------------
   * Logical properties only. No left/right anywhere: inline-start/inline-end,
     text-align: start/end. The site is RTL and must mirror for free.
   * No letter-spacing on anything that can hold Arabic. Tracking breaks the
     joins. The single exception is .mono, which is Latin/digits only.
   * Nothing that carries content ever starts hidden. No opacity:0 defaults,
     no reveal-on-scroll, no animation a paragraph depends on to appear.
   * Reduced motion zeroes durations; it never sets animation: none, which
     would jump an animation to its end state.
   * Every colour pair below is annotated with its measured contrast ratio.
     Body text >= 4.5:1, large text and UI borders >= 3:1 (WCAG 2.2 AA).
   ============================================================================= */


/* =============================================================================
   1. FONT — Alexandria (SIL Open Font License 1.1, Mohamed Gaber /
   Khaled Hosny), self-hosted under assets/fonts/. 2026-12 redesign: replaces
   IBM Plex Sans Arabic so the site matches the store graphics.
   Three real weights are shipped, each subset to Arabic + Latin-1:
     400 regular text, 600 (serves any 600-700 request: every older "700" rule
     in this file lands here), 800 display headings.
   A real face covers every weight the CSS asks for, so the browser never
   synthesises one (synthetic bold mangles Arabic joins).
   font-src 'self': nothing is fetched from a font CDN.
   ============================================================================= */
@font-face {
  font-family: 'Alexandria';
  font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(fonts/alexandria-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Alexandria';
  font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(fonts/alexandria-600.woff2) format('woff2');
}
@font-face {
  font-family: 'Alexandria';
  font-style: normal; font-weight: 800 900; font-display: swap;
  src: url(fonts/alexandria-800.woff2) format('woff2');
}


/* =============================================================================
   2. TOKENS
   2026-12 redesign: cool-grey paper (#F3F5F8) and white cards, as in the
   0.30 app. Re-measured (WCAG 2.2 AA): ink #141A17 on paper 16.2:1; ink2
   #4E5853 on paper 6.8:1, on white 7.5:1; muted #67716C on paper 4.6:1, on
   white 5.0:1; brandInk #17522A on paper 8.4:1; brand700 #22702F on paper
   5.6:1; white on brand600 #2A8139 4.9:1; gold #95600A on paper 4.9:1, on
   goldSoft 4.8:1. The older table below is kept for history.
   Light is the approved design. Every surface colour goes through a token so
   the dark block at the end of this file can swap them without touching a
   single layout rule. The light values below are exactly candidate D's.

   Measured contrast, light theme (all pass WCAG 2.2 AA):
     ink   #221E16 on paper   #FFFBF3 ... 16.08:1   body text
     ink   #221E16 on card    #FFFFFF ... 16.60:1   body text on cards
     ink2  #5E574A on paper   #FFFBF3 ...  6.92:1   secondary prose
     ink2  #5E574A on card    #FFFFFF ...  7.15:1   secondary prose
     muted #7A7263 on paper   #FFFBF3 ...  4.61:1   "not shipped" rows
     muted #7A7263 on card    #FFFFFF ...  4.76:1
     brandInk #1C5828 on paper #FFFBF3 ...  8.22:1  headings
     brandInk #1C5828 on soft2 #CDEBD1 ...  6.62:1  chips
     brand700 #277534 on paper #FFFBF3 ...  5.53:1  links
     brand600 #2C853A on paper #FFFBF3 ...  4.50:1  link hover, icons
     white    #FFFFFF on brand600 #2C853A ...  4.64:1  primary button label
     white    #FFFFFF on brand700 #277534 ...  5.71:1  primary button hover
     gold  #9A6207 on paper   #FFFBF3 ...  4.93:1   Plus / warning ink
     gold  #9A6207 on goldSoft #FBF3E4 ...  4.62:1  warning callout
     onDeep  #DCEFDF on brand700 #277534 ...  4.74:1  prose on deep bands
     onDeep2 #D6EDDA on brand700 #277534 ...  4.62:1  fine print on deep

   NOTE ON --brand600: candidate D used #2F8C3E, which measures 4.25:1 against
   white and 4.12:1 against paper — an AA fail for the primary button label and
   for hovered links. It is darkened here by two steps to #2C853A, which is the
   nearest value that clears 4.5:1 in BOTH directions. The shift is not visible
   side by side; nothing else about the approved design is altered.
   ============================================================================= */
:root {
  color-scheme: light;

  /* brand */
  --brand600: #2A8139;
  --brand700: #22702F;
  --brandInk: #17522A;
  --brandSoft: #E6F4E8;
  --brandSoft2: #CBE9CF;

  /* accent — the warm gold. Warnings live here too; never alarm red. */
  --gold: #95600A;
  --goldSoft: #FDF3E1;
  --goldLine: rgba(154, 98, 7, .38);

  /* ink + paper */
  --ink: #141A17;
  --ink2: #4E5853;
  --muted: #67716C;
  --paper: #F3F5F8;
  --paper2: #FFFFFF;
  --card: #FFFFFF;

  /* text that sits on the deep green bands */
  --onDeep: #FFFFFF;
  --onDeep2: #DCEFDF;
  --onDeep3: #D6EDDA;

  /* rules */
  --line: rgba(20, 40, 30, .08);
  --line2: rgba(20, 40, 30, .12);
  --line3: rgba(60, 72, 66, .42);   /* 3:1 UI border where one is load-bearing */

  --ar: "Alexandria", "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 24, .05), 0 6px 18px rgba(16, 32, 24, .05);
  --shadow-md: 0 2px 6px rgba(16, 32, 24, .05), 0 18px 44px rgba(16, 32, 24, .09);
  --shadow-lg: 0 30px 80px rgba(10, 40, 20, .22);

  --nav-h: 74px;
  --measure: 68ch;              /* readable measure for long Arabic prose */
  --dur: .2s;                   /* one duration knob; reduced motion zeroes it */
  --dur-slow: .25s;
}


/* =============================================================================
   3. RESET + BASE
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; }

/* The `hidden` attribute must actually hide. The UA sheet's `[hidden]` rule is
   `display: none`, but it loses to ANY author rule that sets `display` on the
   same element — and, on an <svg> element, it never applied the way the rest of
   the page assumes: an <svg hidden> that is not display:none is still a
   replaced element and paints at its 300x150 default, which is how the inline
   icon sprite at the top of several pages was pushing the header 150px down the
   screen. Declared here, with the attribute selector's specificity and
   !important, so no page ever needs an inline style="display:none" patch. */
[hidden] { display: none !important; }
svg[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ar);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: normal;            /* never track Arabic */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ar);
  letter-spacing: normal;
  line-height: 1.4;
  color: var(--brandInk);
  margin: 0 0 .6em;
  font-weight: 800;                  /* Alexandria ExtraBold, a real face */
  text-wrap: balance;
}
p { margin: 0 0 1em; }
a { color: var(--brand700); text-decoration: none; }
a:hover { color: var(--brand600); text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 700; color: var(--ink); }

/* Focus. Visible on every interactive element, on every background. */
:focus-visible {
  outline: 3px solid var(--brand600);
  outline-offset: 2px;
  border-radius: 6px;
}
.band--deep :focus-visible,
.turn :focus-visible,
.cta__box :focus-visible { outline-color: var(--onDeep); }
main:focus { outline: none; }
main:focus-visible { outline: 3px solid var(--brand600); outline-offset: 2px; }

/* WCAG 2.2 SC 2.5.8 — target size. */
a[href], button, summary, [role="button"], input, select { min-block-size: 24px; }


/* =============================================================================
   4. LAYOUT PRIMITIVES + UTILITIES
   ============================================================================= */
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.wrap--narrow { width: min(760px, calc(100% - 40px)); }

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--surface { background: var(--paper2); border-block: 1px solid var(--line); }
.section--tight { padding-block: clamp(36px, 4vw, 64px); }

/* .band is the legacy section wrapper the app download page still uses. It is
   given D's spacing so that page inherits the new look without an HTML edit. */
.band { padding-block: clamp(40px, 5vw, 72px); }
.band > .wrap { width: min(760px, calc(100% - 40px)); }
.band--surface { background: var(--paper2); }
.band--deep {
  background: linear-gradient(135deg, var(--brand700), var(--brandInk));
  color: var(--onDeep2);
}
.band--deep h1, .band--deep h2, .band--deep h3, .band--deep h4 { color: var(--onDeep); }
.band--deep strong, .band--deep b { color: var(--onDeep); }
.band--deep a { color: var(--onDeep); text-decoration: underline; }
.band--deep a:hover { color: var(--onDeep2); }
.band--deep .micro { color: var(--onDeep3); }

/* The torn receipt seam between bands. Decorative only. */
.tear-edge, .tear-edge--start { --tear-bite: var(--paper); position: relative; }
.tear-edge:not(.band),
.tear-edge--start:not(.band) { display: block; block-size: 11px; }
.tear-edge::after, .tear-edge--start::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  block-size: 11px;
  background: var(--tear-bite);
  pointer-events: none;
  -webkit-mask-size: 22px 22px; mask-size: 22px 22px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.tear-edge::after {
  inset-block-end: 0;
  -webkit-mask-image: radial-gradient(circle at 11px 11px, transparent 7px, #000 7.5px);
          mask-image: radial-gradient(circle at 11px 11px, transparent 7px, #000 7.5px);
}
.tear-edge--start::before {
  inset-block-start: 0;
  -webkit-mask-image: radial-gradient(circle at 11px 0, transparent 7px, #000 7.5px);
          mask-image: radial-gradient(circle at 11px 0, transparent 7px, #000 7.5px);
}
.tear-edge--deep { --tear-bite: var(--brandInk); }

/* icons carry their own fill/stroke on the <symbol>; only size them here */
.icon { width: 1em; height: 1em; flex: none; vertical-align: -.12em; }
.sar { width: .78em; height: .78em; fill: currentColor; margin-inline-end: 3px; vertical-align: -.02em; }
.num, .money { font-variant-numeric: tabular-nums; }

/* Latin-only monospace. The ONLY place letter-spacing is permitted, and even
   here it stays at normal unless a rule below opts in explicitly. */
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.micro { font-size: .87rem; line-height: 1.8; color: var(--ink2); }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--ink2); }
.gutter { color: var(--ink2); font-size: .9rem; }

/* An English-language block inside an Arabic page (release notes only). */
.en { direction: ltr; text-align: start; }

/* dotted leader used in receipts, ledger rows and plan rows */
.leader {
  flex: 1 1 auto;
  min-width: 16px;
  border-block-end: 1px dotted var(--line3);
  transform: translateY(-5px);
}

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Skip link. Parked off-screen by POSITION, never by opacity. */
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: -100%;
  z-index: 100;
  padding: 12px 18px;
  background: var(--brandInk);
  color: var(--onDeep);              /* #FFFFFF on #1C5828 ... 8.48:1 */
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.skip-link:focus, .skip-link:focus-visible { inset-block-start: 0; }


/* =============================================================================
   5. BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700;
  border-radius: 14px;
  padding: 12px 26px;
  min-block-size: 44px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background var(--dur), border-color var(--dur),
              transform var(--dur), box-shadow var(--dur), color var(--dur);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* #FFFFFF on #2C853A ... 4.64:1 */
.btn--primary {
  background: var(--brand600); border-color: var(--brand600); color: #fff;
  box-shadow: 0 8px 22px rgba(34, 112, 47, .24);
}
/* #FFFFFF on #277534 ... 5.71:1 */
.btn--primary:hover { background: var(--brand700); border-color: var(--brand700); color: #fff; }

/* #1C5828 on #FFFBF3 ... 8.22:1 · border rgba(28,88,40,.28) over paper ... 3.1:1 */
.btn--ghost, .btn--secondary {
  background: transparent; border-color: rgba(28, 88, 40, .40); color: var(--brandInk);
}
.btn--ghost:hover, .btn--secondary:hover {
  background: var(--brandSoft2); border-color: var(--brand600); color: var(--brandInk);
}

/* #1C5828 on #FFFFFF ... 8.48:1 */
.btn--white { background: #fff; border-color: #fff; color: var(--brandInk); }
.btn--white:hover { background: var(--brandSoft2); border-color: var(--brandSoft2); color: var(--brandInk); }

.btn--outline-white { border-color: rgba(255, 255, 255, .60); color: #fff; }
.btn--outline-white:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* the gold Plus button — #FFFFFF on #9A6207 ... 5.09:1 */
.btn--plus { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--plus:hover { background: #8A5806; border-color: #8A5806; color: #fff; }

.btn--lg { padding: 16px 38px; font-size: 1.05rem; }
.btn--full { display: flex; width: 100%; }


/* =============================================================================
   6. HEADER + NAV — iLanding's sticky bar.
   .nav is the canonical shell. .site-header is the legacy name still used by
   the app download page; it is given the same treatment as a stacked variant.
   ============================================================================= */
.nav {
  position: sticky; inset-block-start: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--line);
}
.nav__in { min-block-size: var(--nav-h); display: flex; align-items: center; gap: 18px; }
.nav__brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.nav__brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav__brand:hover { text-decoration: none; }
.nav__name { font-size: 1.35rem; font-weight: 700; color: var(--brandInk); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--ink); font-size: .97rem; font-weight: 400; }
.nav__links a:hover { color: var(--brand700); text-decoration: underline; }
.nav__links a[aria-current="page"] { color: var(--brandInk); font-weight: 700; }

/* Legacy stacked header (app download page). */
.site-header {
  background: var(--paper2);
  border-block-end: 1px solid var(--line);
  padding-block: clamp(28px, 4vw, 44px);
  text-align: center;
}
.site-header > .wrap { width: min(760px, calc(100% - 40px)); }
.site-header img { width: 72px; height: 72px; border-radius: 18px; }
.site-header .brand { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 14px 0 .3em; }
.site-header .lead { margin: 0 auto .9em; max-width: 46ch; }
.site-header .chip { margin-inline: 3px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }

/* chips */
.chip {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; line-height: 1.7;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brandSoft2);
  color: var(--brandInk);              /* #1C5828 on #CDEBD1 ... 6.62:1 */
  white-space: nowrap;
}
.chip--ar { font-size: 12.5px; }
/* #9A6207 on #FBF3E4 ... 4.62:1 */
.chip--plus { background: var(--goldSoft); color: var(--gold); }
.chip--warn { background: var(--goldSoft); color: var(--gold); }
.band--deep .chip { background: rgba(255, 255, 255, .16); color: var(--onDeep); }


/* =============================================================================
   7. HERO — givanz hero-1: centred stack with the object underneath.
   ============================================================================= */
.hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 86px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1100px 520px at 84% -12%, rgba(44, 133, 58, .13), transparent 62%),
    radial-gradient(760px 420px at 6% 0%, rgba(154, 98, 7, .07), transparent 60%);
  overflow: hidden;
}
.hero__in, .hero__text { max-width: 800px; margin-inline: auto; text-align: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brandSoft2); color: var(--brandInk);
  border-radius: 999px; padding: 7px 18px;
  font-size: .9rem; font-weight: 700;
  margin-block-end: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.1rem); line-height: 1.25; margin: 0 0 .45em; }
.hero h1 .accent { color: var(--brand600); }   /* large text, 4.50:1 */
.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink2);
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: 30px;
}
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__note { margin: 22px auto 0; max-width: 62ch; font-size: .93rem; line-height: 1.85; color: var(--ink2); }
.hero__note a { font-weight: 700; }

/* the receipt object */
.hero__object { margin-block-start: clamp(38px, 5vw, 64px); display: flex; justify-content: center; }
.receipt {
  background: var(--card);
  border-radius: 16px 16px 0 0;
  padding: 26px 24px 34px;
  box-shadow: var(--shadow-lg);
  width: min(430px, 100%);
  text-align: start;
  -webkit-mask-image:
    linear-gradient(#000 0 0),
    radial-gradient(11px 11px at 11px 100%, transparent 0 10px, #000 10.5px);
  -webkit-mask-size: 100% calc(100% - 11px), 22px 22px;
  -webkit-mask-repeat: no-repeat, repeat-x;
  -webkit-mask-position: top center, bottom center;
  mask-image:
    linear-gradient(#000 0 0),
    radial-gradient(11px 11px at 11px 100%, transparent 0 10px, #000 10.5px);
  mask-size: 100% calc(100% - 11px), 22px 22px;
  mask-repeat: no-repeat, repeat-x;
  mask-position: top center, bottom center;
}
@media (min-width: 992px) { .receipt { transform: rotate(-1.1deg); } }
.receipt__head { font-family: var(--mono); font-size: 12px; color: var(--ink2); margin: 0 0 4px; }
.receipt .micro { font-size: 12.5px; margin: 0 0 14px; }
.receipt .micro--foot { margin: 14px 0 0; }
.row-line { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font-size: 15px; }
.row-line__label { flex: 0 1 auto; }
.row-line__amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt__total {
  border-block-start: 2px solid var(--ink);
  padding-block-start: 12px;
  margin-block: 14px 0;
  font-weight: 700; font-size: 1.16rem; color: var(--brandInk);
}


/* =============================================================================
   8. SECTION TITLE — iLanding
   ============================================================================= */
.stitle { text-align: center; max-width: 720px; margin: 0 auto clamp(34px, 4vw, 56px); }
.stitle h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin: 0 0 .4em;
  position: relative; display: inline-block; padding-block-end: 14px;
}
.stitle h2::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; margin-inline: auto;
  width: 56px; height: 4px; border-radius: 4px; background: var(--brand600);
}
.stitle p { color: var(--ink2); margin: 0; font-size: 1.05rem; }


/* =============================================================================
   9. THE PROBLEM — pain cards and the turn
   ============================================================================= */
.problem__grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-block-end: 40px;
}
.pain {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.pain__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--goldSoft); color: var(--gold);
  font-size: 22px; margin-block-end: 16px;
}
.pain h3 { font-size: 1.1rem; margin: 0 0 .4em; color: var(--ink); }
.pain p { color: var(--ink2); font-size: .96rem; margin: 0; line-height: 1.85; }

.turn {
  background: linear-gradient(135deg, var(--brand700), var(--brandInk));
  color: var(--onDeep);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 48px) clamp(24px, 4vw, 52px);
  text-align: center;
  position: relative; overflow: hidden;
}
.turn::after {
  content: ""; position: absolute; inset-block-start: -70px; inset-inline-start: -70px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); pointer-events: none;
}
.turn h3 { color: var(--onDeep); font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 0 0 .5em; position: relative; }
.turn p { color: var(--onDeep2); max-width: 62ch; margin: 0 auto; position: relative; }
.turn strong { color: var(--onDeep); }


/* =============================================================================
   10. FEATURE GRID — iLanding's four-up cards
   ============================================================================= */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.feature {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: border-color var(--dur-slow), box-shadow var(--dur-slow), transform var(--dur-slow);
}
.feature:hover { border-color: var(--brand600); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature__icon { font-size: 34px; color: var(--brand600); line-height: 1; margin-block-end: 18px; }
.feature h3 { font-size: 1.08rem; margin: 0 0 .45em; }
.feature p { color: var(--ink2); font-size: .96rem; margin: 0; line-height: 1.85; }
.feature--soft { background: var(--brandSoft); border-color: transparent; }
.feature--gold { background: var(--goldSoft); border-color: transparent; }
.feature--gold .feature__icon, .feature--gold h3 { color: var(--gold); }
.feature--gold:hover { border-color: var(--gold); }


/* =============================================================================
   11. STEPS
   .steps  — the landing page's three side-by-side cards (D).
   .spine  — a walkthrough: a vertical numbered sequence for the download and
             migration pages, where order matters and there may be eight of them.
   ============================================================================= */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r-md);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step__n {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brandSoft2); color: var(--brandInk);
  font-weight: 700; font-size: 1.15rem;
  margin-block-end: 18px;
}
.step h3 { font-size: 1.15rem; margin: 0 0 .45em; }
.step p { color: var(--ink2); font-size: .97rem; margin: 0; line-height: 1.85; }

/* --- the walkthrough spine ------------------------------------------------ */
.spine { counter-reset: spine; display: grid; gap: 0; margin: 0; padding: 0; }
.spine__step {
  counter-increment: spine;
  position: relative;
  padding-inline-start: 66px;
  padding-block: 0 30px;
}
/* the rail joining the numbers; last step stops the rail */
.spine__step::before {
  content: "";
  position: absolute;
  inset-block: 8px 0;
  inset-inline-start: 21px;
  width: 2px;
  background: var(--line3);
}
.spine__step:last-child::before { display: none; }
.spine__step::after { content: counter(spine); }
.spine__step > .spine__num,
.spine__step::after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brandSoft2);
  color: var(--brandInk);              /* 6.62:1 */
  font-weight: 700; font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
/* When the markup supplies its own .spine__num, drop the generated one. */
.spine__step:has(.spine__num)::after { content: none; }
.spine__step h3 { font-size: 1.1rem; margin: .35em 0 .4em; }
.spine__step p { color: var(--ink2); margin: 0 0 .7em; }
.spine__step > :last-child { margin-block-end: 0; }

/* --- the in-app navigation path chip -------------------------------------- */
/* «حسابي ← النسخ الاحتياطي». Reads as a thing you tap, not as prose. */
.navpath {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35em;
  background: var(--brandSoft);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px 12px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--brandInk);              /* #1C5828 on #E7F5E9 ... 7.53:1 */
  line-height: 1.75;
}
.navpath .navpath__sep { color: var(--brand700); font-weight: 400; }

/* --- callouts ------------------------------------------------------------- */
/* The warning. Calm, gold, never alarm red — this site never shouts. */
.callout {
  border: 1px solid var(--line2);
  border-inline-start: 4px solid var(--brand600);
  border-radius: var(--r-sm);
  background: var(--card);
  padding: 20px 22px;
  margin: 0 0 1.4em;
}
.callout > :last-child { margin-block-end: 0; }
.callout__title { font-weight: 700; color: var(--brandInk); margin: 0 0 .45em; font-size: 1.02rem; }

.callout--warn {
  background: var(--goldSoft);
  border-color: var(--goldLine);
  border-inline-start-color: var(--gold);
}
/* #9A6207 on #FBF3E4 ... 4.62:1 · body #221E16 on #FBF3E4 ... 15.05:1 */
.callout--warn .callout__title { color: var(--gold); }
.callout--warn p { color: var(--ink); }

.callout--strong {
  background: var(--goldSoft);
  border: 2px solid var(--gold);
  border-radius: var(--r-md);
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}
.callout--strong .callout__title { color: var(--gold); font-size: 1.12rem; }

.callout--quiet { background: var(--paper2); border-inline-start-color: var(--line3); }
.callout--quiet .callout__title { color: var(--ink); }


/* =============================================================================
   12. SHOWCASE ROWS — givanz showcase-1
   ============================================================================= */
.showcase { padding-block: clamp(48px, 6vw, 92px); }
.showcase__in { display: grid; gap: clamp(30px, 5vw, 68px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) {
  .showcase__in { grid-template-columns: 1fr 1fr; }
  .showcase--flip .showcase__text { order: 2; }
}
.showcase__text h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
.showcase__text > p { color: var(--ink2); font-size: 1.06rem; }
.showcase__list { display: grid; gap: 16px; margin-block-start: 24px; }
.showcase__list li { display: flex; gap: 13px; align-items: flex-start; }
.showcase__list .icon { color: var(--brand600); font-size: 20px; margin-block-start: .32em; }
.showcase__list p { margin: 0; color: var(--ink2); font-size: .98rem; line-height: 1.85; }
.showcase__list b { color: var(--ink); }

/* the drawn visuals inside the showcase rows */
.panel {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-md);
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-block-end: 14px; margin-block-end: 18px;
  border-block-end: 1px solid var(--line2);
}
.panel__head h3 { margin: 0; font-size: 1.02rem; }
.panel__head span { font-size: .82rem; color: var(--ink2); }
.panel__foot { margin: 18px 0 0; font-size: .85rem; color: var(--ink2); line-height: 1.8; }

/* budget bars */
.bar { margin-block-end: 18px; }
.bar:last-child { margin-block-end: 0; }
.bar__top { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; margin-block-end: 7px; }
.bar__top span { color: var(--ink2); font-variant-numeric: tabular-nums; }
.bar__track { height: 11px; border-radius: 999px; background: var(--paper2); border: 1px solid var(--line2); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand600), var(--brand700)); }
.bar--warn .bar__fill { background: linear-gradient(90deg, #C9902B, var(--gold)); }

/* the scan panel: a QR block and the filled-in expense form */
.scan { display: grid; gap: 18px; grid-template-columns: 96px 1fr; align-items: start; }
.qr {
  width: 96px; height: 96px; border-radius: 12px;
  background:
    conic-gradient(from 0deg, var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 16px 16px,
    linear-gradient(var(--paper2), var(--paper2));
  border: 6px solid var(--card);
  outline: 1px solid var(--line2);
  position: relative;
}
.qr::after {
  content: ""; position: absolute; inset: 34% 34%;
  background: var(--card); border-radius: 3px;
  box-shadow: 0 0 0 3px var(--ink) inset;
}
.field { margin-block-end: 13px; }
.field:last-child { margin-block-end: 0; }
.field__k { font-size: .78rem; color: var(--ink2); display: block; margin-block-end: 3px; }
.field__v {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--paper2);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 9px 13px;
  font-weight: 700; font-size: .96rem;
}
.field__v .tick { color: var(--brand600); font-size: 17px; }


/* =============================================================================
   13. PRICING — iLanding's single centred card, plus a comparison table
   ============================================================================= */
.plan {
  width: min(620px, 100%); margin-inline: auto;
  background: var(--card);
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 46px) clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.plan__free {
  background: var(--brandSoft);
  border-radius: var(--r-md);
  padding: 20px 22px;
  text-align: start;
  margin-block-end: 28px;
}
.plan__free h3 { font-size: 1.05rem; margin: 0 0 .35em; }
.plan__free p { margin: 0; color: var(--ink2); font-size: .95rem; }
.plan__name { font-size: 1.35rem; margin: 0 0 .2em; color: var(--gold); }
.plan__tag { color: var(--ink2); margin: 0 0 18px; font-size: .98rem; }
.plan__price, .price {
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  color: var(--gold); margin-block-end: 6px;
}
.plan__price .amount, .price__num { font-size: clamp(3rem, 8vw, 4rem); font-weight: 700; line-height: 1; }
.plan__price .period { font-size: 1.02rem; font-weight: 700; color: var(--ink2); }
.plan__once { font-weight: 700; color: var(--ink); margin: 0 0 22px; }
.plan__list { text-align: start; margin: 0 0 24px; display: grid; gap: 12px; }
.plan__list li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; color: var(--ink2); }
.plan__list .icon { color: var(--gold); font-size: 19px; margin-block-start: .3em; }
.plan__notyet {
  background: var(--goldSoft);
  border: 1px dashed var(--gold);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  text-align: start;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.85;
  margin: 0 0 22px;
}
.plan__notyet b { color: var(--gold); }
.plan__trial { margin: 0; color: var(--ink2); font-size: .95rem; }

/* --- free vs Plus, side by side ------------------------------------------- */
.compare {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: start;
}
.compare__col {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  block-size: 100%;
}
.compare__col--plus { border: 2px solid var(--gold); background: var(--goldSoft); }
.compare__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-block-end: 6px; }
.compare__head h3 { margin: 0; font-size: 1.15rem; }
.compare__col--plus .compare__head h3 { color: var(--gold); }
.compare__price { font-weight: 700; font-size: 1.5rem; color: var(--brandInk); font-variant-numeric: tabular-nums; }
.compare__col--plus .compare__price { color: var(--gold); }
.compare__note { color: var(--ink2); font-size: .93rem; margin: 0 0 18px; }
.compare__list { display: grid; gap: 11px; margin: 0; }
.compare__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--ink2); }
.compare__list .icon { color: var(--brand600); font-size: 18px; margin-block-start: .3em; }
.compare__col--plus .compare__list .icon { color: var(--gold); }
.compare__col > :last-child { margin-block-end: 0; }


/* =============================================================================
   14. STATUS LIST — "shipped" / "not yet".
   A not-yet row must read as a deliberate decision, not as broken markup: it
   keeps full-contrast label text, loses the strike-through emphasis of a
   deletion, and states its status in words next to a dotted leader.
   ============================================================================= */
.ledger, .ledger--zebra { display: block; margin: 0 0 1.2em; }
.ledger-row {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: .98rem;
}
.ledger-row__label { flex: 0 1 auto; }
.ledger-row__amount {
  white-space: nowrap;
  font-weight: 700;
  color: var(--brandInk);              /* #1C5828 on #FFFBF3 ... 8.22:1 */
  font-variant-numeric: tabular-nums;
}
.ledger-row__note { display: block; font-size: .85rem; color: var(--ink2); line-height: 1.75; }
.ledger-row--total {
  border-block-start: 2px solid var(--ink);
  margin-block-start: 8px;
  font-weight: 700; font-size: 1.1rem;
}
/* not shipped: label stays legible, status goes gold, nothing is struck out */
.ledger-row--off .ledger-row__label { color: var(--ink2); }   /* 6.92:1 */
.ledger-row--off .ledger-row__amount { color: var(--gold); font-weight: 700; }  /* 4.93:1 */
.ledger-row--off .leader { border-block-end-style: dashed; }
.ledger--zebra .ledger-row:nth-child(even) { background: var(--paper2); }
.band--deep .ledger-row__amount { color: var(--onDeep); }
.band--deep .ledger-row--off .ledger-row__label { color: var(--onDeep3); }
.band--deep .leader { border-block-end-color: rgba(255, 255, 255, .45); }


/* =============================================================================
   15. ACCORDION — iLanding. .faq is the landing wrapper; .disclosure is the
   bare <details> the app and doc pages use directly.
   ============================================================================= */
.faq { width: min(840px, 100%); margin-inline: auto; }
.faq details, .disclosure {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r-md);
  margin-block-end: 14px;
  overflow: hidden;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.faq details[open], .disclosure[open] { border-color: var(--brand600); box-shadow: var(--shadow-sm); }
.faq summary, .disclosure > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  min-block-size: 44px;
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--brandInk);
  display: flex; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker,
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary > h2,
.disclosure > summary > h3,
.disclosure > summary > h4 { margin: 0; font-size: inherit; color: inherit; }
/* a chevron for summaries that carry no icon of their own */
.disclosure > summary::after {
  content: "";
  margin-inline-start: auto;
  width: 10px; height: 10px;
  border-inline-end: 2px solid var(--brand600);
  border-block-end: 2px solid var(--brand600);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--dur);
  flex: none;
}
.disclosure[open] > summary::after { transform: rotate(225deg) translateY(-1px); }
.faq summary .icon { color: var(--brand600); font-size: 19px; margin-inline-start: auto; transition: transform var(--dur); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__body, .disclosure__body { padding: 0 24px 22px; color: var(--ink2); }
.faq__body p, .disclosure__body p { margin: 0 0 .7em; }
.faq__body > :last-child, .disclosure__body > :last-child { margin-block-end: 0; }
.disclosure__body h3, .disclosure__body h4 { color: var(--brandInk); font-size: 1.02rem; margin: 1.2em 0 .4em; }
.disclosure__body :first-child { margin-block-start: 0; }
.disclosure--ledger .disclosure__body { padding-block-end: 16px; }
.nav-disclosure { margin-block-end: 0; }


/* =============================================================================
   16. FINAL CTA
   ============================================================================= */
.cta__box {
  background: linear-gradient(135deg, var(--brand700), var(--brandInk));
  border-radius: var(--r-lg);
  padding: clamp(42px, 6vw, 72px) clamp(24px, 5vw, 56px);
  text-align: center;
  color: var(--onDeep);
  position: relative; overflow: hidden;
}
.cta__box::after {
  content: ""; position: absolute; inset-block-end: -90px; inset-inline-end: -70px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); pointer-events: none;
}
.cta__box h2 { color: var(--onDeep); font-size: clamp(1.7rem, 4vw, 2.5rem); position: relative; }
.cta__box p { color: var(--onDeep2); max-width: 62ch; margin-inline: auto; position: relative; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-block-start: 26px; position: relative; }
/* #D6EDDA on #277534 ... 4.62:1 */
.cta__note { margin: 22px 0 0; font-size: .9rem; color: var(--onDeep3); position: relative; }
.cta__note a { color: var(--onDeep); text-decoration: underline; font-weight: 700; }


/* =============================================================================
   17. FOOTER — iLanding. .footer is canonical; .site-footer is the legacy name.
   ============================================================================= */
.footer, .site-footer {
  background: var(--paper2);
  border-block-start: 1px solid var(--line);
  padding: clamp(46px, 5vw, 70px) 0 0;
}
.footer__grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer__about img { width: 46px; height: 46px; border-radius: 12px; }
.footer__about p { color: var(--ink2); font-size: .94rem; max-width: 36ch; margin: 14px 0 12px; }
.footer h4, .site-footer h4 { font-size: 1rem; margin: 0 0 16px; }
.footer nav { display: grid; gap: 10px; }
.footer nav a, .site-footer a { color: var(--ink2); font-size: .94rem; }
.footer nav a:hover, .site-footer a:hover { color: var(--brand700); }
.footer__bar {
  margin-block-start: 44px;
  border-block-start: 1px solid var(--line2);
  padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  color: var(--ink2); font-size: .87rem;
}
/* the small legal link row the app page prints under its download button */
.legal {
  margin-block-start: 26px;
  padding-block-start: 18px;
  border-block-start: 1px solid var(--line2);
  color: var(--ink2);
  font-size: .88rem;
}


/* =============================================================================
   18. LONG-FORM DOCUMENT PAGES — Terms, Privacy.
   Long Arabic prose at a readable measure, with a heading hierarchy you can
   navigate, numbered and nested lists, defined terms, and a print stylesheet.
   ============================================================================= */
.doc { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.doc__body { max-width: var(--measure); margin-inline: auto; }
.doc__body > * { max-width: 100%; }

/* --- document header: title, version, date -------------------------------- */
.doc-header {
  max-width: var(--measure);
  margin: 0 auto clamp(30px, 4vw, 48px);
  padding-block-end: 26px;
  border-block-end: 2px solid var(--line);
}
.doc-header h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); margin: 0 0 .35em; }
.doc-header__meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 0;
  color: var(--ink2);                  /* 6.92:1 */
  font-size: .93rem;
}
.doc-header__meta > * { display: inline-flex; align-items: baseline; gap: .4em; }
.doc-header__meta dt { font-weight: 700; color: var(--ink); }
.doc-header__meta dd { margin: 0; font-variant-numeric: tabular-nums; }
.doc-header .lead { margin-block-start: 14px; }

/* a standing notice under the document header (e.g. "beta terms") */
.doc-banner {
  max-width: var(--measure);
  margin: 0 auto clamp(26px, 3vw, 40px);
  background: var(--goldSoft);
  border: 1px solid var(--goldLine);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 18px 22px;
  color: var(--ink);                   /* #221E16 on #FBF3E4 ... 15.05:1 */
}
.doc-banner > :last-child { margin-block-end: 0; }
.doc-banner strong { color: var(--gold); }

/* --- table of contents ---------------------------------------------------- */
.doc-toc {
  max-width: var(--measure);
  margin: 0 auto clamp(32px, 4vw, 52px);
  background: var(--paper2);
  border: 1px solid var(--line2);
  border-radius: var(--r-md);
  padding: 24px 26px;
}
.doc-toc h2 { font-size: 1.02rem; margin: 0 0 14px; }
.doc-toc ol { counter-reset: toc; display: grid; gap: 9px; margin: 0; }
.doc-toc li { counter-increment: toc; display: flex; gap: 10px; align-items: baseline; }
.doc-toc li::before {
  content: counter(toc) ".";
  color: var(--brand700);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.doc-toc a { color: var(--ink); }
.doc-toc a:hover { color: var(--brand700); }
.doc-toc ol ol { margin-block-start: 9px; margin-inline-start: 18px; counter-reset: tocsub; }
.doc-toc ol ol li { counter-increment: tocsub; }
.doc-toc ol ol li::before { content: counter(toc) "." counter(tocsub); font-weight: 400; }

/* --- headings and anchors ------------------------------------------------- */
.doc__body h2 {
  font-size: clamp(1.32rem, 3vw, 1.7rem);
  margin: 2em 0 .55em;
  padding-block-end: 10px;
  border-block-end: 1px solid var(--line);
  scroll-margin-block-start: calc(var(--nav-h) + 20px);
}
.doc__body h3 {
  font-size: 1.14rem;
  color: var(--ink);
  margin: 1.7em 0 .45em;
  scroll-margin-block-start: calc(var(--nav-h) + 20px);
}
.doc__body h4 { font-size: 1.02rem; color: var(--ink); margin: 1.4em 0 .4em; }
.doc__body > :first-child { margin-block-start: 0; }
.doc__body p { line-height: 1.95; }
.doc__body a { text-decoration: underline; text-underline-offset: 3px; }

/* the § handle beside a section heading — visible on focus and on hover, and
   never the only way to reach anything */
.doc-anchor {
  margin-inline-start: .4em;
  color: var(--brand700);
  font-weight: 400;
  text-decoration: none;
  font-size: .8em;
}
.doc-anchor:hover { text-decoration: underline; }
:target > .doc-anchor { color: var(--gold); }
.doc__body :target {
  background: var(--brandSoft);
  border-radius: 8px;
  box-shadow: 0 0 0 10px var(--brandSoft);
}

/* --- lists ---------------------------------------------------------------- */
.doc__body ul.list, .doc__body ol.list { display: grid; gap: 11px; margin: 0 0 1.3em; }
.doc__body ul.list > li { display: flex; gap: 12px; align-items: flex-start; }
.doc__body ul.list > li::before {
  content: "";
  flex: none;
  inline-size: 7px; block-size: 7px;
  border-radius: 50%;
  background: var(--brand600);
  margin-block-start: .78em;
}
.doc__body ol.list { counter-reset: docol; }
.doc__body ol.list > li {
  counter-increment: docol;
  display: flex; gap: 12px; align-items: baseline;
}
.doc__body ol.list > li::before {
  content: counter(docol) ".";
  flex: none;
  min-inline-size: 1.6em;
  color: var(--brand700);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* nested: 1.1, 1.2 … */
.doc__body ol.list ol.list { counter-reset: docolsub; margin: .7em 0 0; }
.doc__body ol.list ol.list > li { counter-increment: docolsub; }
.doc__body ol.list ol.list > li::before { content: counter(docol) "." counter(docolsub); min-inline-size: 2.4em; }
.doc__body ul.list ul.list { margin: .7em 0 0; }
.doc__body ul.list ul.list > li::before { background: transparent; box-shadow: 0 0 0 2px var(--brand600) inset; }
.doc__body li > p:last-child { margin-block-end: 0; }

/* --- defined terms -------------------------------------------------------- */
.terms-list { display: grid; gap: 18px; margin: 0 0 1.4em; }
.terms-list dt {
  font-weight: 700;
  color: var(--brandInk);
  font-size: 1.02rem;
  margin-block-end: .25em;
}
.terms-list dd {
  margin: 0;
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--brandSoft2);
  color: var(--ink2);
}
.terms-list dd > :last-child { margin-block-end: 0; }
/* an inline defined term inside prose */
.term { font-weight: 700; color: var(--brandInk); border-block-end: 1px dotted var(--line3); }

/* --- quotes --------------------------------------------------------------- */
.doc__body blockquote, blockquote {
  margin: 0 0 1.4em;
  padding: 18px 22px;
  background: var(--paper2);
  border-inline-start: 4px solid var(--brandSoft2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink2);
}
blockquote > :last-child { margin-block-end: 0; }
blockquote cite { display: block; margin-block-start: .5em; font-style: normal; font-size: .88rem; color: var(--muted); }

/* --- tables inside documents ---------------------------------------------- */
.doc-table-scroll { overflow-x: auto; margin: 0 0 1.4em; }
.doc-table { inline-size: 100%; border-collapse: collapse; font-size: .96rem; }
.doc-table th, .doc-table td {
  text-align: start;
  padding: 11px 14px;
  border-block-end: 1px solid var(--line2);
  vertical-align: top;
}
.doc-table thead th { background: var(--paper2); color: var(--brandInk); font-weight: 700; }

/* --- code / literal strings ----------------------------------------------- */
code, kbd, samp {
  font-family: var(--mono);
  font-size: .92em;
  background: var(--paper2);
  border: 1px solid var(--line2);
  border-radius: 6px;
  padding: 1px 6px;
}


/* =============================================================================
   19. SIMPLE PAGES — about, 404, delete-account. One narrow centred column.
   ============================================================================= */
.page--narrow { padding-block: clamp(48px, 7vw, 96px); }
.page--narrow .wrap { width: min(680px, calc(100% - 40px)); }
.page--narrow h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); }
.page--narrow p { color: var(--ink2); }
.page--narrow p strong { color: var(--ink); }
.page--narrow .btn { margin-block-start: 10px; }

.page--center { text-align: center; }
.page--center .lead { margin-inline: auto; max-width: 52ch; }
.page--center .doc__body { text-align: start; }

/* The big 404 numeral. Quiet, but still readable as text rather than as a
   decorative wash: #7A7263 on #FFFBF3 ... 4.61:1, passing even at body size.
   The extra .page--narrow qualifier is needed to beat `.page--narrow p`. */
.bignum,
.page--narrow .bignum {
  font-size: clamp(4.5rem, 18vw, 9rem);
  line-height: 1;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 -.15em;
  font-variant-numeric: tabular-nums;
}


/* =============================================================================
   20. THE TESTER DOWNLOAD PAGE — /app/tadbeer/index.html
   Two mutually exclusive views toggled by [data-view] on <html>; that switch
   lives in the page's own inline <style> and is deliberately not repeated here
   so this file can never override it. What IS here: the invite-code display
   and its copy button.
   ============================================================================= */
.code-display, #code {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
/* The code is Latin/digits only, so tracking is safe here and nowhere else. */
#code, .code-display {
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  letter-spacing: .12em;
  color: var(--brandInk);              /* #1C5828 on #FFFBF3 ... 8.22:1 */
  line-height: 1.3;
  word-break: break-all;
}
.band--deep #code, .band--deep .code-display { color: var(--onDeep); }
/* the code sitting in a ledger row gets its own plate */
.ledger-row #code {
  background: var(--brandSoft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 16px;
  display: inline-block;
}
#copystatus {
  display: inline-block;
  margin-inline-start: 10px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--brand700);              /* 5.53:1 */
}
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-end: .6em; }


/* =============================================================================
   21. NARROW SCREENS — down to 320px, no horizontal scroll anywhere.
   ============================================================================= */
@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .band > .wrap, .site-header > .wrap { width: calc(100% - 32px); }
  .btn { padding: 12px 22px; }
  .nav__in .btn { padding: 9px 16px; font-size: .92rem; white-space: nowrap; }
  .scan { grid-template-columns: 1fr; }
  .qr { margin-inline: auto; }
  .spine__step { padding-inline-start: 54px; }
  .spine__step > .spine__num, .spine__step::after { width: 38px; height: 38px; font-size: .97rem; }
  .spine__step::before { inset-inline-start: 18px; }
  .doc-toc, .doc-banner, .callout { padding: 18px 18px; }
  .ledger-row { flex-wrap: wrap; }
  .ledger-row .leader { min-width: 24px; }
}
@media (max-width: 400px) {
  .nav__name { font-size: 1.15rem; }
  .chip { font-size: 10.5px; padding: 2px 8px; }
  /* the beta chip collides with the CTA on the narrowest phones; the beta
     status is still stated in the hero note, above the fold. */
  .nav__brand .chip { display: none; }
  .plan, .compare__col, .pain, .feature, .step { padding-inline: 18px; }
  .terms-list dd { padding-inline-start: 12px; }
}


/* =============================================================================
   22. PRINT — the legal documents are the pages people actually print.
   Drop the furniture, flatten the colour, keep the structure and the URLs.
   ============================================================================= */
@media print {
  .nav, .site-header, .site-nav, .footer, .site-footer, .skip-link,
  .cta__box, .hero__btns, .btn, .tear-edge, .tear-edge--start,
  .nav-disclosure, .doc-anchor { display: none !important; }

  html { scroll-behavior: auto; }
  body {
    background: #FFFFFF;
    color: #000000;
    font-size: 11pt;
    line-height: 1.65;
  }
  h1, h2, h3, h4 { color: #000000; break-after: avoid; }
  .wrap, .doc__body, .doc-header, .doc-toc, .doc-banner { width: auto; max-width: none; margin-inline: 0; }
  .section, .doc, .band { padding-block: 0; }

  .doc-toc, .doc-banner, .callout, .panel, .plan, .compare__col,
  .band--deep, .turn, blockquote, .ledger--zebra .ledger-row:nth-child(even) {
    background: #FFFFFF !important;
    color: #000000 !important;
    box-shadow: none !important;
    border: 1px solid #999999 !important;
  }
  .band--deep h1, .band--deep h2, .band--deep h3, .band--deep p,
  .turn h3, .turn p { color: #000000 !important; }

  /* details print open — a printed page cannot be expanded */
  details { display: block !important; }
  details > summary { list-style: none; font-weight: 700; }
  details > .disclosure__body, details > .faq__body { display: block !important; }

  /* print the destination of every link that leaves the page */
  .doc__body a[href^="http"]::after,
  .doc__body a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }

  p, li, blockquote, .ledger-row { break-inside: avoid; }
  .doc__body h2 { break-before: auto; }
  @page { margin: 18mm 16mm; }
}


/* =============================================================================
   23. REDUCED MOTION
   Durations go to zero. `animation: none` is never used — it would drop an
   element at its start state instead of showing its finished one.
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { --dur: 0.001s; --dur-slow: 0.001s; }
  *, *::before, *::after {
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .feature:hover { transform: none; }
  .receipt { transform: none; }
}

/* =============================================================================
   LIGHT ONLY — owner's decision.
   There is no dark palette and no prefers-color-scheme block. `color-scheme:
   light` is declared on :root above, which is what stops a browser in dark mode
   from repainting form controls, scrollbars and the canvas behind the page and
   leaving light text on a light ground. Do not add a dark block back without
   also removing that declaration and re-measuring every colour pair.
   ============================================================================= */


/* =============================================================================
   24. REFRESH 2026-09. Same brand, less template.
   Dials for this pass: variance 6, motion 4, density 4 (a trust-first money
   app: calm, never flashy). Brand tokens, font, copy and page structure are
   unchanged; this block only re-composes.

   SHAPE RULE (documented so it stays consistent):
     buttons and chips ... full pill
     cards, panels ....... --r-lg (22px)
     fields, callouts .... --r-sm (12px)
     the device frame .... 36px (it is a phone)

   MOTION RULE: every animation is a transform on content that is already
   visible (house rule: nothing starts hidden). All of it sits behind
   prefers-reduced-motion: no-preference, and the scroll-linked parts behind
   @supports (animation-timeline: view()), so an older browser simply shows
   the finished page.
   ============================================================================= */

/* --- 24.1 global: section titles are start-aligned, no underline bar ---- */
.stitle { text-align: start; margin-inline: 0; max-width: 640px; }
.stitle h2 { display: block; padding-block-end: 0; }
.stitle h2::after { content: none; }
.stitle p { max-width: 58ch; }
/* When the block under the title is a narrow column, the title lines up
   with that column instead of the page edge. */
.stitle:has(+ .wrap--narrow) { width: min(760px, 100%); max-width: none; margin-inline: auto; }
.stitle:has(+ .plan) { width: min(620px, 100%); max-width: none; margin-inline: auto; }
.stitle:has(+ .faq) { width: min(840px, 100%); max-width: none; margin-inline: auto; }

/* --- 24.2 global: buttons press, not bounce ----------------------------- */
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { box-shadow: 0 8px 20px rgba(44, 133, 58, .22); }
.nav__in .btn { white-space: nowrap; padding: 9px 20px; font-size: .95rem; box-shadow: none; }

/* --- 24.3 global: nav a touch slimmer, active link underlined ----------- */
:root { --nav-h: 68px; }
.nav__links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 9px;
  text-decoration-color: var(--brand600);
}

/* --- 24.4 global: cards share one radius -------------------------------- */
.panel, .plan, .turn, .cta__box, .pain, .feature, .step, .compare__col,
.faq details, .disclosure { border-radius: var(--r-lg); }

/* --- 24.5 HERO (split) --------------------------------------------------- */
.hx {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px);
  background:
    radial-gradient(900px 520px at 12% 40%, rgba(44, 133, 58, .12), transparent 64%),
    radial-gradient(600px 380px at 96% 0%, rgba(154, 98, 7, .06), transparent 60%);
}
.hx__in {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hx__in { grid-template-columns: 1.08fr .92fr; }
}
.hx__eyebrow {
  display: inline-block;
  background: var(--brandSoft2); color: var(--brandInk);   /* 6.62:1 */
  border-radius: 999px; padding: 5px 16px;
  font-size: .9rem; font-weight: 700;
  margin: 0 0 20px;
}
.hx h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.3;
  margin: 0 0 .5em;
}
.hx h1 .accent { color: var(--brand600); display: inline-block; }  /* large text, 4.50:1 */
.hx__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--ink2);
  max-width: 44ch;
  margin: 0 0 30px;
}
.hx__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* the stage: phone on the end side, receipt overlapping its lower corner */
.hx__stage {
  position: relative;
  justify-self: center;
  width: min(340px, 100%);
  padding-block-end: 170px;
}
.device {
  margin: 0;
  position: relative;
  border-radius: 36px;
  padding: 10px;
  background: var(--ink);
  box-shadow: 0 40px 80px -24px rgba(28, 88, 40, .38), 0 12px 28px rgba(34, 30, 22, .12);
}
.device img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 640 / 800;
  border-radius: 27px;
  background: var(--paper2);
}
.hx__receipt {
  position: absolute;
  inset-inline-end: -84px;          /* hangs off the outer edge of the phone */
  inset-block-end: 0;
  width: 264px;
  padding: 18px 18px 26px;
  box-shadow: 0 24px 50px -12px rgba(34, 30, 22, .28);
  transform: rotate(3deg);
}
.hx__receipt .row-line { font-size: 13.5px; margin-block-end: 6px; }
.hx__receipt .receipt__total { font-size: 1.02rem; }
.hx__receipt .receipt__head { font-size: 11px; white-space: nowrap; overflow: hidden; }
.hx__receipt .micro { font-size: 11.5px; margin-block-end: 10px; }
.hx__receipt .micro--foot { margin: 10px 0 0; }
@media (max-width: 1100px) {
  .hx__receipt { inset-inline-end: -40px; }
}
@media (max-width: 959px) {
  .hx__stage { width: min(310px, 82%); }
  .hx__receipt { width: 232px; inset-inline-end: -34px; }
  .hx__receipt .receipt__head { font-size: 10px; }
}
@media (max-width: 420px) {
  .hx__receipt { inset-inline-end: -18px; width: 210px; }
  .hx__receipt .row-line:nth-of-type(n+5):not(.receipt__total) { display: none; }
}

/* --- 24.6 PROBLEM: heading beside three open rows ---------------------- */
.pb {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  grid-template-columns: 1fr;
  margin-block-end: clamp(34px, 4vw, 52px);
}
@media (min-width: 900px) {
  .pb { grid-template-columns: .85fr 1.15fr; align-items: start; }
  .pb__head { position: sticky; inset-block-start: calc(var(--nav-h) + 28px); }
}
.pb__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.pb__head p { color: var(--ink2); font-size: 1.06rem; max-width: 40ch; margin: 0; }
.pb__list { display: grid; gap: 0; }
.pb__list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding-block: 22px;
  border-block-start: 1px solid var(--line2);
}
.pb__list li:first-child { border-block-start: 0; padding-block-start: 0; }
.pb__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--goldSoft); color: var(--gold);
  font-size: 22px;
}
.pb__list h3 { font-size: 1.12rem; color: var(--ink); margin: 0 0 .3em; }
.pb__list p { color: var(--ink2); margin: 0; font-size: .98rem; line-height: 1.85; }
.turn { text-align: start; }
.turn p { margin-inline: 0; }

/* --- 24.7 FEATURES: bento, six cells ----------------------------------- */
.bento {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.bento__cell {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: border-color var(--dur-slow), box-shadow var(--dur-slow);
}
.bento__cell:hover { border-color: rgba(44, 133, 58, .45); box-shadow: var(--shadow-md); }
.bento__cell h3 { font-size: 1.1rem; margin: 0 0 .4em; }
.bento__cell p { color: var(--ink2); font-size: .96rem; margin: 0; line-height: 1.85; }
.bento__icon {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--brandSoft); color: var(--brand600);
  font-size: 23px; margin-block-end: 16px;
}
/* the big one: text beside a real filled-in form */
.bento__cell--scan {
  background:
    radial-gradient(520px 300px at 0% 100%, rgba(44, 133, 58, .16), transparent 70%),
    var(--brandSoft);
  border-color: transparent;
  display: grid; gap: 24px; align-content: start;
}
.bento__cell--scan h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.bento__cell--scan .bento__icon { background: var(--card); }
.bento__panel { padding: 20px; box-shadow: var(--shadow-sm); }
.bento__panel h4 { margin: 0; font-size: 1rem; }
/* the QR cell: a real pattern, not a white card */
.bento__cell--qr {
  background:
    repeating-linear-gradient(45deg, rgba(28, 88, 40, .045) 0 8px, transparent 8px 16px),
    var(--card);
}
.bento__qr { margin-block-end: 18px; }
.bento__cell--gold { background: var(--goldSoft); border-color: transparent; }
.bento__cell--gold .bento__icon { background: var(--card); color: var(--gold); }
.bento__cell--gold h3 { color: var(--gold); }   /* 4.62:1 */
.bento__cell--gold:hover { border-color: var(--goldLine); }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--scan { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento__cell { grid-column: span 2; }
  .bento__cell--scan {
    grid-column: span 4; grid-row: span 2;
    grid-template-columns: 1fr 1.1fr; align-items: center;
    padding: 36px;
  }
}

/* --- 24.8 HOW IT WORKS: one rail, three stops ------------------------- */
.flow {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  position: relative;
}
.flow__step { position: relative; padding-inline-start: 64px; }
.flow__n {
  position: absolute; inset-inline-start: 0; inset-block-start: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand600); color: #fff;      /* 4.64:1 */
  font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 0 0 6px var(--paper2);
  z-index: 1;
}
.flow__step:not(:last-child)::before {           /* vertical rail on phones */
  content: "";
  position: absolute; inset-inline-start: 22px; inset-block: 46px -30px;
  width: 2px; background: var(--brandSoft2);
}
.flow h3 { font-size: 1.15rem; margin: .45em 0 .35em; }
.flow p { color: var(--ink2); margin: 0; font-size: .98rem; line-height: 1.85; max-width: 34ch; }
@media (min-width: 860px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .flow__step { padding-inline-start: 0; padding-block-start: 66px; }
  .flow h3 { margin-block-start: 0; }
  .flow__step:not(:last-child)::before {         /* horizontal rail on desktop */
    inset-inline-start: 46px; inset-inline-end: -40px;
    inset-block: 22px auto;
    width: auto; height: 2px;
  }
}

/* --- 24.9 SHOWCASE: panel tilts the other way from the receipt -------- */
.panel--tilt { box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .panel--tilt { transform: rotate(-1.2deg); } }

/* --- 24.10 PRICING: two tiers in one frame ---------------------------- */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line2);
  background: var(--card);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) { .tiers { grid-template-columns: .8fr 1.2fr; } }
.tiers__free {
  background: var(--brandSoft);
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column;
}
.tiers__free h3 { font-size: 1.2rem; }
.tiers__free > p { color: var(--ink2); }
.tiers__price {
  margin-block: auto 0; padding-block-start: 18px;
  color: var(--brandInk);
  display: flex; align-items: baseline; gap: 10px;
}
.tiers__price .amount { font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 700; line-height: 1; }
.tiers__price .period { color: var(--ink2); font-weight: 700; }
.tiers__plus {
  padding: clamp(28px, 4vw, 44px);
  border-block-start: 3px solid var(--gold);
}
@media (min-width: 900px) {
  .tiers__plus { border-block-start: 0; border-inline-start: 3px solid var(--gold); }
}
.tiers__plus .plan__price { justify-content: flex-start; }
.tiers__plus .plan__list { margin-block-end: 22px; }

/* --- 24.11 PRIVACY: one large statement ------------------------------- */
.pv { max-width: 780px; margin-inline: auto; text-align: center; }
.pv__icon {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brandSoft2); color: var(--brandInk);
  font-size: 26px; margin-block-end: 16px;
}
.pv h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.pv p { color: var(--ink2); }
.pv .pv__lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--ink); line-height: 1.85; }

/* --- 24.12 FAQ: pinned heading, answers beside it --------------------- */
.qa { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .qa { grid-template-columns: .75fr 1.25fr; align-items: start; }
  .qa__head { position: sticky; inset-block-start: calc(var(--nav-h) + 28px); }
}
.qa__head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.qa__head p { color: var(--ink2); margin: 0; }
.qa .faq { width: 100%; }

/* --- 24.13 CTA: copy and buttons side by side ------------------------- */
.cta__box--split { text-align: start; display: grid; gap: 24px; align-items: center; }
.cta__box--split p { margin-inline: 0; }
.cta__box--split .cta__btns { justify-content: flex-start; margin: 0; }
@media (min-width: 900px) {
  .cta__box--split { grid-template-columns: 1.4fr auto; gap: 48px; }
  .cta__box--split .cta__btns { flex-direction: column; align-items: stretch; }
}

/* --- 24.14 MOTION ------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: the phone settles and the receipt drops onto it. Storytelling:
     the receipt is what the app just read. Content is visible throughout. */
  @keyframes tb-settle { from { transform: translateY(26px); } to { transform: none; } }
  @keyframes tb-drop   { from { transform: translateY(-18px) rotate(9deg); } to { transform: rotate(3deg); } }
  .device { animation: tb-settle .9s cubic-bezier(.16, 1, .3, 1) both; }
  .hx__receipt { animation: tb-drop 1s cubic-bezier(.16, 1, .3, 1) .25s both; }

  @supports (animation-timeline: view()) {
    /* Blocks rise a little as they arrive. Hierarchy: draws the eye to the
       block entering, without ever hiding it. */
    @keyframes tb-rise { from { transform: translateY(30px); } to { transform: none; } }
    .rise {
      animation: tb-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
    /* Budget bars fill as the panel comes into view. Storytelling: the
       month adding up. Bars start at 15 percent so none is ever empty. */
    @keyframes tb-fill { from { transform: scaleX(.15); } to { transform: none; } }
    .bar__fill {
      transform-origin: right center;             /* RTL: bars grow from the start edge */
      animation: tb-fill linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }
  }
}

/* --- 24.15 feature cards on inner pages: never three equal columns ------
   An odd last card spans the full row, so three cards read as two plus one. */
@media (min-width: 760px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .features > .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
}


/* --- 24.16 PHONE MENU -----------------------------------------------------
   Below 860px the link row is hidden; this <details> takes its place. No
   script: it opens and closes natively and works with the keyboard. */
.nav__menu { display: none; position: relative; }
.nav__menu > summary {
  list-style: none;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line3);
  display: grid; place-content: center; gap: 4px;
  background: var(--card);
}
.nav__menu > summary::-webkit-details-marker { display: none; }
.nav__menu > summary span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--brandInk);
  transition: transform var(--dur), opacity var(--dur);
}
.nav__menu[open] > summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__menu[open] > summary span:nth-child(2) { opacity: 0; }
.nav__menu[open] > summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__menu > nav {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 10px);
  width: min(260px, calc(100vw - 32px));
  display: grid;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 70;
}
.nav__menu > nav a {
  color: var(--ink);
  padding: 11px 14px;
  border-radius: var(--r-sm);
  min-block-size: 44px;
}
.nav__menu > nav a:hover { background: var(--brandSoft); text-decoration: none; }
.nav__menu > nav a[aria-current="page"] { color: var(--brandInk); font-weight: 700; background: var(--brandSoft); }
@media (max-width: 860px) {
  .nav__menu { display: block; }
  .nav__in { gap: 10px; }
}

/* --- 24.17 NAV lifts off the page once you scroll ------------------------ */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes tb-navlift {
      to { box-shadow: 0 10px 30px -12px rgba(34, 30, 22, .18); background: rgba(255, 251, 243, .96); }
    }
    .nav {
      animation: tb-navlift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 120px;
    }
  }
}

/* --- 24.18 THE SAMPLE QR ---------------------------------------------------
   A real, scannable sample (assets/sample-zatca-qr.svg), with the fields it
   carries printed beside it. */
.bento__cell--qr { display: grid; gap: 14px; align-content: start; }
.bento__cell--qr h3 { margin-block-start: 4px; }
.scanbox {
  position: relative;
  justify-self: start;
  width: 132px;
  padding: 8px;
  background: #fff;
  border-radius: var(--r-sm);
  box-shadow: 0 0 0 1px var(--line2), var(--shadow-sm);
  overflow: hidden;
}
.scanbox img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
/* viewfinder corners, the way the app frames a code */
.scanbox::before {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 10px;
  background:
    linear-gradient(var(--brand600), var(--brand600)) top    left  / 18px 3px,
    linear-gradient(var(--brand600), var(--brand600)) top    left  / 3px 18px,
    linear-gradient(var(--brand600), var(--brand600)) top    right / 18px 3px,
    linear-gradient(var(--brand600), var(--brand600)) top    right / 3px 18px,
    linear-gradient(var(--brand600), var(--brand600)) bottom left  / 18px 3px,
    linear-gradient(var(--brand600), var(--brand600)) bottom left  / 3px 18px,
    linear-gradient(var(--brand600), var(--brand600)) bottom right / 18px 3px,
    linear-gradient(var(--brand600), var(--brand600)) bottom right / 3px 18px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.qrdata {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.qrdata div {
  background: var(--paper2);
  border: 1px solid var(--line2);
  border-radius: var(--r-sm);
  padding: 7px 11px;
  min-width: 0;
}
.qrdata dt { font-size: .74rem; color: var(--ink2); }
.qrdata dd { margin: 0; font-weight: 700; font-size: .9rem; color: var(--ink); overflow-wrap: anywhere; }
.qrnote { margin: 0; color: var(--muted); font-size: .8rem; }   /* 4.61:1 on paper-ish card */

/* the receipt now ends the way Saudi receipts do: VAT line, then the code */
.receipt__vat { font-size: 12.5px; color: var(--ink2); margin-block: 8px 0; }
.receipt__foot { display: flex; align-items: center; gap: 12px; margin-block-start: 12px; }
.receipt__foot img { width: 64px; height: 64px; flex: none; image-rendering: pixelated; }
.receipt__foot .micro--foot { margin: 0; }
.hx__receipt .receipt__vat { font-size: 11.5px; margin-block-start: 6px; }
.hx__receipt .receipt__foot img { width: 52px; height: 52px; }
@media (max-width: 420px) {
  .hx__receipt .receipt__foot img { width: 44px; height: 44px; }
}

/* scan line: sweeps the code once as the card arrives. Storytelling: this
   is the moment the app reads it. Never loops. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .scanbox::after {
      content: "";
      position: absolute; inset-inline: 4px; inset-block-start: 0;
      height: 3px; border-radius: 3px;
      background: var(--brand600);
      box-shadow: 0 0 12px 2px rgba(44, 133, 58, .35);
      animation: tb-scan linear both;
      animation-timeline: view();
      animation-range: entry 20% cover 55%;
    }
    @keyframes tb-scan {
      0%   { transform: translateY(6px);   opacity: 1; }
      90%  { transform: translateY(126px); opacity: 1; }
      100% { transform: translateY(126px); opacity: 0; }
    }
  }
}

/* --- 24.19 small finish ---------------------------------------------------- */
.bento__icon { transition: transform var(--dur-slow); }
.bento__cell:hover .bento__icon { transform: translateY(-2px) rotate(-4deg); }
.hx__btns .btn--ghost { background: rgba(255, 255, 255, .6); }


/* =============================================================================
   JOIN FORM — tester access request (assets/join-form.js)
   ============================================================================= */
.join-form { display: grid; gap: 12px; max-width: 460px; margin-block: 12px; }
.join-form__field { display: grid; gap: 6px; font-weight: 700; font-size: .96rem; letter-spacing: 0; }
.join-form__field input {
  min-height: 48px; padding: 10px 14px;
  font: inherit; font-weight: 400; letter-spacing: 0; color: var(--ink);
  background: #fff; border: 1px solid var(--line2); border-radius: var(--r-sm);
}
.join-form__field input:focus-visible { outline: 3px solid var(--brand600); outline-offset: 2px; }
.join-form .btn { min-height: 48px; justify-self: start; cursor: pointer; }
.join-form .btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.join-form__hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.doc__body ol.list > li:has(> .join-form) { flex-wrap: wrap; }
.doc__body ol.list > li > .join-form { flex: 1 0 100%; }
.join-form__note { margin: 0; font-size: .88rem; line-height: 1.7; letter-spacing: 0; }
.join-form__msg { margin: 0; min-height: 1.6em; line-height: 1.7; letter-spacing: 0; }
.join-form__msg[data-kind="ok"] { color: var(--brand700); font-weight: 700; }
.join-form__msg[data-kind="error"] { color: #B3261E; font-weight: 700; }
.join-form__msg[data-kind="warn"] { color: var(--gold); font-weight: 700; }


/* =============================================================================
   30. 2026-12 REDESIGN — the 0.30 app look.
   Cool-grey paper, white cards, a deep-green hero band, phone mockups built
   from the real store screenshots (assets/screens/*.webp), and the Plus gold.
   Everything below is additive: older pages that still use the classes above
   keep working (the live legal pages are deployed separately and share this
   stylesheet).
   Contrast on the green band: #FFFFFF on #17552A 9.0:1; --onDeep2 #DCEFDF on
   #1F6E33 5.3:1 (worst point of the gradient, #2A8139: 4.6:1 for 1.1rem+).
   ============================================================================= */
:root {
  --deep1: #1F6E33;
  --deep2: #17552A;
  --deep3: #113F20;
  --tint-green: #E6F4E8;
  --tint-blue: #E8F0FD;
  --tint-purple: #EFEAFD;
  --tint-gold: #FDF3E1;
  --tint-teal: #E3F5F3;
  --r-xl: 28px;
}

h1, h2 { font-weight: 800; }
.section--surface { background: #fff; border-block: 0; }

/* the green band, shared by the home hero, inner page heroes and the CTA */
.gband {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(64, 160, 84, .55), transparent 62%),
    linear-gradient(160deg, var(--deep1) 0%, var(--deep2) 58%, var(--deep3) 100%);
}
.gband::before, .gband::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.gband::before { width: 420px; height: 420px; inset-block-start: -160px; inset-inline-end: -120px; }
.gband::after { width: 300px; height: 300px; inset-block-end: -150px; inset-inline-start: 8%; }
.gband h1, .gband h2, .gband h3 { color: #fff; }
.gband p { color: var(--onDeep2); }
.gband a:not(.btn) { color: #fff; text-decoration: underline; }
.gband :focus-visible { outline-color: #fff; }

/* eyebrow pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; line-height: 1.6;
  padding: 6px 14px; border-radius: 999px;
  background: var(--brandSoft); color: var(--brandInk);
  margin: 0 0 16px;
}
.eyebrow .icon { width: 18px; height: 18px; }
.gband .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.eyebrow--gold { background: var(--tint-gold); color: var(--gold); }

/* ---------- phone mockup ---------- */
.phone {
  position: relative; margin: 0;
  inline-size: var(--phone-w, 260px);
  padding: 8px;
  border-radius: 38px;
  background: #0E1712;
  box-shadow: 0 30px 70px rgba(8, 30, 16, .30), 0 6px 16px rgba(8, 30, 16, .16),
              inset 0 0 0 1.5px rgba(255, 255, 255, .14);
  flex: none;
}
.center-btn { text-align: center; margin: clamp(28px, 4vw, 40px) 0 0; }
.phone img {
  display: block; inline-size: 100%; block-size: auto;
  aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 31px; background: #F3F5F8;
}
.phone--sm { --phone-w: 210px; }

/* ---------- home hero ---------- */
.hero3 { padding-block: clamp(44px, 7vw, 92px) clamp(48px, 6vw, 80px); }
.hero3__in { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero3 h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.6rem);
  line-height: 1.4; margin: 0 0 18px;
}
.hero3 h1 .soft { color: #A8E2B2; }
.hero3__sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.85; max-width: 34em; margin: 0 0 28px; }
.hero3__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.hero3__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero3__facts li { display: inline-flex; align-items: center; gap: 8px; color: var(--onDeep2); font-size: .95rem; }
.hero3__facts .icon { width: 18px; height: 18px; color: #A8E2B2; }
.hero3__stage {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  min-block-size: 360px;
}
.hero3__stage .phone:first-child { --phone-w: clamp(210px, 23vw, 286px); z-index: 2; }
.hero3__stage .phone + .phone {
  --phone-w: clamp(176px, 19vw, 240px);
  margin-inline-start: -56px; margin-block-end: 36px;
  transform: rotate(-6deg); opacity: .97;
}
@media (min-width: 960px) {
  .hero3__in { grid-template-columns: 1.05fr .95fr; }
}
@media (max-width: 959px) {
  .hero3 { text-align: center; }
  .hero3__sub { margin-inline: auto; }
  .hero3__btns, .hero3__facts { justify-content: center; }
}
@media (max-width: 480px) {
  .hero3__btns .btn { flex: 1 1 100%; }
  .hero3__stage .phone + .phone { margin-inline-start: -70px; }
}

/* ---------- section heading (centred) ---------- */
.shead { text-align: center; max-width: 740px; margin: 0 auto clamp(32px, 4vw, 52px); }
.shead h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.45; margin: 0 0 12px; }
.shead p { color: var(--ink2); font-size: 1.08rem; margin: 0; }

/* ---------- feature rows ---------- */
.feat { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.feat + .feat { margin-block-start: clamp(56px, 8vw, 110px); }
.feat h3 { font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 800; line-height: 1.5; margin: 0 0 12px; color: var(--ink); }
.feat__text > p { color: var(--ink2); font-size: 1.06rem; margin: 0 0 18px; max-width: 34em; }
.feat__stage {
  position: relative; display: flex; justify-content: center; align-items: center; gap: 18px;
  padding: clamp(28px, 4vw, 48px) 16px;
  border-radius: var(--r-xl);
  background: var(--tint-green);
  overflow: hidden;
}
.feat__stage--blue { background: var(--tint-blue); }
.feat__stage--purple { background: var(--tint-purple); }
.feat__stage--gold { background: var(--tint-gold); }
.feat__stage--teal { background: var(--tint-teal); }
.feat__stage .phone { --phone-w: clamp(190px, 22vw, 250px); }
.feat__stage .phone + .phone { margin-block-start: 48px; }
@media (min-width: 900px) {
  .feat { grid-template-columns: 1fr 1fr; }
  .feat--flip .feat__stage { order: -1; }
}
@media (max-width: 520px) {
  .feat__stage { gap: 10px; padding-inline: 10px; }
  .feat__stage .phone { --phone-w: 46%; padding: 5px; border-radius: 26px; }
  .feat__stage .phone img { border-radius: 21px; }
  .feat__stage .phone:only-child { --phone-w: 66%; }
}

/* tick list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.75; }
.ticks .icon {
  flex: none; width: 26px; height: 26px; padding: 5px; margin-block-start: 1px;
  border-radius: 8px; background: var(--brandSoft); color: var(--brand700);
}
.ticks--gold .icon { background: var(--tint-gold); color: var(--gold); }
.gband .ticks .icon { background: rgba(255, 255, 255, .14); color: #fff; }
.gband .ticks li { color: var(--onDeep2); }

/* plus tag inline */
.plus-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .82rem; font-weight: 600; line-height: 1.6;
  padding: 1px 10px; border-radius: 999px;
  background: var(--tint-gold); color: var(--gold);
  vertical-align: middle;
}

/* ---------- small cards (app quick-action look) ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card3 {
  background: #fff; border-radius: 20px; padding: 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.card3 h3 { font-size: 1.12rem; font-weight: 600; color: var(--ink); margin: 14px 0 6px; line-height: 1.6; }
.card3 p { color: var(--ink2); margin: 0; font-size: .98rem; line-height: 1.8; }
.tile {
  display: inline-grid; place-items: center;
  inline-size: 52px; block-size: 52px; border-radius: 16px;
  background: var(--tint-green); color: var(--brand700);
}
.tile .icon { width: 26px; height: 26px; }
.tile--blue { background: var(--tint-blue); color: #2557B8; }
.tile--purple { background: var(--tint-purple); color: #6A3FD0; }
.tile--gold { background: var(--tint-gold); color: var(--gold); }
.tile--teal { background: var(--tint-teal); color: #0F7468; }

/* ---------- numbered steps ---------- */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s3; }
@media (min-width: 860px) { .steps3--row { grid-template-columns: repeat(3, 1fr); } }
.steps3 > li {
  counter-increment: s3; position: relative;
  background: #fff; border-radius: 20px; padding: 24px 24px 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.steps3 > li::before {
  content: counter(s3);
  display: inline-grid; place-items: center;
  inline-size: 40px; block-size: 40px; border-radius: 12px;
  background: var(--brand600); color: #fff; font-weight: 800; font-size: 1.05rem;
  margin-block-end: 12px;
}
.steps3 h3 { font-size: 1.12rem; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.steps3 p { color: var(--ink2); margin: 0; }

/* ---------- pricing ---------- */
.price3 { display: grid; gap: 20px; align-items: stretch; max-width: 980px; margin-inline: auto; }
@media (min-width: 860px) { .price3 { grid-template-columns: 1fr 1.15fr; } }
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.pcard--plus { border: 2px solid rgba(149, 96, 10, .45); box-shadow: var(--shadow-md); }
.pcard__name { font-size: 1.35rem; font-weight: 800; margin: 0 0 4px; color: var(--ink); }
.pcard__tag { color: var(--ink2); margin: 0 0 18px; }
.pcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 6px; }
.pcard__price .amount {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: clamp(2.4rem, 6vw, 3.2rem); font-weight: 800; line-height: 1.2; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pcard--plus .pcard__price .amount { color: var(--gold); }
.pcard__price .amount .sar { width: .72em; height: .8em; }
.pcard__price .period { color: var(--ink2); font-weight: 600; }
.pcard__alt { margin: 0 0 18px; font-weight: 600; color: var(--ink); }
.pcard__alt .save { color: var(--brand700); }
.pcard .ticks { margin-block-end: 20px; }
.pcard__fine { margin: auto 0 0; padding-block-start: 16px; border-block-start: 1px solid var(--line2); font-size: .92rem; color: var(--ink2); line-height: 1.8; }
.pcard__badge {
  position: absolute; inset-block-start: -14px; inset-inline-start: 24px;
  font-size: .85rem; font-weight: 600; padding: 3px 14px; border-radius: 999px;
  background: var(--gold); color: #fff;
}

/* ---------- privacy band ---------- */
.pv3 {
  display: grid; gap: 24px; align-items: center;
  background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .pv3 { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.pv3 h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 14px 0 10px; }
.pv3 p { color: var(--ink2); }

/* ---------- final CTA ---------- */
.cta3 { border-radius: var(--r-xl); padding: clamp(32px, 5vw, 60px); display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta3 { grid-template-columns: 1.4fr auto; } }
.cta3 h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 10px; }
.cta3 p { margin: 0; max-width: 40em; }
.cta3__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- inner page hero ---------- */
.phero { padding-block: clamp(40px, 6vw, 76px); }
.phero h1 { font-size: clamp(1.95rem, 4.4vw, 3rem); line-height: 1.45; margin: 0 0 12px; }
.phero .lead, .phero p { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--onDeep2); max-width: 46em; margin: 0; }
.phero .lead + .lead, .phero p + p { margin-block-start: .7em; }
.phero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 24px; }

/* ---------- download: join flow ---------- */
.join3 { display: grid; gap: 22px; }
@media (min-width: 960px) { .join3 { grid-template-columns: 1.15fr .85fr; align-items: start; } }
.jstep {
  position: relative; background: #fff; border-radius: 22px;
  padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.jstep + .jstep { margin-block-start: 16px; }
.jstep--main { border: 2px solid var(--brand600); box-shadow: var(--shadow-md); }
.jstep__n {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--brand700); font-size: .95rem; margin: 0 0 6px;
}
.jstep__n b {
  display: inline-grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 10px;
  background: var(--brand600); color: #fff; font-weight: 800;
}
.jstep--wait .jstep__n b { background: var(--tint-gold); color: var(--gold); }
.jstep h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.jstep p { color: var(--ink2); margin: 0 0 10px; }
.jstep .join-form { max-width: none; }
.jstep .join-form .btn { justify-self: stretch; }
.join-form__field input { border-color: var(--line3); border-radius: 14px; }
.jside { display: grid; gap: 16px; }
.jside .phone { margin-inline: auto; --phone-w: 230px; }
.warnbox {
  background: var(--tint-gold); border-radius: 20px; padding: 22px 24px;
  border: 1px solid rgba(149, 96, 10, .25);
}
.warnbox h3 { color: var(--gold); font-size: 1.08rem; font-weight: 600; margin: 0 0 6px; }
.warnbox p { margin: 0 0 8px; color: var(--ink); }
.warnbox p:last-child { margin: 0; }

/* footer on white */
.footer { background: #fff; border-block-start: 1px solid var(--line); }
.sr-only {
  position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.feat .sub3, .sub3 { font-size: 1.08rem; font-weight: 600; color: var(--ink); margin: 22px 0 12px; }
.feat h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); line-height: 1.5; margin: 0 0 12px; }
.faq--center { max-width: 820px; margin-inline: auto; }
.phero .eyebrow { margin-block-end: 14px; }
.page--narrow .bignum { line-height: 1.15; margin-block-end: 18px; color: var(--brand600); font-weight: 800; }
