@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Gelasio;
  src: url("gelasio.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --panel: #fff;
  --line: #dce3ef;
  --text: #263653;
  --muted: #586783;
  --primary: #455fcf;
  --lavender: #eef1ff;
  --mint: #326d5d;
  --sky: #326a88;
  --sun: #92532d;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  min-width: 0;
  background: radial-gradient(ellipse at 90% 8%, #e9edff88, transparent 40%),
    radial-gradient(ellipse at 0% 35%, #fff0e280, transparent 35%), var(--bg);
  color: var(--text);
  font: 16px/1.65 "DM Sans", system-ui, -apple-system, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--primary); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
button { font: inherit; }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 10; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.header { padding: 24px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; line-height: 1.25; font-size: 15px; letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 5px; letter-spacing: .03em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.nav-links a { padding: 8px 11px; font-size: 14px; text-decoration: none; color: var(--muted); border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current=page] { background: var(--lavender); color: var(--primary); }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 64px; align-items: center; padding: 54px 0 78px; }
.eyebrow { color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 22px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Gelasio, Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(48px, 5vw, 68px); line-height: 1.12; letter-spacing: -.04em; margin-bottom: 26px; }
h1 span { color: var(--primary); }
.lede { font-size: 18px; line-height: 1.75; max-width: 49ch; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 20px; min-height: 50px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-size: 15px; font-weight: 700; background: var(--panel); }
.button:hover { border-color: var(--primary); }
.button.primary { background: linear-gradient(115deg, #4d6bdd, #435dd4 50%, #344bbd); border-color: transparent; color: #fff; box-shadow: 0 5px 15px #455fcf14; }
.button.primary:hover { color: #fff; box-shadow: 0 8px 20px #455fcf24; }
.fine { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; display: grid; justify-items: center; padding: 18px 30px; background: radial-gradient(ellipse, #e4eaff, transparent 70%); }
.hero-visual img { width: 292px; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 22px 48px #2636531f; transform: rotate(3deg); }
.preview-note { display: block; margin: 20px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.visual-tag { position: absolute; left: 0; bottom: 96px; padding: 12px 17px; border: 1px solid var(--line); background: #fffffff5; border-radius: 14px; box-shadow: 0 8px 24px #2636530f; font-size: 14px; font-weight: 700; }
.visual-tag span { color: var(--mint); margin-right: 8px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); padding: 25px 0; }
.fact { display: flex; flex-direction: column; padding: 0 28px; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact strong { font-size: 24px; letter-spacing: -.04em; }
.fact span { color: var(--muted); font-size: 14px; }
.section { padding: 86px 0; }
.section h2, .closing h2 { font-size: clamp(34px, 4vw, 46px); line-height: 1.18; letter-spacing: -.03em; max-width: 780px; margin-bottom: 24px; }
.intro { max-width: 62ch; color: var(--muted); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 42px; }
.step { padding-top: 24px; border-top: 1px solid var(--line); }
.step-number { display: block; color: var(--primary); font-size: 11px; letter-spacing: .12em; font-weight: 700; margin-bottom: 15px; }
.step h3 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; max-width: 35ch; }
.screens-section { border-block: 1px solid var(--line); background: #eef1ff66; }
.screens { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.screen-pair { display: flex; align-items: center; justify-content: center; gap: 20px; }
.screen-pair img { width: 43%; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 16px 32px #26365314; }
.screen-pair img:nth-child(2) { margin-top: 65px; }
.benefit { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.benefit strong { display: block; font-size: 17px; margin-bottom: 5px; }
.benefit p { font-size: 15px; color: var(--muted); margin: 0; }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; }
.mode { border: 1px solid var(--line); background: linear-gradient(150deg, #fff, #eef1ff80); border-radius: 20px; padding: 26px 22px; }
.mode .mode-label { font-family: "DM Sans", system-ui, sans-serif; font-size: 11px; letter-spacing: .13em; color: var(--primary); font-weight: 700; margin: 0 0 18px; }
.mode h3 { font-size: 26px; letter-spacing: -.025em; line-height: 1.2; min-height: 62px; margin-bottom: 14px; }
.mode p { font-size: 14px; color: var(--muted); margin: 0; }
.mode:nth-child(2) { background: linear-gradient(150deg, #fff, #ffeadc88); }
.mode:nth-child(2) .mode-label { color: var(--sun); }
.mode:nth-child(3) { background: linear-gradient(150deg, #fff, #e5f4ef88); }
.mode:nth-child(3) .mode-label { color: var(--mint); }
.mode:nth-child(4) { background: linear-gradient(150deg, #fff, #edf5fc88); }
.mode:nth-child(4) .mode-label { color: var(--sky); }
.closing { margin: 0 auto 70px; padding: 48px 36px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(120deg, #fff, #eef1ff88); display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.closing h2 { font-size: 36px; margin: 0 auto 16px; }
.closing .eyebrow { color: var(--primary); margin-bottom: 18px; }
.closing p { color: var(--muted); margin-inline: auto; max-width: 60ch; }
.closing div > p:last-child { margin-bottom: 0; }
.closing .button { flex-shrink: 0; }
.footer { border-top: 1px solid var(--line); padding: 30px 0 35px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer p { margin: 9px 0 0; font-size: 12px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }
.footer-links a { text-decoration: none; color: var(--muted); }
.store-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.store-soon { color: var(--muted); background: #fff9; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 12px; }
.document { width: min(820px, calc(100% - 48px)); margin-inline: auto; padding: 50px 0 74px; }
.document h1 { font-size: clamp(38px, 6vw, 58px); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
.document .eyebrow { margin-bottom: 16px; }
.document .doc-lede { font-size: 18px; color: var(--muted); max-width: 65ch; margin-bottom: 24px; }
.meta { font-size: 13px; color: var(--muted); margin: 20px 0 28px; }
.summary-box { padding: 22px 26px; border: 1px solid var(--line); border-left: 3px solid var(--primary); background: var(--panel); border-radius: 12px; color: var(--muted); margin: 30px 0 38px; }
.summary-box strong { color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 42px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.document section { margin: 36px 0; }
.document h2 { font-size: 27px; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 14px; }
.document p, .document li { color: var(--muted); }
.document a { color: var(--primary); overflow-wrap: anywhere; }
.document ul { padding-left: 23px; }
.document li { padding-left: 5px; margin-bottom: 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 20px 0; overflow-wrap: anywhere; }
.data-table th, .data-table td { padding: 14px 12px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.data-table th { background: var(--lavender); }
.data-table td { color: var(--muted); }
.faq-group { margin-bottom: 35px; }
.faq-group h2 { font: 700 13px/1.4 "DM Sans", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .11em; color: var(--primary); margin: 32px 0 13px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; position: relative; padding: 21px 38px 21px 0; font-size: 18px; font-weight: 700; line-height: 1.45; }
summary::-webkit-details-marker { display: none; }
summary:after { content: '+'; position: absolute; right: 5px; top: 18px; font-size: 24px; color: var(--primary); font-weight: 400; }
details[open] summary:after { content: '−'; }
details p { margin-bottom: 20px; padding-right: 25px; }
.support-box { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 28px; margin-top: 44px; }
.support-box h2 { margin-top: 0; }
.support-box p:last-child { margin-bottom: 0; }
.legal-title { font-weight: 700; }
.not-found { text-align: center; min-height: 60vh; padding: 80px 0; }
@media (max-width: 1000px) {
  .hero { gap: 30px; grid-template-columns: 1.1fr 1fr; }
  .hero-visual { padding-inline: 20px; }
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 8px; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .screens { gap: 40px; }
  .mode h3 { min-height: auto; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header { padding: 18px 0; }
  .nav { align-items: flex-start; flex-direction: column; gap: 12px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 7px 14px 7px 0; font-size: 13px; }
  .nav-links .desktop-link { display: none; }
  .brand { font-size: 14px; }
  .brand img { width: 40px; height: 40px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding: 28px 0 48px; }
  .hero h1 { font-size: clamp(38px, 10vw, 60px); }
  .hero .lede { font-size: 17px; }
  .hero-visual { max-width: 400px; width: 100%; margin-inline: auto; padding-top: 0; }
  .hero-visual img { width: 245px; }
  .visual-tag { bottom: 75px; left: 0; font-size: 12px; }
  .facts { padding: 20px 0; }
  .fact { padding-inline: 14px; }
  .fact strong { font-size: 20px; }
  .fact span { font-size: 12px; }
  .section { padding: 58px 0; }
  .steps { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .step p { max-width: unset; }
  .screens { grid-template-columns: 1fr; gap: 40px; }
  .screen-pair { max-width: 430px; margin: auto; }
  .screen-pair img:nth-child(2) { margin-top: 35px; }
  .modes { gap: 12px; }
  .mode { padding: 22px 18px; }
  .mode h3 { font-size: 25px; }
  .closing { padding: 30px 24px; gap: 24px; margin: 0 auto 50px; }
  .closing h2 { font-size: 30px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 18px; }
  .document { width: calc(100% - 36px); padding-top: 34px; }
  .document h2 { font-size: 24px; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 10px 7px; }
  summary { font-size: 16px; }
  .summary-box { padding: 18px; }
}
@media (max-width: 380px) {
  .brand { font-size: 13px; }
  .modes { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .fact { padding-inline: 10px; }
  .fact strong { font-size: 17px; }
  .fact span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
