/* Deutsch mit Puddle — website (landing, sign-in pages, app shell).
   Layout: one centred column (max 1120px). Hero = words + a live phone; then the three article colours, the five lesson steps
   with the real grammar video, the Leitner track, the streak, the course map, questions, and a last call to sign in.
   Brand idea: der / die / das each have a colour (blue / red / green) — used as the page's accent system. */
:root {
  --paper: #FBF8F4; --surface: #FFFFFF; --sunk: #F3EDE6; --line: #E8DFD5; --edge: #D7CBBE;
  --ink: #1F1A17; --ink2: #5E5148; --ink3: #7B6C61;
  --coral: #D93A12; --coral-e: #9E2A0B; --coral-bg: #FFF0EA;
  --pond: #0571A8; --pond-e: #04507A; --pond-bg: #E2F4FD;
  --leaf: #0D8259; --leaf-e: #075E3F; --leaf-bg: #E1F7EF;
  --yolk: #FFBE1F; --yolk-e: #DC8B00; --yolk-bg: #FFF6DE; --yolk-ink: #8F5800;
  --plum: #6D33E0;
  --der: #1F63C9; --der-bg: #E3EEFD; --die: #C4243A; --die-bg: #FCE6E9; --das: #0D8259; --das-bg: #E1F7EF;
  --ice: #8FD3FA; --ice-bg: #E3F5FF;
  --phone: #1F1A17;
  /* chips with white text keep strong colours in both themes */
  --der-strong: #1F63C9; --die-strong: #C4243A; --das-strong: #0D8259; --a1: #0D8259; --a2: #0571A8; --b1: #6D33E0;
  --g-bg: #FFFFFF; --g-line: #747775; --g-ink: #1F1F1F;
  --f-fa: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  --f-title: 'Lalezar', 'Vazirmatn', Tahoma, sans-serif;
  --f-de: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --f-de-text: 'Nunito', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #15120F; --surface: #1E1A16; --sunk: #28211B; --line: #3A3028; --edge: #4C4036;
  --ink: #F6F1EB; --ink2: #D6CBBF; --ink3: #B2A497;
  --coral: #F0562C; --coral-e: #A8330F; --coral-bg: #3A1F17; --pond: #2A9FD8; --pond-e: #0F5F87; --pond-bg: #0F2C3B;
  --leaf: #1FA374; --leaf-e: #0D6A49; --leaf-bg: #0E3027; --yolk: #FFC542; --yolk-e: #C98300; --yolk-bg: #382A0E; --yolk-ink: #FFC85A;
  --plum: #A982FF; --der: #7DB2FF; --der-bg: #13284A; --die: #FF8C9B; --die-bg: #45161E; --das: #5DDCAF; --das-bg: #0C342A;
  --ice: #5CB9EC; --ice-bg: #0E2A38; --phone: #000000;
  --g-bg: #131314; --g-line: #8E918F; --g-ink: #E3E3E3; color-scheme: dark; } }
:root[data-theme="dark"] {
  --paper: #15120F; --surface: #1E1A16; --sunk: #28211B; --line: #3A3028; --edge: #4C4036;
  --ink: #F6F1EB; --ink2: #D6CBBF; --ink3: #B2A497;
  --coral: #F0562C; --coral-e: #A8330F; --coral-bg: #3A1F17; --pond: #2A9FD8; --pond-e: #0F5F87; --pond-bg: #0F2C3B;
  --leaf: #1FA374; --leaf-e: #0D6A49; --leaf-bg: #0E3027; --yolk: #FFC542; --yolk-e: #C98300; --yolk-bg: #382A0E; --yolk-ink: #FFC85A;
  --plum: #A982FF; --der: #7DB2FF; --der-bg: #13284A; --die: #FF8C9B; --die-bg: #45161E; --das: #5DDCAF; --das-bg: #0C342A;
  --ice: #5CB9EC; --ice-bg: #0E2A38; --phone: #000000;
  --g-bg: #131314; --g-line: #8E918F; --g-ink: #E3E3E3; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-fa); font-size: 17px; line-height: 1.8;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); -webkit-tap-highlight-color: transparent; }
img, video, svg { max-width: 100%; }
a { color: var(--pond); }
h1, h2, h3 { margin: 0; line-height: 1.35; text-wrap: balance; font-weight: 800; }
p { margin: 0; }
.de { direction: ltr; unicode-bidi: isolate; font-family: var(--f-de); font-weight: 600; }
.wrap { max-width: 1120px; margin-inline: auto; }
.muted { color: var(--ink2); }
.small { font-size: 14px; color: var(--ink3); }
:focus-visible { outline: 3px solid var(--pond); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 16px; border: 0;
  background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--coral-e); font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--edge); }
