:root {
  color-scheme: light;
  --bg: #fbf8f2;
  --paper: #fffdf8;
  --paper-strong: #fffaf1;
  --ink: #302d2a;
  --muted: #827973;
  --soft: #e7dbcf;
  --soft-2: #f4eee6;
  --accent: #d79b9a;
  --accent-deep: #b97877;
  --sage: #8fa283;
  --blue: #96b8bf;
  --shadow: rgba(89, 74, 61, 0.14);
  --shadow-deep: rgba(84, 63, 51, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(143, 162, 131, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(215, 155, 154, 0.07) 1px, transparent 1px),
    var(--bg);
  background-size: 46px 46px;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: rgba(251, 248, 242, 0.72);
}

a {
  color: var(--accent-deep);
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 248, 242, 0.88);
  border-bottom: 1px solid rgba(231, 219, 207, 0.7);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(231, 219, 207, 0.88);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 10px 20px rgba(89, 74, 61, 0.12);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.95rem;
}

.top-nav a,
.nav {
  color: var(--muted);
  text-decoration: none;
}

.top-nav a:hover,
.nav:hover {
  color: var(--accent-deep);
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  min-height: min(660px, calc(100vh - 132px));
  padding: clamp(50px, 7vw, 88px) clamp(20px, 5vw, 72px) clamp(56px, 7vw, 86px);
  border-bottom: 1px solid var(--soft);
}

.hero-copy {
  width: min(720px, 100%);
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Brush Script MT", "Segoe Print", cursive;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  width: min(760px, 100%);
  font-size: clamp(3.7rem, 9vw, 7.4rem);
}

h2 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 10px 0 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 8px;
}

.hero-lede {
  width: min(640px, 100%);
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.app-store-pill,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(215, 155, 154, 0.24);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.46fr);
  align-items: center;
  gap: clamp(12px, 2.4vw, 20px);
  width: min(520px, 100%);
  min-width: 0;
  justify-self: end;
}

.hero-preview,
.hero-preview-stack .phone-shot,
.showcase-gallery .phone-shot {
  padding: 8px;
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid rgba(231, 219, 207, 0.86);
  border-radius: 28px;
  box-shadow: 18px 24px 48px var(--shadow);
}

.phone-shot {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(84, 63, 51, 0.12);
}

.hero-preview-main .phone-shot {
  box-shadow: none;
}

.hero-preview-stack {
  display: grid;
  gap: 16px;
}

.hero-preview-stack .phone-shot {
  border-radius: 22px;
  box-shadow: 12px 16px 34px rgba(84, 63, 51, 0.14);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 116px) 0;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

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

.feature-card,
.card {
  padding: 24px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--soft);
  border-radius: 20px;
  box-shadow: 12px 16px 34px var(--shadow);
}

.feature-card p,
.showcase-copy p,
.plus-band p,
.final-cta p,
.updated {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.showcase-copy {
  width: min(520px, 100%);
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.showcase-gallery .phone-shot {
  aspect-ratio: 415 / 900;
  object-fit: cover;
  object-position: top center;
}

.plus-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 7vw, 80px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(50px, 7vw, 84px);
  padding: clamp(38px, 5vw, 58px);
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(244, 238, 230, 0.88));
  border: 1px solid var(--soft);
  border-radius: 34px;
  box-shadow: 14px 18px 46px var(--shadow);
}

.plus-list {
  align-self: center;
  margin: 0;
  color: var(--muted);
}

.final-cta {
  text-align: center;
}

.final-cta p {
  width: min(560px, 100%);
  margin: 18px auto 26px;
  font-size: 1.1rem;
}

.page {
  min-height: 100vh;
  padding: 48px 22px 72px;
}

.wrap {
  width: min(760px, 100%);
  margin: 0 auto;
}

.nav {
  display: inline-flex;
  margin-bottom: 36px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  margin-bottom: 34px;
}

.updated {
  font-size: 0.92rem;
}

.page h2 {
  margin: 36px 0 12px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(1.32rem, 2.6vw, 1.68rem);
  line-height: 1.3;
  letter-spacing: 0;
}

.page .hero + section h2,
.page section:first-of-type h2 {
  margin-top: 0;
}

.page .card h2 {
  margin-top: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.footer-links,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-links {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--soft);
}

.soft-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--soft);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .marketing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-stage {
    display: grid;
    width: min(640px, 100%);
    justify-self: start;
    margin-top: 6px;
  }

  .feature-grid,
  .showcase,
  .plus-band {
    grid-template-columns: 1fr;
  }

  .showcase-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .top-nav {
    display: none;
  }

  h1 {
    font-size: clamp(3.05rem, 14vw, 4.15rem);
    line-height: 1.08;
  }

  h1 span {
    display: block;
  }

  .hero-lede {
    width: min(320px, 100%);
    font-size: 1.04rem;
    line-height: 1.52;
  }

  .hero-actions {
    display: grid;
    justify-items: start;
    gap: 12px 16px;
  }

  .hero-actions a {
    font-size: 0.92rem;
  }

  .hero-stage {
    grid-template-columns: 1fr;
  }

  .hero-preview-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-gallery {
    grid-template-columns: 1fr;
  }

  .showcase-gallery .phone-shot {
    width: min(310px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
