:root {
  --ink: #0d0d12;
  --ink-soft: #121219;
  --panel: #18171f;
  --panel-light: #211f27;
  --gold: #e0bb48;
  --gold-soft: #b89535;
  --cream: #f6e8ca;
  --text: #faf7f1;
  --muted: #d0c9bd;
  --line: rgba(224, 187, 72, 0.24);
  --line-strong: rgba(224, 187, 72, 0.48);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(117, 91, 35, 0.18), transparent 28rem),
    radial-gradient(circle at 8% 38%, rgba(63, 68, 104, 0.11), transparent 32rem),
    var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--gold);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--cream);
}

:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: var(--ink);
  transform: translateY(0);
}

.site-header,
.site-footer,
.hero,
.section,
.quiet-panel,
.price-panel {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.wordmark {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.33em;
  line-height: 1;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--gold);
}

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

.site-nav > a:not(.button) {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-nav > a:not(.button):hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #17130a;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: #17130a;
  transform: translateY(-1px);
}

.button-small {
  min-height: 44px;
  padding: 10px 19px;
  font-size: 0.88rem;
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--cream);
  font-weight: 650;
  text-decoration: none;
}

.text-link::after {
  margin-left: 8px;
  color: var(--gold);
  content: '\2192';
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  min-height: calc(100vh - 88px);
  padding: 56px 0 96px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.quiet-panel h2,
.price-copy h2,
.legal-header h1,
.not-found h1 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  text-wrap: balance;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3.25rem, 7.1vw, 6.45rem);
  letter-spacing: -0.04em;
}

.hero-lede {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.42rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
}

.trust-line {
  max-width: 590px;
  margin: 24px 0 0;
  color: #b9b2a7;
  font-size: 0.86rem;
}

.app-preview {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 42px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.app-preview::after {
  position: absolute;
  inset: 0;
  border: 8px solid rgba(13, 13, 18, 0.72);
  border-radius: inherit;
  content: '';
  pointer-events: none;
}

.app-preview img {
  width: 100%;
  height: clamp(540px, 65vw, 690px);
  object-fit: cover;
  object-position: 50% 44%;
  filter: saturate(0.82) contrast(1.03) brightness(0.74);
}

.preview-shade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 34px 44px;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.45), transparent 31%, rgba(8, 8, 12, 0.94) 88%);
}

.preview-label {
  margin: 0;
  color: var(--cream);
  font-size: 0.71rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-verse {
  margin: 0;
  color: white;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.72rem);
  line-height: 1.38;
  text-wrap: balance;
}

.preview-reference {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: 104px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.55fr);
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.section-heading h2,
.quiet-panel h2,
.price-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.35rem);
  letter-spacing: -0.025em;
}

.section-heading > p,
.quiet-panel > div > p,
.price-copy > p {
  margin: 0;
  color: var(--muted);
}

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

.feature-card {
  min-height: 290px;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(33, 31, 39, 0.92), rgba(20, 19, 26, 0.88));
}

.feature-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 750;
}

.feature-card h3 {
  margin: 0 0 12px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

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

.product-showcase {
  padding-top: 56px;
}

.product-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
}

.product-shot-card {
  margin: 0;
}

.phone-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.phone-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
}

.product-shot-card figcaption {
  margin-top: 18px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.25rem;
  text-align: center;
}

.quiet-panel {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: clamp(40px, 8vw, 108px);
  margin-block: 40px 104px;
  padding: clamp(42px, 7vw, 84px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 96% 2%, rgba(224, 187, 72, 0.13), transparent 19rem),
    var(--panel);
}

.quiet-panel .eyebrow,
.price-copy .eyebrow {
  margin-bottom: 16px;
}

.quiet-panel h2 {
  margin-bottom: 24px;
}

.quiet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiet-list li {
  display: flex;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.14rem;
}

