:root {
  --bg: #090806;
  --bg-soft: #14110d;
  --panel: rgba(26, 21, 15, 0.74);
  --panel-strong: rgba(31, 25, 18, 0.88);
  --line: rgba(255, 226, 182, 0.14);
  --text: #f7f1e5;
  --muted: #c7baa7;
  --accent: #ffb760;
  --accent-soft: #ffd7a5;
  --glow: rgba(255, 172, 71, 0.42);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 179, 77, 0.18), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 110, 60, 0.12), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(255, 204, 120, 0.12), transparent 28%),
    linear-gradient(180deg, #0f0c09 0%, #080705 42%, #050505 100%);
}

img {
  max-width: 100%;
}

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

code {
  font-family: "SF Mono", "Roboto Mono", Consolas, monospace;
  font-size: 0.92em;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ffe0b3 0%, #ffb760 32%, #ff7f39 70%, rgba(255, 127, 57, 0.2) 100%);
  box-shadow:
    0 0 18px rgba(255, 175, 78, 0.9),
    0 0 44px rgba(255, 132, 56, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  padding: 8px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 36px;
  align-items: center;
  padding: 42px 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.workflow-copy h2,
.details-card h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.9rem);
  max-width: 12ch;
}

.lede,
.feature-card p,
.workflow-copy p,
.details-card p,
.statement p,
.footer p,
.legal-card p,
.legal-list,
.hero-points {
  color: var(--muted);
  line-height: 1.7;
}

.lede {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-primary {
  color: #241507;
  background: linear-gradient(135deg, #ffe2b9 0%, #ffbd67 35%, #ff8e47 100%);
  box-shadow: 0 14px 36px rgba(255, 135, 53, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  line-height: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-store-badge-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.app-store-badge {
  display: block;
  width: 168px;
  height: auto;
}

.app-store-badge-link-large .app-store-badge {
  width: 196px;
}

.hero-points {
  margin: 0;
  padding-left: 18px;
}

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

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.orb-main {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 230, 194, 0.86) 0%, rgba(255, 185, 99, 0.68) 28%, rgba(255, 117, 41, 0.18) 56%, rgba(255, 117, 41, 0) 76%);
}

.orb-echo {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 161, 78, 0.18) 0%, rgba(255, 161, 78, 0) 64%);
}

.device-preview {
  position: relative;
  width: min(320px, 78%);
  aspect-ratio: 10 / 21;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(19, 17, 14, 0.96), rgba(5, 5, 5, 0.96));
  border: 1px solid rgba(255, 232, 201, 0.12);
  box-shadow: var(--shadow);
}

.device-preview-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 48% 34%, rgba(255, 255, 255, 0.34), transparent 22%),
    radial-gradient(circle at 52% 45%, rgba(255, 180, 76, 0.88), rgba(255, 132, 53, 0.68) 34%, rgba(38, 12, 6, 0.86) 76%);
}

.preview-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 240, 213, 0.24), transparent 34%);
}

.statement {
  margin: 12px 0 38px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.statement p {
  margin: 0;
  font-size: 1.1rem;
}

.feature-grid,
.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 44px;
}

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

.store-callout {
  margin: 10px 0 48px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 184, 84, 0.16), transparent 18%),
    linear-gradient(180deg, var(--panel), rgba(14, 11, 9, 0.78));
  box-shadow: var(--shadow);
  text-align: center;
}

.store-callout h2 {
  margin: 0 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.store-callout p {
  max-width: 60ch;
  margin: 0 auto 18px;
  color: var(--muted);
  line-height: 1.7;
}

.support-callout {
  display: flex;
  justify-content: center;
  margin: -18px 0 48px;
}

.support-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 34rem;
  padding: 14px 18px;
  border: 1px solid rgba(255, 226, 182, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.support-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 196, 128, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.support-card-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 231, 196, 0.16), rgba(255, 183, 96, 0.14));
  font-size: 1.1rem;
}

.support-card-copy {
  color: var(--muted);
  line-height: 1.5;
}

.feature-card,
.details-card,
.legal-card,
.screen-card,
.workflow {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(14, 11, 9, 0.78));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.feature-card,
.details-card {
  min-height: 230px;
  padding: 24px;
  border-radius: 28px;
}

.feature-card h2,
.details-card h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  margin: 30px 0 48px;
  padding: 26px;
  border-radius: 32px;
}

.workflow-copy h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}

