:root {
  color-scheme: dark;
  --bg: #0a0b0e;
  --surface: #1c1c1e;
  --surface-strong: #242427;
  --soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.11);
  --text: #fff;
  --muted: #a9a9b0;
  --green: #34c759;
  --orange: #ff9500;
  --blue: #64d2ff;
  --radius: 24px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% -10%, rgba(52, 199, 89, 0.09), transparent 30%), var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.04em; text-wrap: balance; }
h1 { max-width: 780px; margin-bottom: 26px; font-size: clamp(3.5rem, 8.4vw, 7.4rem); font-weight: 720; line-height: 0.94; }
h1 span { color: var(--muted); }
h2 { margin-bottom: 20px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 14px; border-radius: 8px; background: #fff; color: #000; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 11, 14, 0.86);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; }
.brand-logo { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; object-fit: cover; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 13px; border-radius: 99px; color: var(--muted); font-size: 0.88rem; transition: color 0.2s, background 0.2s; }
.site-nav a:hover, .site-nav a.active, .site-nav a[aria-current="page"] { background: var(--soft); color: #fff; }
.menu-button { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); cursor: pointer; }
.menu-button span { display: block; width: 19px; height: 1px; margin: 5px auto; background: #fff; }

.section { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); margin-inline: auto; padding-block: clamp(90px, 12vw, 170px); }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr); align-items: start; gap: clamp(50px, 8vw, 110px); padding-top: 80px; }
.hero-copy, .phone-stage { min-width: 0; }
.eyebrow { margin-bottom: 22px; color: var(--green); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; }
.lead { max-width: 720px; font-size: clamp(1.06rem, 2vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.store-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #0a0b0e; font-weight: 700; transition: transform 0.2s, background 0.2s; }
button.store-button { cursor: pointer; }
a.store-button:hover { background: #e8e8ed; transform: translateY(-2px); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid var(--line); font-weight: 650; }
.demo-note { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.demo-note > b { padding: 8px 12px; border: 1px solid rgba(255, 149, 0, 0.3); border-radius: 10px; background: rgba(255, 149, 0, 0.08); color: var(--orange); font-family: monospace; font-size: 1.1rem; letter-spacing: 0.1em; }
.demo-note p { margin: 0; font-size: 0.78rem; }

.phone-stage { width: 100%; max-width: 405px; justify-self: end; perspective: 1400px; }
.phone { position: relative; width: 100%; height: 640px; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.phone.unlocked { transform: rotateY(180deg); }
.calculator, .vault { position: absolute; inset: 0; overflow: hidden; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 38px; background: linear-gradient(150deg, #2c2c2e, #111); box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.12); backface-visibility: hidden; }
.calculator { display: flex; flex-direction: column; }
.vault { display: flex; flex-direction: column; transform: rotateY(180deg); background: radial-gradient(circle at 50% 0, rgba(52, 199, 89, 0.15), transparent 36%), #101512; }
.phone-label { min-height: 22px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 0.72rem; }
.phone-label > span { width: 30px; height: 7px; border-radius: 99px; background: #050505; }
.phone-label > i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px var(--green); }
#display { min-height: 134px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 12px 6px 18px; overflow: hidden; font-size: clamp(3.2rem, 5vw, 4.2rem); font-weight: 250; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.keys { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 10px; }
.keys button { min-width: 0; min-height: 44px; border: 0; border-radius: 999px; background: #303033; font-size: 1.3rem; cursor: pointer; transition: transform 0.12s, background 0.12s; }
.keys button:hover, .keys button.pressed { background: #505054; transform: scale(0.94); }
.keys button:nth-child(-n+3) { background: #a5a5aa; color: #111; }
.keys .operator { background: var(--orange); }
.keys .zero { grid-column: span 2; text-align: left; padding-left: 29px; }
.vault-head { display: flex; justify-content: space-between; align-items: center; }
.vault-head small { color: var(--green); font-size: 0.64rem; letter-spacing: 0.14em; }
.vault-head h2 { margin: 4px 0 0; font-size: 2.2rem; }
.lock-shape { position: relative; width: 42px; height: 36px; border: 2px solid var(--green); border-radius: 9px; }
.lock-shape::before { content: ""; position: absolute; width: 20px; height: 18px; left: 8px; top: -17px; border: 2px solid var(--green); border-bottom: 0; border-radius: 12px 12px 0 0; }
.vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; flex: 1; margin-block: 20px; }
.vault-grid article { min-height: 105px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; border: 1px solid rgba(52, 199, 89, 0.18); border-radius: 17px; background: rgba(255, 255, 255, 0.04); }
.vault-grid .wide { grid-column: span 2; min-height: 75px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
.shape { width: 25px; height: 25px; display: block; border: 2px solid var(--green); border-radius: 6px; }
.shape.note { border-radius: 2px; }
.shape.key { position: relative; border-radius: 50%; }
.shape.key::after { content: ""; position: absolute; width: 15px; height: 2px; right: -12px; bottom: 0; background: var(--green); transform: rotate(45deg); }
.shape.person { border-radius: 50%; }
.shape.globe { border-radius: 50%; background: linear-gradient(90deg, transparent 45%, var(--green) 46% 54%, transparent 55%); }
.secondary-button { min-height: 48px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); cursor: pointer; }
.demo-status { margin: 16px 0 0; text-align: center; font-size: 0.75rem; }

.trust { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); margin-inline: auto; display: grid; grid-template-columns: 0.8fr 0.7fr 1.5fr; border-block: 1px solid var(--line); }
.trust p { min-height: 100px; display: flex; align-items: center; margin: 0; padding: 22px; border-right: 1px solid var(--line); color: #fff; font-size: 0.86rem; }
.trust p:first-child { padding-left: 0; }
.trust p:last-child { border: 0; }
.section-title { max-width: 800px; margin-bottom: 60px; }
.section-title > p:last-child { max-width: 650px; font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.card { min-height: 285px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.card b { color: var(--green); font-family: monospace; font-size: 0.75rem; }
.card h3 { margin-top: 70px; }
.cloud-section, .split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(50px, 9vw, 120px); border-top: 1px solid var(--line); }
.cloud-art { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: space-between; }
.device-node, .cloud-node { width: 145px; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); font-weight: 700; }
.cloud-node { border-color: rgba(52, 199, 89, 0.3); }
.device-node small, .cloud-node small { margin-top: 8px; color: var(--muted); font-size: 0.65rem; font-weight: 400; }
.cloud-art > span { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), var(--green), var(--line)); }
.check-list { padding: 0; list-style: none; }
.check-list li { padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); }
.check-list b { color: #fff; }
.resource-section { border-top: 1px solid var(--line); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resource-card { min-height: 320px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.resource-card:hover { transform: translateY(-4px); border-color: rgba(52, 199, 89, 0.38); background: rgba(255, 255, 255, 0.07); }
.resource-card > span { color: var(--green); font-family: monospace; font-size: 0.75rem; }
.resource-card h3 { margin-top: 64px; margin-bottom: 12px; }
.resource-card b { margin-top: auto; color: #fff; font-size: 0.9rem; }

footer { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr auto auto; align-items: center; gap: 30px; padding-block: 40px; border-top: 1px solid var(--line); }
footer p { margin: 0; }
footer .copyright { color: var(--muted); font-size: .82rem; white-space: nowrap; }
footer nav { display: flex; gap: 20px; color: var(--muted); }
footer a:hover, footer a[aria-current="page"] { color: #fff; }

.document-page { background: radial-gradient(circle at 85% 0, rgba(52, 199, 89, 0.08), transparent 28%), var(--bg); }
.document-shell { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); margin-inline: auto; }
.document-hero { max-width: 980px; padding-block: clamp(80px, 10vw, 140px) clamp(64px, 8vw, 110px); }
.document-hero h1 { max-width: 940px; font-size: clamp(3.4rem, 7vw, 6.5rem); }
.back-link { min-height: 44px; display: inline-flex; align-items: center; margin-bottom: 48px; color: var(--muted); font-size: 0.9rem; }
.back-link:hover { color: #fff; }
.document-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: var(--muted); font-size: 0.85rem; }
.document-meta span { padding-left: 14px; border-left: 2px solid var(--green); }
.document-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: space-between; gap: clamp(50px, 8vw, 120px); padding-bottom: clamp(100px, 12vw, 170px); }
.document-nav { position: sticky; top: 108px; align-self: start; display: grid; gap: 3px; }
.document-nav strong { margin-bottom: 12px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.document-nav a { min-height: 40px; display: flex; align-items: center; color: var(--muted); font-size: 0.88rem; }
.document-nav a:hover { color: #fff; }
.document-content section { padding-block: 64px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.document-content section:first-child { padding-top: 0; border-top: 0; }
.document-content h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.document-content h3 { margin-top: 32px; margin-bottom: 10px; }
.document-content p, .document-content li { font-size: 1.03rem; line-height: 1.78; }
.document-content ul { padding-left: 1.2rem; color: var(--muted); }
.document-content li { padding: 5px 0 5px 8px; }
.document-content a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.inline-support-button { display: inline; margin: 0; padding: 0; border: 0; background: transparent; color: var(--green); cursor: pointer; font: inherit; line-height: inherit; text-decoration: underline; text-underline-offset: 4px; }
.section-number { margin-bottom: 16px; color: var(--green); font-family: monospace; font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.14em; }
.notice { margin-block: 32px; padding: 24px; border: 1px solid rgba(52, 199, 89, 0.25); border-radius: 18px; background: rgba(52, 199, 89, 0.06); }
.notice strong { display: block; margin-bottom: 6px; }
.notice p { margin: 0; }

.contact-page { padding-bottom: clamp(100px, 12vw, 170px); }
.support-panel { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding: clamp(28px, 5vw, 56px); border: 1px solid rgba(52, 199, 89, 0.28); border-radius: 32px; background: radial-gradient(circle at 100% 0, rgba(52, 199, 89, 0.15), transparent 45%), var(--soft); }
.support-panel > div { max-width: 780px; }
.support-panel h2 { overflow-wrap: anywhere; font-size: clamp(2rem, 5vw, 4.3rem); }
.support-panel p:last-child { margin-bottom: 0; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.support-card { min-height: 320px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.support-card > span { color: var(--green); font-family: monospace; font-size: 0.75rem; }
.support-card h3 { margin-top: 64px; }
.support-card li { margin-bottom: 8px; color: var(--muted); }
.warning-card { border-color: rgba(255, 149, 0, 0.25); }
.warning-card > span { color: var(--orange); }
.contact-links { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: clamp(80px, 10vw, 130px); }
.contact-links h2 { max-width: 650px; margin-bottom: 0; }
.contact-links nav { min-width: 240px; display: grid; }
.contact-links nav a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero, .cloud-section, .split-section { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero h1, .hero .lead { margin-inline: auto; }
  .hero-actions, .demo-note { justify-content: center; }
  .phone-stage { justify-self: center; }
  .feature-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-card:last-child { grid-column: span 2; }
  .cloud-art { max-width: 520px; width: 100%; margin: auto; }
  .document-layout { grid-template-columns: 1fr; }
  .document-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
  .document-nav strong { grid-column: 1 / -1; }
  .support-panel, .contact-links { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .header-inner { width: calc(100% - 32px); }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 68px; left: 16px; right: 16px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #1c1c1e; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .section { width: calc(100% - 32px); padding-block: 85px; }
  .hero { padding-top: 55px; }
  .feature-grid, .resource-grid, .support-grid { grid-template-columns: 1fr; }
  .resource-card:last-child { grid-column: auto; }
  .trust { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .trust p { min-height: 70px; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { width: calc(100% - 32px); grid-template-columns: 1fr; }
  h1 { font-size: 3.25rem; }
  .cloud-art { min-height: 310px; }
  .device-node, .cloud-node { width: 120px; height: 145px; }
  .phone { height: min(640px, calc(100vw * 1.58)); min-height: 545px; }
  .calculator, .vault { padding: 18px; border-radius: 29px; }
  #display { min-height: 105px; font-size: 3.3rem; }
  .keys { gap: 8px; }
  .document-shell { width: calc(100% - 32px); }
  .document-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .document-nav { grid-template-columns: 1fr; }
  .document-content section { padding-block: 52px; }
  .support-panel { padding: 28px; border-radius: 24px; }
  .support-panel .store-button { width: 100%; }
  .support-card { min-height: 0; }
}

@media (max-width: 390px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .phone { min-height: 530px; }
  #display { min-height: 88px; }
  .keys { gap: 6px; }
  .keys button { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .phone.unlocked { transform: none; }
  .phone.unlocked .calculator { opacity: 0; }
  .vault { transform: none; opacity: 0; }
  .phone.unlocked .vault { opacity: 1; }
}
