/* The app's own faces and colours (src/constants/fonts.js, theme.js), so
   the site reads as the same product. */
@font-face { font-family: 'Bricolage'; src: url('fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Bricolage'; src: url('fonts/BricolageGrotesque_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/InstrumentSerif_400Regular.ttf') format('truetype'); font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/InstrumentSerif_400Regular_Italic.ttf') format('truetype'); font-style: italic; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/JetBrainsMono_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --bg: #121214;
  --bg-deep: #101013;
  --surface: #1C1C1F;
  --surface-alt: #242428;
  --border: #2E2E33;
  --text: #F5F5F7;
  --muted: #9A9AA2;
  --faint: #6C6C74;
  --accent: #5B8DEF;
  --danger: #FF6B6B;
  --success: #4CD97B;
  --warning: #FFC24B;
  --violet: #8B7CF6;
  --violet-soft: #C4B5FD;
  --display: 'Bricolage', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 18, 20, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand { line-height: 1.15; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; font-weight: 700; font-size: 14px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 12px; padding: 12px 18px;
  font-family: var(--body); font-weight: 800; font-size: 14.5px;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: var(--surface-alt); color: var(--text); border-color: var(--border); }
.btn-soon { background: var(--surface); color: var(--muted); border-color: var(--border); cursor: default; }
.btn-soon small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--warning); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.kicker { font-family: var(--mono); font-weight: 600; font-size: 11.5px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 6vw, 66px); line-height: 1.02; letter-spacing: -0.035em;
  margin: 14px 0 18px;
}
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--violet-soft); letter-spacing: -0.01em; }
.lede { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Phone mock of Day View */
.phone {
  justify-self: center;
  width: 100%; max-width: 330px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 18px 14px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 6px #19191d;
}
.phone-title { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; padding: 0 6px 10px; }
.ribbon { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 0 2px 12px; }
.ribbon span { text-align: center; font-family: var(--mono); font-weight: 600; font-size: 10px; color: var(--faint); padding: 6px 0; border-radius: 10px; }
.ribbon span b { display: block; font-family: var(--body); font-weight: 800; font-size: 14px; color: var(--muted); }
.ribbon span.on { background: var(--surface-alt); color: var(--muted); }
.ribbon span.on b { color: var(--text); }
.six { background: #17171B; border: 1px solid #26262D; border-radius: 16px; padding: 10px 12px; margin-bottom: 12px; }
.six-head { display: flex; justify-content: space-between; font-family: var(--mono); font-weight: 600; font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 6px; }
.six-row { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-weight: 700; font-size: 12.5px; }
.six-row .n { font-family: var(--mono); font-size: 10px; color: var(--faint); width: 12px; }
.six-row .q { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.six-row.done { color: var(--faint); text-decoration: line-through; }
.tl { position: relative; padding-left: 50px; }
.tl::before { content: ''; position: absolute; left: 38px; top: 4px; bottom: 4px; width: 2px; background: #2A2A33; }
.tl-item { position: relative; background: #1B1B20; border: 1px solid #26262D; border-radius: 13px; padding: 8px 10px; margin-bottom: 7px; }
.tl-item .t { position: absolute; left: -50px; top: 9px; width: 32px; text-align: right; font-family: var(--mono); font-weight: 600; font-size: 9.5px; color: var(--muted); }
.tl-item .name { font-weight: 800; font-size: 12.5px; }
.tl-item .sub { font-family: var(--mono); font-weight: 600; font-size: 9px; color: var(--faint); margin-top: 2px; }
.tl-item::after { content: ''; position: absolute; left: -16px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--accent)); }
.tl-gap { margin: 2px 0 9px; display: inline-block; font-family: var(--mono); font-weight: 600; font-size: 9.5px; color: #6FE69A; border: 1px dashed rgba(76, 217, 123, 0.45); background: rgba(76, 217, 123, 0.06); border-radius: 999px; padding: 3px 10px; }
.ai-pill { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px; font-weight: 800; font-size: 11.5px; color: var(--violet-soft); border: 1px solid rgba(196, 181, 253, 0.45); background: rgba(139, 124, 246, 0.1); border-radius: 999px; padding: 5px 11px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: #151518; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.03em; line-height: 1.08; margin: 10px 0 14px; }
.section-lede { color: var(--muted); font-size: 16.5px; max-width: 640px; margin: 0 0 36px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.step .num { font-family: var(--mono); font-weight: 600; font-size: 11px; color: var(--accent); letter-spacing: 0.12em; }
.step h3 { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; margin: 8px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.card .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: var(--surface-alt); border: 1px solid var(--border); margin-bottom: 12px; }
.card h3 { font-family: var(--body); font-weight: 800; font-size: 16.5px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 14.2px; }

/* Eisenhower matrix */
.matrix-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quad { border-radius: 16px; padding: 18px; min-height: 130px; border: 1px solid; }
.quad h4 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.quad .sub { font-family: var(--mono); font-weight: 600; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.quad ul { margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--text); }
.quad li { padding: 2px 0; }
.q1 { background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.4); color: #FF6B6B; }
.q2 { background: rgba(91, 141, 239, 0.12); border-color: rgba(91, 141, 239, 0.4); color: #5B8DEF; }
.q3 { background: rgba(255, 194, 75, 0.12); border-color: rgba(255, 194, 75, 0.4); color: #FFC24B; }
.q4 { background: rgba(154, 154, 162, 0.12); border-color: rgba(154, 154, 162, 0.4); color: #9A9AA2; }

/* AI */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.demo { background: #141418; border: 1px solid #2A2A31; border-radius: 22px; padding: 20px; }
.demo .label { font-family: var(--mono); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; color: #8C8C98; }
.demo h3 { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 4px 0 12px; }
.words { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.fill-btn { display: inline-flex; gap: 6px; align-items: center; margin: 10px 0 14px; border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-weight: 700; font-size: 12.5px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; }
.chip.red { color: #FF6B6B; border-color: rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.1); }
.plan-row { display: flex; gap: 11px; align-items: flex-start; background: #1B1B20; border: 1px solid #26262D; border-radius: 14px; padding: 10px 11px; margin-bottom: 7px; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--violet-soft); color: #0F0E1A; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; margin-top: 1px; }
.plan-row .name { font-weight: 800; font-size: 13px; }
.plan-row .sub { font-family: var(--mono); font-weight: 600; font-size: 9.5px; color: #8C8C98; }
.plan-row .why { font-size: 12px; color: #A3A3AE; margin-top: 3px; }
.accept { display: inline-block; margin-top: 6px; background: var(--violet); color: #0F0E1A; font-weight: 800; font-size: 12.5px; border-radius: 12px; padding: 9px 14px; }
.promise { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.promise span::before { content: '✓ '; color: var(--success); font-weight: 800; }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px; }
.plan.premium { border-color: rgba(139, 124, 246, 0.55); background: linear-gradient(180deg, rgba(139, 124, 246, 0.1), var(--surface) 55%); }
.plan h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; margin: 0; }
.plan .tag { font-family: var(--mono); font-weight: 600; font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); }
.plan.premium .tag { color: var(--violet-soft); }
.plan ul { margin: 16px 0 0; padding: 0; list-style: none; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: 14.5px; border-top: 1px solid var(--border); }
.plan li:first-child { border-top: none; }
.plan li::before { content: '✓'; position: absolute; left: 2px; color: var(--success); font-weight: 800; }
.plan.premium li::before { content: '✦'; color: var(--violet-soft); }

/* Privacy strip + footer */
.privacy-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
footer { padding: 36px 0 48px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* Long-form pages (privacy policy) */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc p, .doc li { color: #D4D4DC; font-size: 15.5px; }
.doc ul { padding-left: 20px; }
.doc .updated { font-family: var(--mono); font-weight: 600; font-size: 11.5px; letter-spacing: 0.1em; color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.doc th { background: var(--surface); font-weight: 800; }

@media (max-width: 900px) {
  .hero .wrap, .matrix-wrap, .ai-grid, .plans { grid-template-columns: 1fr; }
  .grid, .steps, .privacy-strip { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 44px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid, .steps, .privacy-strip { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; font-size: 13px; }
  .nav-links .hide-sm { display: none; }
  section { padding: 48px 0; }
  .lede { font-size: 16.5px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border-top: none; }
  .doc tr { border-top: 1px solid var(--border); margin-bottom: 8px; }
}
