:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f5f3ee;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #68645d;
  --line: #ddd8cf;
  --accent: #ad7f24;
  --accent-dark: #8f681b;
  --success: #23633b;
  --danger: #9d2b2b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

main {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-shell {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: start;
  padding: 72px 0 48px;
}

.hero-copy { min-width: 0; padding-top: 72px; }
.hero-side { display: grid; gap: 18px; min-width: 0; }
.brand {
  display: inline-block;
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 15px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 7px;
}

.eyebrow,
.card-kicker,
.utility-label {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 18px;
  max-width: 680px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.lead {
  max-width: 630px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 18px 60px rgba(56, 45, 24, .08);
}
.card h2 { margin: 4px 0 0; font-size: 30px; }
.price { margin: 22px 0 0; font-size: 46px; font-weight: 900; letter-spacing: -.04em; }
.price-note { margin: 4px 0 26px; color: var(--muted); }

.app-showcase {
  background: #111;
  color: #fff;
  border-radius: 22px;
  padding: 22px 20px 18px;
  border: 1px solid #262626;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
}
.showcase-heading { text-align: center; margin-bottom: 14px; }
.showcase-heading .card-kicker { margin: 0; color: #d5b36b; }
.showcase-heading h2 { margin: 4px 0 4px; font-size: 27px; }
.showcase-heading p:last-child { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.5; }
.app-carousel { position: relative; }
.carousel-stage { min-height: 612px; display: grid; place-items: center; }
.carousel-slide {
  margin: 0;
  width: 100%;
  text-align: center;
}
.carousel-slide img {
  display: block;
  width: auto;
  max-width: 270px;
  max-height: 520px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.38);
  background: #05090b;
}
.carousel-slide figcaption {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 0 28px;
}
.carousel-slide figcaption strong { font-size: 16px; color: #fff; }
.carousel-slide figcaption span { font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.62); }
.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 44%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 30px;
  line-height: 1;
}
.carousel-arrow:hover { background: var(--accent); }
.carousel-arrow-left { left: 0; }
.carousel-arrow-right { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.carousel-dot {
  width: 9px;
  height: 9px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  background: #585858;
}
.carousel-dot:hover,
.carousel-dot.is-active { background: #d5b36b; }

form { display: grid; gap: 10px; }
label { font-size: 14px; font-weight: 750; margin-top: 7px; }
input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfc8bc;
  border-radius: 11px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  outline: none;
}
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(173, 127, 36, .13); }

.hint,
.secure-note,
.result-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.secure-note { text-align: center; }

button {
  border: 0;
  border-radius: 11px;
  min-height: 54px;
  padding: 0 18px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  margin-top: 8px;
}
button:hover { background: var(--accent-dark); }
button:disabled { opacity: .58; cursor: wait; }
button.secondary { background: #ece7dc; color: var(--ink); }

.error {
  margin: 2px 0 0;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
}

.success-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6f3e9;
  color: var(--success);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 24px;
}

.utility-shell { padding: 10px 0 16px; }
.utility-shell > .eyebrow {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .06em;
}
.section-title {
  margin: 4px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.035em;
}
.utility-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.utility-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.utility-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.15;
}
.utility-card p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.utility-card-core {
  grid-column: span 2;
  background: #171717;
  color: #fff;
  border-color: #171717;
}
.utility-card-core .utility-label { color: #d5b36b; }
.utility-card-core h3 { font-size: 30px; }
.utility-card-core p:last-child { color: rgba(255,255,255,.65); }
.utility-card-wide { grid-column: 1 / -1; }

.access-strip {
  margin: 28px 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}
.access-strip span { color: var(--accent-dark); }

.download-card {
  margin-top: 16px;
  background: #171717;
  color: #fff;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.download-card h2 {
  margin: 4px 0 6px;
  font-size: 28px;
}
.download-card p:last-child {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.6;
}
.download-card .card-kicker { color: #d5b36b; margin: 0; }
.download-button {
  flex: 0 0 auto;
  min-width: 265px;
  margin: 0;
}
.download-button:disabled {
  background: #ad7f24;
  color: #fff;
  opacity: .72;
  cursor: not-allowed;
}

footer {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  color: var(--muted);
  font-size: 12px;
  padding: 44px 0 28px;
}
footer p { margin: 4px 0 0; }
.footer-brand { color: var(--ink); letter-spacing: .16em; }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero-shell {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 42px;
  }
  .hero-copy { padding-top: 0; }
  .hero-side { max-width: 620px; width: 100%; margin: 0 auto; }
  .utility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility-card-wide { grid-column: span 2; }
}

@media (max-width: 620px) {
  main, footer { width: min(100% - 24px, 1100px); }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .card { padding: 24px; }
  .app-showcase { padding: 20px 12px 16px; }
  .carousel-stage { min-height: 590px; }
  .carousel-slide img { max-width: 252px; max-height: 500px; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 27px; }
  .carousel-slide figcaption { padding: 0 40px; }
  .utility-shell > .eyebrow { font-size: 18px; }
  .utility-grid { grid-template-columns: 1fr; }
  .utility-card-core,
  .utility-card-wide { grid-column: auto; }
  .download-card {
    align-items: stretch;
    flex-direction: column;
  }
  .download-button { width: 100%; min-width: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}


.carousel-mobile-nav {
  display: none;
}

@media (max-width: 620px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #f5f3ee;
  }

  main,
  footer {
    width: calc(100% - 24px);
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-shell {
    display: block;
    min-height: 0;
    padding: 24px 0 28px;
  }

  .hero-copy {
    padding: 0 2px;
  }

  .brand {
    font-size: 12px;
    letter-spacing: .16em;
  }

  .hero-copy .eyebrow {
    margin: 14px 0 7px;
    font-size: 11px;
    line-height: 1.35;
  }

  h1 {
    margin: 7px 0 14px;
    max-width: 100%;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.01;
    letter-spacing: -.04em;
  }

  .lead {
    margin: 0;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-side {
    display: block;
    width: 100%;
    max-width: none;
    margin: 26px 0 0;
  }

  .app-showcase {
    width: 100%;
    margin: 0;
    padding: 18px 14px 16px;
    border-radius: 20px;
    overflow: hidden;
  }

  .showcase-heading {
    margin: 0 0 16px;
    padding: 0 4px;
    text-align: center;
  }

  .showcase-heading .card-kicker {
    font-size: 11px;
  }

  .showcase-heading h2 {
    margin: 5px 0 5px;
    font-size: 24px;
    line-height: 1.1;
  }

  .showcase-heading p:last-child {
    margin: 0 auto;
    max-width: 300px;
    font-size: 12px;
    line-height: 1.45;
  }

  .app-carousel {
    width: 100%;
  }

  .carousel-stage {
    min-height: 0;
    padding: 0;
  }

  .carousel-slide {
    width: 100%;
    margin: 0;
  }

  .carousel-slide img {
    display: block;
    width: min(100%, 310px);
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(0,0,0,.34);
  }

  .carousel-slide figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
    margin: 12px 0 0;
    padding: 0 8px;
    text-align: center;
  }

  .carousel-slide figcaption strong {
    font-size: 16px;
    line-height: 1.2;
  }

  .carousel-slide figcaption span {
    font-size: 12px;
    line-height: 1.45;
  }

  .carousel-arrow {
    display: none;
  }

  .carousel-mobile-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px;
    border: 1px solid rgba(213,179,107,.36);
    border-radius: 14px;
    background: #090d0f;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
  }

  .carousel-nav-button {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #d5b36b;
    border-radius: 12px;
    background: #d5b36b;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(213,179,107,.2);
  }

  .carousel-nav-button:active,
  .carousel-nav-button:hover,
  .carousel-nav-button:focus-visible {
    background: #f6c846;
    border-color: #f6c846;
    color: #05090b;
  }

  .carousel-counter {
    min-width: 52px;
    padding: 8px 7px;
    border: 1px solid rgba(213,179,107,.42);
    border-radius: 999px;
    background: #151b1e;
    color: #f6c846;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
  }

  .carousel-dots {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
  }

  .carousel-dot {
    flex: 0 0 10px;
    width: 10px !important;
    height: 10px;
    min-height: 10px;
    padding: 0;
    margin: 0;
    border: 1px solid #8a6827;
    background: #6b5525;
  }

  .carousel-dot.is-active {
    background: #f6c846;
    border-color: #f6c846;
    transform: scale(1.15);
  }

  .card {
    width: 100%;
    margin: 16px 0 0;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .card .card-kicker {
    margin-top: 0;
  }

  .card h2 {
    font-size: 27px;
  }

  .price {
    margin-top: 15px;
    font-size: 40px;
  }

  .price-note {
    margin-bottom: 21px;
  }

  form {
    gap: 9px;
  }

  input {
    min-height: 50px;
    font-size: 16px;
  }

  #pay-button,
  .secondary,
  .download-button {
    width: 100%;
  }

  .utility-shell {
    padding: 28px 0 8px;
  }

  .utility-shell > .eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.35;
  }

  .section-title {
    margin: 0;
    max-width: 330px;
    font-size: 29px;
    line-height: 1.08;
  }

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

  .utility-card,
  .utility-card-core,
  .utility-card-wide {
    grid-column: auto;
    width: 100%;
    margin: 0;
    padding: 19px;
    border-radius: 17px;
  }

  .utility-card h3 {
    margin-top: 6px;
    font-size: 20px;
    line-height: 1.18;
  }

  .utility-card-core h3 {
    font-size: 25px;
  }

  .utility-card p:last-child {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
  }

  .access-strip {
    margin: 16px 0 0;
    padding: 16px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    line-height: 1.4;
  }

  .access-strip span {
    transform: rotate(90deg);
    line-height: 1;
  }

  .download-card {
    width: 100%;
    margin: 12px 0 0;
    padding: 20px 18px;
    border-radius: 17px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .download-card h2 {
    font-size: 25px;
  }

  .download-button {
    min-width: 0;
  }

  footer {
    padding: 28px 0 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 380px) {
  main,
  footer {
    width: calc(100% - 18px);
  }

  h1 {
    font-size: 32px;
  }

  .app-showcase {
    padding-left: 10px;
    padding-right: 10px;
  }

  .carousel-slide img {
    width: 100%;
  }

  .carousel-nav-button {
    padding: 0 8px;
    font-size: 11px;
  }
}
