/* Raheeb web — one stylesheet for the landing page and the legal pages.
   Tokens come from the app (wayaak/lib/core/theme.dart + golden.dart): brand yellow / purple, black on yellow,
   IBM Plex Sans Arabic, Fibonacci spacing (8 · 13 · 21 · 34 · 55 · 89 · 144) and φ type pairs. */
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(fonts/IBMPlexSansArabic-Regular.ttf) format('truetype'); }
@font-face { font-family: Plex; font-weight: 500; font-display: swap; src: url(fonts/IBMPlexSansArabic-Medium.ttf) format('truetype'); }
@font-face { font-family: Plex; font-weight: 700; font-display: swap; src: url(fonts/IBMPlexSansArabic-Bold.ttf) format('truetype'); }

:root {
  --yellow: #F4D561;
  --yellow-deep: #DCC057;
  --yellow-tint: #FCF4D8;
  --cream: #FFFBEF;
  --purple: #2B2242;
  --purple-dark: #201A32;
  --purple-tint: #EEEBF4;
  --purple-light: #8E80B2;
  --ink: #14140F;
  --ink-2: #6B6B60;
  --ink-3: #A3A39A;
  --line: #ECECE6;
  --gray: #F4F4F4;
  --black: #0E0E0E;
  --error: #D64545;
  --success: #2E9E5B;
  --s3: 3px; --s5: 5px; --s8: 8px; --s13: 13px; --s21: 21px; --s34: 34px; --s55: 55px; --s89: 89px; --s144: 144px;
  --r13: 13px; --r21: 21px; --r34: 34px;
  --shadow: 0 21px 55px rgba(43, 34, 66, .16);
  --shadow-soft: 0 8px 34px rgba(20, 20, 15, .08);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Plex, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }

/* one language at a time; Arabic is the default and works without script */
html:not(.en) [lang="en"] { display: none !important; }
html.en [lang="ar"] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s21); }

/* ── header ─────────────────────────────────────────────────────────────── */
.nav { position: relative; z-index: 10; }
.nav .wrap { display: flex; align-items: center; gap: var(--s21); height: 89px; }
.brand { display: flex; align-items: center; gap: var(--s13); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 13px; }
.brand b { font-size: 24px; letter-spacing: 0; }
.nav .links { display: flex; gap: var(--s34); margin-inline-start: var(--s34); flex: 1; }
.nav .links a { text-decoration: none; font-weight: 500; font-size: 16px; opacity: .8; }
.nav .links a:hover { opacity: 1; }
.nav .end { display: flex; align-items: center; gap: var(--s13); margin-inline-start: auto; }
.lang {
  border: 0; background: transparent; color: inherit; font: inherit; font-size: 15px; font-weight: 500;
  padding: var(--s8) var(--s13); border-radius: 999px; cursor: pointer; opacity: .8;
}
.lang:hover { opacity: 1; background: rgba(0, 0, 0, .05); }
.pill-btn {
  display: inline-flex; align-items: center; gap: var(--s8);
  background: var(--purple); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 11px 21px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit;
}
.pill-btn:hover { background: var(--purple-dark); }
@media (max-width: 860px) {
  .nav .links { display: none; }
  .nav .wrap { height: 72px; }
  .nav .pill-btn { padding: 8px 16px; font-size: 14px; }
}

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow) 58%, #F7E191 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {               /* the app splash's soft glow behind the phone */
  content: ''; position: absolute; z-index: -1;
  width: 720px; height: 720px; border-radius: 50%;
  inset-inline-end: -89px; bottom: -233px;
  background: radial-gradient(circle, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 68%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: var(--s34); min-height: 600px; }
