/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F4EF;
  --fg: #1A1A1A;
  --accent: #D4622A;
  --sand: #F0EBE3;
  --muted: #8C8278;
  --white: #FFFFFF;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ─── Site Header ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(140,130,120,0.12);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--fg);
  letter-spacing: -0.01em;
}
nav { display: flex; gap: 2rem; }
nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
nav a:hover { color: var(--fg); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 120px 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-text { max-width: 560px; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-text h1 {
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Device mockup */
.device-mockup {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 32px 80px rgba(26,26,26,0.10), 0 4px 16px rgba(26,26,26,0.06);
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 2;
}
.device-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.device-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sand);
  display: block;
}
.device-label {
  font-size: 0.65rem;
  color: var(--muted);
  margin-left: 0.5rem;
}
.device-date {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.device-focus {
  background: var(--sand);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.focus-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.focus-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  font-family: var(--sans);
}
.device-tasks { margin-bottom: 1rem; }
.task-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--fg);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--sand);
}
.task-check { color: var(--accent); font-size: 0.9rem; flex-shrink: 0; }
.device-money {
  background: var(--accent);
  color: white;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.money-icon { font-size: 0.8rem; }
.money-text { font-size: 0.72rem; font-weight: 600; }

/* Decorative elements */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,98,42,0.15);
  z-index: 1;
}
.ring-1 { width: 320px; height: 320px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.ring-2 { width: 420px; height: 420px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-color: rgba(212,98,42,0.07); }
.deco-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  z-index: 3;
  opacity: 0.8;
}
.dot-1 { width: 12px; height: 12px; top: 20%; right: 10%; }
.dot-2 { width: 8px; height: 8px; bottom: 25%; left: 5%; background: var(--sand); }

/* ─── Problem Section ────────────────────────────────────── */
.problem { padding: 6rem 2rem; }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem h2 { margin: 0.5rem 0 3.5rem; }
.problem-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.problem-card {
  background: var(--sand);
  border-radius: 12px;
  padding: 2rem;
}
.problem-icon { margin-bottom: 1.25rem; }
.problem-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.problem-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ─── Example / Briefing Preview ─────────────────────────── */
.example { padding: 6rem 2rem; background: var(--sand); }
.example-inner { max-width: 1200px; margin: 0 auto; }
.example h2 { margin: 0.5rem 0 3rem; }
.briefing-preview { display: flex; justify-content: center; }
.briefing-panel {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 8px 40px rgba(26,26,26,0.08);
}
.briefing-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem; }
.briefing-focus-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.2rem; }
.briefing-focus { font-family: var(--serif); font-size: 1.5rem; }
.briefing-money {
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
}
.briefing-divider { height: 1px; background: var(--sand); margin: 1rem 0; }
.briefing-section-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.briefing-tasks { margin-bottom: 0.5rem; }
.btask {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(140,130,120,0.2);
  font-size: 0.85rem;
}
.btask-num {
  background: var(--sand);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.briefing-content { margin-bottom: 0.5rem; }
.bcontent {
  background: var(--sand);
  border-left: 3px solid var(--accent);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  border-radius: 0 6px 6px 0;
}
.briefing-footer {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  padding-top: 0.75rem;
  font-style: italic;
}
.example-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2rem;
  font-style: italic;
}

/* ─── Features ───────────────────────────────────────────── */
.features { padding: 6rem 2rem; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features h2 { margin: 0.5rem 0 3.5rem; }
.feature-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.feature-step { position: relative; }
.step-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 1rem;
}
.feature-step h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.feature-step p { color: var(--muted); font-size: 0.9rem; }

/* Money reminder */
.money-reminder {
  background: var(--sand);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}
.money-reminder-inner { max-width: 540px; margin: 0 auto; }
.money-formula {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.money-var { color: var(--muted); }
.money-op { color: var(--accent); font-style: italic; }
.money-result { color: var(--accent); }
.money-reminder p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ─── Closing ────────────────────────────────────────────── */
.closing {
  padding: 8rem 2rem 6rem;
  background: var(--fg);
  color: var(--white);
}
.closing-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.closing h2 { margin-bottom: 1.5rem; color: var(--white); }
.closing p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 540px; margin: 0 auto 3rem; }
.closing-visual { max-width: 600px; margin: 0 auto 3.5rem; }
.progress-bar {
  background: rgba(255,255,255,0.1);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.progress-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--accent), #E8845A);
  border-radius: 4px;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.closing-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* ─── Footer ─────────────────────────────────────────────── */
footer { padding: 3rem 2rem; border-top: 1px solid rgba(140,130,120,0.15); }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo { font-family: var(--serif); font-style: italic; font-size: 1.4rem; margin-bottom: 0.5rem; }
.footer-tagline { color: var(--muted); font-size: 0.875rem; margin-bottom: 1rem; }
.footer-links { display: flex; justify-content: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); margin-bottom: 1.5rem; }
.footer-sep { opacity: 0.4; }
.footer-legal { font-size: 0.75rem; color: rgba(140,130,120,0.5); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    min-height: auto;
    gap: 2rem;
  }
  .hero-visual { display: none; }
  .problem-columns, .feature-steps { grid-template-columns: 1fr; }
  nav { display: none; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  .problem, .example, .features { padding: 4rem 1.5rem; }
  .closing { padding: 5rem 1.5rem 4rem; }
  .money-formula { font-size: 1.8rem; }
  .briefing-panel { padding: 1.5rem; }
}