:root {
  --bg: #0f1114;
  --bg-elevated: #171a1f;
  --panel: #1d2026;
  --panel-strong: #252932;
  --text: #f2ead8;
  --muted: #b5aa92;
  --gold: #cda15b;
  --gold-strong: #efbf6f;
  --line: rgba(242, 234, 216, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --font-display: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(205, 161, 91, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(15, 17, 20, 0.95), rgba(15, 17, 20, 0.99)),
    url("assets/console-texture.png");
  background-size: auto, auto, 580px;
  background-attachment: fixed;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* -------- Header -------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 3vw, 42px);
  backdrop-filter: blur(16px);
  background: rgba(12, 14, 17, 0.78);
  border-bottom: 1px solid var(--line);
}

/* When the header sits on top of the hero band */
.site-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  backdrop-filter: none;
  border-bottom: none;
  padding: 18px clamp(18px, 3vw, 48px);
  align-items: flex-start;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: clamp(140px, 16vw, 220px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.6));
}

.brand img:not(.brand-mark) {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.brand span em {
  font-style: italic;
  color: var(--gold-strong);
  margin-left: 2px;
}

.site-header-overlay .site-nav {
  margin-top: 8px;
}

.site-header-overlay .site-nav a {
  color: rgba(242, 234, 216, 0.85);
}

.site-header-overlay .site-nav a:hover,
.site-header-overlay .site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Get-the-App CTA pill that lives in the nav (above the fold) */
.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  padding: 9px 16px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold)) !important;
  color: #140f08 !important;
  font-weight: 700 !important;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(205, 161, 91, 0.6) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  white-space: nowrap;
}

.nav-cta:hover,
.site-header-overlay .nav-cta:hover {
  color: #140f08 !important;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold)) !important;
  border-color: rgba(205, 161, 91, 0.8) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  filter: brightness(1.05);
}

.nav-cta-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .nav-cta {
    margin-left: 6px;
    padding: 8px 14px !important;
    font-size: 0.82rem;
  }
  .nav-cta-icon { width: 12px; height: 12px; }
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  border-color: rgba(205, 161, 91, 0.4);
  background: rgba(205, 161, 91, 0.12);
}

/* Dropdown nav */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: 180ms ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: var(--text);
  border-color: rgba(205, 161, 91, 0.4);
  background: rgba(205, 161, 91, 0.12);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(11, 12, 15, 0.96);
  border: 1px solid rgba(205, 161, 91, 0.4);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 8px;
  border: none;
  background: transparent;
  transition: background 120ms ease, color 120ms ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active {
  color: var(--text);
  background: rgba(205, 161, 91, 0.15);
}

@media (max-width: 820px) {
  .nav-dropdown-menu {
    right: auto;
    left: 0;
  }
}

/* -------- Section base -------- */

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

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

h1, h2, h3 { margin: 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
}

h1 em, h2 em {
  font-style: italic;
  color: var(--gold-strong);
}

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

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p,
.hero-text,
.feature-card p,
.video-placeholder p {
  color: var(--muted);
  line-height: 1.7;
}

/* -------- Hero band: 4-image slideshow + 3 phone mockups -------- */

.hero-band {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
  background: #0a0a0a;
  aspect-ratio: 16 / 9;
  max-height: 86vh;
  min-height: 540px;
  border-bottom: 2px solid var(--gold);
}

/* Slideshow */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

/* Subtle dark overlay on top of the slideshow so the header text reads */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

/* Big "Download on App Store" CTA centered in the hero band, above the 3 phones */
.hero-cta-badge {
  position: absolute;
  top: clamp(90px, 16vh, 180px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: block;
  transition: transform 200ms ease, filter 200ms ease;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55));
}

.hero-cta-badge:hover,
.hero-cta-badge:focus-visible {
  transform: translateX(-50%) translateY(-3px);
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.7)) brightness(1.05);
  outline: none;
}

.hero-cta-badge img {
  height: clamp(72px, 9vw, 108px);
  width: auto;
  display: block;
}

@media (max-width: 720px) {
  .hero-cta-badge {
    top: clamp(80px, 14vh, 130px);
  }
  .hero-cta-badge img {
    height: clamp(58px, 16vw, 84px);
  }
}

/* 3-phones overlay anchored to the gold line at the bottom of the hero band */
.hero-band-phones {
  position: absolute;
  left: 50%;
  bottom: -76px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(880px, 74vw);
  pointer-events: none;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}