.hero .copy { padding-bottom: var(--s55); }
.hero h1 {
  font-size: clamp(44px, 6.2vw, 89px);
  line-height: 1.12;
  color: var(--black);
}
.hero h1 .tag {
  display: inline-block; background: var(--purple); color: #fff;
  padding: 0 .32em .06em; border-radius: .42em; transform: rotate(-2deg); margin-top: var(--s8);
}
.hero .sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; margin-top: var(--s21); max-width: 34em; color: #2a2a22; }
.stores { display: flex; flex-wrap: wrap; gap: var(--s13); margin-top: var(--s34); }
.store {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  background: var(--black); color: #fff; border-radius: 16px; padding: 11px 21px 11px 18px; min-width: 186px;
  position: relative;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 12px; opacity: .75; font-weight: 400; }
.store b { font-size: 18px; font-weight: 700; direction: ltr; text-align: start; }
.soon { margin-top: var(--s13); font-size: 14px; font-weight: 500; opacity: .72; }

.stage { position: relative; height: 600px; align-self: end; }
.phone {
  position: absolute; bottom: -362px; inset-inline-start: 50%; transform: translateX(50%);
  width: 360px; padding: 12px; background: var(--purple); border-radius: 55px;
  box-shadow: 0 34px 89px rgba(43, 34, 66, .35), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
html.en .phone { transform: translateX(-50%); }
.phone img { border-radius: 45px; width: 100%; }
.float {
  position: absolute; border-radius: var(--r21); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.f-deal { width: 150px; inset-inline-end: -13px; top: 250px; rotate: -6deg; animation-delay: -1s; }
.f-wallet { width: 226px; inset-inline-start: -34px; top: 424px; rotate: 4deg; animation-delay: -3s; }
.f-status {
  background: #fff; inset-inline-start: 0; top: 140px; display: flex; align-items: center; gap: var(--s13);
  padding: var(--s13) var(--s21) var(--s13) var(--s13); border-radius: 999px; animation-delay: -2s;
}
.f-status .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.f-status .ic svg { width: 24px; height: 24px; }
.f-status b { display: block; font-size: 15px; line-height: 1.3; }
.f-status small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.f-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(46, 158, 91, .15); }
.f-ai {
  background: #fff; inset-inline-end: 0; top: 452px; rotate: 3deg; animation-delay: -4s;
  display: flex; align-items: center; gap: var(--s8); padding: var(--s8) var(--s13) var(--s8) var(--s8); border-radius: var(--r21);
}
.f-ai .bot { width: 46px; height: auto; }
.f-ai .chips { display: grid; gap: var(--s5); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 560px) {
  .stores { gap: var(--s8); }
  .store { min-width: 0; flex: 1 1 0; padding: 10px 13px; gap: 8px; max-width: 180px; }
  .store b { font-size: 16px; }
  .store svg { width: 22px; height: 22px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: var(--s21); text-align: center; gap: 0; }
  .hero .copy { padding-bottom: 0; }
  .hero .sub { margin-inline: auto; }
  .stores { justify-content: center; }
  .stage { height: 430px; width: 100%; max-width: 420px; margin: 0 auto; }
  .phone { width: 280px; bottom: -282px; border-radius: 45px; padding: 9px; }
  .phone img { border-radius: 37px; }
  .f-deal { width: 104px; top: 172px; inset-inline-end: -6px; }
  .f-wallet { width: 166px; top: 300px; inset-inline-start: -10px; }
  .f-status { top: 52px; inset-inline-start: 50%; translate: 50% 0; padding: 8px 16px 8px 8px; animation: none; white-space: nowrap; }
  html.en .f-status { translate: -50% 0; }
  .f-status .ic { width: 34px; height: 34px; }
  .f-ai { display: none; }
  .hero::before { width: 520px; height: 520px; inset-inline-end: 50%; translate: 50% 0; bottom: -200px; }
  html.en .hero::before { translate: -50% 0; }
}

/* ── sections ───────────────────────────────────────────────────────────── */
.section { padding: var(--s144) 0 0; }
.section:last-of-type { padding-bottom: var(--s89); }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--purple); background: var(--purple-tint); padding: 4px 13px; border-radius: 999px; }
.section h2 { font-size: clamp(32px, 4vw, 55px); margin-top: var(--s13); }
.section .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); margin-top: var(--s13); max-width: 36em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
@media (max-width: 860px) { .section { padding-top: var(--s89); } .section:last-of-type { padding-bottom: var(--s55); } }

