/* The design system's fonts, self-hosted instead of loaded from Google Fonts (no visitor IP goes to Google).
   Bricolage Grotesque with its opsz and wght axes (500–800 used), Figtree 400/500/600. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque-latin-ext-opsz.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/assets/fonts/figtree-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/assets/fonts/figtree-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/assets/fonts/figtree-latin-600.woff2") format("woff2");
}

/* Say It Well — CSS variables from the design system's tokens.json ("Adem").
   Source: design canvas https://claude.ai/artifact/88W6yb2RT8wPVgtPhGQAct (project/siw-tokens.css), copied verbatim. */
:root, [data-theme="light"] {
  --surface: #eef2f0;
  --surface-raised: #ffffff;
  --ink: #0f3d3e;
  --ink-muted: #3f5f5f;
  --brand: #0f3d3e;
  --accent: #ff7a59;
  --on-accent: #0f3d3e;
  --accent-soft: #ffd9cd;
  --sand: #e7d8c3;
  --tint: #d4e2de;
  --line: #c9d6d2;
}
[data-theme="dark"] {
  --surface: #0b2d2e;
  --surface-raised: #134849;
  --ink: #eef2f0;
  --ink-muted: #b5ccc7;
  --brand: #1a5a5b;
  --accent: #ff7a59;
  --on-accent: #0f3d3e;
  --accent-soft: #4d2f28;
  --sand: #3a3b31;
  --tint: #1d5556;
  --line: #2a5f60;
}
:root {
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-10: 40px;
  --space-14: 56px;
  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-full: 999px;
  --font-display: "Bricolage Grotesque", "Bricolage Grotesque Variable", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

/* Say It Well design system components ("Adem"), copied verbatim from the design system bundle
   (https://claude.ai/artifact/SkfSSoPqYQd8Q91RDEdvm2, project/components/bundle.css, version 1792153129-b00f).
   Only change: the Google Fonts @import is removed; the fonts are self-hosted (see fonts.css). */

/* ---------- Glyph: the three bars from the app icon ---------- */
.siw-glyph { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.siw-glyph i { display: block; width: 4px; border-radius: 2px; background: currentColor; transform-origin: center; }
.siw-glyph i:nth-child(1) { height: 10px; }
.siw-glyph i:nth-child(2) { height: 18px; }
.siw-glyph i:nth-child(3) { height: 7px; }
.siw-glyph.is-live i { animation: siw-breathe 1.2s ease-in-out infinite; }
.siw-glyph.is-live i:nth-child(2) { animation-delay: .15s; }
.siw-glyph.is-live i:nth-child(3) { animation-delay: .3s; }
@keyframes siw-breathe { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }

/* ---------- Button: solid face on a hard plinth, pressed = sinks ---------- */
.siw-btn {
  --siw-plinth: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6);
  border: 0; border-radius: var(--radius-m);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--siw-plinth);
  transition: transform .08s ease-out, box-shadow .08s ease-out;
}
.siw-btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--siw-plinth); }
.siw-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.siw-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.siw-btn--primary { background: var(--accent); color: var(--on-accent); }
.siw-btn--secondary { background: var(--tint); color: var(--ink); }
.siw-btn--quiet {
  background: transparent; color: var(--ink); box-shadow: none; padding: 0 var(--space-2);
  font-family: var(--font-body); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent);
}
.siw-btn--quiet:active { transform: none; }
.siw-btn--sm { min-height: 44px; padding: 0 var(--space-4); font-size: 15px; }
.siw-btn--lg { min-height: 60px; padding: 0 32px; font-size: 19px; border-radius: var(--radius-l); }

