:root {
  --green-980: #03150f;
  --green-950: #062118;
  --green-900: #083122;
  --green-800: #0d4a34;
  --green-700: #126144;
  --cream: #fff5dc;
  --cream-2: #eadfbd;
  --gold: #d9ad4f;
  --gold-2: #f5d987;
  --red: #c90b19;
  --ink: #10130f;
  --muted: #b9c8bc;
  --line: rgba(255, 245, 220, 0.16);
  --panel: rgba(255, 245, 220, 0.075);
  --panel-strong: rgba(255, 245, 220, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1160px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 76px;
  overflow-x: hidden;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 173, 79, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(201, 11, 25, 0.1), transparent 24rem),
    linear-gradient(180deg, var(--green-980), var(--green-950) 36%, #02110c 100%);
  color: var(--cream);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 245, 220, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 245, 220, 0.03) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

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

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

p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

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

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 20;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 21, 15, 0.76);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 245, 220, 0.06);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 21px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop {
  display: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--cream);
}

.language-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher a {
  min-width: 38px;
  padding: 6px 9px;
  border-radius: 999px;
  text-align: center;
}

.language-switcher a[aria-current="true"] {
  background: var(--gold-2);
  color: var(--green-980);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 760;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--green-980);
  background: linear-gradient(135deg, var(--cream), var(--gold-2));
  box-shadow: 0 18px 52px rgba(217, 173, 79, 0.24);
}

.button-secondary {
  color: var(--cream);
  background: rgba(255, 245, 220, 0.06);
  border-color: var(--line);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  max-width: 100%;
  min-height: 48px;
  line-height: 0;
  border-radius: 8px;
}

.hero-actions .app-store-badge,
.cta-row .app-store-badge {
  width: 245px;
}

.app-store-badge:hover {
  transform: translateY(-2px);
}

.app-store-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.section,
.hero {
  position: relative;
  overflow: hidden;
}

.section-inner,
.hero-inner,
.page-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 64px 0 92px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(38px, 7vw, 94px);
}

.eyebrow,
.section-kicker {
  color: var(--gold-2);
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-2);
}

.hero .eyebrow::before,
.page-hero .eyebrow::before {
  display: none;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  font-size: clamp(3.2rem, 8vw, 6.7rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2.05rem, 4.8vw, 4.2rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.18;
}

.hero-copy,
.section-copy,
.page-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

.hero-copy {
  max-width: 680px;
  margin-top: 24px;
}

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

.trust-line {
  margin-top: 20px;
  color: rgba(255, 245, 220, 0.72);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone-frame,
.tablet-frame {
  position: absolute;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame {
  width: min(58vw, 292px);
  right: 5%;
  top: 0;
  aspect-ratio: 1284 / 2778;
  border-radius: 38px;
  padding: 10px;
  transform: rotate(-3deg);
}

.tablet-frame {
  width: min(73vw, 430px);
  left: 0;
  bottom: 2%;
  aspect-ratio: 2048 / 2732;
  border-radius: 32px;
  padding: 12px;
  transform: rotate(4deg);
}

.phone-frame img,
.tablet-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  width: clamp(98px, 15vw, 132px);
  aspect-ratio: 480 / 706;
  overflow: hidden;
  border-radius: 8%;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.floating-card img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8%;
  object-fit: cover;
}

.floating-card.one {
  left: 7%;
  top: 6%;
  transform: rotate(-8deg);
}

.floating-card.two {
  right: -1%;
  bottom: 23%;
  transform: rotate(10deg);
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section-header {
  max-width: 770px;
  margin-bottom: 42px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-copy {
  margin-top: 16px;
}

.grid {
  display: grid;
  gap: 18px;
}

.why-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

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

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

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

.card,
.mode-card,
.stack-card,
.faq-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(255, 245, 220, 0.035));
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.16);
}

.card,
.mode-card,
.stack-card,
.faq-card,
.support-card {
  padding: 24px;
}

.card.large {
  padding: clamp(28px, 4vw, 48px);
  min-height: 360px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(3, 21, 15, 0.2), rgba(3, 21, 15, 0.88)),
    radial-gradient(circle at 86% 22%, rgba(217, 173, 79, 0.22), transparent 22rem),
    linear-gradient(135deg, rgba(255, 245, 220, 0.11), rgba(255, 245, 220, 0.03));
}

