:root {
  --navy: #15224a;
  --text: #1c1c1e;
  --muted: #7a8699;
  --muted-2: #8b97a8;
  --blue: #007aff;
  --blue-bright: #1b8cff;
  --blue-dark: #0050c7;
  --soft: #e8f1ff;
  --soft-2: #e8f7ff;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #e5e5ea;
  --shadow: 0 8px 28px rgba(21, 34, 74, 0.08);
  --shadow-strong: 0 18px 50px rgba(21, 34, 74, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 64px;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);
  --focus: 0 0 0 3px rgba(0, 122, 255, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  overflow: visible;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin-inline: auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-nav .btn-store {
  min-height: 42px;
  padding: 6px 12px 6px 10px;
  border-radius: 10px;
}

.site-nav .btn-store svg {
  width: 14px;
  height: 18px;
}

.site-nav .btn-store small {
  font-size: 9px;
}

.site-nav .btn-store strong {
  font-size: 13px;
}

.btn,
.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn-store:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.24);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
}

.btn-store {
  background: var(--blue);
  color: #fff;
  padding: 8px 16px 8px 14px;
  border-radius: 12px;
  min-height: 52px;
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.24);
}

.btn-store:hover {
  background: var(--blue-dark);
}

.btn-store[aria-disabled="true"] {
  cursor: pointer;
}

.btn-store svg {
  width: 18px;
  height: 22px;
  flex-shrink: 0;
}

.btn-store small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.1;
}

.btn-store strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.hero {
  padding: 36px 0 28px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin: 14px 0 16px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}

h3 {
  font-size: 18px;
  font-weight: 700;
}

.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(circle at 50% 45%, #d9e9ff 0%, #eef5ff 52%, transparent 72%);
  z-index: 0;
}

.art-canvas,
.device-showcase {
  position: relative;
  z-index: 1;
}

.art-canvas {
  width: min(100%, 460px);
  aspect-ratio: 1;
  border-radius: 36px;
  background: #e8f1ff;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.art-canvas img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.device-showcase {
  width: min(100%, 380px);
  transition: transform 0.22s ease;
}

.showcase-item .art-canvas {
  width: min(100%, 380px);
  transition: transform 0.22s ease;
}

.showcase-item:hover .device-showcase,
.showcase-item:hover .art-canvas {
  transform: translateY(-4px);
}

.device-frame {
  position: relative;
  background: linear-gradient(180deg, #f4f8ff, #e8f1ff);
  border-radius: 36px;
  padding: 18px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.device-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(21, 34, 74, 0.06);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  margin: 12px 0 0;
}

.section-alt {
  background: var(--surface);
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.step-num {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.step h3 {
  margin: 8px 0 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.showcase-grid {
  display: grid;
  gap: 28px;
}

.showcase-item figcaption {
  margin-top: 16px;
}

.showcase-item h3 {
  margin-bottom: 6px;
}

.showcase-item p {
  margin: 0;
  color: var(--muted);
}

.onboard-grid {
  display: grid;
  gap: 20px;
}

.onboard-card {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 24px 18px 28px;
  box-shadow: var(--shadow);
}

.onboard-card .art-canvas {
  width: min(100%, 240px);
  margin: 0 auto 18px;
  box-shadow: none;
}

.onboard-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.trust {
  display: grid;
  gap: 24px;
  align-items: center;
}

.trust-panel {
  background: linear-gradient(180deg, #f4f8ff, #fff);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.trust-panel p {
  color: var(--muted);
  margin: 12px 0 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: none;
  padding: 4px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
}

.faq-list details p {
  margin: 0 0 16px;
  color: var(--muted);
}

.download-band {
  text-align: center;
  background: linear-gradient(180deg, #15224a, #0f1a3a);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 24px;
  box-shadow: var(--shadow-strong);
}

.download-band h2,
.download-band p {
  color: #fff;
}

.download-band p {
  opacity: 0.78;
  max-width: 32rem;
  margin: 12px auto 24px;
}

.download-band .btn-store {
  margin-inline: auto;
}

.placeholder-note {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.72;
}

.site-footer {
  padding: 48px 0 32px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.footer-links a {
  color: var(--navy);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 13px;
}

.legal-page {
  padding: 40px 0 80px;
}

.legal-page .wrap {
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--muted);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 22px;
  margin: 32px 0 10px;
}

.legal-page p {
  color: #3a4150;
  margin: 0 0 12px;
}

.reveal {
  opacity: 1;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (min-width: 720px) {
  .hero-grid,
  .trust {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .steps,
  .onboard-grid,
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    padding: 56px 0 40px;
  }
}

@media (max-width: 979px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px var(--pad) 18px;
    box-shadow: var(--shadow-strong);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 45;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
  }

  .site-nav .btn-store {
    margin-top: 12px;
    width: max-content;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  html.js .reveal,
  html.js .reveal.is-visible,
  .btn,
  .btn-store,
  .feature-card,
  .device-showcase,
  .art-canvas,
  .site-nav,
  .showcase-item:hover .device-showcase,
  .showcase-item:hover .art-canvas {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .site-nav {
    visibility: visible;
  }

  .site-nav:not(.is-open) {
    visibility: hidden;
  }
}
