/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAF8F5;
  --bg-alt: #F2EFE9;
  --accent: #E8A54B;
  --accent-warm: #C8873A;
  --fg: #1A1A1A;
  --fg-muted: #6B6560;
  --fg-faint: #A8A29D;
  --border: #E2DDD6;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 8px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--white); }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; }
h3 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 500; }
p { color: var(--fg-muted); }

em { font-style: italic; font-family: var(--font-display); font-weight: 300; }

/* === LAYOUT === */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === HERO === */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.search-motif {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 0.875rem 1.25rem;
  width: fit-content;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.search-icon { color: var(--fg-faint); flex-shrink: 0; }

.search-placeholder {
  color: var(--fg-faint);
  font-size: 0.9rem;
  font-style: italic;
  font-family: var(--font-display);
}

.search-hint {
  font-size: 0.8rem;
  color: var(--fg-faint);
  padding-left: 0.5rem;
}

/* === HERO VISUAL — PHONE FRAME === */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 260px;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.1);
  position: relative;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: #111;
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-content {
  background: #FAF8F5;
  border-radius: 28px;
  overflow: hidden;
  padding: 3rem 1.5rem 2rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mock-save { padding: 0; }

.mock-tag-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.mock-tag {
  background: #E2DDD6;
  color: #6B6560;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
}

.mock-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #1A1A1A;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.mock-folder {
  font-size: 0.75rem;
  color: #A8A29D;
}

.mock-folder strong { color: #6B6560; }

/* === HOW IT WORKS === */
.howitworks {
  padding: 5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.howitworks h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.howitworks h2 em { color: var(--accent); }

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.step-visual {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  color: var(--fg);
}

.share-icon-wrap { color: var(--accent); }
.savi-icon-wrap { color: var(--fg); }
.done-icon-wrap { color: #4CAF50; }

.step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  max-width: 120px;
}

.flow-arrow { color: var(--fg-faint); }

/* === FEATURES === */
.features {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 { margin-bottom: 0.5rem; color: var(--fg); }
.feature-card p { font-size: 0.875rem; line-height: 1.6; }

/* === MANIFESTO === */
.manifesto {
  padding: 6rem 0;
  background: #1A1A1A;
  color: var(--white);
}

.manifesto-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.manifesto h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.manifesto h2 em { color: var(--accent); }

.manifesto-content > p {
  color: #A8A29D;
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.manifesto-rules {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 520px;
}

.rule {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}

.rule-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.rule-no .rule-mark { background: rgba(232,165,75,0.15); color: var(--accent); }
.rule-check .rule-mark { background: rgba(76,175,80,0.15); color: #4CAF50; }

.rule strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 0.2rem; }
.rule span { font-size: 0.825rem; color: #A8A29D; }

/* === CLOSING === */
.closing {
  padding: 7rem 0 5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 2.5rem;
}

.closing-statement em { color: var(--accent); font-style: italic; }

.beta-note {
  font-size: 0.825rem;
  color: var(--fg-faint);
}

/* === FOOTER === */
footer {
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  margin-bottom: 0.75rem;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.1em;
}

.footer-tagline {
  font-size: 0.825rem;
  color: var(--fg-faint);
  margin-bottom: 0.5rem;
}

.footer-copy { font-size: 0.75rem; color: var(--fg-faint); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual { display: none; }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-steps { gap: 1rem; }
  .flow-arrow { display: none; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  .howitworks, .features { padding: 3rem 0; }
  .manifesto { padding: 4rem 0; }
  .closing { padding: 4rem 0 3rem; }
}
