:root {
  --bg: #f7f3ed;
  --bg-deep: #efe7dc;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #332f2f;
  --muted: #6f6863;
  --line: rgba(93, 78, 68, 0.12);
  --teal: #6ba5a0;
  --peach: #ffd4b2;
  --gold: #f2c977;
  --rose: #c89db0;
  --navy: #31405d;
  --shadow: 0 24px 70px rgba(65, 49, 38, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 212, 178, 0.75), transparent 28%),
    radial-gradient(circle at top right, rgba(107, 165, 160, 0.24), transparent 26%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

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

.page-shell {
  min-height: 100vh;
}

.hero,
.section,
.footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  padding: 1.25rem 0 2rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0 2.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.topbar-links {
  display: inline-flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 4rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.showcase-copy h2,
.future-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hero-copy h1 {
  font-size: clamp(3.6rem, 8vw, 6.7rem);
  max-width: 9ch;
}

.hero-text,
.showcase-copy p,
.future-card p,
.info-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 34rem;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.topbar-links a:hover,
.topbar-links a:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--teal), #507c92);
  box-shadow: 0 18px 30px rgba(80, 124, 146, 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.hero-visual {
  position: relative;
  min-height: 32rem;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.orb-one {
  inset: 0 auto auto 0;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(255, 212, 178, 0.9), transparent 72%);
}

.orb-two {
  inset: auto 0 0 auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(49, 64, 93, 0.22), transparent 72%);
}

.flow-card,
.info-card,
.future-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.flow-card {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
}

.flow-label,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-kicker svg {
  flex-shrink: 0;
  color: var(--teal);
}

.flow-band {
  padding: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.flow-band span {
  display: block;
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--peach), #ffe5a5, #e8a87c, var(--rose), #7084b6, var(--navy));
}

.phase-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.phase-list div {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.phase-list strong,
.info-card h3 {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.phase-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 2.5rem 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.6rem;
}

.section-heading h2,
.showcase-copy h2,
.future-card h2 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.info-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  align-items: center;
}

.showcase-panel {
  display: grid;
  gap: 1rem;
}

.mini-panel {
  min-height: 9rem;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  color: white;
  box-shadow: var(--shadow);
}

.mini-panel span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-panel strong {
  font-size: 1.3rem;
  line-height: 1.3;
}

.sunrise {
  background: linear-gradient(135deg, #f3a56c, #f2d890);
  color: #44311f;
}

.midday {
  background: linear-gradient(135deg, #6ba5a0, #85b5ce);
}

.dusk {
  background: linear-gradient(135deg, #c0899f, #58698a);
}

.future {
  padding-bottom: 5rem;
}

.future-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--teal);
  font-weight: 700;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

@media (max-width: 920px) {
  .hero-grid,
  .showcase,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 0.8rem;
  }

  .hero-grid {
    padding-top: 1rem;
  }

  .hero-visual {
    min-height: 26rem;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .footer {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 1.5rem;
  }

  .topbar-links {
    flex-wrap: wrap;
    gap: 0.9rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 16vw, 4.6rem);
  }

  .flow-card,
  .info-card,
  .future-card {
    padding: 1.25rem;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }
}

/* ─── Phone frames ─────────────────────────────────────────── */

.phone-hero-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 240px);
  border-radius: 40px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(93, 78, 68, 0.1),
    0 28px 70px rgba(65, 49, 38, 0.18),
    0 8px 20px rgba(65, 49, 38, 0.09);
}

.phone-screenshot {
  width: 100%;
  display: block;
}

.phone-frame {
  width: min(100%, 200px);
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(93, 78, 68, 0.08),
    0 16px 40px rgba(65, 49, 38, 0.14),
    0 4px 12px rgba(65, 49, 38, 0.07);
}

.phone-frame img {
  width: 100%;
  display: block;
}

/* ─── Screenshots section ──────────────────────────────────── */

.screenshots-section {
  padding-bottom: 5rem;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.screenshot-caption {
  padding: 0 0.25rem;
}

.screenshot-caption strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.caption-title {
  font-size: 1.4rem !important;
  color: var(--teal);
  letter-spacing: -0.03em !important;
}

.screenshot-caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.97rem;
}

/* ─── About section ────────────────────────────────────────── */

.about-section {
  padding-bottom: 6rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-copy h2 {
  margin: 0 0 1.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
  margin: 0 0 1.2rem;
  max-width: 40rem;
}

.about-values {
  display: grid;
  gap: 1.2rem;
  padding-top: 0.5rem;
}

.value-item {
  padding: 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.value-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ─── Footer ───────────────────────────────────────────────── */

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: inline-flex;
  gap: 1.6rem;
  font-size: 0.9rem;
}

.footer-links a,
.footer-links a:visited {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.footer-bottom {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ─── Why section ─────────────────────────────────────────── */

.why-section {
  padding: 5rem 1rem 6rem;
  text-align: center;
}

.why-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-phrase {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

/* ─── Legal pages ──────────────────────────────────────────── */

.legal-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}

.legal-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  transition: transform 180ms ease;
}

.legal-header .back-link:hover {
  transform: translateX(-3px);
}

.legal-header h1 {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.legal-header .legal-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-body {
  max-width: 720px;
  padding-bottom: 6rem;
}

.legal-body h2 {
  margin: 2.8rem 0 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0 0 0.9rem;
}

.legal-body ul {
  padding-left: 1.4rem;
  margin: 0 0 0.9rem;
}

.legal-body li {
  margin: 0 0 0.4rem;
}

.legal-body a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Responsive additions ─────────────────────────────────── */

@media (max-width: 920px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 640px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(100%, 200px);
  }

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

  .value-item {
    padding: 1.25rem;
  }
}
