:root {
  color-scheme: dark;
  --dusk: #2a2438;
  --dusk-deep: #181426;
  --dusk-ink: #12101d;
  --card: #382f4a;
  --card-soft: #463b5c;
  --cream: #f3e9dd;
  --cream-soft: #b7a48c;
  --rose: #d98c9e;
  --rose-deep: #b98798;
  --terracotta: #d98c5e;
  --sage: #8fa8a0;
  --forest: #1e2a22;
  --gold: #e7b45a;
  --line: rgba(243, 233, 221, 0.16);
  --shadow: rgba(10, 7, 18, 0.42);
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dusk-deep);
  color: var(--cream);
  font-family:
    ui-rounded, "Nunito", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a:focus-visible {
  outline: 3px solid rgba(231, 180, 90, 0.74);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(243, 233, 221, 0.1);
  background: rgba(24, 20, 38, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--cream);
  font-weight: 900;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(243, 233, 221, 0.64);
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 47%, var(--cream) 48% 52%, transparent 53%),
    linear-gradient(180deg, var(--gold) 0 42%, var(--card) 42%);
  box-shadow: inset 0 -8px 0 rgba(217, 140, 158, 0.28);
}

.nav-links {
  gap: 24px;
  color: rgba(243, 233, 221, 0.72);
  font-size: 15px;
  font-weight: 800;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(720px, 76svh);
  overflow: hidden;
  background-image: url("assets/app-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(18, 16, 29, 0.96) 0%,
      rgba(42, 36, 56, 0.88) 33%,
      rgba(42, 36, 56, 0.26) 60%,
      rgba(42, 36, 56, 0.02) 100%
    ),
    linear-gradient(180deg, rgba(18, 16, 29, 0.1), rgba(18, 16, 29, 0.92));
}

.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  color: var(--cream);
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--cream);
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--cream);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(243, 233, 221, 0.86);
  font-size: 22px;
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.button.primary {
  background: var(--rose);
  color: #241b24;
  box-shadow: 0 14px 30px rgba(217, 140, 158, 0.26);
}

.button.primary:hover {
  background: #e59aa9;
}

.button.secondary {
  border-color: rgba(243, 233, 221, 0.28);
  background: rgba(56, 47, 74, 0.62);
  color: var(--cream);
}

.button.secondary:hover {
  border-color: rgba(243, 233, 221, 0.44);
  background: rgba(70, 59, 92, 0.76);
}

.button.dark {
  background: var(--gold);
  color: #21170f;
  box-shadow: none;
}

section {
  padding: 86px 24px;
}

.promise-section {
  background:
    linear-gradient(180deg, var(--dusk-deep), var(--dusk)),
    var(--dusk);
}

.section-grid,
.section-heading,
.feature-grid,
.showcase-section,
.town-grid,
.private-section,
.cta-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.section-copy p,
.feature-card p,
.showcase-copy p,
.town-grid p,
.private-copy p {
  color: rgba(243, 233, 221, 0.72);
}

.section-copy p:last-child,
.feature-card p:last-child,
.showcase-copy p:last-child,
.town-grid p:last-child,
.private-copy p:last-child {
  margin-bottom: 0;
}

.inside-section {
  background: var(--dusk);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 720px;
}

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

.feature-card {
  min-height: 292px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 22px 46px var(--shadow);
}

.feature-mark {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 44px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 64% 34%, rgba(243, 233, 221, 0.88) 0 9%, transparent 10%),
    linear-gradient(145deg, var(--rose), rgba(217, 140, 158, 0.24));
}

.feature-card.gold .feature-mark {
  background:
    linear-gradient(135deg, transparent 42%, rgba(243, 233, 221, 0.78) 43% 57%, transparent 58%),
    linear-gradient(145deg, var(--gold), rgba(231, 180, 90, 0.22));
}

.feature-card.sage .feature-mark {
  background:
    radial-gradient(circle at 50% 45%, rgba(243, 233, 221, 0.82) 0 13%, transparent 14%),
    linear-gradient(145deg, var(--sage), rgba(143, 168, 160, 0.22));
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(340px, 1.1fr) minmax(300px, 0.9fr);
  gap: 44px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
}

.phone-stage {
  position: relative;
  min-height: 500px;
}

.phone {
  position: absolute;
  width: 250px;
  aspect-ratio: 0.56;
  padding: 18px;
  border: 11px solid #15121d;
  border-radius: 36px;
  background: linear-gradient(180deg, var(--card), var(--dusk-ink));
  box-shadow: 0 32px 74px rgba(10, 7, 18, 0.56);
}