.workflow-steps {
  display: grid;
  gap: 14px;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 230, 191, 0.1);
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #261407;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe7c4 0%, #ffbb64 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

.screens {
  margin: 24px 0 48px;
}

.screen-row {
  margin-bottom: 18px;
}

.screen-row:last-of-type {
  margin-bottom: 0;
}

.screen-row-two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screen-row-single {
  display: flex;
  justify-content: center;
}

.screen-card {
  padding: 16px;
  border-radius: 28px;
}

.screen-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.screen-placeholder {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 221, 176, 0.12);
  background:
    linear-gradient(180deg, rgba(7, 6, 5, 0.1), rgba(7, 6, 5, 0.34)),
    var(--shot),
    radial-gradient(circle at 50% 30%, rgba(255, 184, 84, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  background-size: cover, cover, auto, auto;
  background-position: center, center, center, center;
  overflow: hidden;
}

.screen-card-phone .screen-placeholder {
  aspect-ratio: 1320 / 2868;
}

.screen-card-landscape-compact .screen-placeholder {
  aspect-ratio: 2868 / 1320;
}

.screen-card-ipad .screen-placeholder {
  aspect-ratio: 2752 / 2064;
}

.screen-card-ipad-portrait .screen-placeholder {
  aspect-ratio: 3 / 4;
}

.screen-row-ipad-landscape .screen-card {
  width: min(100%, 760px);
}

.screen-row-iphone-landscape .screen-card {
  width: min(100%, 680px);
}

.screen-row-ipad-portrait .screen-card {
  width: min(100%, 420px);
}

.placeholder-label {
  font-size: 1.15rem;
  font-weight: 700;
}

.text-link {
  color: var(--accent-soft);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 52px;
  padding: 28px 0 12px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-title {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  justify-content: center;
}

.legal-shell {
  min-height: 100vh;
}

.legal-page {
  max-width: 860px;
  padding-top: 36px;
}

.legal-card {
  padding: 28px;
  border-radius: 28px;
}

.legal-card h2 {
  margin: 26px 0 10px;
  font-size: 1.35rem;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.support-email-image {
  width: min(100%, 420px);
  height: auto;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 960px) {
  .hero,
  .workflow,
  .feature-grid,
  .details {
    grid-template-columns: 1fr;
  }

  .screen-row-two-up {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    align-items: center;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero-light {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .topbar {
    gap: 14px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy,
  .workflow-copy,
  .section-heading,
  .legal-page {
    min-width: 0;
  }

  .hero h1 {
    max-width: none;
  }

  .lede {
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .app-store-badge-link {
    width: 100%;
    justify-content: center;
  }

  .app-store-badge {
    width: 156px;
  }

  .app-store-badge-link-large .app-store-badge {
    width: 184px;
  }

  .support-callout {
    margin-top: -14px;
  }

  .support-card {
    width: 100%;
    gap: 10px;
    padding: 13px 14px;
  }

  .support-card-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .device-preview {
    width: min(270px, 84%);
  }

  .statement,
  .store-callout,
  .workflow,
  .feature-card,
  .details-card,
  .legal-card,
  .screen-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .step {
    align-items: flex-start;
    padding: 16px;
  }

  .step-index {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .support-email-image {
    width: 100%;
  }

  .feature-card,
  .details-card,
  .legal-card,
  .screen-card,
  .workflow {
    border-radius: 24px;
  }

  .screen-card-landscape-compact .screen-placeholder,
  .screen-card-ipad .screen-placeholder {
    aspect-ratio: auto;
    min-height: 240px;
  }

  .screen-card-phone .screen-placeholder {
    aspect-ratio: 1320 / 2868;
    min-height: 0;
  }

  .screen-card-ipad-portrait .screen-placeholder {
    aspect-ratio: auto;
    min-height: 320px;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .brand {
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
  }

  .nav {
    gap: 10px 14px;
    font-size: 0.92rem;
  }

  .hero {
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 15vw, 3.3rem);
  }

  .hero-light {
    min-height: 320px;
  }

  .orb-main {
    width: 250px;
    height: 250px;
  }

  .orb-echo {
    width: 360px;
    height: 360px;
  }

  .device-preview {
    width: min(236px, 86%);
    padding: 11px;
    border-radius: 34px;
  }

  .device-preview-screen {
    border-radius: 24px;
  }

  .statement,
  .store-callout,
  .workflow,
  .feature-card,
  .details-card,
  .legal-card,
  .screen-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-page {
    padding-top: 24px;
  }

  .footer-links {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
