/* Oskar: warm off-white, forest green, soft status tints. */
:root {
  --accent: #1e3a2f; --accent-hover: #152c23; --ink: #17221d; --ink-2: #4a564f;
  --tone-4: #58738a; --tone-4-soft: #e8eef3;
}

.site-nav .wrap { height: 76px; }
.nav-links { gap: 32px; }

/* ---------- hero ---------- */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); background: #fcf6ee; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(16px, 3vw, 40px); align-items: center; }
.hero h1 { margin: 18px 0 22px; max-width: 11ch; }
.hero .lede { max-width: 30em; }
.hero .lede span { display: block; }
.hero .lede span + span { margin-top: 4px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.text-link { font-weight: 600; text-decoration: none; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover .arrow { transform: translateX(3px); }
.text-link .arrow { transition: transform .2s; }
.reassure { list-style: none; padding: 0; margin: 20px 0 0 4px; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }

.scene { position: relative; max-width: 780px; justify-self: end; width: 100%; margin-right: calc(-1 * min(40px, var(--gutter))); }
.scene img { width: 100%; height: auto; display: block; }
.scene .pill-stack { position: absolute; left: -4%; top: -5%; display: grid; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; background: #fff; border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(17, 26, 46, .25), 0 0 0 1px rgba(17, 26, 46, .04); font-size: 14px; font-weight: 500; white-space: nowrap; justify-self: start; }
.scene .ask { position: absolute; left: 40%; top: 90%; width: 56%; white-space: nowrap; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; background: #fff; border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(17, 26, 46, .3), 0 0 0 1px rgba(17, 26, 46, .04); font-size: 15px; color: var(--ink-2); }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .scene { justify-self: center; }
}
@media (max-width: 560px) {
  .pill { font-size: 11.5px; padding: 5px 10px 5px 5px; gap: 6px; }
  .pill .ic-circle.sm { width: 20px; height: 20px; }
  .scene .pill-stack { display: none; }
  .scene .ask { font-size: 12px; padding: 9px 14px; width: 66%; }
}

/* ---------- logo strip ---------- */
.logos { background: #f3f1ee; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.logos .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; }
.logos .label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -.03em; color: var(--ink); }
.logo.stripe { color: #635bff; font-size: 30px; letter-spacing: -.05em; }
.logo.intercom { font-size: 17px; letter-spacing: .08em; }
.logo.soon { opacity: .55; }
.logo sup { font: 600 10.5px/1 var(--font-body); letter-spacing: .02em; color: var(--muted); text-transform: uppercase; margin-left: 2px; }
.logos .more { font-size: 14px; color: var(--ink-2); }

/* ---------- sections ---------- */
.band { background: #f6f3ee; }
.panel-sec { background: #f4f2ee; border-radius: 28px; padding: clamp(24px, 4vw, 48px); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 520px; } }
.step-art { height: 250px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-sizing: border-box; }
.step-art img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.notice-art { position: relative; }
.notice-art { padding-top: 40px; }
.notice-art img { max-height: 100%; }
.pill.callout { position: absolute; right: 4%; top: 0; border-radius: 14px; padding: 8px 12px 8px 8px; line-height: 1.3; font-size: 13px; align-items: flex-start; }
.pill.callout small { color: var(--ink-2); font-size: 12px; }
.step-body { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tone-1-soft); color: var(--ink); font-weight: 600; }
.step-body h3 { margin: 6px 0 8px; }
.step-body p { color: var(--ink-2); font-size: 16px; }

/* app preview frame */
.app-frame { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(18px, 3vw, 32px); }
.app-frame .today-top { margin-bottom: 22px; }
.app-frame .stats { margin-bottom: 20px; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.key-line { margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: var(--tone-4-soft); color: var(--ink); font-weight: 500; }

/* memory timeline */
.memory-steps { display: grid; gap: 14px; }
.memory-step { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.memory-step .when { font-size: 13.5px; color: var(--muted); padding-top: 12px; }
.memory-step .msg { max-width: 100%; }
.memory-step .msg-oskar { background: var(--surface); border: 1px solid var(--line); }
.memory-step .msg-oskar.alert { border-color: #f0c9bf; background: #fff8f6; }
@media (max-width: 520px) { .memory-step { grid-template-columns: 1fr; gap: 6px; } .memory-step .when { padding-top: 0; } }

/* watches */
.watch-reply { margin-top: 14px; min-height: 64px; }

/* impact */
.impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .impact-grid { grid-template-columns: 1fr; } }
.impact { padding: 26px; }
.impact .ic-circle { margin-bottom: 18px; }
.impact .amt { font: 700 clamp(34px, 4vw, 46px)/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.impact .what { font-weight: 600; margin-top: 12px; }
.impact .how { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.impact.estimated .amt { color: var(--ink-2); }
.est-note { display: inline-flex; margin-top: 14px; }

/* quiet */
.quiet-card { display: grid; grid-template-columns: auto 1fr; gap: 18px 24px; align-items: center; max-width: 760px; margin: 40px auto 0; text-align: left; }
.quiet-card .ic-circle { width: 56px; height: 56px; }
.quiet-lines { display: grid; gap: 4px; }
.quiet-lines div { font: 600 clamp(20px, 2.4vw, 26px)/1.3 var(--font-serif); letter-spacing: -.015em; }
.quiet-lines div:nth-child(2) { color: color-mix(in srgb, var(--ink) 60%, var(--surface)); }
.quiet-lines div:nth-child(3) { color: color-mix(in srgb, var(--ink) 40%, var(--surface)); }

/* integrations */
.int-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .int-grid { grid-template-columns: 1fr; } }
.int { padding: 26px; }
.int-head { display: flex; align-items: center; gap: 14px; }
.int-sub { color: var(--muted); font-size: 14.5px; }
.int ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.next-ints { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 48px); margin-top: 20px; padding: clamp(22px, 3.5vw, 36px); background: #f4f2ee; border-radius: 24px; align-items: start; }
@media (max-width: 900px) { .next-ints { grid-template-columns: 1fr; } }
.next-head h3 { font-size: 24px; margin: 14px 0 10px; }
.next-head p { color: var(--ink-2); margin-bottom: 16px; }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .next-grid { grid-template-columns: 1fr; } }
.next-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.next-card h4 { font: 650 16px/1.3 var(--font-display); letter-spacing: -.01em; }
.next-card p { color: var(--ink-2); font-size: 14px; margin: 4px 0 12px; }
.next-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.logos a.more { text-decoration: none; }
.logos a.more:hover { color: var(--ink); }

/* trust */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; } }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.trust-list .ic-circle { width: 26px; height: 26px; }

/* final CTA */
.final-card { text-align: center; background: var(--accent); color: #fff; border-radius: 28px; padding: clamp(40px, 7vw, 80px) var(--gutter); }
.final-card h2 { max-width: 17ch; margin: 0 auto 16px; color: #fff; }
.final-card .lede { color: rgba(255, 255, 255, .75); }
.final-card .cta-row { justify-content: center; }
.final-card .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.final-card .btn-primary:hover { background: #f1f1f1; }
.final-card .text-link { color: #fff; }
.final-card .small { color: rgba(255, 255, 255, .6); margin-top: 20px; }

/* ---------- palettes ----------
   The cream base stays; accent (buttons, dark cards) and ink change.
   Oskar's default is Forest (above). Preview others with ?palette=<name>. */
:root[data-palette="navy"] {
  --accent: #14203a; --accent-hover: #0b1427; --ink: #111a2e; --ink-2: #4b5468;
  --tone-4: #3563a8; --tone-4-soft: #e7eefa;
}
:root[data-palette="espresso"] {
  --accent: #2a221d; --accent-hover: #1c1612; --ink: #221b17; --ink-2: #5a5048;
  --tone-4: #5d7288; --tone-4-soft: #e9eef3;
}
:root[data-palette="terracotta"] {
  --accent: #a94f2d; --accent-hover: #8f4225; --ink: #2a211c; --ink-2: #5c5048;
  --tone-3: #b23b2c; --tone-4: #5d7288; --tone-4-soft: #e9eef3;
}
:root[data-palette="olive"] {
  --accent: #4a5230; --accent-hover: #3a4125; --ink: #22241b; --ink-2: #555848;
  --tone-4: #5d7288; --tone-4-soft: #e9eef3;
}
:root[data-palette="plum"] {
  --accent: #3d2437; --accent-hover: #2e1b29; --ink: #231a21; --ink-2: #594d56;
  --tone-4: #5d7288; --tone-4-soft: #e9eef3;
}