/* app widgets, rebuilt natively from the app's own images */
.dc { position: relative; background: #fff; border-radius: var(--r21); padding: var(--s13); text-align: center; }
.dc img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: radial-gradient(circle, var(--yellow-tint) 0 64%, transparent 65%); }
.dc b { display: block; font-size: 18px; margin-top: var(--s5); }
.dc .off { position: absolute; top: var(--s13); inset-inline-start: var(--s13); z-index: 1; background: var(--purple); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.wal { background: #fff; border-radius: var(--r21); padding: var(--s21); }
.wal small { display: block; color: var(--ink-2); font-size: 14px; }
.wal .amt { font-size: 34px; font-weight: 700; line-height: 1.3; }
.wal .amt > span { font-size: 16px; font-weight: 500; color: var(--ink-2); }
.wal .top-up { display: block; background: var(--yellow); border-radius: 999px; text-align: center; font-weight: 700; font-size: 15px; padding: 10px; margin-top: var(--s13); }
.mini-wal { padding: var(--s13) var(--s21) var(--s13); }
.mini-wal .amt { font-size: 26px; }
.mini-wal .top-up { padding: 6px; font-size: 13px; margin-top: var(--s8); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s8); }
.chips > span { border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 13px; font-size: 13px; font-weight: 500; white-space: nowrap; background: #fff; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s21); margin-top: var(--s55); }
.card { border-radius: var(--r34); padding: var(--s34); position: relative; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; }
.card h3 { font-size: 26px; }
.card p { color: inherit; opacity: .78; margin-top: var(--s8); font-size: 16px; line-height: 1.7; max-width: 24em; }
.card .art { margin-top: auto; padding-top: var(--s34); }

.c-ai { grid-column: span 4; background: var(--purple); color: #fff; }
.c-ai .art { display: flex; align-items: flex-end; gap: var(--s21); }
.c-ai .bot-l { width: 130px; flex: none; }
.convo { background: #fff; color: var(--ink); border-radius: var(--r21); padding: var(--s13); width: 100%; max-width: 380px; display: grid; gap: var(--s13); box-shadow: 0 13px 34px rgba(0, 0, 0, .25); }
.convo .me { justify-self: end; background: var(--yellow); border-radius: 16px 16px 4px 16px; padding: 6px 13px; font-size: 14px; font-weight: 500; }
html.en .convo .me { border-radius: 16px 16px 16px 4px; }
.bot-reply { display: grid; gap: var(--s8); }
.pick { display: flex; align-items: center; gap: var(--s13); background: var(--gray); border-radius: var(--r13); padding: 6px; }
.pick img { width: 64px; height: 46px; object-fit: cover; border-radius: 10px; flex: none; }
.pick b { display: block; font-size: 15px; line-height: 1.3; }
.pick small { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.3; }

.c-discount { grid-column: span 2; background: var(--yellow-tint); }
.deals { position: relative; height: 250px; }
.deals .dc { position: absolute; box-shadow: var(--shadow-soft); }
.deals .back { width: 140px; inset-inline-end: 4%; top: 0; rotate: 7deg; }
.deals .front { width: 160px; inset-inline-start: 4%; top: 46px; rotate: -5deg; box-shadow: var(--shadow); }

.c-track { grid-column: span 2; background: var(--yellow); }
.steps-ui { display: grid; gap: 0; }
.st { position: relative; display: flex; align-items: center; gap: var(--s13); padding: 9px 0; font-weight: 500; font-size: 15px; }
.st i { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--purple); position: relative; z-index: 1; }
.st.done i { background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.st.now i { background: #fff; box-shadow: 0 0 0 5px rgba(43, 34, 66, .12); }
.st.now i::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--purple); }
.st:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 12px; top: 30px; height: calc(100% - 22px); width: 2px; background: var(--purple); opacity: .35; }
.st small { margin-inline-start: auto; background: #fff; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 700; }

.c-wheel { grid-column: span 2; background: var(--purple-dark); color: #fff; }
.wheel { position: relative; width: 250px; aspect-ratio: 1; margin: 0 auto -110px; }
.wheel .ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.wheel .disc { position: absolute; inset: 8.5%; border-radius: 50%; overflow: hidden;
  background: repeating-conic-gradient(from -22.5deg, var(--cream) 0 44.3deg, var(--purple-light) 44.3deg 45deg);
  box-shadow: inset 0 0 0 7px var(--purple); }
.wheel .disc img { position: absolute; width: 22%; left: 39%; top: 39%; transform: rotate(var(--a)) translateY(-142%); }
.wheel .knob { position: absolute; width: 23%; left: 38.5%; top: 34%; filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .35)); }

.c-gather { grid-column: span 2; background: var(--gray); }
.spread { position: relative; height: 210px; }
.spread .pl { position: absolute; bottom: -34px; filter: drop-shadow(0 13px 21px rgba(20, 20, 15, .18)); }
.spread .main { width: 200px; left: 50%; translate: -50% 0; z-index: 2; }
.spread .side { width: 140px; bottom: 0; }
.spread .s1 { left: 2%; rotate: -10deg; }
.spread .s2 { right: 2%; rotate: 12deg; }

.c-cats { grid-column: span 3; background: #fff; border: 1px solid var(--line); min-height: 0; }
.cats { display: flex; gap: 10px; flex-wrap: nowrap; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.cat .tile { width: 84px; height: 84px; border-radius: var(--r21); background: #F3F3F0; display: grid; place-items: center; }
.cat .tile img { width: 70px; height: 70px; object-fit: contain; }
.cat { font-size: 14px; }

.c-wallet { grid-column: span 3; background: #fff; border: 1px solid var(--line); min-height: 0; }
.c-wallet .wal { max-width: 320px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; gap: var(--s13); margin-top: var(--s34); }
  .c-ai, .c-wallet, .c-cats { grid-column: span 2; }
  .c-discount, .c-wheel, .c-gather, .c-track { grid-column: span 1; }
  .card { min-height: 0; padding: var(--s21); border-radius: var(--r21); }
  .card h3 { font-size: 21px; }
  .card .art { padding-top: var(--s21); }
  .c-ai .bot-l { width: 84px; }
  .wheel { width: 190px; margin-bottom: -84px; }
}
@media (max-width: 560px) {
  .c-discount, .c-wheel, .c-gather, .c-track { grid-column: span 2; }
  .c-ai .art { flex-direction: column; align-items: stretch; }
  .c-ai .bot-l { position: absolute; width: 72px; top: var(--s21); inset-inline-end: var(--s21); }
  .c-ai .txt { padding-inline-end: 80px; }
  .wheel { width: 230px; margin-bottom: -100px; }
  .cats { gap: 6px; flex-wrap: nowrap; justify-content: space-between; }
  .cat .tile { width: 54px; height: 54px; border-radius: var(--r13); }
  .cat .tile img { width: 46px; height: 46px; }
  .cat { font-size: 12px; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s21); margin-top: var(--s55); counter-reset: st; }
.step { border-top: 2px solid var(--ink); padding-top: var(--s21); }
.step::before { counter-increment: st; content: counter(st); display: block; font-size: 55px; font-weight: 700; line-height: 1; color: var(--yellow-deep); }
.step h3 { font-size: 22px; margin-top: var(--s13); }
.step p { color: var(--ink-2); margin-top: var(--s5); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: var(--s34); margin-top: var(--s34); } }

/* partners */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s21); margin-top: var(--s55); }
.partner { border-radius: var(--r34); padding: var(--s55) var(--s34) var(--s34); display: flex; flex-direction: column; min-height: 360px; }
.partner h3 { font-size: clamp(26px, 2.6vw, 34px); }
.partner p { margin-top: var(--s13); opacity: .82; max-width: 26em; }
.partner ul { list-style: none; padding: 0; margin: var(--s21) 0 0; display: grid; gap: var(--s8); }
.partner li { display: flex; gap: var(--s13); align-items: center; font-weight: 500; }
.partner li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; flex: none; }
.partner .app { margin-top: auto; padding-top: var(--s34); display: flex; align-items: center; gap: var(--s13); font-weight: 700; }
.partner .app small { display: block; font-weight: 400; opacity: .7; font-size: 13px; }
.p-rest { background: var(--purple); color: #fff; }
.p-drv { background: var(--yellow); color: var(--black); }
.app-ic { width: 64px; height: 64px; border-radius: 15px; flex: none; box-shadow: 0 8px 21px rgba(0, 0, 0, .22), 0 0 0 1.5px rgba(255, 255, 255, .25); }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; gap: var(--s13); margin-top: var(--s34); } .partner { min-height: 0; padding: var(--s34) var(--s21) var(--s21); border-radius: var(--r21); } }

