@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Jost:wght@300;400;500&display=swap');

:root {
  --sage: #6F7F62;
  --sage-dark: #4F5C45;
  --sage-light: #A9B89C;
  --cream: #FAF3E9;
  --cream-deep: #F0E0C8;
  --ink: #3F3D36;
  --ink-soft: #6B6A5F;
  --hairline: rgba(63, 61, 54, 0.12);
  --max-width: 1080px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sage-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.25; }
h3 { font-size: 1.3rem; font-weight: 600; }

a {
  color: var(--sage-dark);
  text-decoration: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--sage);
  font-weight: 500;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 243, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.nav {
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-logo span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sage-dark);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--sage-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--sage-dark);
  margin: 5px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--sage-dark);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
}

.btn-outline:hover {
  background: var(--sage-dark);
  color: var(--cream);
}

/* Hero */
.hero {
  padding: 90px 28px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-mark {
  width: 92px;
  height: auto;
  margin-bottom: 28px;
  opacity: 0.95;
}

.hero .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 22px;
}

.hero p.lead {
  max-width: 540px;
  margin: 0 auto 36px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.store-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--hairline);
  background: #fff;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.store-badge .store-badge-label {
  text-align: left;
  line-height: 1.3;
}

.store-badge .store-badge-label small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-badge .store-badge-label strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--sage-dark);
}

/* Phone mockups */
.phone {
  background: var(--ink);
  border-radius: 38px;
  padding: 9px;
  box-shadow: 0 30px 60px -26px rgba(63, 61, 54, 0.5);
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 30px;
}

/* Two-column hero */
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-copy .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.hero-copy h1 {
  max-width: 16ch;
  margin: 0 0 22px;
}

.hero-copy p.lead {
  max-width: 48ch;
  margin: 0 0 36px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.hero-copy .hero-actions {
  justify-content: flex-start;
  margin-bottom: 34px;
}

.hero-copy .store-badges {
  justify-content: flex-start;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-stack {
  position: relative;
  width: 248px;
  height: 540px;
}

.phone-stack .phone {
  position: absolute;
  width: 232px;
}

.phone-stack .phone-front {
  left: 0;
  bottom: 0;
  z-index: 2;
  transform: rotate(-2.5deg);
}

.phone-stack .phone-back {
  right: 0;
  top: 0;
  z-index: 1;
  width: 208px;
  transform: rotate(4deg);
  opacity: 0.96;
}

/* App showcase row */
.showcase-row {
  display: flex;
  gap: 44px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.showcase-item {
  width: 244px;
  margin: 0;
  text-align: center;
}

.showcase-item .phone {
  margin-bottom: 22px;
}

.showcase-item figcaption h3 {
  margin-bottom: 8px;
}

.showcase-item figcaption p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Sections */
section {
  padding: 80px 28px;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-head {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  margin-top: 14px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 32px 28px;
}

.feature-card .icon-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--sage-dark);
  font-size: 1.1rem;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Stages strip */
.stages {
  display: flex;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid var(--hairline);
}

.stage {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--hairline);
}

.stage:last-child {
  border-right: none;
}

.stage .tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tag-free {
  background: rgba(111, 127, 98, 0.14);
  color: var(--sage-dark);
}

.tag-plus {
  background: var(--cream-deep);
  color: #8A5A2B;
}

.stage h3 {
  font-size: 1.05rem;
}

/* Quote / story block */
.story-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.story-block .display {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
}

.story-block .signature {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Values list (about page) */
.values-list {
  max-width: 720px;
  margin: 0 auto;
}

.value-row {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}

.value-row:last-child {
  border-bottom: none;
}

.value-row .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--sage-light);
  min-width: 36px;
}

.value-row h3 {
  margin-bottom: 6px;
}

.value-row p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 8px;
}

.contact-info .info-block {
  margin-bottom: 30px;
}

.contact-info .info-block p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--sage-dark);
  font-weight: 500;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
  display: block;
}

input, textarea, select {
  width: 100%;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--sage-light);
  outline-offset: 1px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  font-size: 0.9rem;
  margin-top: 4px;
  min-height: 1.2em;
}

.form-status.success { color: var(--sage-dark); }
.form-status.error { color: #A3463B; }

/* Policy page */
.policy {
  max-width: 720px;
  margin: 0 auto;
}

.policy .updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.policy h2 {
  margin-top: 48px;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.policy h2:first-of-type {
  margin-top: 0;
}

.policy p, .policy li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.policy ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.policy .commit-box {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px 30px;
  margin: 32px 0;
}

.policy .commit-box p {
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 8px;
}

.toc {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.toc .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.toc ol {
  list-style: none;
  columns: 2;
  gap: 24px;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.toc li a {
  color: var(--ink-soft);
}

.toc li a:hover {
  color: var(--sage-dark);
}

.toc li a::before {
  content: counter(toc) ". ";
  color: var(--sage-light);
}

/* Footer */
footer {
  border-top: 1px solid var(--hairline);
  padding: 50px 28px 36px;
}

.footer-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 28px;
}

.footer-brand span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--sage-dark);
}

.footer-tag {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--sage-dark);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .hero-inner { grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { text-align: center; order: 1; }
  .hero-copy h1 { max-width: none; }
  .hero-copy p.lead { max-width: 52ch; margin-left: auto; margin-right: auto; }
  .hero-copy .hero-actions { justify-content: center; }
  .hero-copy .store-badges { justify-content: center; }
  .hero-visual { order: 2; margin-top: 18px; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    padding: 20px 28px;
    gap: 18px;
  }
  .nav-toggle { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .stages { flex-direction: column; }
  .stage { border-right: none; border-bottom: 1px solid var(--hairline); }
  .stage:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
