/* ═════════════ زرین‌یار — «دفترِ زر» ═════════════
   کاغذِ کرم، جوهرِ قهوه‌ای، ورقِ طلا. فقط ویژگی‌هایِ منطقی (inline/block) تا راست‌چین طبیعی باشد.
   هرگز letter-spacing روی متنِ فارسی نمی‌گذاریم (حروف را می‌شکند). */

@font-face {
  font-family: "Vazirmatn";
  src: url("/static/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FBF3EA;
  --paper-2: #F4E8D8;
  --card: #FFFCF7;
  --ink: #2B1D14;
  --ink-2: #5B4636;
  --ink-3: #8B7663;
  --line: #E6D6BF;
  --line-2: #D9C4A3;
  --gold: #C99A3D;
  --gold-a: #F3D9A0;
  --gold-b: #D9AE50;
  --gold-d: #A97B25;
  --gold-text: #8A6420;
  --green: #3F8F5E;
  --red: #B5483A;
  --espresso: #24170F;
  --espresso-2: #33231A;
  --foil: linear-gradient(120deg, #B98524 0%, #E9C978 32%, #C99A3D 55%, #F3D9A0 78%, #B98524 100%);
  --r: 14px;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 12px 32px -14px rgba(60,35,10,.28);
  --ease: cubic-bezier(.22,.8,.24,1);
  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-block-start: 84px; }
body {
  margin: 0; min-block-size: 100vh; background: var(--paper); color: var(--ink);
  font: 400 16px/1.95 var(--font); font-feature-settings: "kern"; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* خطوطِ دفترِ حساب پشتِ کلِ صفحه، خیلی کم‌رنگ */
body:not(.is-bare)::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(201,154,61,.09) 39px 40px);
}
img, svg { display: block; max-inline-size: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.4; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-a); color: var(--ink); }

.sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; }
.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; transition: inset-block-start .2s; }
.skip:focus { inset-block-start: 12px; }
.wrap { inline-size: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { inline-size: min(760px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.ic { flex: none; }
.hero-grid > *, .explorer > *, .calc > *, .contact-grid > *, .panel > *, .login > * { min-inline-size: 0; }

/* ─── دکمه‌ها ─── */
.btn {
  --h: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  block-size: var(--h); padding-inline: 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { --h: 38px; padding-inline: 16px; font-size: 14px; }
.btn-lg { --h: 54px; padding-inline: 30px; font-size: 16px; }
.btn-gold { color: #2B1D14; background: var(--foil); background-size: 220% 100%; background-position: 100% 0; box-shadow: 0 8px 22px -8px rgba(169,123,37,.7), 0 1px 0 rgba(255,255,255,.55) inset; }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(120%); }
.btn-gold:hover { background-position: 0 0; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(169,123,37,.8), 0 1px 0 rgba(255,255,255,.55) inset; }
.btn-gold:hover::after { transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-line { border-color: var(--line-2); background: rgba(255,252,247,.6); color: var(--ink); }
.btn-line:hover { border-color: var(--gold); background: #fff; transform: translateY(-2px); }
.btn-line .ic { transition: transform .25s var(--ease); }
.btn-line:hover .ic { transform: translateX(-4px); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: rgba(201,154,61,.14); color: var(--ink); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #9c3a2d; }
.btn.is-disabled { opacity: .6; cursor: not-allowed; pointer-events: none; }

/* ─── نوارِ اعلان و هدر ─── */
.announce { background: var(--espresso); color: var(--gold-a); text-align: center; font-size: 14px; padding-block: 8px; }
.announce a { display: inline-flex; align-items: center; gap: 8px; }
.site-header { position: sticky; inset-block-start: 0; z-index: 50; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.is-stuck { background: rgba(251,243,234,.86); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.bar { display: flex; align-items: center; gap: 24px; block-size: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-size: 22px; font-weight: 900; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block: 2px; }
.logo-mark { transition: transform .6s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }
.nav { display: flex; gap: 6px; margin-inline-start: 12px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 15px; transition: color .2s, background-color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 14px; inset-block-end: 3px; block-size: 2px; border-radius: 2px; background: var(--foil); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { color: var(--ink); font-weight: 700; }
.bar-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; place-items: center; inline-size: 44px; block-size: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; }
.menu-btn .i-close, .speed-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open, .speed-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close, .speed-btn[aria-expanded="true"] .i-close { display: block; }

/* ─── پایِ صفحه ─── */
.site-footer { margin-block-start: 0; background: var(--espresso); color: #E8D9C3; padding-block: 56px 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; }
.foot-brand p { margin-block-start: 12px; max-inline-size: 34ch; }
.foot-h { font-size: 15px; color: var(--gold-a); margin-block-end: 14px; }
.foot-list { display: grid; gap: 8px; }
.foot-list a { transition: color .2s; }
.foot-list a:hover { color: var(--gold-a); }
.foot-contact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.foot-contact .muted { color: #A99580; font-size: 14px; }
.site-footer .muted { color: #A99580; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-block-start: 40px; padding-block-start: 20px; border-block-start: 1px solid rgba(243,217,160,.16); font-size: 14px; }

/* ─── دکمه‌یِ شناورِ ارتباط ─── */
.speed { position: fixed; inset-inline-start: 20px; inset-block-end: 20px; z-index: 40; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
.speed-btn { inline-size: 56px; block-size: 56px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink); background: var(--foil); box-shadow: 0 12px 28px -8px rgba(120,80,10,.6); transition: transform .3s var(--ease); }
.speed-btn:hover { transform: scale(1.07) rotate(-6deg); }
.speed-list { display: grid; gap: 10px; pointer-events: none; }
.speed-list li { opacity: 0; transform: translateY(14px) scale(.9); transform-origin: left bottom; transition: opacity .25s, transform .35s var(--ease); }
.speed.is-open .speed-list { pointer-events: auto; }
.speed.is-open .speed-list li { opacity: 1; transform: none; }
.speed.is-open .speed-list li:nth-last-child(2) { transition-delay: .04s; }
.speed.is-open .speed-list li:nth-last-child(3) { transition-delay: .08s; }
.speed.is-open .speed-list li:nth-last-child(4) { transition-delay: .12s; }
.speed-list a { display: inline-flex; align-items: center; gap: 10px; flex-direction: row; }
.speed-ic { inline-size: 46px; block-size: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); color: var(--gold-text); transition: background-color .2s, color .2s; }
.speed-list a:hover .speed-ic { background: var(--ink); color: var(--gold-a); }
.speed-label { background: var(--ink); color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }

/* ─── سکشن‌ها ─── */
.section { padding-block: 96px; position: relative; }
.section.tight { padding-block: 40px 96px; }
.section-paper { background: var(--paper-2); }
.section-paper::before, .section-dark::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 10px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 12px); opacity: .55; -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent); }
.section-dark { background: var(--espresso); color: #F1E4CE; overflow: hidden; }
.section-dark::before { background: repeating-linear-gradient(90deg, rgba(243,217,160,.4) 0 1px, transparent 1px 12px); }
.sec-head { max-inline-size: 720px; margin-block-end: 48px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-text); font-weight: 700; font-size: 14px; margin-block-end: 12px; }
.kicker::before { content: ""; inline-size: 28px; block-size: 2px; background: var(--foil); border-radius: 2px; }
.kicker-dark { color: var(--gold-a); }
.sec-head h2, .calc-copy h2, .dl-copy h2 { font-size: clamp(26px, 3.6vw, 40px); }
.sub { margin-block-start: 14px; color: var(--ink-2); font-size: 17px; max-inline-size: 60ch; }
.section-dark .sub { color: #CDBBA2; }

/* ─── قهرمان ─── */
.hero { padding-block: 56px 72px; position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,252,247,.7); color: var(--gold-text); font-weight: 600; font-size: 14px; }
.dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(63,143,94,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(63,143,94,0); } 100% { box-shadow: 0 0 0 0 rgba(63,143,94,0); } }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 900; line-height: 1.3; margin-block: 20px 6px; }
.hero h1 span { display: block; }
.foil { background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 7s linear infinite; padding-block: 4px; }
@keyframes foil { to { background-position: -200% 0; } }
.lead { font-size: 18px; color: var(--ink-2); max-inline-size: 56ch; margin-block: 16px 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-block-start: 28px; color: var(--ink-2); font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ic { color: var(--green); }

.hero-art { --px: 0; --py: 0; position: relative; block-size: 540px; perspective: 1200px; }
.phone { position: absolute; inset-inline-start: 50%; inset-block-start: 10px; inline-size: 262px; block-size: 520px; margin-inline-start: -131px; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #3d2a1d, #1a100a); box-shadow: 0 40px 70px -24px rgba(50,28,8,.6), 0 0 0 2px #59402c inset; transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px), 0) rotateY(calc(var(--px) * -6deg)) rotateX(calc(var(--py) * 5deg)); transition: transform .25s ease-out; }
.phone-notch { position: absolute; inset-inline-start: 50%; inset-block-start: 16px; inline-size: 74px; block-size: 20px; margin-inline-start: -37px; background: #120a05; border-radius: 12px; z-index: 2; }
.phone-screen { block-size: 100%; border-radius: 31px; background: var(--paper); padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ph-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.ph-dot { inline-size: 10px; block-size: 10px; border-radius: 3px; background: var(--foil); transform: rotate(45deg); }
.ph-field { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 8px 12px; display: grid; }
.ph-field small { color: var(--ink-3); font-size: 11px; line-height: 1.6; }
.ph-field b { font-size: 16px; font-weight: 700; }
.ph-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-total { margin-block-start: auto; border-radius: 16px; padding: 14px; background: var(--espresso); color: var(--gold-a); display: grid; }
.ph-total small { font-size: 11px; color: #BFAA8C; }
.ph-total b { font-size: 24px; font-weight: 900; line-height: 1.5; }
.ph-total i { font-style: normal; font-size: 12px; }
.ph-btn { text-align: center; padding: 11px; border-radius: 999px; background: var(--foil); font-weight: 800; font-size: 14px; }

.slip { position: absolute; inset-inline-end: 10px; inset-block-start: 84px; inline-size: 260px; padding: 16px 18px 20px; background: #FFFDF8; border-radius: 6px; box-shadow: 0 24px 50px -22px rgba(60,35,10,.5); transform: translate3d(calc(var(--px) * -16px), calc(var(--py) * -10px), 0) rotate(7deg); transition: transform .25s ease-out; font-size: 12.5px; line-height: 1.8; z-index: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(201,154,61,.16) 27px 28px); }
.slip::before, .slip::after { content: ""; position: absolute; inset-inline: 0; block-size: 8px; background: radial-gradient(circle at 6px 0, transparent 5px, #FFFDF8 5.5px) 0 0 / 12px 8px repeat-x; inset-block-end: -7px; transform: rotate(180deg) scaleY(-1); }
.slip::after { display: none; }
.slip-top { display: flex; justify-content: space-between; border-block-end: 1px dashed var(--line-2); padding-block-end: 6px; margin-block-end: 6px; }
.slip-line, .slip-sum { display: flex; justify-content: space-between; gap: 8px; }
.slip-line em { font-style: normal; color: var(--ink-2); }
.slip-sum { margin-block-start: 8px; padding-block-start: 6px; border-block-start: 2px solid var(--ink); font-weight: 800; }
.stamp { position: absolute; inset-inline-end: 18px; inset-block-end: 30px; padding: 2px 12px; border: 2.5px solid var(--green); color: var(--green); border-radius: 8px; font-weight: 900; font-size: 15px; transform: rotate(-12deg); opacity: .85; animation: stamp 1.1s .8s var(--ease) both; }
@keyframes stamp { from { transform: rotate(-12deg) scale(2.2); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: .85; } }
.coin { position: absolute; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #FFF0C4, #D9AE50 45%, #8C5F14); box-shadow: 0 10px 20px -8px rgba(90,55,5,.6); }
.coin::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 2px solid rgba(255,244,210,.6); }
.coin-a { inline-size: 74px; block-size: 74px; inset-inline-start: 6px; inset-block-end: 60px; animation: floaty 6s ease-in-out infinite; }
.coin-b { inline-size: 44px; block-size: 44px; inset-inline-start: 84px; inset-block-start: 40px; animation: floaty 7s -2s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(8deg); } }

/* ─── نوارِ نکته‌ها ─── */
.ribbon { border-block: 1px solid var(--line); background: rgba(255,252,247,.7); }
.ribbon-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.ribbon-in > div { padding: 22px 20px; display: grid; gap: 2px; position: relative; }
.ribbon-in > div + div::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 22px; inline-size: 1px; background: var(--line); }
.ribbon b { font-size: 20px; font-weight: 800; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ribbon span { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* ─── کاوشگرِ قابلیت‌ها ─── */
.explorer { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.tab-list { position: relative; display: grid; gap: 4px; padding-inline-end: 4px; }
.tab-list::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 0; inline-size: 2px; background: var(--line); border-radius: 2px; }
.tab { position: relative; display: flex; gap: 12px; align-items: center; text-align: start; padding: 14px 20px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; color: var(--ink-2); font-weight: 600; transition: background-color .25s, color .25s; }
.tab:hover { background: rgba(201,154,61,.1); color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 800; background: var(--card); box-shadow: var(--shadow); }
.tab-no { font-size: 12px; color: var(--gold-text); font-weight: 800; inline-size: 24px; block-size: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; }
.tab[aria-selected="true"] .tab-no { background: var(--foil); border-color: transparent; color: var(--ink); }
.tab-ind { position: absolute; inset-inline-start: -1px; inline-size: 4px; border-radius: 4px; background: var(--foil); inset-block-start: 0; block-size: 0; transition: inset-block-start .4s var(--ease), block-size .4s var(--ease); }
.panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.panel[hidden] { display: none; }
.panel.is-in { animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.panel h3 { font-size: 26px; }
.panel-copy > p { margin-block: 10px 18px; color: var(--ink-2); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--green); margin-block-start: 5px; }
.panel-art { display: grid; place-items: center; padding: 22px; border-radius: 18px; background: var(--paper-2); background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(201,154,61,.14) 27px 28px); }

.mini { inline-size: 100%; max-inline-size: 300px; padding: 14px; border-radius: 16px; background: #FFFDF8; border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(60,35,10,.45); font-size: 13px; line-height: 1.7; }
.mini-head { display: flex; justify-content: space-between; align-items: center; padding-block-end: 8px; margin-block-end: 6px; border-block-end: 1px dashed var(--line-2); }
.mini-head i { font-style: normal; font-size: 11px; padding: 0 10px; border-radius: 999px; background: var(--gold-a); color: var(--gold-text); font-weight: 700; }
.mini-row { display: flex; justify-content: space-between; gap: 8px; padding-block: 3px; }
.mini-row em { font-style: normal; color: var(--ink-2); font-weight: 600; }
.mini-row em.deb { color: var(--red); } .mini-row em.cre { color: var(--green); }
.mini-total { margin-block-start: 8px; padding: 10px 12px; border-radius: 12px; background: var(--espresso); color: var(--gold-a); display: flex; justify-content: space-between; align-items: baseline; }
.mini-total strong { font-size: 16px; } .mini-total small { font-size: 11px; font-weight: 400; }
.mini-lot { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding-block: 5px; }
.mini-lot span { font-weight: 800; color: var(--gold-text); }
.mini-lot .bar { block-size: 8px; border-radius: 8px; background: var(--paper-2); overflow: hidden; }
.mini-lot u { display: block; block-size: 100%; border-radius: 8px; background: var(--foil); }
.w70 { inline-size: 70%; } .w45 { inline-size: 45%; } .w20 { inline-size: 20%; }
.mini-code { display: flex; justify-content: center; gap: 3px; block-size: 64px; padding-block: 8px; }
.mini-code span { inline-size: 3px; background: var(--ink); border-radius: 1px; }
.mini-code span:nth-child(3n) { inline-size: 6px; } .mini-code span:nth-child(4n+1) { inline-size: 2px; } .mini-code span:nth-child(5n) { inline-size: 4px; }
.mini-doc { display: grid; gap: 7px; padding-block: 10px; }
.mini-doc span { block-size: 7px; border-radius: 4px; background: var(--line); }
.mini-doc span:nth-child(1) { inline-size: 60%; background: var(--gold-b); } .mini-doc span:nth-child(2) { inline-size: 92%; } .mini-doc span:nth-child(3) { inline-size: 84%; } .mini-doc span:nth-child(4) { inline-size: 50%; }

/* ─── ماشین‌حساب ─── */
.calc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.formula { margin-block-start: 26px; display: grid; gap: 10px; font-size: 15px; color: #E7D8BF; }
.formula li { padding: 10px 16px; border-inline-start: 3px solid var(--gold-b); background: rgba(243,217,160,.06); border-radius: 0 10px 10px 0; }
.formula b { color: var(--gold-a); }
.calc-card { background: var(--espresso-2); border: 1px solid rgba(243,217,160,.18); border-radius: 22px; padding: 28px; box-shadow: 0 30px 60px -30px #000; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-card .fld { display: grid; gap: 6px; }
.calc-card .fld > span { font-size: 13px; color: #CDBBA2; }
.calc-card input { inline-size: 100%; block-size: 46px; padding-inline: 14px; border-radius: 12px; border: 1px solid rgba(243,217,160,.22); background: rgba(0,0,0,.25); color: #FFF4DA; font-weight: 700; font-size: 16px; transition: border-color .2s, box-shadow .2s; text-align: start; }
.calc-card input:focus { outline: none; border-color: var(--gold-b); box-shadow: 0 0 0 3px rgba(217,174,80,.25); }
.fld-wide { grid-column: 1 / -1; }
.fld-money { position: relative; }
.fld-money input { padding-inline-end: 62px; }
.fld-money i { position: absolute; inset-inline-end: 14px; inset-block-start: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: #BFAA8C; }
.calc-out { margin-block-start: 24px; }
.stack { display: flex; block-size: 14px; border-radius: 14px; overflow: hidden; background: rgba(0,0,0,.3); gap: 2px; }
.stack i { display: block; inline-size: 0; transition: inline-size .7s var(--ease); }
.s-gold { background: #E3BC63; } .s-wage { background: #C68A2B; } .s-profit { background: #8FBF97; } .s-tax { background: #A57A62; }
.parts { margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.parts > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-block: 4px; border-block-end: 1px dashed rgba(243,217,160,.16); }
.parts dt { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #D9C8AE; }
.parts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.sw { inline-size: 10px; block-size: 10px; border-radius: 3px; display: inline-block; }
.grand { margin-block-start: 18px; padding: 16px 20px; border-radius: 16px; background: var(--foil); color: var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.grand strong { font-size: 28px; font-weight: 900; } .grand small { font-size: 14px; font-weight: 600; }
.note { margin-block-start: 14px; font-size: 13px; color: #A99580; }

/* ─── مراحل، کارت‌ها ─── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 28px 26px 26px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .35s; }
.steps li:hover { transform: translateY(-5px); border-color: var(--gold); }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-end: -25px; inset-block-start: 50px; inline-size: 26px; border-block-start: 2px dashed var(--gold-b); }
.step-no { display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 14px; background: var(--foil); font-weight: 900; font-size: 22px; margin-block-end: 16px; transform: rotate(-4deg); }
.steps h3 { font-size: 20px; margin-block-end: 6px; }
.steps p { color: var(--ink-2); font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { padding: 26px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.card:hover { transform: translateY(-5px); border-color: var(--gold); }
.card > .ic { color: var(--gold-text); margin-block-end: 14px; }
.card h3 { font-size: 18px; margin-block-end: 6px; }
.card p { color: var(--ink-2); font-size: 15px; }
.fineprint { margin-block-start: 28px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* ─── دریافت، پرسش‌ها، CTA ─── */
.dl { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; padding: 40px; border-radius: 26px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.dl::after { content: ""; position: absolute; inset-inline-start: -60px; inset-block-start: -60px; inline-size: 220px; block-size: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(233,201,120,.45), transparent 65%); }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.faq-wrap { inline-size: min(860px, 100% - 32px); }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--gold-text); transition: transform .35s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; color: var(--ink-2); }
.cta-band { background: var(--espresso); color: #fff; padding-block: 64px; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 20% 120%, rgba(233,201,120,.28), transparent 70%); pointer-events: none; }
.cta-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; position: relative; z-index: 1; }
.cta-in h2 { font-size: clamp(24px, 3vw, 34px); color: var(--gold-a); }

/* ─── صفحه‌هایِ داخلی ─── */
.page-head { padding-block: 64px 12px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; }
.hours { margin-block-start: 8px; color: var(--gold-text); font-weight: 600; }
.prose { font-size: 17px; }
.prose h2 { font-size: 22px; margin-block: 34px 8px; }
.prose p { color: var(--ink-2); margin-block-end: 12px; }
.prose ul { list-style: disc; padding-inline-start: 24px; color: var(--ink-2); display: grid; gap: 6px; margin-block-end: 12px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.channels { display: grid; gap: 12px; }
.contact-grid.is-solo { grid-template-columns: minmax(0, 720px); }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.channel:hover { transform: translateX(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.channel-sub { margin-inline-start: 24px; padding-block: 10px; }
.channel-ic { inline-size: 48px; block-size: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); color: var(--gold-text); flex: none; transition: background-color .3s, color .3s; }
.channel:hover .channel-ic { background: var(--ink); color: var(--gold-a); }
.channel-tx { display: grid; flex: 1; min-inline-size: 0; line-height: 1.7; }
.channel-tx b { font-weight: 700; } .channel-tx bdi { color: var(--ink-2); overflow-wrap: anywhere; } .channel-tx small { color: var(--ink-3); }
.channel-go { color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.channel:hover .channel-go { transform: translateX(-4px); color: var(--gold-text); }
.form-card { padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 22px; margin-block-end: 18px; }
.stack-form { display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .fld { display: grid; gap: 6px; }
.form-card .fld > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form-card input, .form-card textarea, .inline-form input { inline-size: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form-card textarea { resize: vertical; min-block-size: 120px; line-height: 1.9; }
.form-card input:focus, .form-card textarea:focus, .inline-form input:focus { outline: none; border-color: var(--gold-b); box-shadow: 0 0 0 3px rgba(217,174,80,.25); }
.form-card [aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: 13px; font-style: normal; min-block-size: 0; }
.hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.sent { text-align: center; padding-block: 24px; display: grid; gap: 10px; justify-items: center; }
.sent-ic { inline-size: 64px; block-size: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.flash { padding: 12px 18px; border-radius: 12px; margin-block-end: 16px; border: 1px solid var(--line-2); background: var(--card); }
.flash-success { border-color: var(--green); color: #276a43; background: #EEF8F1; }
.flash-error { border-color: var(--red); color: var(--red); background: #FBEEEB; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kv { margin: 12px 0 0; display: grid; gap: 8px; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; border-block-end: 1px dashed var(--line); padding-block-end: 6px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; font-weight: 600; }
.acct-actions { margin-block: 20px; }
.danger-zone { margin-block-start: 32px; padding: 16px 20px; border: 1px dashed var(--red); border-radius: 14px; }
.danger-zone summary { cursor: pointer; color: var(--red); font-weight: 700; }
.danger-zone p { margin-block: 10px; color: var(--ink-2); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { max-inline-size: 220px; }
.err-page { padding-block: 120px; }
.err-code { font-size: 96px; font-weight: 900; line-height: 1.2; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-page .sub { margin-inline: auto; margin-block-end: 28px; }

/* ═════════ صفحه‌یِ ورود ═════════ */
.is-bare main { min-block-size: 100vh; }
.login { display: grid; grid-template-columns: minmax(340px, .9fr) 1.1fr; min-block-size: 100vh; }
.login-brand { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 30% 10%, #4a3222, var(--espresso) 65%); color: var(--gold-a); padding: 36px 44px; display: flex; flex-direction: column; justify-content: space-between; }
.login-brand::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(243,217,160,.06) 39px 40px); }
.brand-light .brand-name { color: var(--gold-a); background: none; -webkit-background-clip: initial; background-clip: initial; }
.gem-stage { position: relative; flex: 1; display: grid; place-items: center; perspective: 900px; min-block-size: 260px; }
.gem { position: relative; inline-size: 150px; block-size: 150px; transform-style: preserve-3d; animation: spin 14s linear infinite; }
.gem i { position: absolute; inset: 0; margin: auto; inline-size: 96px; block-size: 150px; clip-path: polygon(50% 0, 100% 38%, 50% 100%, 0 38%); background: linear-gradient(160deg, #F7E2A8, #D9AE50 45%, #8C5F14); opacity: .92; }
.gem i:nth-child(1) { transform: rotateY(0deg) translateZ(18px); } .gem i:nth-child(2) { transform: rotateY(60deg) translateZ(18px); filter: brightness(.82); }
.gem i:nth-child(3) { transform: rotateY(120deg) translateZ(18px); filter: brightness(1.12); } .gem i:nth-child(4) { transform: rotateY(180deg) translateZ(18px); filter: brightness(.7); }
.gem i:nth-child(5) { transform: rotateY(240deg) translateZ(18px); filter: brightness(1.2); } .gem i:nth-child(6) { transform: rotateY(300deg) translateZ(18px); filter: brightness(.9); }
@keyframes spin { to { transform: rotateY(360deg); } }
.gem-glow { position: absolute; inline-size: 300px; block-size: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(233,201,120,.32), transparent 65%); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.login-quote { position: relative; font-size: 26px; font-weight: 800; line-height: 1.8; color: #F6E8CC; }
.ruler { position: relative; margin-block-start: 24px; block-size: 14px; background: repeating-linear-gradient(90deg, rgba(243,217,160,.6) 0 1px, transparent 1px 10px); -webkit-mask: linear-gradient(to bottom, #000 45%, transparent 45%); mask: linear-gradient(to bottom, #000 45%, transparent 45%); }
.login-panel { position: relative; display: grid; place-items: center; padding: 32px 20px; background: var(--paper); }
.login-panel::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 56px; inline-size: 2px; background: rgba(181,72,58,.28); }
.back { position: absolute; inset-block-start: 24px; inset-inline-end: 28px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; padding: 6px 12px; border-radius: 999px; transition: background-color .2s, color .2s; }
.back:hover { background: rgba(201,154,61,.15); color: var(--ink); }
.back .ic { transform: scaleX(-1); }
.login-card { position: relative; inline-size: min(430px, 100%); padding: 40px 36px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(60,35,10,.4); overflow: hidden; animation: cardIn .8s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.login-card.is-shake { animation: shake .5s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 20%, 60% { transform: translateX(-9px); } 40%, 80% { transform: translateX(9px); } }
.steps-track { display: flex; gap: 6px; margin-block-end: 26px; }
.steps-track i { flex: 1; block-size: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.steps-track i::after { content: ""; position: absolute; inset: 0; background: var(--foil); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.steps-track i.on::after { transform: scaleX(1); }
.l-step { display: none; }
.l-step.is-active { display: block; animation: stepIn .5s var(--ease) both; }
.l-step.is-leaving { display: block; animation: stepOut .28s ease-in both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-28px); } }
@keyframes stepOut { to { opacity: 0; transform: translateX(28px); } }
.l-step h1 { font-size: 28px; font-weight: 900; }
.l-sub { margin-block: 8px 24px; color: var(--ink-2); font-size: 15px; line-height: 1.95; }
.sent-to { font-weight: 800; color: var(--ink); direction: ltr; }
.linklike { border: 0; background: none; padding: 0; color: var(--gold-text); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(138,100,32,.4); }
.linklike:hover { text-decoration-color: currentColor; }
.phone-field { display: block; }
.phone-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-block-end: 8px; }
.phone-box { position: relative; display: block; }
.phone-box input { inline-size: 100%; block-size: 60px; padding-inline: 18px 52px; border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; font-size: 24px; font-weight: 700; text-align: right; letter-spacing: 1px; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.phone-box input::placeholder { color: #C9B79E; font-weight: 400; }
.phone-box input:focus { outline: none; border-color: var(--gold-b); box-shadow: 0 0 0 4px rgba(217,174,80,.22); }
.phone-box.is-valid input { border-color: var(--green); }
.phone-box.is-invalid input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(181,72,58,.12); }
.tick { position: absolute; inset-inline-end: 16px; inset-block-start: 50%; margin-block-start: -11px; color: var(--green); }
.tick path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .45s var(--ease); }
.phone-box.is-valid .tick path { stroke-dashoffset: 0; }
.field-msg { min-block-size: 26px; margin-block: 8px 10px; font-size: 14px; color: var(--red); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.field-msg.is-on { opacity: 1; transform: none; }
.go { position: relative; inline-size: 100%; block-size: 56px; border: 0; border-radius: 16px; cursor: pointer; overflow: hidden; isolation: isolate; color: var(--ink); font-weight: 800; font-size: 17px; background: var(--foil); background-size: 200% 100%; box-shadow: 0 12px 26px -10px rgba(169,123,37,.75), 0 1px 0 rgba(255,255,255,.5) inset; transition: transform .25s var(--ease), box-shadow .25s, filter .25s; }
.go:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(169,123,37,.85), 0 1px 0 rgba(255,255,255,.5) inset; }
.go:active:not(:disabled) { transform: scale(.985); }
.go:disabled { cursor: progress; filter: saturate(.85); }
.go-sweep { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(130%); }
.go:hover .go-sweep { transform: translateX(-130%); transition: transform .9s var(--ease); }
.go-label { display: inline-block; transition: opacity .2s, transform .3s var(--ease); }
.go-spin { position: absolute; inset-inline-start: 50%; inset-block-start: 50%; inline-size: 24px; block-size: 24px; margin: -12px 0 0 -12px; border: 3px solid rgba(43,29,20,.25); border-top-color: var(--ink); border-radius: 50%; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease); }
.go.is-busy .go-label { opacity: 0; transform: translateY(-10px); }
.go.is-busy .go-spin { opacity: 1; transform: none; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.l-fine { margin-block-start: 20px; font-size: 13px; color: var(--ink-3); text-align: center; }
.l-fine a { text-decoration: underline; text-underline-offset: 3px; }
.otp { display: flex; justify-content: center; gap: 10px; margin-block-end: 6px; }
.otp-box { inline-size: 52px; block-size: 64px; padding: 0; text-align: center; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; font-size: 28px; font-weight: 800; caret-color: var(--gold-d); transition: border-color .2s, box-shadow .2s, transform .25s var(--ease), background-color .25s; }
.otp-box:focus { outline: none; border-color: var(--gold-b); box-shadow: 0 0 0 4px rgba(217,174,80,.25); transform: translateY(-3px); }
.otp-box.is-filled { border-color: var(--gold); background: #FFF9EC; animation: bump .3s var(--ease); }
.otp-box.is-error { border-color: var(--red); background: #FDF1EE; }
.otp.is-ok .otp-box { border-color: var(--green); background: #EEF8F1; color: var(--green); }
@keyframes bump { 50% { transform: translateY(-5px) scale(1.06); } }
.dev-chip { display: flex; justify-content: space-between; align-items: center; margin-block: 4px 10px; padding: 8px 14px; border-radius: 12px; background: #FFF4D6; border: 1px dashed var(--gold); font-size: 13px; }
.dev-chip b { direction: ltr; font-size: 18px; letter-spacing: 3px; color: var(--gold-text); }
.resend { display: flex; align-items: center; gap: 14px; margin-block: 8px 20px; }
.ring { position: relative; inline-size: 44px; block-size: 44px; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg) scaleY(-1); }
.ring circle { fill: none; stroke-width: 3; }
.ring-bg { stroke: var(--line); } .ring-fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 0; }
.resend-txt { font-size: 14px; color: var(--ink-2); }
.l-done { text-align: center; padding-block: 16px; }
.done-badge { display: grid; place-items: center; margin-block-end: 16px; }
.done-ring { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 145; stroke-dashoffset: 145; animation: draw .8s var(--ease) forwards; }
.done-tick { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.login-card.is-success::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(233,201,120,.4), transparent 60%); animation: flash 1.2s ease-out both; pointer-events: none; }
@keyframes flash { from { opacity: 0; } 30% { opacity: 1; } to { opacity: 0; } }

/* ─── ورودِ تدریجی هنگامِ اسکرول (فقط با JS) ─── */
.js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* ─── واکنش‌گرا ─── */
@media (max-width: 1020px) {
  .hero-grid, .calc, .contact-grid, .dl, .explorer { grid-template-columns: minmax(0, 1fr); }
  .hero-art { block-size: 500px; max-inline-size: 460px; margin-inline: auto; inline-size: 100%; }
  .tab-list { display: flex; overflow-x: auto; gap: 8px; padding-block-end: 8px; scrollbar-width: none; }
  .tab-list::before, .tab-ind { display: none; }
  .tab { flex: none; border: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .ribbon-in { grid-template-columns: 1fr 1fr; }
  .ribbon-in > div:nth-child(3)::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset-inline: 0; inset-block-start: 72px; flex-direction: column; margin: 0; padding: 12px 16px 20px; gap: 2px; background: rgba(251,243,234,.97); backdrop-filter: blur(16px); border-block-end: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(60,35,10,.4); transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .nav a::after { display: none; }
  .login { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-panel::before { display: none; }
  .steps { grid-template-columns: 1fr; } .steps li::after { display: none !important; }
  .panel { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .section { padding-block: 64px; }
}
@media (max-width: 560px) {
  .calc-grid { grid-template-columns: 1fr 1fr; } .parts { grid-template-columns: 1fr; }
  .cards, .acct-grid, .two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .login-card { padding: 30px 22px; } .otp { gap: 7px; } .otp-box { inline-size: 46px; block-size: 58px; }
  .hero-art { block-size: 470px; } .slip { display: none; } .phone { inline-size: 232px; block-size: 460px; margin-inline-start: -116px; }
  .dl { padding: 26px; } .speed { inset-inline-start: 14px; inset-block-end: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-rv] { opacity: 1; transform: none; }
}