.card p,
.mode-card p,
.stack-card p,
.faq-card p,
.support-card p,
.support-card li {
  color: var(--muted);
}

.card h3 + p,
.mode-card h3 + p,
.stack-card h3 + p,
.faq-card h3 + p,
.support-card h3 + p {
  margin-top: 10px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.feature-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  padding: 14px;
}

.feature-row span:first-child,
.mode-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green-980);
  background: linear-gradient(145deg, var(--gold-2), var(--cream));
  font-weight: 900;
}

.feature-row span:first-child {
  color: #128a35;
  font-size: 1.72rem;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255, 245, 220, 0.5),
    0 8px 18px rgba(18, 138, 53, 0.28);
}

.stack-card {
  min-height: 190px;
  display: grid;
  align-content: space-between;
}

.stack-suit {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 900;
  color: #050706;
  -webkit-text-stroke: 1.1px var(--cream);
  text-shadow:
    0 0 1px var(--cream),
    0 8px 20px rgba(0, 0, 0, 0.28);
}

.stack-suit.red {
  color: var(--red);
}

.mode-card {
  min-height: 260px;
  display: grid;
  align-content: space-between;
}

.mode-icon {
  margin-bottom: 18px;
  color: #128a35;
  font-size: 1.72rem;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255, 245, 220, 0.5),
    0 8px 18px rgba(18, 138, 53, 0.28);
}

.disclaimer {
  margin-top: 24px;
  color: rgba(255, 245, 220, 0.68);
  font-size: 0.94rem;
}

.screenshots {
  display: grid;
  grid-template-columns: 0.74fr 0.74fr 1.25fr;
  gap: 22px;
  align-items: end;
}

.screenshot-card {
  margin: 0;
}

.screenshot-frame {
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.screenshot-frame.tablet {
  border-radius: 30px;
}

.screenshot-frame img {
  width: 100%;
  border-radius: 25px;
}

.screenshot-frame.tablet img {
  border-radius: 21px;
}

figcaption {
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 14px;
}

.practice-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3, 21, 15, 0.96), rgba(3, 21, 15, 0.68)),
    radial-gradient(circle at 88% 36%, rgba(217, 173, 79, 0.2), transparent 28rem);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 245, 220, 0.06);
  color: var(--cream);
  padding: 10px 14px;
}

.reviews-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 173, 79, 0.14), transparent 22rem),
    radial-gradient(circle at 92% 20%, rgba(201, 11, 25, 0.08), transparent 20rem),
    linear-gradient(180deg, rgba(255, 245, 220, 0.035), rgba(255, 245, 220, 0)),
    rgba(0, 0, 0, 0.1);
}

.rating-pill {
  width: max-content;
  max-width: 100%;
  margin: 22px auto 0;
  border: 1px solid rgba(245, 217, 135, 0.4);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--gold-2);
  background: rgba(217, 173, 79, 0.09);
  font-weight: 780;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.review-card {
  --review-accent: var(--gold-2);
  position: relative;
  isolation: isolate;
  min-height: 276px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 245, 220, 0.18);
  border-radius: var(--radius);
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 245, 220, 0.12), rgba(255, 245, 220, 0.035)),
    rgba(3, 21, 15, 0.74);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 245, 220, 0.12);
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 4px;
  background: linear-gradient(90deg, var(--review-accent), rgba(255, 245, 220, 0.16));
}