/* faq */
.faq { max-width: 820px; margin: var(--s55) auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s21) 0; font-size: 19px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s21);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 28px; font-weight: 400; line-height: 1; color: var(--purple-light); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--s21); color: var(--ink-2); max-width: 40em; }
.faq a { color: var(--purple); font-weight: 500; }

/* download band */
.band { background: var(--purple); color: #fff; border-radius: var(--r34); padding: var(--s89) var(--s55); display: grid; grid-template-columns: 1fr auto; gap: var(--s34); align-items: center; position: relative; overflow: hidden; }
.band h2 { font-size: clamp(34px, 4.4vw, 60px); margin: 0; }
.band h2 em { font-style: normal; color: var(--yellow); }
.band p { opacity: .78; margin-top: var(--s13); }
.band .store { background: #fff; color: var(--black); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: var(--s55) var(--s21); text-align: center; border-radius: var(--r21); } .band .stores { justify-content: center; } }

/* footer */
footer { border-top: 1px solid var(--line); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s34); padding-top: var(--s55); padding-bottom: var(--s55); }
footer p { color: var(--ink-2); font-size: 15px; margin-top: var(--s13); max-width: 24em; }
footer h4 { margin: 0 0 var(--s13); font-size: 15px; }
footer nav { display: grid; gap: var(--s8); }
footer nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
footer nav a:hover { color: var(--ink); }
footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--s21); color: var(--ink-3); font-size: 13px; display: flex; flex-wrap: wrap; gap: var(--s8) var(--s21); justify-content: space-between; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } footer .about { grid-column: 1 / -1; } }

