:root {
  --ink: #1a1b3a;
  --paper: #f5f0e8;
  --paper-deep: #eae2d4;
  --velvet: #2e2a4a;
  --lavender: #9b8bc4;
  --dusk: #6b5b95;
  --gold: #c9a961;
  --rose: #d4a5a0;
  --sage: #a8b89c;
  --mist: #e8e0d5;
  --white-soft: #fffaf2;
  --shadow: 0 24px 70px rgba(26, 27, 58, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(232, 224, 213, 0.28);
  background: rgba(26, 27, 58, 0.92);
  color: var(--paper);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 169, 97, 0.6);
  border-radius: 50%;
}

.brand-mark::after {
  inset: 12px;
  background: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(245, 240, 232, 0.82);
}

.nav-links a:hover {
  color: var(--paper);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(245, 240, 232, 0.28);
  background: transparent;
  color: var(--paper);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.15;
}

.button.gold {
  background: var(--gold);
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(26, 27, 58, 0.18);
  background: transparent;
  color: var(--ink);
}

.button.light {
  border-color: rgba(245, 240, 232, 0.35);
  background: rgba(245, 240, 232, 0.08);
  color: var(--paper);
}

.section {
  padding: 88px 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(26, 27, 58, 0.56);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.on-dark .eyebrow,
.hero .eyebrow {
  color: rgba(245, 240, 232, 0.62);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  font-size: clamp(54px, 8vw, 108px);
  font-style: italic;
}

h2 {
  font-size: clamp(38px, 5vw, 68px);
  font-style: italic;
}

h3 {
  font-size: 30px;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(26, 27, 58, 0.72);
  font-size: 19px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(155, 139, 196, 0.34), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(201, 169, 97, 0.22), transparent 20%),
    linear-gradient(135deg, var(--ink), var(--velvet));
  color: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(245, 240, 232, 0.5) 1px, transparent 1.5px),
    linear-gradient(125deg, transparent 12%, rgba(245, 240, 232, 0.05), transparent 44%);
  background-size: 62px 62px, 100% 100%;
  opacity: 0.28;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 82px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 66px;
}

.hero-copy p {
  color: rgba(245, 240, 232, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
  max-width: 760px;
}

.meta-card {
  border: 1px solid rgba(245, 240, 232, 0.16);
  border-radius: 8px;
  padding: 16px;
  background: rgba(245, 240, 232, 0.06);
}

.meta-card strong {
  display: block;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}

.meta-card span {
  display: block;
  margin-top: 8px;
  color: rgba(245, 240, 232, 0.64);
  font-size: 13px;
  line-height: 1.4;
}

.phone-shell {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 13px;
  border: 1px solid rgba(245, 240, 232, 0.24);
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(245, 240, 232, 0.18), rgba(245, 240, 232, 0.04));
  box-shadow: var(--shadow);
}

.phone-screen {
  overflow: hidden;
  min-height: 690px;
  border: 1px solid rgba(26, 27, 58, 0.16);
  border-radius: 32px;
  background: var(--paper);
  color: var(--ink);
}

.phone-top {
  padding: 28px 24px 16px;
  background: linear-gradient(180deg, var(--paper), var(--paper-deep));
}

.phone-date {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(26, 27, 58, 0.48);
}

.phone-title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 38px;
  font-style: italic;
  line-height: 0.95;
}

.transit-card {
  margin: 18px 24px;
  padding: 18px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  background: var(--white-soft);
}

.transit-card .label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--dusk);
}

