/* TurnoutSafe marketing site — no external dependencies */
:root {
  --red: #1E6FD9;
  --red-600: #1657B5;
  --red-bright: #2F8CFF;
  --black: #0B1F3A;
  --flame: #FF8A1F;
  --flame-yel: #FFC20E;
  --ink: #17171a;
  --muted: #55565c;
  --line: #e3e3e6;
  --bg: #ffffff;
  --bg-alt: #f5f5f3;
  --pass: #146c43;
  --amber: #f0b429;
  --radius: 14px;
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.022em; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
:focus-visible { outline: 3px solid #2F8CFF; outline-offset: 3px; border-radius: 4px; }
b, strong { font-weight: 700; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; border-radius: 10px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-600); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: #f2f2f2; color: var(--red-600); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { color: #fff; background: rgba(255,255,255,.12); border-color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,31,58,.96); color: #fff; border-bottom: 3px solid var(--red); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(11,31,58,.86); backdrop-filter: saturate(140%) blur(10px); } }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--red-bright); }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: #fff; background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
.menu-btn:hover { background: rgba(255,255,255,.08); }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 3px solid var(--red); padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.35); }
.site-nav ul { display: grid; }
.site-nav a:not(.btn) { display: block; color: #eee; text-decoration: none; font-weight: 600; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-nav a:not(.btn):hover { color: #fff; }
.nav-cta { margin-top: 14px; width: 100%; min-height: 48px; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js .menu-btn { display: none; }
.no-js .site-nav { display: block; width: 100%; padding-bottom: 12px; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .site-nav, .site-nav.open { display: flex; align-items: center; gap: 22px; margin-left: auto; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a:not(.btn) { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .95rem; color: #d6d6d9; }
  .site-nav a:not(.btn):hover { background: rgba(255,255,255,.07); }
  .nav-cta { margin-top: 0; width: auto; min-height: 40px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 500px at 85% 10%, rgba(47,140,255,.45), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(47,140,255,.22), transparent 60%), var(--black); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; padding-top: 44px; padding-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.05); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f1f1f1; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: .45em; text-wrap: balance; }
.lede { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 600; color: #fff; line-height: 1.4; margin-bottom: .7em; }
.hero-sub { color: #c9c9ce; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .cta-row .btn { flex: 1 1 200px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: #c9c9ce; font-size: .95rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--pass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-art { position: relative; height: 430px; margin: 0 auto; width: 100%; max-width: 420px; }
.hero-art .phone { position: absolute; width: 220px; }
.hero-art .phone-front { left: 50%; transform: translateX(-62%); top: 0; z-index: 2; }
.hero-art .phone-back { left: 50%; transform: translateX(-2%) rotate(5deg); top: 40px; z-index: 1; opacity: .92; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; padding-top: 72px; }
  .hero-copy { padding-bottom: 80px; }
  .hero .cta-row .btn { flex: 0 0 auto; }
  .hero-art { height: 600px; max-width: none; align-self: end; }
  .hero-art .phone { width: 280px; }
  .hero-art .phone-front { top: 20px; transform: translateX(-70%); }
  .hero-art .phone-back { top: 80px; transform: translateX(0) rotate(5deg); }
}

/* Phone frame */
.phone { position: relative; border-radius: 34px; padding: 9px; background: linear-gradient(145deg, #3a3a3e, #121214); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 30px 60px -20px rgba(0,0,0,.55), 0 12px 24px -12px rgba(0,0,0,.4); }
.phone img { width: 100%; height: auto; border-radius: 26px; background: #ececec; }

/* Strip */
.strip { background: var(--red); color: #fff; }
.strip-list { display: grid; gap: 10px; padding-top: 18px; padding-bottom: 18px; font-size: .98rem; }
.strip-list li { position: relative; padding-left: 20px; color: #DCEBFF; line-height: 1.45; }
.strip-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; background: #fff; transform: rotate(45deg); }
.strip-list strong { color: #fff; }
@media (min-width: 900px) { .strip-list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }
.kicker { display: inline-block; margin: 0 0 10px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.kicker-light { color: var(--red-bright); }
@media (min-width: 900px) { .section { padding: 104px 0; } .section-head { margin-bottom: 48px; } }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.step h3 { margin: 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--black); color: #fff; font-weight: 900; font-size: 1.2rem; box-shadow: inset 0 -3px 0 var(--red); }
.step p { grid-column: 1 / -1; color: var(--muted); margin: 14px 0 0; }
.step p b { color: var(--ink); }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step { display: block; padding: 28px 26px 26px; }
  .step-num { margin-bottom: 18px; }
  .step h3 { margin-bottom: .5em; }
  .step p { margin: 0; }
}

/* Features */
.features { display: grid; gap: 14px; }
.feature { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature .ficon { grid-row: span 2; margin-bottom: 0; }
.feature h3 { margin: 10px 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature p b { color: var(--ink); }
.ficon { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; background: #E6F0FD; color: var(--red); margin-bottom: 14px; }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature { display: block; padding: 26px; }
  .feature .ficon { margin-bottom: 16px; }
  .feature h3 { margin: 0 0 .5em; }
}
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.roadmap { margin-top: 28px; padding: 22px 24px; border: 2px dashed #cfcfd4; border-radius: var(--radius); background: rgba(255,255,255,.6); }
.roadmap h3 { font-size: 1rem; margin-bottom: 12px; }
.roadmap ul { display: grid; gap: 10px; }
.roadmap li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); }
.soon { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #fff4d6; color: #7a5200; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.soon-inline { font-size: .72rem; padding: 2px 8px; vertical-align: 1px; }

/* Departments */
.section-dark { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; bottom: -320px; background: radial-gradient(closest-side, rgba(47,140,255,.35), transparent); pointer-events: none; }
.split { position: relative; display: grid; gap: 48px; align-items: center; }
.split-copy > p { color: #c9c9ce; font-size: 1.08rem; }
.checks { display: grid; gap: 14px; margin: 26px 0 8px; }
.checks li { position: relative; padding-left: 36px; color: #c9c9ce; }
.checks li b { color: #fff; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 6px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5L17.5 8.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.fineprint { margin-top: 18px; color: #9d9da3; font-size: .95rem; font-style: italic; }
.split-art { position: relative; height: 440px; max-width: 420px; width: 100%; margin: 0 auto; }
.split-art .phone { position: absolute; width: 210px; top: 0; }
.phone-tilt-l { left: 0; transform: rotate(-4deg); z-index: 2; }
.phone-tilt-r { right: 0; top: 50px !important; transform: rotate(4deg); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-art { height: 600px; max-width: 500px; }
  .split-art .phone { width: 260px; }
}

/* Gallery */
.gallery-wrap { position: relative; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 26px; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gallery li { scroll-snap-align: start; }
.swipe-hint { display: flex; align-items: center; gap: 8px; margin: -8px 0 10px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.swipe-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gallery figure { margin: 0; }
.gallery .phone { border-radius: 30px; padding: 8px; box-shadow: 0 18px 36px -18px rgba(0,0,0,.45); }
.gallery .phone img { border-radius: 23px; }
.gallery figcaption { margin-top: 14px; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.gallery figcaption b { display: block; color: var(--ink); font-size: 1rem; }
@media (min-width: 1000px) { .swipe-hint { display: none; } }
@media (min-width: 1000px) {
  .gallery { max-width: var(--wrap); margin: 0 auto; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; gap: 40px 28px; padding: 8px 20px 0; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq details[open] { border-color: #cfcfd4; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; font-size: 1.05rem; position: relative; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 6px; color: var(--muted); }
.faq details > div b { color: var(--ink); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red-600), var(--red) 55%, #2F8CFF); color: #fff; }
.cta-inner { padding-top: 64px; padding-bottom: 64px; text-align: center; }
.cta-inner h2 { max-width: 18em; margin: 0 auto; text-wrap: balance; }
.cta-inner .cta-row { justify-content: center; }
.cta-inner .cta-row .btn { flex: 1 1 220px; max-width: 280px; }

/* Footer */
.site-footer { background: var(--black); color: #b9b9be; font-size: .95rem; }
.footer-inner { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 28px; }
.footer-brand p { margin: 12px 0 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
@media (min-width: 760px) { .footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; } }
.footer-links a { color: #e6e6e9; text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); font-size: .85rem; color: #8e8e94; }
.footer-legal p { margin: 0 0 6px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr auto; align-items: center; } }

/* Legal pages */
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal li { list-style: disc; margin: 0 0 .4em 1.3em; }
.draft-banner { background: #fff4d6; border: 2px solid var(--amber); color: #5c3d00; border-radius: 12px; padding: 16px 18px; margin-bottom: 28px; font-weight: 600; }
.draft-banner strong { display: block; font-size: 1.05rem; color: #3d2900; }
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.eyebrow-sep { width: 1px; height: 14px; background: rgba(255,255,255,.3); }
.eyebrow-sub { font-weight: 600; letter-spacing: .04em; text-transform: none; color: #c9c9ce; }

/* ---------- Login page ---------- */
.header-back { margin-left: auto; color: #d6d6d9; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 8px; }
.header-back:hover { color: #fff; background: rgba(255,255,255,.07); }
.login-page { background: var(--bg-alt); }
.login-main { position: relative; padding: 0 16px 56px; }
.login-main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 210px; background: radial-gradient(600px 260px at 80% 0%, rgba(47,140,255,.45), transparent 70%), var(--black); }
.login-shell { position: relative; max-width: 480px; margin: 0 auto; }
.login-head { color: #fff; padding: 30px 4px 22px; }
.login-head h1 { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; margin: 0 0 6px; }
.login-head p { margin: 0; color: #c9c9ce; }
.login-card { background: #fff; border-radius: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 20px 40px -18px rgba(0,0,0,.35); padding: 16px 18px 22px; }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: #efeff1; border-radius: 13px; margin-bottom: 18px; }
.login-tabs [role="tab"] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 8px 6px; white-space: nowrap; border: 0; border-radius: 10px; background: transparent; color: #45464c; font: inherit; font-weight: 700; font-size: .93rem; line-height: 1.15; cursor: pointer; }
.login-tabs [role="tab"] svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.login-tabs [role="tab"]:hover { color: var(--ink); }
.login-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--red); box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.panel-lead { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.lf-field { margin-bottom: 16px; }
.lf-field label { display: block; font-weight: 700; font-size: .98rem; margin-bottom: 6px; }
.lf-labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lf-link { font-size: .9rem; font-weight: 600; white-space: nowrap; }
.lf-field input { display: block; width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 2px solid #a3a4aa; border-radius: 11px; appearance: none; -webkit-appearance: none; }
.lf-field input::placeholder { color: #8a8b91; }
.lf-field input:focus { outline: 3px solid rgba(47,140,255,.3); outline-offset: 0; border-color: var(--black); }
.lf-hint { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.lf-hint b { color: var(--ink); }
.lf-err { margin: 6px 0 0; font-size: .88rem; font-weight: 700; color: #b0101c; }
.lf-err:empty { display: none; }
.lf-field.invalid input { border-color: #c8102e; background: #fff6f7; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 80px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 38px; min-width: 62px; padding: 6px 10px; border: 0; border-radius: 8px; background: #f0f0f2; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.pw-toggle:hover { background: #e4e4e7; }
.lf-submit { width: 100%; margin-top: 6px; }
.lf-submit:disabled { opacity: .7; cursor: progress; }
.lf-notice { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fff4d6; border: 1px solid #f0c75e; color: #4d3500; font-size: .95rem; line-height: 1.5; }
.lf-notice strong { display: block; color: #3d2900; margin-bottom: 2px; }
.lf-notice p { margin: 0; }
.lf-notice a { color: #7a2a00; font-weight: 700; word-break: break-all; }
.login-new { text-align: center; margin: 22px 0 0; color: var(--muted); }
.login-new a { font-weight: 700; }
@media (min-width: 640px) {
  .login-main::before { height: 260px; }
  .login-head { padding: 52px 4px 28px; text-align: center; }
  .login-card { padding: 22px 28px 30px; }
}
@media (max-width: 359px) { .login-tabs [role="tab"] svg { display: none; } }

/* ---------- Seal ---------- */
.seal { display: block; border-radius: 50%; }
.promo-link { margin: 14px 0 0; font-size: .95rem; }
.promo-link a { color: #d6d6d9; font-weight: 600; text-decoration-color: rgba(255,255,255,.35); }
.promo-link a:hover { color: #fff; text-decoration-color: #fff; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.hero-trust .hero-points { margin-top: 0; flex-direction: column; gap: 6px; }
.seal-hero-inline { width: 96px; height: 96px; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.seal-hero-float { display: none; }
@media (min-width: 900px) {
  .hero-trust { margin-top: 22px; }
  .hero-trust .hero-points { flex-direction: row; gap: 8px 20px; }
  .seal-hero-inline { display: none; }
  .seal-hero-float { display: block; position: absolute; z-index: 3; width: 150px; height: 150px; left: 50%; top: 380px; transform: translateX(-205%) rotate(-8deg); filter: drop-shadow(0 14px 24px rgba(0,0,0,.5)); }
}
.story { background: var(--bg-alt); padding: 56px 0; border-bottom: 1px solid var(--line); }
.story-inner { display: grid; gap: 24px; justify-items: start; }
.story-seal { width: 132px; height: 132px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.18)); }
.story-copy h2 { margin-bottom: .45em; }
.story-copy p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; max-width: 40em; }
@media (min-width: 760px) {
  .story { padding: 80px 0; }
  .story-inner { grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
  .story-seal { width: 200px; height: 200px; }
}
.footer-seal { display: flex; align-items: center; gap: 12px; margin-top: 18px !important; color: #e6e6e9; font-weight: 600; }
.footer-seal img { flex: none; }
.login-promo { text-align: center; margin: 22px 0 0; }
.login-promo a { font-weight: 700; }
.login-promo + .login-new { margin-top: 10px; }
.login-seal { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px 0 0; color: var(--ink); font-weight: 700; font-size: .95rem; }
.login-seal img { flex: none; }
.lf-notice.ok { background: #e6f4ec; border-color: #9fd3b4; color: #10402a; }
.lf-notice.ok strong { color: #0b3320; }
.lf-notice.ok a { color: #0b5a34; }
.lf-notice .lf-sub { margin-top: 8px; font-size: .9rem; }
.code-input { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* v3: feature groups, PDF screenshot, CTA sub */
.fpoints { grid-column: 2; display: grid; gap: 6px; margin: 4px 0 0; color: var(--muted); font-size: .98rem; }
.fpoints li { position: relative; padding-left: 18px; }
.fpoints li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.feature .ficon { grid-row: span 2; align-self: start; }
.gallery .phone-doc { border-radius: 10px; padding: 6px; background: #d9d9de; }
.gallery .phone-doc img { border-radius: 6px; background: #fff; }
.gallery li:has(.phone-doc) { align-self: center; }
.cta-sub { margin: 12px 0 0; color: #DCEBFF; font-weight: 600; }
.login-demo { margin-top: 10px; text-align: center; }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(6, 1fr); gap: 28px 20px; } .gallery li:has(.phone-doc) { align-self: start; } }
@media (min-width: 640px) { .fpoints { grid-column: auto; } }