.phone-left {
  left: 11%;
  top: 40px;
  transform: rotate(-8deg);
}

.phone-right {
  right: 13%;
  top: 0;
  transform: rotate(7deg);
}

.phone-speaker {
  width: 74px;
  height: 8px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: rgba(243, 233, 221, 0.24);
}

.mood-row,
.gift-grid,
.mini-grid {
  display: grid;
  gap: 12px;
}

.mood-row {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 14px;
}

.mood-row span,
.gift-grid span,
.mini-grid span,
.wide-tile {
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(243, 233, 221, 0.1);
}

.mood-row span {
  height: 118px;
  background:
    radial-gradient(circle at 55% 36%, var(--gold) 0 13%, transparent 14%),
    linear-gradient(180deg, #42345a, #2a2438);
}

.mood-row span:nth-child(2) {
  background:
    radial-gradient(circle at 58% 44%, var(--sage) 0 12%, transparent 13%),
    linear-gradient(180deg, #4c3a53, #2a2438);
}

.wide-tile {
  height: 116px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 50% 52%, var(--rose) 0 14%, transparent 15%),
    radial-gradient(circle at 30% 45%, rgba(217, 140, 158, 0.72) 0 6%, transparent 7%),
    radial-gradient(circle at 70% 45%, rgba(231, 180, 90, 0.72) 0 5%, transparent 6%),
    linear-gradient(180deg, #463b5c, #332a44);
}

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

.mini-grid span {
  height: 42px;
  background: rgba(143, 168, 160, 0.22);
}

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

.gift-grid span {
  height: 106px;
  background: linear-gradient(145deg, rgba(231, 180, 90, 0.38), rgba(217, 140, 158, 0.22));
}

.gift-grid span:nth-child(2) {
  background: linear-gradient(145deg, rgba(217, 140, 158, 0.48), rgba(143, 168, 160, 0.22));
}

.gift-grid span:nth-child(3) {
  background: linear-gradient(145deg, rgba(143, 168, 160, 0.4), rgba(231, 180, 90, 0.2));
}

.gift-grid span:nth-child(4) {
  background: linear-gradient(145deg, rgba(217, 140, 94, 0.42), rgba(217, 140, 158, 0.18));
}

.bottom-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 999px;
  background: rgba(18, 16, 29, 0.56);
}

.bottom-nav span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(243, 233, 221, 0.36);
}

.bottom-nav span:first-child {
  background: var(--rose);
}

.showcase-copy h2 {
  margin-bottom: 22px;
}

.town-section {
  background:
    linear-gradient(180deg, #1e2a22, #16201a),
    var(--forest);
}

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

.town-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(236, 240, 228, 0.16);
  border-radius: 22px;
  background: rgba(236, 240, 228, 0.07);
}

.private-section {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.8fr);
  gap: 44px;
  align-items: center;
}

.private-copy h2 {
  margin-bottom: 22px;
}

.private-points {
  display: grid;
  gap: 12px;
}

.private-points span {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(56, 47, 74, 0.76);
  color: rgba(243, 233, 221, 0.86);
  font-weight: 800;
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(217, 140, 158, 0.22), rgba(231, 180, 90, 0.18)),
    var(--card);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.cta-inner h2 {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  background: var(--dusk-ink);
  color: rgba(243, 233, 221, 0.66);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 18px;
  }

  .hero {
    min-height: 70svh;
    background-position: 62% center;
  }

  .hero-inner {
    width: min(var(--max), calc(100% - 36px));
    padding: 58px 0 46px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy {
    max-width: 520px;
    font-size: 19px;
  }

  section {
    padding: 66px 18px;
  }

  .section-grid,
  .showcase-section,
  .feature-grid,
  .town-grid,
  .private-section,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .town-grid article {
    min-height: auto;
  }

  .phone-stage {
    min-height: 430px;
  }

  .phone {
    width: 220px;
  }

  .phone-left {
    left: 6%;
  }

  .phone-right {
    right: 6%;
  }

  .cta-inner {
    align-items: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 68svh;
    background-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(18, 16, 29, 0.98) 0%,
        rgba(42, 36, 56, 0.86) 58%,
        rgba(42, 36, 56, 0.18) 100%
      ),
      linear-gradient(180deg, rgba(18, 16, 29, 0.06), rgba(18, 16, 29, 0.94));
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 360px;
  }

  .phone {
    width: 180px;
    border-radius: 30px;
  }

  .phone-left {
    left: 0;
    top: 54px;
  }

  .phone-right {
    right: 0;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