/* ---------- WaveMeter: progress as the logo's sound wave ---------- */
.siw-wave { display: inline-flex; align-items: center; gap: 4px; height: 32px; }
.siw-wave--xs { height: 18px; gap: 3px; }
.siw-wave--sm { height: 24px; gap: 3px; }
.siw-wave--lg { height: 56px; gap: 6px; }
.siw-wave__bar { display: block; width: 8px; border-radius: var(--radius-full); background: var(--line); transform-origin: center; transition: background-color .25s ease; }
.siw-wave--xs .siw-wave__bar, .siw-wave--sm .siw-wave__bar { width: 6px; }
.siw-wave--lg .siw-wave__bar { width: 12px; }
.siw-wave__bar.is-done { background: var(--ink); }
.siw-wave__bar.is-now { background: var(--accent); }
.siw-wave__bar.is-live { animation: siw-breathe 1.4s ease-in-out infinite; }

/* ---------- FeedbackChip: a verdict with a three-bar strength meter ---------- */
.siw-chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 40px; padding: 0 var(--space-4) 0 12px;
  border-radius: var(--radius-s);
  font-family: var(--font-body); font-size: 15px; line-height: 1.3; color: var(--ink);
}
.siw-chip--good { background: var(--tint); }
.siw-chip--watch { background: var(--accent-soft); }
.siw-chip--tip { background: var(--sand); }
.siw-chip__meter { display: inline-flex; align-items: center; gap: 2px; height: 20px; margin-right: 2px; }
.siw-chip__meter i { display: block; width: 4px; border-radius: 2px; background: currentColor; opacity: .25; }
.siw-chip__meter i:nth-child(1) { height: 12px; }
.siw-chip__meter i:nth-child(2) { height: 20px; }
.siw-chip__meter i:nth-child(3) { height: 14px; }
.siw-chip__meter i.is-on { opacity: 1; }
.siw-chip__label { font-weight: 600; }
.siw-chip__value { color: var(--ink-muted); }

