/* Lafta website — matches the app: warm off-white ground, deep teal actions, category colors,
   Amiri / Lora for headlines and IBM Plex Sans (Arabic) for text.
   Layout: sticky header → full-width bands, each with a centered 1120px inner column. */
:root {
  --bg: #FBF8F4;
  --surface: #FFFFFF;
  --sand: #F3EDE4;
  --ink: #1D2B2A;
  --muted: #5B6765;
  --line: #ECE6DD;
  --teal: #1F5C55;
  --teal-deep: #164540;
  --teal-soft: #E3EFEC;
  --on-dark: #FFF8F2;
  /* category colors, same as the app */
  --family: #8E3B2A;  --family-tint: #F5E3DE;  --family-deep: #6E2F22;
  --pets: #7A5410;    --pets-tint: #F6EAD2;    --pets-deep: #5C4313;
  --friends: #2C5591; --friends-tint: #DFE8F5; --friends-deep: #1F3F6E;
  --work: #3B4656;    --work-tint: #E6E9EE;
  --health: #22663F;  --health-tint: #DFEFE5;  --health-deep: #1B4D31;
  --myself: #5E3F8A;  --myself-tint: #ECE4F4;
  --things: #8E3560;  --things-tint: #F5E0EA;
  --hobbies: #18606E; --hobbies-tint: #DCEEF1;
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display-ar: 'Amiri', 'Traditional Arabic', 'Times New Roman', serif;
  --display-en: 'Lora', Georgia, 'Times New Roman', serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(29, 43, 42, 0.04), 0 10px 30px -18px rgba(29, 43, 42, 0.28);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--font-en); }
html[lang="ar"] body { font-family: var(--font-ar); font-size: 17px; line-height: 1.85; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
html[lang="ar"] .display, html[lang="ar"] h1, html[lang="ar"] h2.title { font-family: var(--display-ar); font-weight: 700; }
html[lang="en"] .display, html[lang="en"] h1, html[lang="en"] h2.title { font-family: var(--display-en); font-weight: 600; letter-spacing: -0.01em; }

/* Language: with the script running only the chosen language shows; without it both show. */
html.js[lang="ar"] [data-lang="en"], html.js[lang="en"] [data-lang="ar"] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 96px); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
h2.title { font-size: clamp(28px, 4.2vw, 40px); }
.section-head { display: grid; gap: 10px; max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 18px; }
.center { text-align: center; margin-inline: auto; justify-items: center; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: rgba(251, 248, 244, 0.92); z-index: 30; }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(251, 248, 244, 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 18px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand b { font-family: var(--display-ar); font-size: 26px; line-height: 1; font-weight: 700; }
.brand span { font-family: var(--display-en); font-size: 17px; color: var(--muted); }
nav.links { display: flex; gap: 4px; margin-inline-start: auto; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 999px; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); background: var(--sand); }
@media (max-width: 760px) { nav.links { display: none; } }
.langs { display: flex; background: var(--sand); padding: 3px; border-radius: 999px; margin-inline-start: auto; }
nav.links + .langs { margin-inline-start: 0; }
.langs button { border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; line-height: 1.4; }
.langs button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 16px; border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer; text-decoration: none; background: var(--teal); color: #fff; transition: transform 0.15s, background 0.15s; }
.btn:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px rgba(31, 92, 85, 0.35); }
.btn.ghost:hover { background: var(--teal-soft); }
.btn.danger { background: #A33A2B; }
.btn.danger:hover { background: #87301F; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; }
html[lang="ar"] .store-badge { padding: 10px 16px 10px 20px; }
.store-badge svg { width: 26px; height: 26px; }
.store-badge small { display: block; font-size: 11px; opacity: 0.75; line-height: 1.2; }
.store-badge.soon { background: transparent; color: var(--ink); border: 1.5px solid rgba(29, 43, 42, 0.25); }
.store-badge b { display: block; font-size: 17px; line-height: 1.2; font-family: var(--font-en); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 92, 85, 0.13), transparent 70%); pointer-events: none; }
html[dir="rtl"] .hero::before { inset: -20% auto auto -10%; }
.hero .wrap { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; position: relative; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1fr 1fr; } }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(40px, 6.4vw, 66px); line-height: 1.15; }
html[lang="ar"] .hero h1 { line-height: 1.35; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 18px; height: 18px; color: var(--teal); }

