:root {
  color-scheme: dark;
  --canvas: #0b0b0e;
  --sunken: #070709;
  --raised: #16171c;
  --raised-hi: #1e2026;
  --navy: #1a2238;
  --text: #f5f6f8;
  --text-secondary: #9ca0aa;
  --text-tertiary: #6b6f78;
  --lime: #c8ff3d;
  --lime-hot: #b6f02a;
  --coral: #ff5747;
  --gold: #ffb547;
  --teal: #3fa9d4;
  --emerald: #3fce7f;
  --outline: rgba(245, 246, 248, 0.14);
  --outline-soft: rgba(245, 246, 248, 0.08);
  --shadow-hero: 0 24px 80px rgba(0, 0, 0, 0.68), 0 0 120px rgba(255, 87, 71, 0.18);
  --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.34);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--lime);
  color: var(--canvas);
  padding: 10px 14px;
  font-weight: 700;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 18px max(20px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(11, 11, 14, 0.88), rgba(11, 11, 14, 0.22), rgba(11, 11, 14, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 0 28px rgba(200, 255, 61, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgba(245, 246, 248, 0.72);
  font-size: 0.94rem;
}

.nav-links a,
.footer-links a {
  transition: color 160ms ease-out;
}

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

.nav-cta {
  border: 1px solid rgba(200, 255, 61, 0.34);
  border-radius: 999px;
  color: var(--lime);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 15px;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 148px max(20px, calc((100vw - var(--max)) / 2)) 72px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(11, 11, 14, 0), var(--canvas));
  z-index: -1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 11, 14, 0.96) 0%, rgba(11, 11, 14, 0.76) 38%, rgba(11, 11, 14, 0.42) 62%, rgba(11, 11, 14, 0.72) 100%),
    linear-gradient(180deg, rgba(11, 11, 14, 0.28), rgba(11, 11, 14, 0.92)),
    url("assets/welcome-hero.png") center right 12% / min(76vw, 980px) auto no-repeat,
    var(--canvas);
  transform: scale(1.02);
}

.hero-content {
  max-width: 760px;
  animation: lift-in 620ms ease-out both;
}

.kicker {
  margin: 0 0 14px;
  color: var(--text-tertiary);
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.accent-coral {
  color: var(--coral);
}

.accent-gold {
  color: var(--gold);
}

.accent-teal {
  color: var(--teal);
}

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

h1 {
  margin-bottom: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 5.4rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin-bottom: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 3.2rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-line {
  margin-bottom: 18px;
  color: var(--lime);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.06;
}

.hero-copy,
.section-copy p,
.library-copy p {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 140ms ease-out, background 140ms ease-out, border-color 140ms ease-out;
}

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

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--lime);
  color: var(--canvas);
  box-shadow: 0 0 28px rgba(200, 255, 61, 0.28);
}

.button-primary:hover {
  background: var(--lime-hot);
}

.button-secondary {
  border: 1.5px solid rgba(63, 169, 212, 0.74);
  color: var(--teal);
}

.app-store-placeholder {
  cursor: not-allowed;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--outline-soft);
  background: var(--outline-soft);
}

.proof-item {
  min-height: 190px;
  padding: 26px;
  background: var(--raised);
}

.proof-mark {
  display: block;
  margin-bottom: 28px;
  color: var(--lime);
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.proof-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.proof-item p,
.step-card p,
.status-row p,
.verdict p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 112px 20px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 72px;
}

.phone-stage {
  display: grid;
  justify-items: center;
}

.phone {
  width: min(100%, 360px);
  padding: 12px;
  border: 1px solid rgba(245, 246, 248, 0.18);
  border-radius: 44px;
  background: #050506;
  box-shadow: var(--shadow-hero);
}

.phone-screen {
  position: relative;
  min-height: 688px;
  overflow: hidden;
  border-radius: 34px;
  background: var(--canvas);
  padding: 30px 22px 24px;
}

.phone-wash {
  position: absolute;
  inset: 0 0 auto;
  height: 250px;
  background: linear-gradient(180deg, rgba(255, 87, 71, 0.36), rgba(11, 11, 14, 0));
  pointer-events: none;
}

.phone-kicker,
.phone-screen h3,
.phone-screen .author,
.phone-screen .meta,
.phone-screen .phone-button,
.phone-screen .verdict {
  position: relative;
}

.phone-kicker {
  text-align: center;
  color: rgba(245, 246, 248, 0.72);
}

