:root {
  color-scheme: light;
  --ink: #071229;
  --text: #31405d;
  --muted: #68738d;
  --paper: #fbf8f1;
  --surface: #fffdf8;
  --line: #e3dccd;
  --red: #a91620;
  --red-deep: #7e1119;
  --green: #216250;
  --green-soft: #e7f1eb;
  --gold: #c79a3c;
  --shadow: 0 24px 80px rgba(7, 18, 41, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(199, 154, 60, 0.18), transparent 34rem),
    linear-gradient(180deg, #fffaf0 0%, #f6efe4 48%, #f9f6ef 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  padding: 24px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(7, 18, 41, 0.16);
}

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

nav a,
.site-footer a {
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  color: var(--red);
}

.hero,
.section,
.support-band,
.policy {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 72px;
  padding: 42px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--ink);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.9;
}

.lede {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-button {
  display: inline-flex;
  min-height: 54px;
  min-width: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  border-radius: 8px;
  border: 1px solid rgba(104, 115, 141, 0.22);
  background: rgba(255, 253, 248, 0.62);
  color: var(--muted);
}

.store-button.disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.store-label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 900;
}

.store-status {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 16px 36px rgba(169, 22, 32, 0.24);
}

.button.primary:hover {
  background: var(--red-deep);
}

.button.secondary {
  border: 1px solid rgba(169, 22, 32, 0.28);
  color: var(--red);
  background: rgba(255, 253, 248, 0.7);
}

.phone-preview {
  width: min(100%, 410px);
  margin: 0 auto;
  border-radius: 42px;
  padding: 14px;
  background: #101728;
  box-shadow: var(--shadow);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px 15px;
}

.phone-status span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.phone-status span:first-child {
  width: 54px;
}

.phone-status span:last-child {
  width: 86px;
}

.app-card {
  min-height: 620px;
  border-radius: 32px;
  padding: 34px 24px 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 248, 241, 0.98)),
    var(--surface);
}

.show-title {
  margin-bottom: 12px;
  color: #596781;
  font-family: "Courier New", ui-monospace, monospace;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-card h2 {
  max-width: 290px;
  margin-bottom: 28px;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 2.25rem;
  line-height: 1.02;
}

.cue,
.line {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.76);
}

.cue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.cue span,
.line span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cue strong {
  color: var(--green);
}

.line {
  margin-top: 14px;
  padding: 18px;
}

.line p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.42;
}

.line.actor {
  border-color: rgba(33, 98, 80, 0.26);
  background: var(--green-soft);
}

.line.actor p {
  color: var(--green);
  font-weight: 800;
}

.controls {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 58px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.controls span,
.controls strong {
  display: block;
  margin: auto;
  border-radius: 999px;
  background: var(--ink);
}

.controls span {
  width: 44px;
  height: 44px;
  opacity: 0.9;
}

.controls strong {
  width: 64px;
  height: 64px;
  background: var(--red);
}

.section {
  padding: 62px 0;
}

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

.section-heading h2,
.support-band h2,
.policy h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 174px;
  border: 1px solid rgba(104, 115, 141, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.72);
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.feature-grid p,
.policy p {
  color: var(--text);
  line-height: 1.65;
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  border-top: 1px solid rgba(104, 115, 141, 0.2);
  border-bottom: 1px solid rgba(104, 115, 141, 0.2);
  padding: 34px 0;
}

.support-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.site-footer {
  padding: 28px 0 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy {
  max-width: 820px;
  padding: 72px 0;
}

.policy h1 {
  margin-bottom: 22px;
}

.policy h2 {
  margin-top: 34px;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.policy a {
  color: var(--red);
  font-weight: 800;
}

.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.not-found img {
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(7, 18, 41, 0.16);
}

.not-found h1 {
  margin: 24px 0 12px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 8vw, 4rem);
}

.not-found p {
  color: var(--text);
}

@media (max-width: 880px) {
  .site-header,
  .site-footer,
  .support-band {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 46px;
  }

  .feature-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 0 14px;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .feature-grid article {
    width: min(78vw, 320px);
    min-width: min(78vw, 320px);
    min-height: 158px;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .support-band,
  .policy,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 3.2rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .phone-preview {
    border-radius: 32px;
    padding: 10px;
  }

  .app-card {
    min-height: 560px;
    border-radius: 24px;
    padding: 28px 18px 22px;
  }

  .app-card h2 {
    font-size: 1.9rem;
  }

  .store-actions,
  .store-button {
    width: 100%;
  }
}
