:root {
  /* surfaces */
  --bg: #fff8f2;
  --surface: #ffffff;
  --surface-2: #fff4eb;
  --line: #f1e3d6;
  --line-strong: #e5cfbd;
  /* text (all >= 4.5:1 on white) */
  --text: #1f1712;
  --muted: #5f5249;
  --dim: #7c6d61;
  /* brand */
  --brand: #c2410c;
  --brand-2: #e11d48;
  --brand-soft: #fff1e6;
  --grad: linear-gradient(135deg, #f97316 0%, #ea580c 40%, #e11d48 100%);
  --grad-text: linear-gradient(135deg, #ea580c 0%, #dc2626 50%, #e11d48 100%);
  --grad-btn: linear-gradient(135deg, #c2410c 0%, #d9480f 45%, #e11d48 100%);
  /* status */
  --ok: #047857; --ok-bg: #ecfdf5; --ok-line: #a7f3d0;
  --warn: #92400e; --warn-bg: #fffbeb; --warn-line: #fde68a;
  --err: #be123c; --err-bg: #fff1f2; --err-line: #fecdd3;
  /* shape */
  --r: 22px;
  --shadow-sm: 0 1px 2px rgba(31, 23, 18, 0.05), 0 4px 12px rgba(194, 65, 12, 0.06);
  --shadow: 0 1px 2px rgba(31, 23, 18, 0.04), 0 12px 32px rgba(194, 65, 12, 0.1);
  --shadow-lg: 0 2px 4px rgba(31, 23, 18, 0.04), 0 28px 70px rgba(194, 65, 12, 0.16);
  --ring: 0 0 0 4px rgba(234, 88, 12, 0.22);
  --display: 'Rajdhani', 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
::selection { background: rgba(234, 88, 12, 0.2); }
:focus-visible { outline: 3px solid #ea580c; outline-offset: 3px; border-radius: 8px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- background ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 18s ease-in-out infinite; }
.blob.b1 { width: 520px; height: 520px; left: -160px; top: -160px; background: #fed7aa; }
.blob.b2 { width: 480px; height: 480px; right: -140px; top: 30%; background: #fecdd3; animation-delay: -6s; }
.blob.b3 { width: 420px; height: 420px; left: 30%; bottom: -220px; background: #fde68a; opacity: 0.4; animation-delay: -12s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(194, 65, 12, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%);
}
.page { position: relative; z-index: 1; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--muted); }

/* ---------- card ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 14px; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: 16px; color: #fff;
  background: var(--grad-btn); background-size: 160% 160%;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.22), 0 2px 6px rgba(194, 65, 12, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background-position 0.4s ease, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 16px 34px rgba(225, 29, 72, 0.3), 0 3px 8px rgba(194, 65, 12, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { border-color: #f0a875; background: #fffaf6; }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn .i { width: 19px; height: 19px; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 14px; font-weight: 600; color: var(--text); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > .i { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--dim); pointer-events: none; transition: color 0.2s; }
.input-wrap:focus-within > .i { color: var(--brand); }
.input {
  width: 100%; min-height: 54px; padding: 0 16px 0 48px;
  background: #fffdfb; border: 1.5px solid var(--line-strong); border-radius: 14px;
  color: var(--text); font: 500 17px var(--body); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input::placeholder { color: #a39385; }
.input:hover { border-color: #e2b897; }
.input:focus { border-color: #ea580c; box-shadow: var(--ring); background: #fff; }
.input[aria-invalid='true'] { border-color: var(--err); }
.input.has-eye { padding-right: 56px; }
.eye { position: absolute; right: 5px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--dim); cursor: pointer; }
.eye:hover { color: var(--text); background: var(--surface-2); }
.hint { font-size: 14px; color: var(--dim); }
.form-error { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--err); font-weight: 600; }
.form-error:empty { display: none; }

.shake { animation: shake 0.45s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }

/* ---------- brand ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border-radius: 12px; }
.logo-mark { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(234, 88, 12, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.logo-mark .i { width: 23px; height: 23px; stroke-width: 2.3; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--display); font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; }
.logo-text small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-top: 4px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 242, 0.82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color 0.2s, background 0.2s; }
.nav-link:hover { color: var(--text); background: rgba(194, 65, 12, 0.06); }
.nav-link[aria-current='page'] { color: var(--brand); background: var(--brand-soft); }
.nav-link .i { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); } 80%, 100% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } }
.hero h1 { font-size: clamp(56px, 9vw, 108px); margin: 24px 0 4px; }
.hero h1 .by { display: block; font-size: 0.38em; letter-spacing: 0.26em; color: var(--text); margin-top: 12px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 20px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { min-height: 54px; padding: 0 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .i { width: 17px; height: 17px; color: var(--ok); }

.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: center; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(234, 88, 12, 0.3); animation: rot 40s linear infinite; }
.ring.r2 { inset: 13%; border: 1px solid rgba(194, 65, 12, 0.12); background: rgba(255, 255, 255, 0.4); animation-duration: 28s; animation-direction: reverse; }
.ring.r3 { inset: 26%; border: 1.5px solid rgba(225, 29, 72, 0.22); background: rgba(255, 255, 255, 0.6); animation-duration: 18s; }
.ring::before { content: ''; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: #f97316; box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2); }
.ring.r2::before { background: #e11d48; box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.18); }
.ring.r3::before { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2); }
@keyframes rot { to { transform: rotate(360deg); } }
.core { position: absolute; inset: 35%; border-radius: 30%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 30px 60px rgba(234, 88, 12, 0.35), 0 10px 24px rgba(225, 29, 72, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.35); animation: float 5s ease-in-out infinite; }
.core .i { width: 46%; height: 46%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 14px; font-weight: 700; font-size: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; white-space: nowrap; }
.chip .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; }
.chip .ic .i { width: 16px; height: 16px; }
.chip.c1 { top: 9%; right: -2%; }
.chip.c1 .ic { background: var(--ok-bg); color: var(--ok); }
.chip.c2 { bottom: 16%; left: -4%; animation-delay: -2s; }
.chip.c2 .ic { background: var(--warn-bg); color: #b45309; }
.chip.c3 { bottom: 2%; right: 10%; animation-delay: -4s; }
.chip.c3 .ic { background: var(--err-bg); color: var(--err); }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(38px, 5vw, 56px); margin: 12px 0 12px; }
.section-head p { font-size: 18px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px 24px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #f6c7a4; }
.f-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; background: var(--brand-soft); color: var(--brand); border: 1px solid #fbd5b8; }
.f-icon .i { width: 24px; height: 24px; }
.feature h3, .step h3 { font-family: var(--display); font-size: 24px; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.1; margin-bottom: 8px; }
.feature p, .step p { color: var(--muted); font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 30px 26px; overflow: hidden; }
.step-num { position: absolute; right: 20px; top: 12px; font-family: var(--display); font-size: 72px; font-weight: 700; line-height: 1; color: #fbe6d6; }
.step .f-icon { background: var(--grad); color: #fff; border: 0; box-shadow: 0 10px 22px rgba(234, 88, 12, 0.3); }

.cta-band { padding: 52px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; overflow: hidden; background: linear-gradient(135deg, #fff 0%, #fff4eb 100%); }
.cta-band::after { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: clamp(32px, 4.5vw, 50px); margin-top: 8px; }
.cta-band .btn { position: relative; z-index: 1; min-height: 54px; }

.footer { padding: 36px 0 44px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; color: var(--dim); font-size: 14px; }
.footer b { color: var(--text); }

/* ---------- like page ---------- */
.like-main { padding: 48px 0 24px; min-height: calc(100vh - 220px); }
.like-head { margin-bottom: 28px; }
.like-head h1 { font-size: clamp(44px, 6vw, 68px); margin-top: 10px; }
.like-head p { color: var(--muted); font-size: 17px; margin-top: 8px; }
.like-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 22px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.panel { padding: 30px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel-title h2 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 26px; text-transform: uppercase; letter-spacing: 0.03em; }
.panel-title h2 .i { color: var(--brand); }
.like-form { display: flex; flex-direction: column; gap: 22px; }

.servers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.srv {
  min-height: 46px; border-radius: 12px; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase;
  background: #fffdfb; color: var(--muted); border: 1.5px solid var(--line-strong);
  transition: transform 0.15s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.srv:hover { color: var(--text); border-color: #e2b897; background: #fff; }
.srv:active { transform: scale(0.96); }
.srv[aria-pressed='true'] { color: #fff; background: var(--grad-btn); border-color: transparent; box-shadow: 0 8px 18px rgba(225, 29, 72, 0.22); }

.lock-screen { display: grid; place-items: center; padding: 16px 0 40px; }
.lock-card { width: min(460px, 100%); padding: 40px 32px 32px; text-align: center; box-shadow: var(--shadow-lg); }
.lock-icon { position: relative; width: 80px; height: 80px; margin: 0 auto 22px; border-radius: 24px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 16px 36px rgba(234, 88, 12, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35); animation: float 4s ease-in-out infinite; }
.lock-icon .i { width: 34px; height: 34px; }
.lock-icon::after { content: ''; position: absolute; inset: -9px; border-radius: 30px; border: 1.5px solid rgba(234, 88, 12, 0.3); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.92); opacity: 1; } 100% { transform: scale(1.22); opacity: 0; } }
.lock-card h1 { font-size: clamp(32px, 6vw, 40px); margin-bottom: 8px; }
.lock-card > p { color: var(--muted); margin-bottom: 26px; }
.lock-card form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.lock-foot { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--dim); }
.lock-foot .i { width: 16px; height: 16px; color: var(--ok); }

/* result */
.result-empty { text-align: center; padding: 30px 12px 18px; color: var(--dim); }
.result-empty .big { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--surface-2); border: 1.5px dashed var(--line-strong); color: #c79b78; }
.result-empty .big .i { width: 30px; height: 30px; }
.result-loading { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 34px 12px; color: var(--muted); text-align: center; }
.loader-ring { width: 60px; height: 60px; border-radius: 50%; border: 4px solid var(--brand-soft); border-top-color: #ea580c; border-right-color: #e11d48; animation: spin 0.9s linear infinite; }

.status { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 15px; font-weight: 600; margin-bottom: 18px; border: 1px solid; }
.status .i { margin-top: 2px; }
.status.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.status.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.status.err { background: var(--err-bg); color: var(--err); border-color: var(--err-line); }

.player { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 14px; }
.avatar { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--display); font-size: 26px; font-weight: 700; flex: none; }
.player-name { font-weight: 700; font-size: 18px; word-break: break-word; }
.player-meta { color: var(--muted); font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.player-meta span { display: inline-flex; align-items: center; gap: 5px; }
.player-meta .i { width: 15px; height: 15px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 16px 10px; border-radius: 16px; text-align: center; background: var(--surface); border: 1px solid var(--line); }
.stat .v { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat .k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-top: 4px; }
.stat.hot { background: linear-gradient(180deg, #fff4eb, #ffe9ec); border-color: #fbcfb0; }
.stat.hot .v { color: var(--brand); }

.raw { margin-top: 14px; }
.raw summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.raw pre { margin-top: 8px; padding: 14px; border-radius: 12px; background: #fffaf6; border: 1px solid var(--line); font-size: 13px; color: var(--muted); overflow: auto; max-height: 220px; }

.history-list { display: flex; flex-direction: column; gap: 8px; }
.h-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 56px; padding: 10px 14px; border-radius: 14px; cursor: pointer; text-align: left; color: var(--text); background: #fffdfb; border: 1px solid var(--line); transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.h-item:hover { border-color: #f6c7a4; background: #fff7f0; }
.h-item:active { transform: scale(0.99); }
.h-item b { font-size: 15px; display: block; }
.h-item small { color: var(--dim); font-size: 13px; }
.h-tag { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); flex: none; }
.h-empty { color: var(--dim); font-size: 15px; }
.link-btn { min-height: 44px; padding: 0 10px; background: none; border: 0; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.link-btn:hover { color: var(--err); background: var(--err-bg); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 16px); opacity: 0; display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 14px; max-width: calc(100% - 32px); background: #1f1712; color: #fff; box-shadow: 0 16px 40px rgba(31, 23, 18, 0.25); font-weight: 600; font-size: 15px; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .i { width: 18px; height: 18px; }
.toast.ok .i { color: #34d399; }
.toast.err .i { color: #fb7185; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.notfound h1 { font-size: clamp(90px, 18vw, 160px); }
.notfound p { color: var(--muted); font-size: 18px; margin: 8px 0 28px; }

.hidden { display: none !important; }
.fade-in { animation: fadeUp 0.55s var(--ease) both; }
.fade-in.d1 { animation-delay: 0.08s; }
.fade-in.d2 { animation-delay: 0.16s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .trust { justify-content: center; }
  .hero-visual { max-width: 340px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .like-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 44px 0 32px; }
  .section { padding: 52px 0; }
  .nav .wrap { height: 66px; }
  .logo-text small { display: none; }
  .nav-link.home-link span { display: none; }
  .features, .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .cta-band { padding: 34px 22px; }
  .cta-band .btn { width: 100%; }
  .panel { padding: 22px 18px; }
  .lock-card { padding: 32px 20px 24px; }
  .stat .v { font-size: 28px; }
  .chip { font-size: 12px; padding: 7px 10px; }
  .chip .ic { width: 24px; height: 24px; }
  .chip.c2 { left: -2%; }
  .chip.c1 { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