.transit-card p {
  margin: 10px 0 0;
  color: rgba(26, 27, 58, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.chart-wheel {
  width: 178px;
  height: 178px;
  margin: 24px auto 20px;
  border: 1px solid rgba(26, 27, 58, 0.24);
  border-radius: 50%;
  background:
    linear-gradient(0deg, transparent 49.5%, rgba(26, 27, 58, 0.18) 50%, transparent 50.5%),
    linear-gradient(30deg, transparent 49.5%, rgba(26, 27, 58, 0.14) 50%, transparent 50.5%),
    linear-gradient(60deg, transparent 49.5%, rgba(26, 27, 58, 0.14) 50%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(26, 27, 58, 0.18) 50%, transparent 50.5%),
    linear-gradient(120deg, transparent 49.5%, rgba(26, 27, 58, 0.14) 50%, transparent 50.5%),
    linear-gradient(150deg, transparent 49.5%, rgba(26, 27, 58, 0.14) 50%, transparent 50.5%),
    radial-gradient(circle, transparent 44%, rgba(201, 169, 97, 0.22) 45%, transparent 46%);
  position: relative;
}

.chart-wheel span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.chart-wheel span:nth-child(1) {
  top: 36px;
  left: 108px;
}

.chart-wheel span:nth-child(2) {
  top: 118px;
  left: 48px;
  background: var(--lavender);
}

.chart-wheel span:nth-child(3) {
  top: 74px;
  left: 28px;
  background: var(--rose);
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 20px 24px;
}

.phone-tab {
  padding: 12px 8px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  color: rgba(26, 27, 58, 0.62);
  font-size: 12px;
  text-align: center;
}

.screen-orbit {
  position: relative;
  min-height: 720px;
}

.screen-frame {
  overflow: hidden;
  display: block;
  border: 1px solid rgba(245, 240, 232, 0.24);
  border-radius: 42px;
  background: rgba(245, 240, 232, 0.1);
  box-shadow: var(--shadow);
}

.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-frame.primary {
  width: min(100%, 366px);
  margin: 0 auto;
  animation: floatScreen 7s ease-in-out infinite;
}

.screen-frame.secondary {
  position: absolute;
  width: 210px;
  opacity: 0.9;
  filter: saturate(0.96);
}

.screen-frame.secondary.one {
  left: -28px;
  bottom: 70px;
  transform: rotate(-7deg);
}

.screen-frame.secondary.two {
  right: -34px;
  top: 54px;
  transform: rotate(6deg);
}

.screen-label {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(245, 240, 232, 0.26);
  border-radius: 999px;
  background: rgba(26, 27, 58, 0.72);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.screen-label.one {
  top: 18px;
  left: 18px;
}

.screen-label.two {
  right: 10px;
  bottom: 24px;
}

.product-tour {
  background: linear-gradient(180deg, var(--paper), var(--paper-deep));
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tour-card {
  border: 1px solid var(--mist);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.62);
  overflow: hidden;
}

.tour-card .screen-frame {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--mist);
  border-radius: 0;
  box-shadow: none;
}

.tour-card-body {
  padding: 22px;
}

.tour-card-body h3 {
  font-size: 30px;
}

.tour-card-body p {
  color: rgba(26, 27, 58, 0.68);
}

.trust-strip {
  background: var(--paper-deep);
  border-block: 1px solid var(--mist);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--mist);
}

.trust-item {
  min-height: 152px;
  padding: 24px;
  background: var(--paper-deep);
}

.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  line-height: 1;
}

.trust-item p {
  margin: 12px 0 0;
  color: rgba(26, 27, 58, 0.66);
  font-size: 14px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading .lead {
  max-width: 460px;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.article-card,
.policy-card {
  border: 1px solid var(--mist);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.5);
}

.feature-card {
  min-height: 292px;
  padding: 24px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border: 1px solid rgba(26, 27, 58, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--dusk);
  font-family: var(--serif);
  font-size: 25px;
}

.feature-card h3 {
  font-size: 28px;
}

.feature-card p {
  color: rgba(26, 27, 58, 0.68);
  font-size: 15px;
}

.systems {
  background: var(--ink);
  color: var(--paper);
}

.systems .lead {
  color: rgba(245, 240, 232, 0.74);
}

.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 42px;
}

.system-card {
  padding: 30px;
  border: 1px solid rgba(245, 240, 232, 0.16);
  border-radius: 8px;
  background: rgba(245, 240, 232, 0.06);
}

.system-card p {
  color: rgba(245, 240, 232, 0.72);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 22%, rgba(201, 169, 97, 0.18), transparent 30%),
    var(--paper-deep);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #050505;
  color: #fff;
  text-decoration: none;
}

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1.1;
}

.store-badge small {
  font-size: 11px;
}

.store-badge strong {
  font-size: 20px;
}

.rating-card {
  padding: 22px;
  border: 1px solid rgba(26, 27, 58, 0.16);
  border-radius: 8px;
  background: var(--paper);
}

