:root {
  color-scheme: dark;
  --bg: #080b11;
  --bg-soft: #0c111a;
  --surface: #111823;
  --surface-strong: #151d29;
  --ink: #f5f7fb;
  --muted: #9aa6b7;
  --faint: #687487;
  --line: #26303f;
  --accent: #4d8dff;
  --accent-strong: #2f78f6;
  --accent-soft: #4d8dff1c;
  --shadow: 0 30px 80px #00000070;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 72% 18%, #102448 0%, #080b11 34rem) fixed; color: var(--ink); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #4d8dff80; outline-offset: 4px; }
.site-header { border-bottom: 1px solid var(--line); background: #080b11c9; backdrop-filter: blur(18px); position: relative; z-index: 5; }
.nav { width: min(1180px, calc(100% - 48px)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { color: var(--ink); font-size: 21px; font-weight: 720; letter-spacing: -.045em; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.language { position: relative; }
.language summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; font-size: 14px; color: var(--ink); background: #101721; }
.language summary::-webkit-details-marker { display: none; }
.language summary::after { content: "⌄"; margin-left: 18px; color: var(--muted); }
.language[open] summary::after { content: "⌃"; }
.language-menu { position: absolute; z-index: 3; right: 0; top: calc(100% + 8px); width: 180px; padding: 7px; background: #101721; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.language-menu a { display: block; padding: 9px; color: var(--ink); border-radius: 6px; }
.language-menu a:hover { background: var(--accent-soft); text-decoration: none; }
.menu-toggle { display: none; }
.hero { width: min(1180px, calc(100% - 48px)); margin: auto; min-height: 680px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(380px, .78fr); gap: 64px; align-items: center; }
.hero h1 { max-width: 660px; font-size: clamp(52px, 6.2vw, 88px); line-height: .97; letter-spacing: -.072em; margin: 0 0 30px; font-weight: 720; }
.hero p { max-width: 560px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.6; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 11px; background: var(--accent-strong); color: #fff; font-size: 15px; font-weight: 650; box-shadow: 0 12px 25px #1b67e644; transition: transform .2s ease, background .2s ease; }
.button:hover { background: var(--accent); text-decoration: none; transform: translateY(-1px); }
.text-link { font-size: 15px; font-weight: 600; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }
.phone-frame { width: min(390px, 100%); aspect-ratio: 390 / 844; margin: auto; padding: 10px; border: 1px solid #a7b8d680; border-radius: 48px; background: linear-gradient(145deg, #1e2837, #080b11 35%, #1d2735); box-shadow: 0 0 0 1px #05070b, 0 30px 80px #000000a8, 0 0 70px #2d76f266; transform: rotate(1deg); }
.phone-screen { height: 100%; overflow: hidden; border: 1px solid #303b4b; border-radius: 39px; background: #090d14; color: var(--ink); padding: 18px 15px 13px; }
.mock-content { width: 108.7%; height: 108.7%; margin-left: -4.35%; transform: scale(.92); transform-origin: top center; }
.phone-notch { width: 106px; height: 25px; border-radius: 20px; background: #020307; margin: -13px auto 9px; }
.mock-status { display: flex; justify-content: space-between; padding: 0 11px; color: #e8edf6; font-size: 11px; font-weight: 650; }
.mock-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 26px 11px 23px; }
.mock-toolbar strong { font-size: 20px; letter-spacing: -.04em; }
.mock-icon { color: var(--muted); font-size: 17px; }
.mock-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 11px 13px; }
.mock-heading h2 { margin: 0 0 5px; font-size: 18px; letter-spacing: -.03em; }
.mock-heading p { max-width: 225px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.mock-heading a { align-self: flex-start; padding-top: 3px; font-size: 12px; white-space: nowrap; }
.mock-group-list { display: grid; gap: 7px; }
.mock-group, .mock-review { border: 1px solid #26303c; border-radius: 11px; background: #131a25; }
.mock-group { display: flex; align-items: center; justify-content: space-between; padding: 13px 13px; color: var(--ink); font-size: 13px; }
.mock-group:hover { border-color: var(--accent); text-decoration: none; }
.mock-group small, .mock-contact small, .mock-review-title small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.mock-group svg { width: 16px; color: var(--muted); }
.mock-heading-review { padding-top: 25px; }
.mock-review { overflow: hidden; }
.mock-review-title { display: flex; gap: 9px; align-items: center; padding: 13px; border-bottom: 1px solid #26303c; font-size: 13px; }
.mock-avatar { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--accent); color: white; font-size: 13px; }
.mock-contact { display: grid; grid-template-columns: 17px 1fr auto; gap: 9px; align-items: start; padding: 11px 13px; border-bottom: 1px solid #26303c; font-size: 12px; }
.mock-contact.selected { background: #18263c; }
.mock-contact b { color: var(--accent); font-size: 10px; font-weight: 650; }
.radio { width: 16px; height: 16px; border: 1px solid #7d8ca1; border-radius: 50%; margin-top: 1px; }
.selected .radio { border: 4px solid var(--accent); box-shadow: inset 0 0 0 2px #18263c; }
.mock-merge { display: block; margin: 11px; padding: 10px; border-radius: 8px; background: var(--accent-strong); color: white; text-align: center; font-size: 12px; font-weight: 650; }
.mock-merge:hover { background: var(--accent); text-decoration: none; }
.mock-bottom-nav { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 5px 1px; color: var(--muted); text-align: center; font-size: 9px; }
.mock-bottom-nav span { display: grid; gap: 5px; justify-items: center; }
.mock-bottom-nav i { color: var(--muted); font-size: 17px; font-style: normal; line-height: 1; }
.mock-bottom-nav .active, .mock-bottom-nav .active i { color: var(--accent); }
.feature-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #090d14; }
.feedback-callout { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; border-bottom: 1px solid var(--line); }
.feedback-callout > div { display: flex; align-items: baseline; gap: 18px; }
.feedback-callout strong { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.feedback-callout p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.features { width: min(1180px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { padding: 59px 42px 67px 0; border-right: 1px solid var(--line); }
.feature + .feature { padding-left: 42px; }
.feature:last-child { border-right: 0; padding-right: 0; }
.feature-icon { color: var(--accent); font-size: 30px; line-height: 1; margin-bottom: 28px; }
.feature h2 { margin: 0 0 13px; font-size: 21px; letter-spacing: -.035em; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.language-band { border-bottom: 1px solid var(--line); padding: 36px 0; }
.language-band-inner { width: min(1180px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; gap: 28px; }
.language-band-inner > span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.language-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.language-grid a { display: block; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 13px; transition: border-color .2s ease, color .2s ease; }
.language-grid a:hover { border-color: var(--accent); color: var(--ink); text-decoration: none; }
.faq { width: min(940px, calc(100% - 48px)); margin: 0 auto; padding: 94px 0 120px; }
.faq h2 { font-size: 32px; letter-spacing: -.05em; margin: 0 0 32px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 620; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "⌄"; color: var(--muted); }
.faq details[open] summary::after { content: "⌃"; }
.faq details p { max-width: 700px; color: var(--muted); line-height: 1.65; margin: 12px 0 0; }
.site-footer { border-top: 1px solid var(--line); background: #080b11; }
.footer-inner { width: min(1180px, calc(100% - 48px)); min-height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: 13px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--muted); }
.article-layout { width: min(1180px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; padding: 82px 0 120px; }
.toc { position: sticky; top: 30px; align-self: start; padding-top: 8px; }
.toc strong { display: block; margin-bottom: 18px; }
.toc a { display: block; margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.toc a:hover { color: var(--ink); }
.article h1 { font-size: clamp(46px, 6vw, 74px); letter-spacing: -.065em; line-height: 1; margin: 0 0 20px; }
.article-intro { color: var(--muted); font-size: 19px; line-height: 1.6; margin: 0 0 12px; }
.updated { color: var(--faint); font-size: 14px; margin-bottom: 29px; }
.callout { border: 1px solid var(--line); border-radius: 11px; padding: 18px 22px; margin: 0 0 43px; background: var(--surface); }
.callout strong { display: block; margin-bottom: 5px; }
.callout p { margin: 0; color: var(--muted); line-height: 1.55; }
.article section { border-top: 1px solid var(--line); padding: 30px 0; }
.article h2 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.035em; }
.article p, .article li { color: var(--muted); line-height: 1.75; }
.article ul { padding-left: 22px; }
.article a { color: var(--accent); }
@media (max-width: 800px) {
  .nav, .hero, .features, .faq, .footer-inner, .article-layout, .language-band-inner { width: min(100% - 36px, 600px); }
  .nav { min-height: 68px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; margin-left: auto; border: 0; color: var(--ink); background: transparent; font-size: 22px; }
  .hero { grid-template-columns: 1fr; gap: 46px; padding: 72px 0 84px; }
  .hero h1 { font-size: clamp(48px, 14vw, 70px); }
  .hero p { font-size: 17px; }
  .phone-frame { width: min(350px, 88vw); transform: none; }
  .mock-content { width: 122%; height: 122%; margin-left: -11%; transform: scale(.82); }
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature, .feature:last-child { padding: 39px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .language-band-inner { display: block; }
  .language-band-inner > span { display: block; margin-bottom: 16px; }
  .feedback-callout { width: min(100% - 36px, 600px); }
  .feedback-callout > div { display: block; }
  .feedback-callout p { margin-top: 7px; }
  .faq { padding: 70px 0 90px; }
  .footer-inner { min-height: 125px; align-items: flex-start; padding: 27px 0; flex-direction: column; gap: 22px; }
  .article-layout { display: block; padding: 55px 0 85px; }
  .toc { position: static; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0 3px; margin: 30px 0; }
  .toc strong { display: none; }
  .toc a { display: inline-block; margin: 0 18px 13px 0; }
  .article h1 { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
