:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #081122;
  --panel: rgb(11 19 39 / 0.78);
  --panel-strong: rgb(15 23 42 / 0.92);
  --line: rgb(148 163 184 / 0.14);
  --text: #eff6ff;
  --muted: #94a3b8;
  --blue: #60a5fa;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --cyan: #67e8f9;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgb(96 165 250 / 0.16), transparent 24%),
    radial-gradient(circle at 90% 10%, rgb(244 114 182 / 0.14), transparent 20%),
    linear-gradient(180deg, #01030b 0%, #050c1a 50%, #020617 100%);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.sky-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.sky-layer-a {
  background-image:
    radial-gradient(circle at 12% 22%, rgb(255 255 255 / 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle at 82% 16%, rgb(255 255 255 / 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 68%, rgb(255 255 255 / 0.56) 0 1px, transparent 1.5px),
    radial-gradient(circle at 34% 76%, rgb(255 255 255 / 0.48) 0 1px, transparent 1.4px),
    radial-gradient(circle at 58% 34%, rgb(255 255 255 / 0.48) 0 1px, transparent 1.4px);
}

.sky-layer-b {
  background:
    radial-gradient(circle at 50% 30%, rgb(99 102 241 / 0.14), transparent 30%),
    radial-gradient(circle at 65% 65%, rgb(103 232 249 / 0.12), transparent 26%);
  filter: blur(36px);
}

.topbar,
main {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 32px;
  height: auto;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.page-nav a {
  transition: color 160ms ease;
}

.page-nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 44px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.philosophy h2,
.cta h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.hero-text,
.cta p,
.philosophy-copy p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.primary-button {
  background: linear-gradient(135deg, var(--text) 0%, #cbd5e1 100%);
  color: #020617;
}

.secondary-button {
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.06);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.04);
}

.hero-stats dt {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 50%;
}

.orbit-a {
  width: 520px;
  height: 520px;
}

.orbit-b {
  width: 360px;
  height: 360px;
}

.hero-phone {
  position: relative;
  width: min(380px, 92%);
  padding: 18px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.04));
  box-shadow: 0 36px 120px rgb(0 0 0 / 0.55);
  backdrop-filter: blur(14px);
}

.phone-glow {
  position: absolute;
  inset: 14% 8% auto;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(96 165 250 / 0.42), transparent 70%);
  filter: blur(22px);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 30px;
  padding: 18px;
  background: linear-gradient(180deg, #071120 0%, #030712 100%);
}

.phone-header,
.phone-footer {
  display: flex;
  align-items: center;
}

.phone-header {
  gap: 12px;
  margin-bottom: 18px;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgb(0 0 0 / 0.28);
}

.phone-header p,
.phone-header span,
.hero-image-card span {
  margin: 0;
}

.phone-header p {
  font-size: 14px;
  font-weight: 700;
}

.phone-header span {
  color: var(--muted);
  font-size: 13px;
}

.hero-image-card {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 26%, rgb(96 165 250 / 0.95), transparent 18%),
    radial-gradient(circle at 62% 24%, rgb(244 114 182 / 0.72), transparent 16%),
    radial-gradient(circle at 48% 52%, rgb(139 92 246 / 0.44), transparent 28%),
    linear-gradient(180deg, #0f172a 0%, #030712 100%);
}

.star-field {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 14% 18%, rgb(255 255 255 / 0.82) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 14%, rgb(255 255 255 / 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 56% 36%, rgb(255 255 255 / 0.68) 0 1px, transparent 1.3px),
    radial-gradient(circle at 84% 62%, rgb(255 255 255 / 0.62) 0 1px, transparent 1.4px),
    radial-gradient(circle at 36% 74%, rgb(255 255 255 / 0.58) 0 1px, transparent 1.4px);
}

.image-caption {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 18px;
  background: rgb(3 7 18 / 0.54);
  backdrop-filter: blur(12px);
}

.image-caption strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.image-caption span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.phone-footer {
  justify-content: space-between;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.section-grid,
.showcase,
.experience,
.philosophy,
.cta {
  padding: 44px 0 88px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2,
.philosophy h2,
.cta h2 {
  font-size: clamp(42px, 6vw, 72px);
}

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

.feature-card,
.showcase-panel,
.flow-step,
.philosophy-card,
.cta {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.feature-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.feature-card h3,
.showcase-panel h3,
.flow-step h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-card p,
.showcase-panel p,
.flow-step p,
.philosophy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 18px;
}

.showcase-panel {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 26px;
  border-radius: 30px;
}

.showcase-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(14px);
}

.showcase-panel-featured {
  background:
    linear-gradient(180deg, rgb(10 18 37 / 0.64), rgb(5 9 23 / 0.9)),
    radial-gradient(circle at 20% 20%, rgb(96 165 250 / 0.24), transparent 22%);
}

.showcase-panel-featured::before {
  background: radial-gradient(circle, rgb(96 165 250 / 0.22), transparent 68%);
}

.showcase-panel-date::before {
  background: radial-gradient(circle, rgb(103 232 249 / 0.22), transparent 68%);
}

.showcase-panel-saved::before {
  background: radial-gradient(circle, rgb(244 114 182 / 0.18), transparent 68%);
}

.panel-label {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.flow-step {
  padding: 24px;
  border-radius: 24px;
}

.flow-step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.philosophy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.philosophy-card {
  padding: 36px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgb(139 92 246 / 0.2), transparent 24%),
    linear-gradient(180deg, rgb(11 19 39 / 0.9), rgb(5 9 23 / 0.92));
}

.cta {
  padding: 42px;
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgb(96 165 250 / 0.2), transparent 26%),
    linear-gradient(180deg, rgb(15 23 42 / 0.86), rgb(6 10 24 / 0.96));
}

.cta p {
  margin-right: auto;
  margin-left: auto;
}

.cta .hero-actions {
  justify-content: center;
}

@media (max-width: 1100px) {
  .hero,
  .philosophy,
  .showcase-layout,
  .experience-flow {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-phone {
    width: min(420px, 100%);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .topbar,
  main {
    width: min(100%, calc(100% - 32px));
  }

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

  .hero {
    padding-top: 28px;
  }

  .hero-stats,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-phone {
    padding: 14px;
    border-radius: 28px;
  }

  .phone-screen {
    padding: 14px;
    border-radius: 22px;
  }

  .hero-image-card {
    height: 340px;
  }

  .cta,
  .feature-card,
  .showcase-panel,
  .flow-step,
  .philosophy-card {
    border-radius: 24px;
  }

  .cta,
  .feature-card,
  .showcase-panel,
  .flow-step,
  .philosophy-card {
    padding: 24px;
  }
}
