:root {
  color-scheme: light;
  --bg: #fbf6ec;
  --paper: #fffaf1;
  --paper-strong: #ffffff;
  --ink: #201814;
  --muted: #6f6258;
  --line: rgba(65, 45, 32, 0.14);
  --rust: #ad5436;
  --sage: #78936f;
  --gold: #d7a64a;
  --berry: #7c3d52;
  --shadow: 0 24px 70px rgba(77, 54, 35, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(215, 166, 74, 0.24), transparent 28rem),
    radial-gradient(circle at 85% 0%, rgba(120, 147, 111, 0.22), transparent 30rem),
    linear-gradient(180deg, #fff9ed 0%, var(--bg) 42%, #f5eadb 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(32, 24, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 24, 20, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(32, 24, 20, 0.18);
}

.site-nav {
  display: flex;
  gap: 6px;
  padding: 5px;
  color: var(--muted);
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.site-nav a {
  padding: 9px 14px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--paper-strong);
  outline: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 54px 0 86px;
}

.eyebrow,
.status-pill,
.shelf-label,
.recommendation-card span,
.feature-number {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rust);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 8vw, 7.75rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(32, 24, 20, 0.22);
}

.button:hover,
.button:focus-visible {
  background: #3a2b23;
  outline: none;
  transform: translateY(-1px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--muted);
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-card {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-card::before {
  position: absolute;
  width: 72%;
  height: 72%;
  content: "";
  background: rgba(173, 84, 54, 0.13);
  border-radius: 999px;
  filter: blur(20px);
}

.phone-frame {
  position: relative;
  width: min(360px, 100%);
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a211c, #14100e);
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 88px;
  height: 7px;
  margin: 0 auto 18px;
  background: rgba(255, 250, 241, 0.32);
  border-radius: 999px;
}

.shelf-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff3db, #e9d2ad);
  border-radius: 30px;
}

.shelf-label {
  display: inline-block;
  margin-bottom: 22px;
  color: #5f3a2a;
}

.book-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: end;
  min-height: 188px;
  padding: 18px 12px 0;
  border-bottom: 10px solid rgba(92, 58, 34, 0.34);
}

.book {
  display: block;
  height: 148px;
  border-radius: 8px 8px 3px 3px;
  box-shadow: inset 10px 0 rgba(255, 255, 255, 0.16);
}

.book.tall {
  height: 176px;
}

.rust {
  background: var(--rust);
}

.sage {
  background: var(--sage);
}

.ink {
  background: #293747;
}

.cream {
  background: #f0dfbd;
}

.berry {
  background: var(--berry);
}

.gold {
  background: var(--gold);
}

.scan-line {
  position: absolute;
  right: 18px;
  bottom: 74px;
  left: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

.recommendation-card {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 18px;
  color: var(--paper);
  background: rgba(255, 250, 241, 0.1);
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 24px;
}

.recommendation-card span {
  color: rgba(255, 250, 241, 0.66);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 16px 0 96px;
}

.feature-card,
.coming-soon {
  background: rgba(255, 250, 241, 0.8);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(77, 54, 35, 0.08);
  backdrop-filter: blur(16px);
}

.feature-card {
  min-height: 310px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
}

.feature-number {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--rust);
}

.feature-card h2,
.coming-soon h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.feature-card p,
.coming-soon p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.coming-soon {
  margin-bottom: 40px;
  padding: clamp(32px, 6vw, 72px);
  text-align: center;
  border-radius: calc(var(--radius) + 10px);
}

.coming-soon h2 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.coming-soon p:last-child {
  margin-bottom: 0;
  font-weight: 750;
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

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

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

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

  .hero-card {
    order: -1;
  }

  .features {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }
}

@media (max-width: 540px) {
  .site-header,
  main {
    width: min(100% - 28px, 1120px);
  }

  .site-nav a {
    padding-inline: 12px;
    white-space: nowrap;
  }

  .hero {
    padding-bottom: 52px;
  }

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

  .feature-number {
    margin-bottom: 28px;
  }
}

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