.stars {
  color: var(--gold);
  font-size: 22px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  padding: 26px;
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.article-card h3 {
  font-size: 30px;
}

.article-card p {
  color: rgba(26, 27, 58, 0.7);
}

.article-meta {
  color: rgba(26, 27, 58, 0.5);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(26, 27, 58, 0.1);
  background: var(--white-soft);
}

.article-card a {
  text-decoration: none;
}

.read-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--dusk);
  font-weight: 700;
}

.blog-hero {
  padding: 86px 0 58px;
  background:
    radial-gradient(circle at 88% 16%, rgba(155, 139, 196, 0.24), transparent 24%),
    var(--paper-deep);
}

.article-layout {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
}

.article-body {
  padding: 46px 0 88px;
}

.article-body p {
  color: rgba(26, 27, 58, 0.76);
  font-size: 20px;
  line-height: 1.78;
}

.article-body h2 {
  margin-top: 48px;
  font-size: 42px;
}

.article-body blockquote {
  margin: 44px 0;
  padding: 28px;
  border-block: 1px solid var(--rose);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 31px;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--mist);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatScreen {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.6deg);
  }
}

.privacy-callout {
  background: var(--paper-deep);
}

.callout-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  background: var(--paper);
}

.site-footer {
  padding: 46px 0;
  background: var(--ink);
  color: rgba(245, 240, 232, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

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

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

.legal-hero {
  padding: 76px 0 50px;
  background: var(--ink);
  color: var(--paper);
}

.legal-hero p {
  max-width: 760px;
  color: rgba(245, 240, 232, 0.74);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 98px;
  padding: 18px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  background: var(--paper-deep);
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  color: rgba(26, 27, 58, 0.72);
  text-decoration: none;
}

.legal-copy {
  padding: 40px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.54);
}

.legal-copy section + section {
  margin-top: 42px;
}

.legal-copy h2 {
  font-size: 38px;
}

.legal-copy h3 {
  margin-top: 24px;
  font-size: 25px;
}

.legal-copy p,
.legal-copy li {
  color: rgba(26, 27, 58, 0.74);
}

.legal-copy ul {
  padding-left: 22px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.support-card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  background: var(--paper);
}

.support-card h3 {
  margin-top: 0;
  font-size: 27px;
}

.support-card p {
  margin-bottom: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.field label {
  color: rgba(26, 27, 58, 0.56);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 27, 58, 0.18);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
  background: var(--white-soft);
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: #b55353;
  box-shadow: 0 0 0 3px rgba(181, 83, 83, 0.14);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(26, 27, 58, 0.48);
  border-bottom: 1.5px solid rgba(26, 27, 58, 0.48);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 42px;
}

.counter,
.form-status {
  color: rgba(26, 27, 58, 0.52);
  font-family: var(--mono);
  font-size: 11px;
}

.counter {
  text-align: right;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
}

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

.submit-button[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
}

.btn-spin {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(26, 27, 58, 0.26);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.submit-button.is-loading .btn-spin {
  display: inline-block;
}

.form-status {
  margin: 0;
}

.form-status.ok {
  color: #57734f;
}

.form-status.err {
  color: #b55353;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .download-panel,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-preview {
    order: -1;
  }

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

  .legal-toc {
    position: static;
  }
}

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

  .nav-links {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgba(245, 240, 232, 0.16);
    border-radius: 8px;
    background: var(--velvet);
    box-shadow: var(--shadow);
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links .button {
    width: 100%;
  }

  .hero-inner {
    padding-top: 38px;
    gap: 38px;
  }

  .hero-meta,
  .system-grid,
  .blog-grid,
  .callout-panel,
  .footer-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .lead {
    margin-top: 18px;
  }

  .trust-grid,
  .feature-grid,
  .tour-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .download-panel,
  .legal-copy,
  .callout-panel {
    padding: 24px;
  }

  .phone-screen {
    min-height: 610px;
  }

  .screen-orbit {
    min-height: auto;
  }

  .screen-frame.secondary,
  .screen-label {
    display: none;
  }

  .article-body p {
    font-size: 18px;
  }

  .article-nav {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