.quiet-list li::before {
  width: 8px;
  height: 8px;
  margin-right: 16px;
  border-radius: 50%;
  background: var(--gold);
  content: '';
}

.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
  padding: 104px 0;
}

.price-copy h2 {
  margin-bottom: 24px;
}

.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.price-card-featured {
  border-color: var(--line-strong);
  background: linear-gradient(160deg, rgba(62, 51, 25, 0.46), var(--panel) 52%);
}

.price-card h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.price {
  margin: 24px 0 4px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
}

.price-note {
  min-height: 26px;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.price-card ul {
  margin: 28px 0 32px;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}

.price-card li {
  margin-bottom: 12px;
}

.price-card li::before {
  margin-right: 10px;
  color: var(--gold);
  content: '\2713';
}

.price-card .button,
.price-card .text-link {
  margin-top: auto;
}

.fine-print {
  grid-column: 1 / -1;
  margin: 0;
  color: #aaa398;
  font-size: 0.72rem;
  text-align: center;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  color: var(--cream);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  list-style: none;
}

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

.faq-list summary::after {
  color: var(--gold);
  content: '+';
  font-family: var(--sans);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: '\2212';
}

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 26px;
  color: var(--muted);
}

.closing-cta {
  width: min(800px, calc(100% - 40px));
  margin: 80px auto 110px;
  text-align: center;
}

.closing-cta h2 {
  margin: 0 0 18px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
}

.closing-cta p {
  margin: 0 0 30px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 40px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa398;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

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

/* Static legal and support pages */
.legal-topbar {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 20px;
}

.legal-topbar .wordmark {
  display: inline-block;
}

.legal-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 90px;
}

.legal-header {
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin-bottom: 12px;
  font-size: clamp(2.55rem, 7vw, 4.7rem);
}

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

.legal-card,
.support-card {
  margin: 0 0 30px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.legal-shell h2 {
  margin: 40px 0 13px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.3;
}

.legal-shell h3 {
  margin: 0 0 9px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.legal-shell p {
  margin: 0 0 17px;
  color: var(--muted);
}

.legal-shell li {
  margin-bottom: 10px;
  color: var(--muted);
}

.legal-shell strong {
  color: var(--cream);
  font-weight: 650;
}

.legal-shell .button {
  color: #17130a;
}

.legal-updated {
  margin-top: 48px !important;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}

.support-card {
  margin: 0;
}

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

.urgent-card {
  border-color: rgba(245, 198, 107, 0.42);
}

/* Static 404 */
.not-found {
  display: grid;
  min-height: calc(100vh - 120px);
  place-items: center;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;
}

.not-found-code {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.not-found h1 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 8vw, 5.5rem);
}

.not-found p {
  margin: 0 0 30px;
  color: var(--muted);
}

.not-found-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 26px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr 340px;
    gap: 38px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 30px;
  }

  .quiet-panel,
  .price-panel {
    grid-template-columns: 1fr;
  }

  .price-panel {
    gap: 48px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .quiet-panel,
  .price-panel {
    width: min(100% - 32px, 1160px);
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav > a:not(.button) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 60px 0 80px;
  }

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

  .app-preview {
    width: min(100%, 390px);
    margin-top: 18px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
    margin-bottom: 38px;
  }

  .product-showcase {
    padding-top: 34px;
  }

  .product-shot-grid {
    grid-template-columns: 1fr;
    max-width: 390px;
    margin-inline: auto;
  }

  .quiet-panel {
    margin-block: 20px 78px;
    padding: 36px 24px;
  }

  .price-panel {
    padding: 78px 0;
  }

  .price-cards,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
  }

  .price-card .button,
  .price-card .text-link {
    margin-top: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-shell {
    width: min(100% - 32px, 760px);
    padding-top: 24px;
  }
}

@media (max-width: 420px) {
  .wordmark {
    font-size: 0.92rem;
    letter-spacing: 0.24em;
  }

  .button-small {
    padding-inline: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