.book-cover {
  position: relative;
  width: 206px;
  height: 286px;
  margin: 28px auto 24px;
  overflow: hidden;
  border: 1px solid rgba(245, 246, 248, 0.18);
  border-radius: 6px;
  background: var(--raised-hi);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.62), 0 0 90px rgba(255, 87, 71, 0.2);
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen h3 {
  margin-bottom: 4px;
  text-align: center;
  font-size: 1.8rem;
}

.author,
.meta {
  text-align: center;
}

.author {
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.meta {
  color: var(--text-tertiary);
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-button {
  display: grid;
  place-items: center;
  height: 52px;
  margin-top: 24px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--canvas);
  font-weight: 900;
  box-shadow: 0 0 24px rgba(200, 255, 61, 0.3);
}

.verdict {
  margin-top: 18px;
  border: 1px solid var(--outline-soft);
  border-radius: 16px;
  background: var(--raised);
  padding: 16px;
}

.verdict .kicker {
  margin-bottom: 8px;
}

.taste-section {
  display: grid;
  gap: 34px;
}

.taste-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step-card {
  border: 1px solid var(--outline-soft);
  border-radius: 16px;
  background: var(--raised);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.step-card span {
  display: inline-block;
  margin-bottom: 36px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  color: var(--lime);
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.status-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 72px;
  padding-top: 42px;
}

.status-board {
  display: grid;
  gap: 10px;
}

.status-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  border: 1px solid var(--outline-soft);
  border-radius: 16px;
  background: var(--raised);
  padding: 18px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  box-shadow: 0 0 22px currentColor;
}

.status-dot.want {
  color: var(--teal);
  background: var(--teal);
}

.status-dot.reading {
  color: var(--coral);
  background: var(--coral);
}

.status-dot.finished {
  color: var(--emerald);
  background: var(--emerald);
}

.status-row p {
  text-align: right;
}

.cta-section {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  padding: 104px 20px 122px;
  text-align: center;
}

.cta-section img {
  border-radius: 22px;
  box-shadow: 0 0 46px rgba(200, 255, 61, 0.24);
}

.cta-section h2 {
  margin-bottom: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--outline-soft);
  padding: 28px 20px 34px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.92rem;
}

.legal-main {
  max-width: 840px;
  margin: 0 auto;
  padding: 148px 20px 96px;
}

.legal-panel {
  border: 1px solid var(--outline-soft);
  border-radius: 18px;
  background: var(--raised);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.legal-panel h1 {
  font-size: 3.1rem;
}

.legal-panel h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.legal-panel p,
.legal-panel li {
  color: var(--text-secondary);
}

.legal-panel strong {
  color: var(--text);
}

.legal-panel ul {
  padding-left: 20px;
}

.legal-section {
  margin-top: 34px;
  border-top: 1px solid var(--outline-soft);
  padding-top: 26px;
}

.legal-section li + li {
  margin-top: 10px;
}

.legal-note {
  margin-top: 28px;
  border-left: 3px solid var(--lime);
  padding-left: 16px;
}

.legal-contact {
  margin-top: 36px;
  border-left: 3px solid var(--lime);
  padding-left: 16px;
}

.legal-contact a {
  color: var(--lime);
  font-weight: 800;
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 124px 20px 54px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(11, 11, 14, 0.10) 0%, rgba(11, 11, 14, 0.54) 30%, rgba(11, 11, 14, 0.96) 48%, rgba(11, 11, 14, 0.98) 100%),
      url("assets/welcome-hero.png") top -172px center / min(118vw, 480px) auto no-repeat,
      var(--canvas);
  }

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-line {
    font-size: 1.68rem;
  }

  .proof-band,
  .editorial-grid,
  .taste-steps,
  .status-section {
    grid-template-columns: 1fr;
  }

  .proof-band {
    border-left: 0;
    border-right: 0;
  }

  .section {
    padding: 78px 20px;
  }

  .editorial-grid,
  .status-section {
    gap: 42px;
  }

  .phone {
    width: min(100%, 336px);
  }

  .phone-screen {
    min-height: 650px;
  }

  .status-row {
    grid-template-columns: 16px 1fr;
  }

  .status-row p {
    grid-column: 2;
    text-align: left;
  }

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

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

@media (max-width: 480px) {
  .nav-cta {
    font-size: 0.78rem;
    padding: 9px 12px;
  }

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

  .button {
    min-height: 50px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .proof-item,
  .step-card,
  .legal-panel {
    padding: 22px;
  }

  .book-cover {
    width: 184px;
    height: 256px;
  }

  .phone-screen h3 {
    font-size: 1.45rem;
  }
}

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