.btn.small { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 13px; }
.gbtn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--g-bg); color: var(--g-ink);
  border: 1px solid var(--g-line); font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.gbtn:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.gbtn svg { flex: none; width: 22px; height: 22px; }
.gbtn.big { min-height: 58px; font-size: 18px; padding: 0 28px 0 22px; }

/* top bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; }
.brand .mark { width: 38px; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a.link { color: var(--ink2); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a.link:hover { color: var(--ink); }
@media (max-width: 760px) { .nav a.link { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding-block: 56px 40px; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); padding-block: 32px 24px; gap: 32px; } }
.kicker { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; font-weight: 800; color: var(--ink2); }
.kicker .lv { font-family: var(--f-de); font-weight: 600; padding: 2px 10px; border-radius: 99px; color: #fff; }
.hero h1 { font-family: var(--f-title); font-weight: 400; font-size: clamp(44px, 7.4vw, 82px); line-height: 1.25; margin-block: 14px 18px; letter-spacing: 0; }
.hero h1 .tri { display: inline-flex; gap: .18em; direction: ltr; font-family: var(--f-de); font-weight: 700; font-size: .62em; vertical-align: .12em; }
.hero h1 .tri span { padding: 0 .28em; border-radius: .26em; color: #fff; }
.t-der { background: var(--der-strong); } .t-die { background: var(--die-strong); } .t-das { background: var(--das-strong); }
.c-der { color: var(--der); } .c-die { color: var(--die); } .c-das { color: var(--das); }
.hero .lede { font-size: 19px; color: var(--ink2); max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.hero .fine { margin-top: 14px; font-size: 14px; color: var(--ink3); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero .fine span::before { content: "✓"; color: var(--leaf); font-weight: 900; margin-inline-end: 6px; }

/* the live phone */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; inset: 8% 4% 4%; border-radius: 40% 46% 42% 50%; background: radial-gradient(closest-side, var(--yolk-bg), transparent); z-index: 0; }
.phone { position: relative; z-index: 1; width: min(310px, 82vw); aspect-ratio: 9 / 18.5; background: var(--phone); border-radius: 46px; padding: 11px; box-shadow: 0 30px 60px -20px rgba(31, 26, 23, .45), 0 0 0 2px color-mix(in srgb, var(--ink) 20%, transparent); }
.screen { height: 100%; border-radius: 36px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; direction: rtl; }
.p-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 800; }
.p-top .stats { display: flex; gap: 10px; align-items: center; direction: rtl; }
.p-top .st { display: inline-flex; gap: 4px; align-items: center; }
.p-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; height: 26px; margin-top: 4px; }
.p-track i { border-radius: 8px; border: 2px dashed var(--line); font-style: normal; font-size: 11px; font-weight: 800; color: var(--ink3); display: grid; place-items: center; }
.p-tok { position: absolute; top: 0; bottom: 0; width: calc(20% - 4px); inset-inline-start: 0; border-radius: 8px; background: var(--die); display: grid; place-items: center; box-shadow: 0 2px 0 rgba(0, 0, 0, .2); animation: tok 8s cubic-bezier(.3, 1.4, .5, 1) infinite; }
.p-tok::after { content: ""; width: 10px; height: 13px; border-radius: 3px; background: rgba(255, 255, 255, .92); }
.p-pill { align-self: flex-start; font-size: 11px; font-weight: 800; color: var(--pond); background: var(--pond-bg); border-radius: 99px; padding: 2px 10px; }
.p-card { position: relative; flex: 1; perspective: 900px; }
.p-flip { position: absolute; inset: 0; transform-style: preserve-3d; animation: flip 8s ease-in-out infinite; }
.p-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 22px; background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 12px; }
.p-face.back { transform: rotateY(180deg); }
.p-word { font-size: 30px; }
.p-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-btns span { min-height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; }
.p-btns .no { background: var(--coral); box-shadow: 0 3px 0 var(--coral-e); }
.p-btns .yes { background: var(--leaf); box-shadow: 0 3px 0 var(--leaf-e); animation: press 8s ease-in-out infinite; }
.p-note { position: absolute; inset-inline: 14px; bottom: 74px; border-radius: 12px; background: var(--leaf-bg); color: var(--leaf); font-size: 12px; font-weight: 800; text-align: center; padding: 6px; opacity: 0; animation: note 8s ease-in-out infinite; }
@keyframes flip { 0%, 30% { transform: none } 36%, 92% { transform: rotateY(180deg) } 98%, 100% { transform: none } }
@keyframes press { 0%, 66% { transform: none; box-shadow: 0 3px 0 var(--leaf-e) } 69% { transform: translateY(3px); box-shadow: none } 72%, 100% { transform: none; box-shadow: 0 3px 0 var(--leaf-e) } }
@keyframes tok { 0%, 70% { inset-inline-start: 0; background: var(--die) } 76%, 92% { inset-inline-start: calc(20% + 1px); background: #FF7A3D } 98%, 100% { inset-inline-start: 0; background: var(--die) } }
@keyframes note { 0%, 72% { opacity: 0; transform: translateY(6px) } 76%, 90% { opacity: 1; transform: none } 95%, 100% { opacity: 0 } }

/* sections */
section.block { padding-block: 64px; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.eyebrow { display: block; font-size: 14px; font-weight: 800; color: var(--coral); margin-bottom: 8px; }
.sec-title { font-family: var(--f-title); font-weight: 400; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.35; }
.sec-lede { margin-top: 12px; max-width: 40em; color: var(--ink2); font-size: 18px; }
.sec-head { display: flex; flex-direction: column; margin-bottom: 30px; }

/* der die das */
.arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .arts { grid-template-columns: minmax(0, 1fr); } }
.art { border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 10px; border: 2px solid; border-bottom-width: 5px; }
.art.der { background: var(--der-bg); border-color: var(--der); } .art.die { background: var(--die-bg); border-color: var(--die); } .art.das { background: var(--das-bg); border-color: var(--das); }
.art .big { font-family: var(--f-de); font-weight: 700; font-size: 64px; line-height: 1; direction: ltr; text-align: start; }
.art .big { text-align: right; }
.art .g { font-weight: 800; font-size: 18px; }
.art ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; direction: ltr; justify-content: flex-end; }
.art li { background: var(--surface); border-radius: 12px; padding: 4px 12px; font-family: var(--f-de); font-weight: 600; font-size: 16px; }
.plural { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; color: var(--ink2); }

/* five steps + video */
.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px; align-items: start; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: minmax(0, 1fr); } }
ol.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: s; }
ol.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 20px; padding: 14px 16px; }
ol.steps li::before { content: counter(s, persian); flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pond-bg); color: var(--pond); font-weight: 900; font-size: 18px; }
ol.steps b { display: block; font-size: 18px; }
ol.steps span { color: var(--ink2); font-size: 15px; }
.video { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 10px; }
.video video { width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; background: #000; display: block; }

/* leitner */
.lt { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
@media (max-width: 760px) { .lt { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lt .done { grid-column: span 2; } }
.lt div { border-radius: 20px; padding: 16px 14px; background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; display: flex; flex-direction: column; gap: 2px; }
.lt .n { font-family: var(--f-title); font-size: 34px; line-height: 1; color: var(--c); }
.lt b { font-size: 18px; } .lt span { font-size: 14px; color: var(--ink3); }
.lt .done { background: var(--leaf-bg); border-color: var(--leaf); }
.rules { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.rule { border-radius: 18px; padding: 14px 16px; background: var(--sunk); }
.rule b { display: block; }

/* streak */
.streak { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .streak { grid-template-columns: minmax(0, 1fr); } }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 24px; padding: 18px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--ink3); }
.day i { width: 40px; height: 40px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--yolk-e); }
.day.ice i { background: var(--ice-bg); box-shadow: inset 0 0 0 2px var(--ice); }
.day.today i { background: var(--sunk); box-shadow: 0 0 0 3px var(--yolk); }
.count { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.count b { font-family: var(--f-title); font-weight: 400; font-size: 64px; line-height: 1; color: var(--yolk-ink); }

/* course map */
.course { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .course { grid-template-columns: minmax(0, 1fr); } }
.lvl { background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lvl-h { display: flex; align-items: center; gap: 10px; }
.lvl-h .tag { font-family: var(--f-de); font-weight: 700; font-size: 22px; color: #fff; border-radius: 12px; padding: 0 12px; }
.lvl ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.lvl li { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 14px; background: var(--sunk); line-height: 1.5; }
.lvl li .de { font-size: 15px; color: var(--ink2); }

/* questions */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } }
details { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 4px 18px; }
summary { cursor: pointer; font-weight: 800; padding-block: 12px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ink3); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 14px; color: var(--ink2); }

/* last call */
.final { margin-block: 64px; border-radius: 34px; padding: 40px 28px; background: var(--yolk-bg); border: 2px solid color-mix(in srgb, var(--yolk) 60%, var(--line)); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 700px) { .final { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; padding: 32px 18px; } }
.final .duck { width: 150px; }
.final h2 { font-family: var(--f-title); font-weight: 400; font-size: clamp(30px, 4.4vw, 44px); }
.final .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
@media (max-width: 700px) { .final .ctas { justify-content: center; } }

footer { border-top: 1px solid var(--line); padding-block: 26px 40px; color: var(--ink3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--ink2); }

/* sign-in pages */
.auth { max-width: 460px; }
.auth h1 { font-size: 36px; }
.auth form.panel { gap: 14px; }
.auth label .field { font-family: var(--f-fa); }
.auth .field[dir="ltr"] { text-align: left; font-family: var(--f-de-text); }
.pw { position: relative; display: block; }
.pw .field { padding-inline-start: 72px; }
.pw-show { position: absolute; inset-inline-start: 8px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 10px; border-radius: 10px; border: 0; background: var(--surface); color: var(--pond); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.hint { font-size: 13px; font-weight: 500; color: var(--ink3); }
.err { color: var(--coral); font-size: 14px; font-weight: 700; }
.ok { color: var(--leaf); font-weight: 700; }
.note { background: var(--yolk-bg); border-color: color-mix(in srgb, var(--yolk) 60%, var(--line)); }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink3); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth .gbtn { justify-content: center; }

/* simple pages: app shell, privacy, sign-in */
.page { max-width: 640px; margin: 0 auto; padding-block: 40px 64px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-family: var(--f-title); font-weight: 400; font-size: 40px; }
.panel { background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.field { width: 100%; border-radius: 14px; border: 2px solid var(--line); background: var(--sunk); padding: 12px 14px; font: inherit; color: var(--ink); }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink2); }
.who { display: flex; align-items: center; gap: 14px; }
.who img, .who .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--sunk); display: grid; place-items: center; font-weight: 900; font-size: 22px; object-fit: cover; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toast { position: fixed; inset-inline: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); margin-inline: auto; max-width: 440px; z-index: 60; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 12px 16px; text-align: center; font-weight: 700; }
.toast[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p-flip, .p-tok, .p-note, .p-btns .yes { animation: none; }
}

