:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #efede6;
  --card: #fffdf8;
  --raised: #ebe8df;
  --line: #e4dfd3;
  --line-soft: #eee9de;
  --ink: #171717;
  --ink-muted: #5f5a52;
  --ink-soft: #8a857c;
  --accent: #171717;
  --green: #1a9d63;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 70px rgba(23, 23, 23, 0.09);
  --shadow-sm: 0 10px 26px rgba(23, 23, 23, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(247, 245, 239, 0.8);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 23, 23, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 12px 26px rgba(23, 23, 23, 0.24);
}

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}

button.btn {
  font-family: inherit;
  appearance: none;
}

.btn-store .store-glyph {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ── App modal ── */
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.app-modal[hidden] {
  display: none;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.42);
  backdrop-filter: blur(4px);
}

.app-modal-dialog {
  position: relative;
  width: min(100%, 420px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px 22px;
}

.app-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.app-modal-close:hover {
  background: var(--raised);
  color: var(--ink);
}

.app-modal-dialog h2 {
  margin: 0 36px 8px 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.app-modal-lead {
  margin: 0 0 20px;
  color: var(--ink-muted);
  font-size: 15px;
}

.app-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-modal-actions .btn {
  width: 100%;
}

.app-modal-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

/* ── Hero ── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 84px 24px 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 5.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 30px;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 470px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-note {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ── Hero visual / phone ── */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  background: #0e0e0e;
  padding: 11px;
  box-shadow: var(--shadow);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0e0e0e;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
}

.phone-screen--video {
  background: #000;
}

.phone-demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-header {
  padding: 20px 18px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}

.slide-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 14px;
}

.mini-slide {
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  background: linear-gradient(155deg, #322e29 0%, #141414 100%);
  position: relative;
  overflow: hidden;
}

.mini-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 55%);
}

.mini-slide span {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 8px;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  z-index: 1;
}

.mini-slide.light {
  background: linear-gradient(155deg, #f1ece1, #ddd7c9);
}

.mini-slide.light span {
  color: var(--ink);
}

.phone-caption {
  padding: 6px 18px 18px;
  margin-top: auto;
}

.phone-caption strong {
  display: block;
  font-size: 12.5px;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.phone-caption p {
  margin: 0;
  font-size: 10.5px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.float-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.float-card small {
  flex-basis: 100%;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 1px;
  font-size: 11px;
  padding-left: 16px;
}

.float-card .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c9a23a;
}

.float-card .dot.green {
  background: var(--green);
}

.float-card.a {
  top: -3%;
  right: -22px;
}

.float-card.b {
  bottom: 7%;
  left: -24px;
}

/* ── Platforms ── */
.platforms {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 30px 0;
}

.platforms-label {
  text-align: center;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.platforms-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
}

.platforms-row span {
  font-size: 16px;
  font-weight: 650;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
  opacity: 0.78;
}

/* ── Sections ── */
.section {
  padding: 84px 0;
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.025em;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

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

.feature-accent {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--ink);
}

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

.feature-accent .feature-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.feature-accent p {
  color: rgba(255, 255, 255, 0.74);
}

.tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 8px;
}

/* ── Spotlight ── */
.spotlight {
  padding: 24px 0 84px;
}

.spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.spotlight-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.025em;
  font-weight: 800;
}

.spotlight-copy p {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.spotlight-visual {
  display: flex;
  justify-content: center;
}

.cal-card {
  width: 100%;
  max-width: 320px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.cal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.cal-row + .cal-row {
  margin-top: 2px;
}

.cal-row span {
  width: 38px;
  font-weight: 700;
  color: var(--ink);
}

.cal-row b {
  color: var(--ink-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cal-row .chip {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--raised);
  color: var(--ink-soft);
}

.cal-row .chip.live {
  background: var(--ink);
  color: #fff;
}

.cal-row .chip.muted {
  opacity: 0.6;
}

.cal-row.active {
  background: var(--card);
  border: 1px solid var(--line);
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  text-align: center;
  padding: 8px 16px;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ── CTA band ── */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  max-width: 1032px;
  margin: 0 auto 84px;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.025em;
  font-weight: 800;
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-muted);
}

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

.footer-copy {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
    gap: 36px;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    min-height: 0;
  }

  .features,
  .steps {
    grid-template-columns: 1fr;
  }

  .spotlight-inner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

  .spotlight-visual {
    order: -1;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .float-card {
    display: none;
  }

  .nav .lang-switch {
    display: none;
  }
}

@media (max-width: 560px) {
  .features {
    gap: 14px;
  }

  .cta-band {
    padding: 44px 24px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .platforms-row {
    gap: 10px 20px;
  }

  .platforms-row span {
    font-size: 14px;
  }
}

/* ── Language switcher ── */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.lang-switch-footer {
  order: 3;
}