/* Phones */
.stage { position: relative; height: 560px; width: 520px; margin-inline: auto; }
/* On small screens the whole phone scene shrinks as one picture. */
@media (max-width: 600px) { .stage { zoom: 0.7; } }
@media (max-width: 420px) { .stage { zoom: 0.6; } }
.phone { position: absolute; width: 250px; height: 520px; border-radius: 40px; background: #12201E; padding: 10px; box-shadow: 0 30px 60px -28px rgba(29, 43, 42, 0.55), 0 8px 18px -10px rgba(29, 43, 42, 0.3); }
.phone .screen { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; position: relative; }
.phone .notch { position: absolute; top: 18px; left: 50%; width: 78px; height: 22px; margin-left: -39px; border-radius: 12px; background: #12201E; z-index: 3; }
.phone.front { top: 20px; inset-inline-start: 4%; z-index: 2; transform: rotate(-4deg); }
.phone.back { top: 0; inset-inline-end: 2%; transform: rotate(5deg); }
html[dir="rtl"] .phone.front { transform: rotate(4deg); }
html[dir="rtl"] .phone.back { transform: rotate(-5deg); }

/* Message card screen */
.s-card { background: var(--family-deep); color: var(--on-dark); height: 100%; display: flex; flex-direction: column; padding: 48px 18px 18px; position: relative; }
.s-card::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); top: -60px; inset-inline-end: -80px; }
.s-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, 0.04); bottom: -90px; inset-inline-start: -90px; }
.s-card .tag { font-size: 11px; opacity: 0.85; position: relative; }
.s-card .mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; position: relative; }
.s-card .ava { width: 74px; height: 74px; border-radius: 50%; border: 2px solid rgba(255, 248, 242, 0.55); background: rgba(255, 255, 255, 0.14); display: grid; place-items: center; font-family: var(--display-ar); font-size: 32px; font-weight: 700; }
.s-card .nm { font-weight: 600; font-size: 15px; }
.s-card .dt { font-size: 11px; opacity: 0.8; }
.s-card .dots { width: 44px; height: 2px; background: linear-gradient(90deg, rgba(255,248,242,.45) 0 38%, transparent 38% 62%, rgba(255,248,242,.45) 62%); margin: 4px 0; }
.s-card .msg { font-family: var(--display-ar); font-size: 19px; line-height: 1.75; }
html[lang="en"] .s-card .msg { font-family: var(--display-en); font-size: 17px; line-height: 1.55; }
.s-card .acts { display: flex; gap: 8px; position: relative; }
.s-card .acts span { flex: 1; height: 38px; border-radius: 19px; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.s-card .acts .on { background: var(--on-dark); color: var(--family-deep); }
.s-card .acts .off { box-shadow: inset 0 0 0 1.5px rgba(255, 248, 242, 0.6); }

/* Home screen */
.s-home { background: var(--bg); height: 100%; padding: 50px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.s-home .hi { color: var(--muted); font-size: 11px; }
.s-home .ttl { font-family: var(--display-ar); font-size: 24px; font-weight: 700; line-height: 1.1; }
html[lang="en"] .s-home .ttl { font-family: var(--display-en); font-weight: 600; }
.s-home .today { background: var(--family-deep); color: var(--on-dark); border-radius: 16px; padding: 12px; display: grid; gap: 4px; }
.s-home .today small { font-size: 10px; opacity: 0.85; }
.s-home .today p { font-family: var(--display-ar); font-size: 13px; line-height: 1.6; }
html[lang="en"] .s-home .today p { font-family: var(--display-en); font-size: 12px; line-height: 1.45; }
.s-home .h { font-weight: 700; font-size: 13px; margin-top: 2px; }
.s-home .row { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.s-home .row .bub { width: 34px; height: 34px; }
.s-home .row b { display: block; font-size: 12px; }
.s-home .row small { color: var(--muted); font-size: 10px; display: block; line-height: 1.4; }
.s-home .add { border: 1.5px dashed #B9B0A3; color: var(--teal); border-radius: 14px; padding: 9px; text-align: center; font-weight: 600; }

/* Icon bubbles (category colors) */
.bub { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.bub svg { width: 52%; height: 52%; }
.c-family { background: var(--family-tint); color: var(--family); }
.c-pets { background: var(--pets-tint); color: var(--pets); }
.c-friends { background: var(--friends-tint); color: var(--friends); }
.c-work { background: var(--work-tint); color: var(--work); }
.c-health { background: var(--health-tint); color: var(--health); }
.c-myself { background: var(--myself-tint); color: var(--myself); }
.c-things { background: var(--things-tint); color: var(--things); }
.c-hobbies { background: var(--hobbies-tint); color: var(--hobbies); }
.float { position: absolute; z-index: 3; width: 56px; height: 56px; box-shadow: 0 10px 24px -12px rgba(29, 43, 42, 0.4); border: 3px solid var(--surface); animation: bob 6s ease-in-out infinite; }
.float.f1 { top: 14px; inset-inline-start: 0; }
.float.f2 { top: 46%; inset-inline-end: -6px; animation-delay: -2s; }
.float.f3 { bottom: 0; inset-inline-end: 24%; animation-delay: -4s; }
.float.f4 { bottom: 34%; inset-inline-start: -10px; width: 46px; height: 46px; animation-delay: -1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow); }
.step-card .num { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.step-card h3 { font-size: 20px; }
.step-card p { color: var(--muted); }
.mini { background: var(--bg); border-radius: 14px; padding: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 92px; }
.mini .bub { width: 38px; height: 38px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.chip.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip.sel { border: 2px solid var(--family); }
.chip .bub { width: 26px; height: 26px; }

/* ---------- Categories ---------- */
.cats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; transition: transform 0.2s, box-shadow 0.2s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat h3 { font-size: 18px; }
.cat p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Message examples ---------- */
.examples { background: var(--sand); }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.mcard { border-radius: 26px; padding: 28px 24px 24px; color: var(--on-dark); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; min-height: 300px; box-shadow: 0 24px 40px -28px rgba(29, 43, 42, 0.6); }
.mcard::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); top: -70px; inset-inline-end: -70px; }
.mcard.k-family { background: var(--family-deep); }
.mcard.k-pets { background: var(--pets-deep); }
.mcard.k-health { background: var(--health-deep); }
.mcard .who { display: flex; align-items: center; gap: 12px; position: relative; }
.mcard .who .bub { background: rgba(255, 255, 255, 0.14); color: var(--on-dark); width: 48px; height: 48px; border: 2px solid rgba(255, 248, 242, 0.4); }
.mcard .who b { display: block; }
.mcard .who small { display: block; opacity: 0.8; font-size: 13px; }
.mcard blockquote { margin: 0; font-family: var(--display-ar); font-size: 24px; line-height: 1.75; position: relative; }
html[lang="en"] .mcard blockquote { font-family: var(--display-en); font-size: 21px; line-height: 1.5; }
.mcard .when { margin-top: auto; font-size: 13px; opacity: 0.75; position: relative; }

/* ---------- Privacy band ---------- */
.private { background: var(--teal-deep); color: var(--on-dark); }
.private .eyebrow { color: #9FD3C9; }
.private .section-head p { color: rgba(255, 248, 242, 0.78); }
.pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pitem { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.pitem .bub { background: rgba(159, 211, 201, 0.16); color: #BFE5DD; }
.pitem h3 { font-size: 18px; }
.pitem p { color: rgba(255, 248, 242, 0.78); font-size: 15px; }
.private a { color: #BFE5DD; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin-inline: auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 16px; align-content: start; }
.plan.best { border: 2px solid var(--teal); box-shadow: var(--shadow); position: relative; }
.plan .badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--pets-tint); color: #6B4A0E; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 40px; line-height: 1; font-family: var(--font-en); font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 4px; }
.plan .fine { color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .box { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: clamp(32px, 6vw, 56px) 24px; display: grid; gap: 18px; justify-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta .box img { width: 76px; height: 76px; border-radius: 20px; box-shadow: var(--shadow); }
.cta .box p { color: var(--muted); max-width: 34em; }
.cta .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); background: var(--sand); color: var(--muted); font-size: 15px; }
footer.site .wrap { display: grid; gap: 22px; padding-block: 36px 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { footer.site .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
footer.site .about { display: grid; gap: 10px; justify-items: start; }
footer.site h4 { margin: 0 0 6px; color: var(--ink); font-size: 15px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--teal); text-decoration: underline; }
footer.site .copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; }

/* ---------- Document pages (privacy, terms, delete account) ---------- */
.page-hero { background: linear-gradient(180deg, var(--teal-soft), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(36px, 6vw, 64px) 36px; display: grid; gap: 14px; justify-items: start; }
.page-hero .bub { width: 58px; height: 58px; background: var(--surface); color: var(--teal); box-shadow: var(--shadow); }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); }
.page-hero .meta { color: var(--muted); font-size: 15px; display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero .lead { color: var(--muted); font-size: 18px; max-width: 40em; }
.doc { display: grid; gap: 32px; padding-block: 40px 72px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .doc { grid-template-columns: 240px minmax(0, 1fr); } }
.toc { display: none; }
@media (min-width: 960px) { .toc { display: block; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); align-self: start; } }
.toc h4 { margin: 0 0 10px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
html[lang="ar"] .toc h4 { letter-spacing: 0; font-size: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-inline-start: 2px solid var(--line); }
.toc a { display: block; padding: 5px 14px; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.5; margin-inline-start: -2px; border-inline-start: 2px solid transparent; }
.toc a:hover { color: var(--ink); border-inline-start-color: var(--teal); }
article.prose { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 44px); min-width: 0; box-shadow: var(--shadow); }
.prose h2 { font-size: 22px; margin-top: 40px; padding-top: 4px; scroll-margin-top: 90px; display: flex; align-items: center; gap: 12px; }
.prose h2::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: var(--teal); flex: none; }
.prose > h2:first-child, .prose .summary + h2 { margin-top: 28px; }
.prose p, .prose ul, .prose ol { margin-top: 12px; max-width: 70ch; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--teal); }
.summary { background: var(--teal-soft); border-radius: 18px; padding: 22px; display: grid; gap: 12px; }
.summary h3 { font-size: 17px; color: var(--teal-deep); }
.summary ul { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 10px; max-width: none !important; }
.summary li { display: flex; gap: 12px; align-items: flex-start; margin: 0 !important; }
.summary li .bub { width: 30px; height: 30px; background: var(--surface); color: var(--teal); margin-top: 1px; }
.table-scroll { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.prose th, .prose td { padding: 12px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg); font-weight: 600; color: var(--muted); font-size: 13px; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; }
.providers { display: grid; gap: 12px; margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.provider { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--bg); }
.provider b { display: block; margin-bottom: 4px; }
.provider span { color: var(--muted); font-size: 14px; line-height: 1.6; display: block; }
mark.fill { background: #FFF1C2; color: inherit; padding: 0 5px; border-radius: 5px; }
.callout { margin-top: 16px; border-radius: 16px; padding: 16px 18px; background: var(--pets-tint); color: #5A3E0C; display: flex; gap: 12px; align-items: flex-start; max-width: 70ch; }
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.contact-card { margin-top: 36px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--bg); border-radius: 18px; padding: 18px 20px; }
.contact-card .bub { background: var(--teal-soft); color: var(--teal); }
.contact-card div { flex: 1 1 220px; }
.contact-card b { display: block; }
.contact-card span { color: var(--muted); font-size: 15px; }

/* Delete account */
.del-grid { display: grid; gap: 24px; padding-block: 40px 72px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .del-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 32px); display: grid; gap: 18px; box-shadow: var(--shadow); }
.panel h2 { font-size: 22px; }
.progress { display: flex; gap: 6px; }
.progress span { height: 4px; flex: 1; border-radius: 2px; background: var(--line); }
.progress span.done { background: var(--teal); }
.step { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.field input { font: inherit; font-weight: 400; font-size: 17px; padding: 13px 14px; border-radius: 14px; border: 1px solid #D9D1C5; background: var(--bg); color: var(--ink); direction: ltr; text-align: left; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 92, 85, 0.15); }
#code { letter-spacing: 0.4em; text-align: center; font-size: 22px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.note { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.note.ok { background: var(--teal-soft); color: var(--teal-deep); }
.note.error { background: #F7E1DD; color: #8A2A1D; }
.warn-box { background: #FBEDEA; border-radius: 16px; padding: 16px 18px; color: #6E2A1E; }
.done-box { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 10px 0; }
.done-box .bub { width: 64px; height: 64px; background: var(--teal-soft); color: var(--teal); }
.side { display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 12px; }
.side-card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.side-card h3 .bub { width: 34px; height: 34px; }
.side-card ol, .side-card ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.side-card p { color: var(--muted); }
.kept { display: grid; gap: 10px; }
.kept div { display: flex; gap: 12px; align-items: flex-start; }
.kept .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 10px; flex: none; }
.copy-addr { font-family: ui-monospace, Consolas, monospace; background: var(--teal-soft); color: var(--teal-deep); padding: 2px 8px; border-radius: 8px; user-select: all; direction: ltr; unicode-bidi: isolate; }