/* after sign-up: "we sent you a confirmation e-mail" must be the first thing read */
.sent-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sent-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--yolk-bg); color: var(--ink);
  border: 2px solid color-mix(in srgb, var(--yolk) 60%, var(--line)); border-bottom-width: 4px; }
.sent-lead { font-size: 18px; font-weight: 700; line-height: 1.8; margin: 0; }
.sent-to { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--sunk); font-size: 17px; font-weight: 700;
  text-align: left; overflow-wrap: anywhere; }
.sent-steps { margin: 0; padding-inline-start: 22px; list-style: persian; display: flex; flex-direction: column; gap: 6px; line-height: 1.8; }
.sent-icon { position: relative; }
.sent-tick { position: absolute; inset-inline-start: -7px; bottom: -7px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--leaf); color: #fff; border: 2px solid var(--paper); }


/* the e-mail page arrives in a short sequence: envelope flies in, the ✓ pops, then the words */
.sent-head .sent-icon { animation: env-in .6s cubic-bezier(.2, .9, .3, 1.25) both; }
.sent-tick { animation: tick-pop .35s .55s cubic-bezier(.3, 1.6, .5, 1) both; }
.sent-head h1 { animation: auth-rise .45s .2s ease-out both; }
.panel.sent { animation: auth-rise .45s .35s ease-out both; }
.panel.sent + .muted { animation: auth-rise .45s .5s ease-out both; }
@keyframes env-in { from { opacity: 0; transform: translate(28px, -22px) rotate(-12deg) scale(.7); } }
@keyframes tick-pop { from { opacity: 0; transform: scale(0); } }
@keyframes auth-rise { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  .sent-head .sent-icon, .sent-tick, .sent-head h1, .panel.sent, .panel.sent + .muted { animation: none; }
}
