/* Public home page. Same palette and type as the app, with more room to breathe. */
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/plex-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/plex-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("fonts/plex-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF; }
:root {
  --ink: #14213d; --ink-2: #1d3557; --ink-3: #27446b; --paper: #f3f5f7; --surface: #fff; --line: #dbe1e7;
  --muted: #5a6a7b; --tape: #ffc93c; --tape-2: #ffb703; --tape-soft: #fff4d1; --go: #12775f; --go-soft: #e2f3ee;
  --stop-soft: #fbe9e7; --r: 10px; --font: "Plex Arabic", "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.7 var(--font); color: var(--ink); background: var(--surface); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
a { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }
.skip { position: absolute; right: -999px; top: 0; background: var(--tape); padding: 8px 12px; z-index: 50; }
.skip:focus { right: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
.eyebrow { color: var(--go); font-weight: 700; font-size: .85rem; letter-spacing: .02em; margin-bottom: .4rem; }
.tape { display: inline-block; width: 26px; height: 10px; background: var(--tape); transform: rotate(-8deg); border-radius: 1px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px; border-radius: 8px; font: 500 .95rem var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn.lg { min-height: 52px; padding: 0 24px; font-size: 1.02rem; }
.tape-btn { background: var(--tape); color: var(--ink); border-color: var(--tape); font-weight: 700; }
.tape-btn:hover { background: var(--tape-2); border-color: var(--tape-2); }
.ghost { background: transparent; color: inherit; border-color: currentColor; }
.ghost:hover { background: rgba(127,127,127,.08); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(20,33,61,.97); color: #fff; backdrop-filter: blur(6px); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 1.12rem; }
.top-nav { display: flex; gap: 22px; margin-inline-start: 24px; }
.top-nav a { color: #c8d3df; text-decoration: none; font-size: .95rem; }
.top-nav a:hover { color: #fff; }
.top-cta { display: flex; gap: 10px; margin-inline-start: auto; }
.top .ghost { color: #fff; border-color: rgba(255,255,255,.35); }

/* hero */
.hero { background: var(--ink); color: #fff; padding: 64px 0 88px; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: auto -10% -60px -10%; height: 120px; background: var(--surface); transform: rotate(-2deg); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--tape); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin-bottom: 1rem; }
.hl { background: linear-gradient(transparent 62%, rgba(255,201,60,.55) 62%); padding: 0 4px; }
.lead { font-size: 1.12rem; color: #d5deea; max-width: 40rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero .ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #c8d3df; font-size: .92rem; }
.ticks li::before { content: "✓"; color: var(--tape); font-weight: 700; margin-inline-end: 6px; }

.hero-card { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-1.5deg); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chip { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .78rem; background: #eef1f4; }
.chip.ok { background: var(--go-soft); color: #0b5443; font-weight: 700; }
.mini-route { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; margin-bottom: 16px; }
.mini-route::before { content: ""; position: absolute; top: 8px; right: 8%; left: 8%; height: 3px; background: var(--line); }
.mini-route span { position: relative; text-align: center; font-size: .68rem; color: var(--muted); padding-top: 24px; }
.mini-route span::before { content: ""; position: absolute; top: 1px; right: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--line); z-index: 1; box-sizing: border-box; }
.mini-route .done { color: var(--ink); }
.mini-route .done::before { background: var(--ink-2); border-color: var(--ink-2); }
.mini-route .now { color: var(--ink); font-weight: 700; }
.mini-route .now::before { background: var(--tape); border-color: var(--ink); width: 20px; height: 20px; top: -1px; right: calc(50% - 10px); }
.card-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.card-rows div { background: var(--paper); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; }
.card-rows small { color: var(--muted); font-size: .72rem; }
.card-rows b { font-size: .92rem; }
.card-note { font-size: .85rem; background: var(--tape-soft); border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--go); margin-inline-end: 6px; }
.card-wa { font-size: .85rem; background: var(--go-soft); border-radius: 12px 12px 12px 2px; padding: 8px 12px; }
.card-wa span { display: block; font-size: .7rem; color: var(--go); font-weight: 700; }

/* sections */
section { padding: 72px 0; }
.pains { padding-top: 40px; }
.pains h2 { text-align: center; margin-bottom: 28px; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain-grid div { border-top: 3px solid var(--tape); padding-top: 14px; }
.pain-grid b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.pain-grid p { color: var(--muted); font-size: .95rem; }

.features { background: var(--paper); }
.features h2 { max-width: 46rem; margin-bottom: 32px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.feat-grid p { color: var(--muted); font-size: .93rem; margin: 0; }
.ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--tape); font-size: 1.15rem; margin-bottom: 12px; }

.big-route { list-style: none; padding: 0; margin: 32px 0 48px; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; counter-reset: r; }
.big-route::before { content: ""; position: absolute; top: 15px; right: 7%; left: 7%; height: 4px; background: linear-gradient(to left, var(--ink-2) 72%, var(--line) 72%); }
.big-route li { position: relative; text-align: center; padding: 44px 6px 0; counter-increment: r; }
.big-route li::before { content: counter(r); position: absolute; top: 0; right: calc(50% - 17px); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); color: #fff; font-weight: 700; font-size: .9rem; z-index: 1; }
.big-route li:nth-child(6)::before { background: var(--tape); color: var(--ink); box-shadow: 0 0 0 4px var(--ink); }
.big-route li:nth-child(7)::before { background: #fff; color: var(--muted); border: 3px solid var(--line); }
.big-route b { display: block; }
.big-route small { color: var(--muted); font-size: .82rem; }

.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare caption { text-align: right; font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: right; }
.compare thead th { font-size: .85rem; color: var(--muted); font-weight: 500; }
.compare thead th:last-child, .compare td:last-child { background: var(--tape-soft); font-weight: 700; color: var(--ink); }
.compare td { color: var(--muted); }
.compare tbody th { font-weight: 500; }

.pricing { background: var(--paper); }
.pricing .sub { color: var(--muted); margin-bottom: 30px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; display: flex; flex-direction: column; }
.price-card.hot { border: 2px solid var(--ink); box-shadow: 0 18px 40px rgba(20,33,61,.12); }
.ribbon { position: absolute; top: -13px; right: 20px; background: var(--tape); font-size: .8rem; font-weight: 700; padding: 2px 12px; border-radius: 999px; }
.amount { font-size: .95rem; color: var(--muted); margin-bottom: .3rem; }
.amount b { font-size: 2.2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.blurb { font-size: .92rem; color: var(--muted); min-height: 3em; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; font-size: .93rem; }
.price-card li::before { content: "✓"; color: var(--go); font-weight: 700; margin-inline-end: 8px; }
.price-card .btn { margin-top: auto; }
.price-card .ghost { color: var(--ink); border-color: var(--line); }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.trial { background: var(--ink); color: #fff; }
.trial-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.trial-copy p { color: #c8d3df; font-size: 1.05rem; }
.ticks.light { flex-direction: column; gap: 8px; }
.trial-form { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 24px; display: grid; gap: 14px; }
.trial-form label { display: flex; flex-direction: column; gap: 5px; font-size: .9rem; font-weight: 500; }
.trial-form label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.trial-form input, .trial-form select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font: 16px var(--font); color: var(--ink); background: #fff; }
.trial-form input[type=checkbox] { width: auto; min-height: 0; accent-color: var(--ink-2); }
.trial-form input:focus, .trial-form select:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(29,53,87,.15); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; right: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 10px 14px; border-radius: 8px; border: 1px solid; font-size: .92rem; }
.alert.ok { background: var(--go-soft); border-color: #a9d8ca; }
.alert.bad { background: var(--stop-soft); border-color: #eab8b2; }
.alert ul { margin: 0; padding-inline-start: 18px; }

.foot { background: #0d1830; color: #9fb0c4; padding: 36px 0; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.foot p { margin: 4px 0 0; font-size: .9rem; }
.foot .logo { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: #c8d3df; text-decoration: none; font-size: .92rem; }
.foot .by { width: 100%; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; font-size: .9rem; }
.foot .by b { color: var(--tape); }

/* legal pages */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 1.8rem; }
.legal h2 { font-size: 1.15rem; margin-top: 1.6rem; }
.legal p, .legal li { color: #33445a; }

@media (max-width: 980px) {
  .hero-in, .trial-in { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; transform: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .top-nav { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .hero { padding: 40px 0 72px; }
  .top-cta .ghost { display: none; }
  .feat-grid, .pain-grid, .two { grid-template-columns: 1fr; }
  .big-route { grid-template-columns: 1fr; gap: 0; margin-bottom: 36px; }
  .big-route::before { top: 0; bottom: 0; right: 16px; left: auto; width: 4px; height: auto; background: var(--ink-2); }
  .big-route li { text-align: right; padding: 4px 52px 18px 0; }
  .big-route li::before { right: 0; top: 2px; }
  .card-rows { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; }
}
.guarantee-line { max-width: 640px; margin: 0 auto 24px; padding: 12px 16px; background: var(--tape-soft, #fff4d1); border-inline-start: 4px solid var(--tape, #ffc93c); border-radius: 6px; text-align: center; }