/* reveal on scroll (only when script runs) */
.js .reveal { opacity: 0; translate: 0 21px; transition: opacity .6s ease, translate .6s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; translate: none; transition: none; } }

/* ── legal pages ────────────────────────────────────────────────────────── */
.doc-head { background: var(--cream); border-bottom: 1px solid var(--line); }
.doc-head .wrap { padding-top: var(--s34); padding-bottom: var(--s55); }
.doc-head h1 { font-size: clamp(34px, 4.2vw, 55px); margin-top: var(--s13); }
.doc-head .meta { color: var(--ink-2); font-size: 15px; margin-top: var(--s8); }
.doc-head .intro { font-size: 19px; margin-top: var(--s21); max-width: 40em; }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--s55); padding-top: var(--s55); padding-bottom: var(--s89); }
.toc { position: sticky; top: var(--s21); align-self: start; }
.toc b { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: var(--s8); }
.toc a { display: block; text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 6px 0; line-height: 1.5; }
.toc a:hover { color: var(--purple); }
.toc details { display: none; }
.body { max-width: 760px; }
.body h2 { font-size: 24px; color: var(--purple); margin: var(--s55) 0 var(--s13); scroll-margin-top: var(--s21); }
.body h2:first-child { margin-top: 0; }
.body h3 { font-size: 19px; margin: var(--s34) 0 var(--s8); }
.body p { margin: 0 0 var(--s13); }
.body ul { margin: 0 0 var(--s21); padding-inline-start: 22px; }
.body li { margin: 6px 0; }
.body li::marker { color: var(--yellow-deep); }
.body a { color: var(--purple); font-weight: 500; }
.body strong { font-weight: 700; }
.note { background: var(--yellow-tint); border-radius: var(--r21); padding: var(--s21); margin: var(--s21) 0; }
.data { border-top: 1px solid var(--line); margin: var(--s13) 0 var(--s21); }
.data .row { display: grid; grid-template-columns: 230px 1fr; gap: var(--s5) var(--s21); padding: var(--s21) 0; border-bottom: 1px solid var(--line); }
.data .row > b { font-size: 16px; font-weight: 400; color: var(--ink-2); }
.data .row > b strong { color: var(--ink); }
.data .row div { color: var(--ink-2); font-size: 16px; }
.data .row div em { font-style: normal; color: var(--ink); font-weight: 500; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s21); margin: var(--s21) 0; }
.split > div { border-radius: var(--r21); padding: var(--s21); }
.split .gone { background: #FDF0F0; }
.split .kept { background: var(--purple-tint); }
.split h3 { margin-top: 0; font-size: 17px; }
.steps-in { list-style: none; padding: 0 !important; counter-reset: s; }
.steps-in li { counter-increment: s; position: relative; padding-inline-start: 42px; margin: var(--s13) 0; }
.steps-in li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--black); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: var(--s21); padding-top: var(--s21); }
  .toc { position: static; }
  .toc .list, .toc > b { display: none; }
  .toc details { display: block; border: 1px solid var(--line); border-radius: var(--r13); padding: var(--s8) var(--s13); }
  .toc summary { cursor: pointer; font-weight: 500; color: var(--ink-2); }
  .data .row { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

/* web form (deletion) */
.form-card { border: 1px solid var(--line); border-radius: var(--r21); padding: var(--s34); margin: var(--s21) 0 var(--s34); background: #fff; box-shadow: var(--shadow-soft); }
.form-card h2 { margin-top: 0 !important; }
.form-card label { display: block; font-weight: 500; margin: var(--s13) 0 6px; }
.phone-in { display: flex; gap: var(--s8); direction: ltr; }
.phone-in span { flex: none; display: flex; align-items: center; padding: 0 var(--s13); border: 1.5px solid var(--line); border-radius: var(--r13); background: var(--gray); font-weight: 500; }
input[type=tel], input[type=text], input[type=password] {
  width: 100%; font: inherit; font-size: 18px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r13);
  background: #fff; color: var(--ink); direction: ltr; text-align: left;
}
input:focus { outline: 3px solid var(--yellow); border-color: var(--purple); }
.code { letter-spacing: 8px; text-align: center !important; font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s8);
  font: inherit; font-weight: 700; font-size: 16px; border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer;
  background: var(--purple); color: #fff; margin-top: var(--s13);
}
.btn.danger { background: var(--error); }
.btn.ghost { background: transparent; color: var(--purple); border: 1.5px solid var(--line); }
.btn[disabled] { opacity: .45; cursor: default; }
.row-btns { display: flex; gap: var(--s13); flex-wrap: wrap; align-items: center; }
.link { background: none; border: 0; color: var(--purple); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; padding: 0; margin-top: var(--s13); }
.check { display: flex; gap: var(--s13); align-items: flex-start; margin: var(--s8) 0; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; margin-top: 5px; flex: none; accent-color: var(--purple); }
.check small { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.msg { border-radius: var(--r13); padding: var(--s13) var(--s21); margin: var(--s13) 0 0; font-weight: 500; }
.msg.err { background: #FDF0F0; color: var(--error); }
.msg.ok { background: #EAF6EF; color: var(--success); }
.msg.info { background: var(--purple-tint); color: var(--purple); }
.hidden { display: none !important; }
.who { color: var(--ink-2); font-size: 14px; margin-top: var(--s8); }
@media (max-width: 600px) { .form-card { padding: var(--s21); } }
