:root {
  color-scheme: dark;
  --background: #08111b;
  --surface: #0d1c29;
  --border: #263e50;
  --text: #eef5f9;
  --muted: #a8bdca;
  --accent: #66d3ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 24px; top: -100px; padding: 14px; z-index: 20; background: var(--surface); }
.skip-link:focus { top: 8px; }
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.brand { color: var(--accent); font-size: 19px; font-weight: 850; letter-spacing: .14em; }
.brand span { display: block; color: var(--muted); font-size: 8px; letter-spacing: .17em; margin-top: 5px; }
.nav nav { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.nav nav > a:not(.button) { color: var(--muted); }
.nav nav > a:hover { color: var(--text); }
.lang-switch { display: flex; padding: 3px; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; }
.lang-switch button { background: transparent; color: var(--muted); border: 0; border-radius: 5px; padding: 7px 9px; font-size: 11px; font-weight: 750; }
.lang-switch button[aria-pressed="true"] { background: #234256; color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 18px; border: 1px solid var(--border); border-radius: 9px; color: var(--text); background: var(--surface); font-size: 13px; font-weight: 700; transition: background .15s, border-color .15s; }
.button:hover { border-color: var(--accent); background: #153246; }
.button.primary { background: var(--accent); color: #071b29; border-color: var(--accent); }
.button.primary:hover { background: #95e1ff; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero { padding-block: 80px 88px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; }
.kicker { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.045em; margin: 18px 0 24px; }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; margin: 12px 0 20px; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; margin: 14px 0 20px; }
p { color: var(--muted); line-height: 1.7; font-size: 15px; }
.lead { font-size: 17px; line-height: 1.65; max-width: 720px; }
.micro { font-size: 12px; line-height: 1.65; max-width: 660px; }
.hero-capture { min-width: 0; }
.capture-label { display: inline-block; color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .14em; padding: 0 0 12px 2px; }
.app-capture { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.capture-link, .capture-preview { display: block; position: relative; }
.capture-link { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; text-align: inherit; }
.capture-link img, .capture-preview img { display: block; width: 100%; height: auto; background: #eaf1f5; }
.capture-enlarge { position: absolute; bottom: 10px; right: 10px; border: 1px solid #355469; border-radius: 6px; padding: 7px 10px; color: #fff; background: #071b29e8; font-size: 10px; }
.capture-link:hover .capture-enlarge { background: #16445e; }
.app-capture figcaption { padding: 12px 15px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.hero .app-capture { box-shadow: 0 24px 80px #0006; }
.section { border-top: 1px solid var(--border); padding-block: 68px; }
.section-head { max-width: 650px; margin-bottom: 32px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.workflow-card { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; }
.step-number { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.workflow-card p { font-size: 13px; margin-bottom: 0; }
.text-link { display: inline-block; color: var(--accent); font-size: 14px; font-weight: 700; margin-top: 28px; }
.local-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.local-section p { margin-top: 0; }
.privacy-row { display: flex; flex-wrap: wrap; gap: 8px; }
.privacy-row span { border: 1px solid var(--border); border-radius: 20px; padding: 7px 11px; color: var(--accent); font-size: 11px; }
.guide-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 32px; margin-bottom: 60px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.cta h2 { font-size: 28px; margin-bottom: 0; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 26px 38px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.guide-intro { padding-block: 64px 28px; }
.guide-intro h1 { font-size: clamp(38px, 4.2vw, 58px); }
.guide-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 38px; }
.guide-tabs button { display: flex; gap: 12px; align-items: center; border: 1px solid var(--border); border-radius: 9px; padding: 17px; background: var(--surface); color: var(--muted); text-align: left; font-size: 13px; }
.guide-tabs button > span:first-child { color: var(--accent); font-size: 11px; font-weight: 800; }
.guide-tabs button[aria-selected="true"] { color: var(--text); background: #153246; border-color: var(--accent); }
.guide-panels { padding-bottom: 56px; }
.guide-panel { display: grid; grid-template-columns: .65fr 1.35fr; gap: 36px; align-items: start; padding: 30px; border: 1px solid var(--border); border-radius: 12px; background: #0a1722; }
.guide-instruction h2 { font-size: 28px; }
.guide-instruction p { font-size: 14px; }
.guide-note { border-left: 2px solid var(--accent); padding-left: 15px; margin-top: 24px; }
.guide-note p { font-size: 12px; }
.questions { max-width: 1000px; }
.questions details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.questions summary { cursor: pointer; font-size: 15px; font-weight: 650; line-height: 1.6; }
.questions p { font-size: 14px; padding-left: 20px; }
.capture-dialog { width: min(1800px, 96vw); max-width: 96vw; max-height: 94dvh; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--background); overflow: auto; }
.capture-dialog::backdrop { background: #020911dc; }
.capture-dialog form { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 12px; }
.capture-dialog img { display: block; width: 100%; height: auto; }
@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .hero .lead { max-width: 680px; }
  .workflow-grid { gap: 14px; }
  .workflow-card { padding: 16px; }
  .local-section { gap: 32px; }
  .guide-panel { grid-template-columns: 1fr; gap: 22px; }
  .guide-instruction { max-width: 800px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 76px; gap: 12px; }
  .brand { font-size: 16px; }
  .brand span { font-size: 6px; }
  .nav nav { gap: 10px; font-size: 11px; }
  .nav-secondary, .nav-demo { display: none; }
  .lang-switch button { padding: 8px 7px; }
  .hero { padding-block: 44px 52px; }
  h1 { font-size: 40px; }
  .lead { font-size: 15px; }
  .section { padding-block: 42px; }
  .workflow-grid, .local-section { grid-template-columns: 1fr; }
  .workflow-card { padding: 20px; }
  .workflow-card h3 { margin-bottom: 16px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .guide-intro { padding-top: 40px; }
  .guide-tabs { grid-template-columns: 1fr 1fr; margin-top: 26px; }
  .guide-tabs button { padding: 14px 12px; font-size: 12px; gap: 9px; }
  .guide-panel { padding: 20px; }
  .capture-enlarge { font-size: 9px; }
  .capture-dialog { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
@media print {
  :root { color-scheme: light; --text: #111; --muted: #333; --background: #fff; --surface: #fff; --border: #bbb; --accent: #006080; }
  .nav, .guide-tabs, .capture-enlarge, .capture-dialog, .cta { display: none; }
  .wrap { width: 100%; }
  .guide-panel[hidden] { display: grid !important; }
  .guide-panel { break-inside: avoid; margin-bottom: 20px; }
}