/* ---------- InterviewQuestion: one question, big, with room to talk ---------- */
.siw-q { display: flex; flex-direction: column; gap: var(--space-6); max-width: 640px; font-family: var(--font-body); color: var(--ink); }
.siw-q__progress { display: flex; align-items: flex-end; gap: 12px; }
.siw-q__count { font-size: 13px; font-weight: 500; line-height: 1; color: var(--ink-muted); }
.siw-q__question { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.siw-q__hint { margin: -12px 0 0; max-width: 52ch; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.siw-q__answer { display: flex; align-items: flex-end; gap: var(--space-4); }
.siw-q__field {
  flex: 1; min-width: 0; resize: vertical;
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent;
  padding: 8px 0 12px;
  font: inherit; font-size: 19px; line-height: 1.5; color: var(--ink);
}
.siw-q__field::placeholder { color: var(--ink-muted); }
.siw-q__field:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 2px 0 var(--accent); }
.siw-q__mic {
  flex-shrink: 0; width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink); border-radius: var(--radius-l); background: transparent; color: var(--ink);
  cursor: pointer;
}
.siw-q__mic .siw-glyph { transform: scale(1.4); }
.siw-q__mic.is-recording { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.siw-q__mic:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.siw-q__actions { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }

/* ---------- Teleprompter: always dark, one line in focus ---------- */
.siw-tp { background: var(--surface); color: var(--ink); border-radius: var(--radius-l); padding: var(--space-6) var(--space-10) var(--space-10); font-family: var(--font-body); }
.siw-tp__clock { display: flex; align-items: flex-end; gap: 12px; padding-bottom: var(--space-6); }
.siw-tp__time { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.siw-tp__target { padding-bottom: 4px; font-size: 15px; line-height: 1; color: var(--ink-muted); }
.siw-tp__clock .siw-wave { margin-left: auto; }
.siw-tp__script { max-width: 30ch; font-size: 30px; line-height: 1.5; }
.siw-tp__line { margin: 0 0 .4em; transition: opacity .3s ease; }
.siw-tp__line.is-past { opacity: .4; }
.siw-tp__line.is-next { opacity: .62; }
.siw-tp__breath { display: flex; align-items: center; gap: 4px; height: 24px; margin: 0 0 .4em; }
.siw-tp__breath i { display: block; width: 6px; height: 18px; border-radius: 3px; background: var(--accent); }
.siw-tp__breath i + i { height: 10px; }

@media (prefers-reduced-motion: reduce) {
  .siw-glyph.is-live i, .siw-wave__bar.is-live { animation: none; }
  .siw-btn, .siw-tp__line, .siw-wave__bar { transition: none; }
}

/* Landing pages. Same tokens and components as the app; flat colour fields, no shadows, no gradients. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--surface); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a.siw-btn { text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.siw-logo { display: inline-flex; align-items: center; gap: 12px; }
.siw-logo img { height: 28px; width: auto; }
.siw-logo__word { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; color: var(--ink); }
.siw-header { max-width: 1280px; margin: 0 auto; padding: 24px 40px; display: flex; align-items: center; }
.siw-header__home { text-decoration: none; display: flex; }

.siw-display-l { margin: 0; font-family: var(--font-display); font-size: 50px; line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.siw-heading { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.siw-title { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.siw-caption { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--ink-muted); }
.siw-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.lp-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.lp-section { padding-top: 56px; padding-bottom: 16px; display: flex; flex-direction: column; gap: 24px; }

/* Hero: the one Diepzee identity block. Mourning pages stay on surface: quieter. */
.lp-hero { padding: 32px 0 16px; }
.lp-hero__inner { display: flex; flex-direction: column; gap: 24px; max-width: 1280px; }
.lp-hero:not(.lp-hero--quiet) .lp-hero__inner { background: var(--sand); border-radius: var(--radius-l); padding: 56px; }
.lp-hero__inner .siw-display-l { max-width: 18ch; }
.lp-lead { margin: 0; max-width: 56ch; font-size: 17px; line-height: 1.55; color: var(--ink-muted); }

.lp-split { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.lp-split__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-split__side { flex: 1 1 300px; max-width: 400px; padding: 24px; border-radius: var(--radius-l); background: var(--surface-raised); display: flex; flex-direction: column; gap: 20px; }
.lp-example { margin-top: 12px; padding: 32px; border-radius: var(--radius-l); background: var(--surface-raised); font-size: 19px; line-height: 1.6; }
.lp-example p { margin: 0 0 1em; max-width: 60ch; }
.lp-example p:last-child { margin-bottom: 0; }

.lp-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.lp-steps li { display: flex; gap: 16px; align-items: flex-start; }
.lp-steps .siw-wave { flex-shrink: 0; margin-top: 2px; }
.lp-steps__body { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; }

.lp-dos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.lp-dos__col { padding: 24px; border-radius: var(--radius-l); background: var(--surface-raised); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.lp-dos ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }

.lp-how { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.lp-how li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.lp-how .siw-glyph { margin-top: 2px; color: var(--ink); }

.lp-faq { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.lp-faq details { padding: 16px 20px; border-radius: var(--radius-m); background: var(--surface-raised); }
.lp-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.lp-faq p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-muted); }

.lp-closing { align-items: flex-start; padding-bottom: 56px; }
.lp-occasions { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.lp-occasions a { display: block; padding: 20px 24px; border-radius: var(--radius-l); background: var(--surface-raised); font-weight: 600; text-decoration: none; }
.lp-occasions a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }

.lp-footer { margin-top: 40px; padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.lp-footer p { margin: 0 0 6px; }
.lp-footer a { color: inherit; }

.lp-legal { max-width: 760px; padding-bottom: 56px; }
.lp-legal h2 { margin: 16px 0 0; }
.lp-legal p, .lp-legal li { margin: 0; font-size: 16px; line-height: 1.6; }
.lp-legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 720px) {
  .siw-header { padding: 16px 20px; }
  .siw-logo img { height: 20px; }
  .siw-logo__word { font-size: 20px; }
  .lp-wrap { padding: 0 16px; }
  .lp-hero:not(.lp-hero--quiet) .lp-hero__inner { padding: 32px 20px; }
  .siw-display-l { font-size: 34px; line-height: 1.08; letter-spacing: -0.02em; }
  .siw-heading { font-size: 26px; }
  .lp-section { padding-top: 40px; }
  .lp-split { gap: 32px; }
  .lp-example { padding: 20px; font-size: 17px; }
}