.hero-phones-image {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 720px) {
  .hero-band {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
  .hero-band-phones {
    width: 90vw;
    bottom: -32px;
  }
}

/* -------- Hero copy: full-width text flowing around a floated phone image -------- */

.hero-copy {
  padding-top: 56px;
  padding-bottom: 64px;
  /* Allow floats inside to be cleared at the section boundary */
}

.hero-copy::after {
  content: "";
  display: block;
  clear: both;
}

/* Phone popup screen — floats right so all hero text wraps around it */
.hero-phone-popup {
  position: relative;
  float: right;
  width: clamp(240px, 32vw, 400px);
  margin: 0 0 24px 32px;
  padding: 10px;
  border-radius: 28px;
  border: 1px solid rgba(205, 161, 91, 0.42);
  background: linear-gradient(180deg, rgba(28, 30, 36, 0.85), rgba(14, 16, 20, 0.9));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: visible;
}

.hero-phone-popup-screen {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* Finger-flex flag, stacked diagonally across the top-left corner */
.hero-phone-popup-flag {
  position: absolute;
  top: -8%;
  left: -14%;
  width: 62%;
  max-width: none;
  height: auto;
  transform: rotate(-14deg);
  transform-origin: center center;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
}

@media (max-width: 720px) {
  .hero-phone-popup-flag {
    top: -6%;
    left: -10%;
    width: 56%;
  }
}

/* Gold emblem sits inline at the top-left of the copy block */
.hero-emblem {
  margin-bottom: 24px;
}

.hero-emblem img {
  width: clamp(120px, 14vw, 180px);
  border-radius: 18px;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.55));
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  max-width: none;
}

.hero-copy h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  margin-top: 8px;
}

.eyebrow-spaced {
  margin-top: 56px;
}

@media (max-width: 720px) {
  .hero-phone-popup {
    float: none;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 24px;
    display: block;
  }
}

.hero-text {
  margin-top: 18px;
  max-width: 60ch;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(205, 161, 91, 0.4);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.button-primary {
  color: #140f08;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-pills li {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .hero-copy { padding-top: 48px; }
  .hero-emblem img { max-width: 160px; }
}

/* -------- Why / About intro -------- */

.why-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.why-section .section-heading p {
  font-size: 1.05rem;
}

/* -------- Feature trio -------- */

.feature-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 24px;
  padding-bottom: 80px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 28px 36px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(28, 30, 36, 0.96), rgba(17, 19, 24, 0.98)),
    url("assets/leather-panel.png");
  background-size: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.005em;
}

.feature-card p {
  margin: 12px 0 0;
  font-size: 0.98rem;
  max-width: 32ch;
}

.feature-card-phone {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 22px;
}

.feature-card-phone img,
.feature-card-phone video,
.feature-card-video {
  width: 100%;
  max-width: 320px;
  border-radius: 42px;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
  background: #0a0a0a;
  display: block;
}

@media (max-width: 980px) {
  .feature-trio { grid-template-columns: 1fr; }
  .feature-card-phone img,
  .feature-card-phone video,
  .feature-card-video { max-width: 360px; }
}

/* -------- Movable patterns manifesto banner -------- */

.manifesto-section {
  width: 100%;
  text-align: center;
  padding: 64px 0;
  margin: 16px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(20, 22, 26, 0.6), rgba(14, 16, 20, 0.85)),
    url("assets/leather-panel.png");
  background-size: cover;
}

.manifesto-inner {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.manifesto-section .eyebrow {
  margin-bottom: 18px;
}

.manifesto-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.manifesto-section p {
  max-width: 64ch;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* -------- AR Trainer Spotlight (2-col) -------- */

.ar-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 32px;
  padding-bottom: 80px;
}

.ar-spotlight-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.ar-spotlight-copy p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.ar-spotlight-visual {
  display: flex;
  justify-content: center;
}

.ar-spotlight-visual img,
.ar-spotlight-visual video,
.ar-spotlight-video {
  width: 100%;
  max-width: 380px;
  border-radius: 42px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
  background: #0a0a0a;
  display: block;
}

@media (max-width: 920px) {
  .ar-spotlight {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .ar-spotlight-visual {
    order: -1;
  }
}

/* -------- How it works: 3 steps (legacy, currently unused) -------- */

.how-section {
  padding-top: 32px;
  padding-bottom: 64px;
}

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

.how-step {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(28, 30, 36, 0.96), rgba(17, 19, 24, 0.98)),
    url("assets/leather-panel.png");
  background-size: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  color: #140f08;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.how-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.005em;
}

.how-step p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

@media (max-width: 920px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* -------- Video section -------- */

.video-section { padding-bottom: 24px; }

.video-shell { display: block; }

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(14, 16, 20, 0.88), rgba(10, 11, 14, 0.95)),
    url("assets/console-texture.png");
  background-size: cover;
  box-shadow: var(--shadow);
}