.review-card::after {
  content: "“";
  position: absolute;
  right: 18px;
  bottom: -30px;
  z-index: -1;
  color: var(--review-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8.5rem;
  line-height: 1;
  opacity: 0.08;
}

.review-card:nth-child(2) {
  --review-accent: #f0c766;
}

.review-card:nth-child(3) {
  --review-accent: #7fd29b;
}

.review-card:nth-child(4) {
  --review-accent: #e88873;
}

.review-card:nth-child(5) {
  --review-accent: #9fc9ff;
}

.review-card:nth-child(6) {
  --review-accent: #d7c3ff;
}

.stars {
  width: max-content;
  display: inline-flex;
  gap: 3px;
  border: 1px solid rgba(245, 217, 135, 0.22);
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--gold-2);
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 245, 220, 0.08);
}

.stars .star-muted {
  color: rgba(255, 245, 220, 0.24);
}

.review-card h3 {
  color: var(--cream);
  font-size: 1.12rem;
  line-height: 1.2;
}

.review-card blockquote {
  margin: 0;
  color: var(--cream);
  font-size: 1.02rem;
  line-height: 1.55;
  padding-left: 14px;
  border-left: 2px solid var(--review-accent);
}

.review-meta {
  margin-top: auto;
  border-top: 1px solid rgba(255, 245, 220, 0.1);
  padding-top: 14px;
  color: rgba(255, 245, 220, 0.7);
  font-size: 0.9rem;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(217, 173, 79, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(217, 173, 79, 0.24), transparent 22rem),
    linear-gradient(135deg, rgba(255, 245, 220, 0.13), rgba(255, 245, 220, 0.04));
  padding: clamp(28px, 5vw, 58px);
}

.qr-box {
  width: 172px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  padding: 12px;
  text-align: center;
}

.qr-image-frame {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.qr-image-frame img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.qr-box small {
  display: block;
  margin-top: 8px;
  color: #4d432f;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  text-transform: uppercase;
}

.page-hero {
  padding: clamp(70px, 10vw, 120px) 0 46px;
}

.page-inner {
  max-width: 920px;
}

.page-copy {
  margin-top: 18px;
}

.content-stack {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.content-stack h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.contact-box {
  margin-top: 28px;
}

.form-intro {
  margin-bottom: 22px;
}

.support-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-form label {
  color: var(--cream);
  font-weight: 760;
}

.support-form input,
.support-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.18);
  padding: 12px 14px;
  font: inherit;
}

.support-form textarea {
  min-height: 150px;
  resize: vertical;
}

.support-form input::placeholder,
.support-form textarea::placeholder {
  color: rgba(255, 245, 220, 0.48);
}

.support-form .button {
  width: max-content;
  margin-top: 8px;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 34px 0;
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1060px) {
  .nav {
    min-height: 74px;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    position: relative;
    z-index: 20;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 18;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 180ms ease;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 19;
    width: min(86vw, 380px);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 92px 22px 22px;
    overflow-y: auto;
    color: var(--cream);
    background:
      radial-gradient(circle at 80% 0%, rgba(217, 173, 79, 0.16), transparent 16rem),
      linear-gradient(180deg, rgba(3, 21, 15, 0.98), rgba(6, 33, 24, 0.98));
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  body.menu-open .nav-links {
    transform: translateX(0);
  }

  .nav-links > a:not(.button) {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 245, 220, 0.1);
    font-size: 1.05rem;
  }

  .nav-links .button {
    margin-top: 14px;
    width: 100%;
  }

  .nav-links .app-store-badge {
    width: 220px;
    margin-top: 14px;
  }

  .hero-inner,
  .why-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 590px;
  }

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

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

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

  .screenshots .screenshot-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .nav-links {
    width: min(88vw, 360px);
  }

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

  .button {
    width: 100%;
  }

  .support-form .button {
    width: 100%;
  }

  .app-store-badge {
    width: min(100%, 245px);
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone-frame {
    width: min(70vw, 260px);
    right: 0;
  }

  .tablet-frame {
    width: min(90vw, 360px);
  }

  .floating-card {
    width: 90px;
  }

  .two-grid,
  .four-grid,
  .five-grid,
  .reviews-grid,
  .screenshots {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: auto;
  }

  .qr-box {
    width: 100%;
    max-width: 190px;
  }

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
