/* triple18's Platcom — inspired by apple.com: quiet surfaces, big type, generous space */
@font-face { font-family: "Vazirmatn"; src: url("/static/fonts/Vazirmatn-wght.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap; }

:root {
  --bg: #fff; --bg2: #f5f5f7; --bg3: #fbfbfd; --card: #fff; --text: #1d1d1f; --text2: #6e6e73; --text3: #86868b;
  --line: #d2d2d7; --line2: rgba(0,0,0,.08); --link: #0066cc; --btn: #0071e3; --btn-h: #0077ed; --btn-text: #fff;
  --nav: rgba(250,250,252,.78); --nav-text: #1d1d1f; --shadow: 0 2px 12px rgba(0,0,0,.06), 0 12px 40px rgba(0,0,0,.06);
  --ok: #1a7f37; --ok-bg: #e8f6ec; --warn: #b25000; --warn-bg: #fff4e5; --err: #d70015; --err-bg: #fdecee;
  --info-bg: #e8f1fd; --dev: #1d1d1f;
  --r: 18px; --r-lg: 28px; --pad: max(16px, 4vw); --maxw: 1024px;
  --font: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
  --latin: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Inter, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #000; --bg2: #161617; --bg3: #0b0b0c; --card: #1d1d1f; --text: #f5f5f7; --text2: #a1a1a6; --text3: #86868b;
  --line: #424245; --line2: rgba(255,255,255,.1); --link: #2997ff; --nav: rgba(22,22,23,.8); --nav-text: #f5f5f7;
  --shadow: 0 2px 16px rgba(0,0,0,.5); --ok: #30d158; --ok-bg: rgba(48,209,88,.14); --warn: #ffb340;
  --warn-bg: rgba(255,159,10,.14); --err: #ff6961; --err-bg: rgba(255,69,58,.15); --info-bg: rgba(41,151,255,.14);
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #000; --bg2: #161617; --bg3: #0b0b0c; --card: #1d1d1f; --text: #f5f5f7; --text2: #a1a1a6; --text3: #86868b;
  --line: #424245; --line2: rgba(255,255,255,.1); --link: #2997ff; --nav: rgba(22,22,23,.8); --nav-text: #f5f5f7;
  --shadow: 0 2px 16px rgba(0,0,0,.5); --ok: #30d158; --ok-bg: rgba(48,209,88,.14); --warn: #ffb340;
  --warn-bg: rgba(255,159,10,.14); --err: #ff6961; --err-bg: rgba(255,69,58,.15); --info-bg: rgba(41,151,255,.14);
  color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.75 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.latin { font-family: var(--latin); }
.muted { color: var(--text2); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: block !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; } }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

/* ---------- global nav ---------- */
.gnav { position: sticky; top: 0; z-index: 50; height: 48px; background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line2); }
.gnav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { font-family: var(--latin); direction: ltr; font-size: 17px; font-weight: 600; letter-spacing: -.02em;
  color: var(--nav-text) !important; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.brand:hover { text-decoration: none; opacity: .8; }
.brand .mark { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11px;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, #0a84ff, #bf5af2 55%, #ff375f); letter-spacing: -.04em; }
.brand b { font-weight: 700; }
.gnav nav { display: flex; gap: 26px; flex: 1; }
.gnav nav a, .gnav .tools a { color: var(--nav-text); opacity: .82; font-size: 14px; }
.gnav nav a:hover, .gnav .tools a:hover { opacity: 1; text-decoration: none; }
.gnav nav a.on { opacity: 1; font-weight: 600; }
.gnav .tools { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: none;
  border: 0; color: var(--nav-text); cursor: pointer; opacity: .82; padding: 0; }
.icon-btn:hover { opacity: 1; background: var(--line2); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.mnav { display: none; }
@media (max-width: 760px) {
  .gnav nav { display: none; }
  .menu-btn { display: grid; }
  .mnav { position: fixed; inset: 48px 0 0; z-index: 49; background: var(--bg); padding: 24px var(--pad);
    flex-direction: column; gap: 4px; }
  .mnav.open { display: flex; animation: fade .25s ease; }
  .mnav a { font-size: 26px; font-weight: 700; color: var(--text); padding: 8px 0; }
}
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 22px;
  border-radius: 980px; border: 0; background: var(--btn); color: var(--btn-text) !important; font: 500 16px/1.2 var(--font);
  cursor: pointer; text-decoration: none !important; transition: background .2s, transform .1s; white-space: nowrap; }
.btn:hover { background: var(--btn-h); }
.btn:active { transform: scale(.98); }
.btn.sm { min-height: 34px; padding: 6px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--link) !important; box-shadow: inset 0 0 0 1px var(--link); }
.btn.ghost:hover { background: var(--link); color: #fff !important; }
.btn.gray { background: var(--bg2); color: var(--text) !important; box-shadow: inset 0 0 0 1px var(--line2); }
.btn.gray:hover { background: var(--line2); }
.btn.danger { background: var(--err-bg); color: var(--err) !important; }
.btn.ok { background: var(--ok); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.more { font-size: 17px; white-space: nowrap; }
.more::after { content: " ‹"; font-size: 1.1em; }
.ctas { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- home ---------- */
.hero { text-align: center; padding: clamp(64px, 11vw, 132px) 0 clamp(40px, 6vw, 72px); background: var(--bg); }
.hero h1 { font-size: clamp(38px, 7vw, 80px); line-height: 1.15; }
.hero .sub { font-size: clamp(19px, 2.4vw, 26px); color: var(--text2); margin: 18px auto 0; max-width: 720px; line-height: 1.6; }
.hero .glow { display: inline-block; background: linear-gradient(90deg, #0a84ff, #bf5af2 45%, #ff375f);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

.tiles { display: grid; gap: 12px; padding: 0 12px 12px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg2); text-align: center;
  padding: clamp(48px, 7vw, 72px) var(--pad) 0; min-height: 600px; display: flex; flex-direction: column; isolation: isolate; }
.tile.dark { background: #000; color: #f5f5f7; --text2: #a1a1a6; --link: #2997ff; }
.tile.gradient { color: #fff; --text2: rgba(255,255,255,.85); --link: #fff; }
.tile.gradient::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(140deg, var(--a1), var(--a2)); }
.tile .eyebrow { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; line-height: 1.2; }
.tile .eyebrow .en { font-family: var(--latin); font-weight: 700; letter-spacing: -.03em; }
.grad-text { background: linear-gradient(90deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.tile.gradient .grad-text { background: none; color: #fff; }
.tile h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; margin-top: 6px; }
.tile .sum { color: var(--text2); max-width: 600px; margin: 10px auto 0; }
.tile .ctas { margin-top: 18px; }
.tile .art { margin-top: auto; padding-top: 40px; display: flex; justify-content: center; align-items: flex-end; gap: 18px; }
.tile .art .phone { width: min(280px, 58vw); margin-bottom: -120px; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile .art .phone.side { width: min(220px, 40vw); margin-bottom: -170px; opacity: .97; }
@media (max-width: 640px) { .tile .art .phone.side { display: none; } .tile { min-height: 560px; } }
.tile:hover .art .phone.center { transform: translateY(-10px); }

.why { padding: clamp(64px, 9vw, 110px) 0; }
.why h2 { font-size: clamp(32px, 5vw, 56px); text-align: center; }
.why .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 44px; }
.why .card { background: var(--bg2); border-radius: var(--r-lg); padding: 32px 28px; }
.why .card .ic { font-size: 34px; }
.why .card h3 { font-size: 22px; margin: 14px 0 8px; }
.why .card p { color: var(--text2); }
.soon { text-align: center; color: var(--text3); padding: 0 0 80px; font-size: 15px; }

/* ---------- devices ---------- */
.phone { position: relative; aspect-ratio: 100 / 209; border-radius: 15% / 7%; padding: 3.2%; background: #1d1d1f;
  box-shadow: 0 0 0 1.5px #3a3a3c inset, 0 30px 60px -20px rgba(0,0,0,.35), 0 18px 36px -18px rgba(0,0,0,.35); }
.phone::before { content: ""; position: absolute; top: 2.6%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%);
  background: #000; border-radius: 99px; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12% / 5.6%; background: #fff; }
.laptop { max-width: 920px; margin: 0 auto; padding: 0 6%; }
.laptop .screen { background: #1d1d1f; padding: 1.6% 1.6% 2.4%; border-radius: 20px 20px 0 0;
  box-shadow: 0 0 0 1.5px #3a3a3c inset; }
.laptop .screen img { border-radius: 6px; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.laptop .base { height: 16px; margin: 0 -7%; border-radius: 0 0 18px 18px;
  background: linear-gradient(#e2e3e5, #b9babc); box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); position: relative; }
.laptop .base::before { content: ""; position: absolute; top: 0; left: 42%; right: 42%; height: 6px; border-radius: 0 0 8px 8px;
  background: #a7a8aa; }

/* ---------- product page ---------- */
.lnav { position: sticky; top: 48px; z-index: 40; height: 52px; background: var(--nav); border-bottom: 1px solid var(--line2);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.lnav .wrap { height: 100%; display: flex; align-items: center; gap: 22px; }
.lnav .title { font-size: 20px; font-weight: 700; margin-inline-end: auto; color: var(--text); }
.lnav a.l { font-size: 13px; color: var(--text); opacity: .8; }
@media (max-width: 640px) { .lnav a.l { display: none; } }

.p-hero { text-align: center; padding: clamp(56px, 9vw, 110px) 0 0; overflow: hidden; }
.p-hero .name { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
.p-hero .name .en { font-family: var(--latin); letter-spacing: -.02em; color: var(--text2); font-weight: 600; margin-inline-start: 8px; }
.p-hero h1 { font-size: clamp(40px, 8vw, 96px); line-height: 1.12; margin-top: 8px; }
.p-hero .sum { font-size: clamp(18px, 2.2vw, 24px); color: var(--text2); max-width: 680px; margin: 22px auto 0; line-height: 1.6; }
.p-hero .art { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 3vw, 40px);
  margin-top: clamp(48px, 7vw, 80px); padding: 0 var(--pad); }
.p-hero .art .phone { width: min(320px, 64vw); }
.p-hero .art .phone.side { width: min(250px, 40vw); transform: translateY(40px); }
@media (max-width: 640px) { .p-hero .art .phone.side { display: none; } }
.p-hero .halo { position: absolute; inset: 15% 10% -10%; z-index: -1; filter: blur(80px); opacity: .35;
  background: radial-gradient(closest-side, var(--a1), transparent), radial-gradient(closest-side at 70% 60%, var(--a2), transparent); }

.sec { padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow-x: clip; }
.sec.gray { background: var(--bg2); }
.sec.dark { background: #000; color: #f5f5f7; --text2: #a1a1a6; --card: #1d1d1f; --bg2: #161617; --line2: rgba(255,255,255,.1); --link: #2997ff; }
.sec.accent { color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); --text2: rgba(255,255,255,.88); }
.eyebrow-s { font-size: clamp(17px, 2vw, 21px); font-weight: 700; margin-bottom: 10px; }
.eyebrow-s.grad-text { display: inline-block; }
.sec h2 { font-size: clamp(32px, 5.4vw, 64px); line-height: 1.2; white-space: pre-line; }
.sec .lead { font-size: clamp(17px, 2vw, 21px); color: var(--text2); line-height: 1.75; margin-top: 18px; max-width: 640px; }
.sec .center { text-align: center; }
.sec .center .lead { margin-inline: auto; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-split.end .media { order: -1; }
.feature-split .media { display: flex; justify-content: center; }
.feature-split .media .phone { width: min(320px, 72vw); }
@media (max-width: 820px) { .feature-split { grid-template-columns: 1fr; text-align: center; }
  .feature-split .lead { margin-inline: auto; } .feature-split.end .media { order: 0; } }
.feature-wide .media { margin-top: clamp(40px, 6vw, 72px); }

.hl-wrap { position: relative; }
.hl { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px var(--pad) 8px;
  scrollbar-width: none; scroll-padding: 0 var(--pad); }
.hl::-webkit-scrollbar { display: none; }
.hl .card { flex: 0 0 min(372px, 82vw); scroll-snap-align: start; background: var(--card); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; height: 620px; box-shadow: var(--shadow); }
.sec.gray .hl .card { box-shadow: none; }
.hl .card .cap { padding: 30px 30px 0; }
.hl .card .cap h3 { font-size: 22px; }
.hl .card .cap p { color: var(--text2); font-size: 16px; margin-top: 6px; }
.hl .card .ph { margin-top: auto; display: flex; justify-content: center; padding-top: 24px; overflow: hidden; height: 430px; }
.hl .card .ph .phone { width: 260px; height: max-content; }
.hl-ctrl { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.hl-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--line2); color: var(--text);
  font-size: 22px; cursor: pointer; line-height: 1; }
.hl-ctrl button:hover { background: var(--line); }

.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 48px; }
.grid3 .card { background: var(--bg2); border-radius: var(--r); padding: 28px; }
.sec.gray .grid3 .card { background: var(--card); }
.grid3 .ic { font-size: 30px; line-height: 1; }
.grid3 h3 { font-size: 20px; margin: 14px 0 6px; }
.grid3 p { color: var(--text2); font-size: 16px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; text-align: center; }
.stats .v { font-size: clamp(56px, 8vw, 96px); font-weight: 900; line-height: 1.1; }
.stats .t { font-size: 21px; font-weight: 700; margin-top: 6px; }
.stats .d { color: var(--text2); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-top: 48px; counter-reset: s; }
.steps .st { counter-increment: s; background: var(--card); border-radius: var(--r); padding: 26px; }
.steps .st::before { content: counter(s, persian); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--a1), var(--a2)); margin-bottom: 16px; }
.steps h3 { font-size: 20px; }
.steps p { color: var(--text2); font-size: 16px; margin-top: 6px; }

.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: clamp(18px, 2vw, 22px); font-weight: 700;
  display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 28px; line-height: 1; color: var(--text2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text2); padding: 0 0 24px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 48px; justify-items: center; }
.gallery .phone { width: 100%; max-width: 260px; }
.gallery figcaption { text-align: center; color: var(--text2); font-size: 15px; margin-top: 14px; }

.cta h2 { font-size: clamp(40px, 7vw, 80px); }
.price-note { margin-top: 18px; font-size: 15px; opacity: .85; }
.sec.accent .btn { background: #fff; color: #1d1d1f !important; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- footer ---------- */
.foot { background: var(--bg2); color: var(--text3); font-size: 13px; padding: 28px 0 40px; line-height: 1.9; }
.foot .row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.foot a { color: var(--text2); }
.foot .brand { color: var(--text2) !important; font-size: 14px; }

/* ---------- forms ---------- */
.form-page { min-height: calc(100vh - 48px); background: var(--bg2); padding: clamp(32px, 6vw, 72px) var(--pad); }
.form-card { max-width: 560px; margin: 0 auto; background: var(--card); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow); }
.form-card.narrow { max-width: 440px; }
.form-card h1 { font-size: clamp(28px, 4vw, 40px); }
.form-card .intro { color: var(--text2); margin-top: 8px; }
.field { display: block; margin-top: 18px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field > span em { font-style: normal; color: var(--text3); font-weight: 400; }
input[type=text], input[type=tel], input[type=password], input[type=email], input[type=number], input[type=search],
input[type=url], select, textarea {
  width: 100%; font: 400 17px/1.5 var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.form-card input, .form-card select, .form-card textarea { background: var(--bg3); }
input:focus, select:focus, textarea:focus { border-color: var(--btn); box-shadow: 0 0 0 4px rgba(0,113,227,.18); }
textarea { min-height: 110px; resize: vertical; }
input.code { font-family: var(--latin); text-align: center; letter-spacing: .5em; font-size: 26px; direction: ltr; }
input.ltr-in { direction: ltr; text-align: left; }
.field .err { color: var(--err); font-size: 14px; margin-top: 4px; display: block; }
.field.bad input, .field.bad select { border-color: var(--err); }
.alert { border-radius: 12px; padding: 12px 16px; font-size: 15px; margin-top: 16px; }
.alert.err { background: var(--err-bg); color: var(--err); }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.alert.info { background: var(--info-bg); color: var(--text); }
.alert.warn { background: var(--warn-bg); color: var(--warn); }
.form-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.linkish { background: none; border: 0; padding: 0; color: var(--link); font: inherit; cursor: pointer; font-size: 15px; }
.linkish:hover { text-decoration: underline; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 8px 16px; border-radius: 99px; background: var(--bg2); font-size: 15px;
  box-shadow: inset 0 0 0 1px var(--line2); }
.seg input:checked + span { background: var(--btn); color: #fff; box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--btn); outline-offset: 2px; }
.done-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: #fff;
  background: linear-gradient(135deg, #30d158, #0a84ff); margin: 0 auto 18px; }

/* toast */
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 14px; background: var(--dev); color: #fff; font-size: 15px; box-shadow: var(--shadow);
  animation: toast 4.5s ease forwards; }
.toast.err { background: #c4001a; }
:root[data-theme="dark"] .toast:not(.err) { background: #3a3a3c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .toast:not(.err) { background: #3a3a3c; } }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 12px); } 6%, 88% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 6px); visibility: hidden; } }

.err-page { text-align: center; padding: 120px var(--pad); }
.err-page .code { font-family: var(--latin); font-size: 96px; font-weight: 800; letter-spacing: -.04em; color: var(--text3); }