.promo-video,
.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.promo-video {
  display: block;
  background: #050506;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.56), rgba(12, 12, 14, 0.86));
  background-size: cover;
  background-position: center;
}

.video-placeholder-copy {
  max-width: 460px;
  padding: 24px;
  text-align: center;
  border-radius: 22px;
  backdrop-filter: blur(12px);
  background: rgba(11, 12, 15, 0.68);
  border: 1px solid rgba(205, 161, 91, 0.28);
}

.video-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 12px;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #140f08;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
}

/* -------- Final CTA -------- */

.cta-section { padding-bottom: 72px; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
}

.appstore-badge {
  display: inline-block;
  transition: transform 180ms ease, filter 180ms ease;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.appstore-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
}

.appstore-badge img {
  height: 56px;
  width: auto;
  display: block;
}

/* -------- Contact form -------- */

.cta-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(28px, 4vw, 40px);
  margin-top: 24px;
}

.cta-app,
.cta-contact {
  width: 100%;
}

.cta-app-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form {
  position: relative;
  padding: 28px 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(25, 28, 34, 0.96), rgba(17, 19, 24, 0.98)),
    url("assets/leather-panel.png");
  background-size: cover;
  box-shadow: var(--shadow);
}

.form-eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-strong);
  font-size: 1.15rem;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font: 0.98rem var(--font-body);
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(205, 161, 91, 0.25);
  border-radius: 14px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.5);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-body);
}

.contact-form .button {
  margin-top: 10px;
}

/* Honeypot — invisible to humans, visible to dumb bots */
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status-success { color: var(--gold-strong); }
.form-status-error { color: #ff8a7a; }

.form-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.email-link {
  color: var(--gold-strong);
  border-bottom: 1px dashed currentColor;
  cursor: pointer;
}

@media (max-width: 720px) {
  .cta-grid { grid-template-columns: 1fr; }
}

/* -------- Footer -------- */

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p { margin: 6px 0; }

.site-footer a {
  color: var(--gold-strong);
  border-bottom: 1px dashed transparent;
  transition: border-color 120ms ease;
}

.site-footer a:hover {
  border-bottom-color: currentColor;
}

code {
  padding: 0.18rem 0.42rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-strong);
}

/* -------- Responsive tweaks -------- */

@media (max-width: 820px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .brand span { font-size: 0.92rem; }
}

/* -------- Legal / long-form pages -------- */

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

.legal-section {
  max-width: 800px;
}

.legal-section h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin: 0 0 12px;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 40px 0 14px;
  color: var(--text);
}

.legal-section h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.2rem;
  margin: 24px 0 10px;
  color: var(--gold-strong);
}

.legal-section p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
  margin: 0 0 16px;
}

.legal-section ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--muted);
}

.legal-section li {
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--gold-strong);
  border-bottom: 1px dashed currentColor;
}

.legal-section a:hover {
  border-bottom-style: solid;
}

.legal-meta {
  margin-top: 4px !important;
  margin-bottom: 32px !important;
  color: var(--muted);
  font-size: 0.92rem !important;
  font-style: italic;
}

.legal-contact-link {
  font-weight: 600;
}

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

/* SEO landing page hero banner (image at top) */
.seo-hero {
  position: relative;
  width: 100%;
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(205, 161, 91, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.seo-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.seo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(11, 12, 15, 0.45) 100%);
  pointer-events: none;
}

/* Accent images inside long-form articles */
.accent-image {
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.accent-image img {
  width: 100%;
  height: auto;
  display: block;
}

.accent-image figcaption {
  padding: 10px 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
  background: rgba(0, 0, 0, 0.35);
}

.accent-image-right {
  float: right;
  width: min(320px, 45%);
  margin: 8px 0 18px 24px;
}

.accent-image-left {
  float: left;
  width: min(320px, 45%);
  margin: 8px 24px 18px 0;
}

.accent-image-phone {
  /* For phone screenshot accents, slightly narrower */
  max-width: 240px;
}

@media (max-width: 720px) {
  .accent-image-right,
  .accent-image-left {
    float: none;
    width: 100%;
    max-width: 360px;
    margin: 18px auto;
  }
}

/* SEO landing page CTA block */
.seo-cta {
  clear: both;
  margin: 48px 0 24px;
  padding: 32px 28px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(205, 161, 91, 0.35);
  background:
    linear-gradient(180deg, rgba(28, 30, 36, 0.96), rgba(17, 19, 24, 0.98)),
    url("assets/leather-panel.png");
  background-size: cover;
}

.legal-section .legal-footnote {
  clear: both;
}

.seo-cta .eyebrow {
  margin-bottom: 10px;
}

.seo-cta-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 22px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--text);
}

.seo-cta .appstore-badge img {
  height: 56px;
  width: auto;
}
