/* Notelope landing page. Spec: design handoff README (getbriefly.in). Light theme only, as designed. */

:root {
  --ink: #0e1a22;
  --body: #3c4c56;
  --muted: #5e6e78;
  --inactive: #5a6a74;
  --placeholder: #627280;

  --page: #f6f8f9;
  --surface: #ffffff;
  --fill: #f1f4f6;
  --dark-chip: #1d2b34;
  --dark-chip-2: #26343d;

  --border: #e3e9ec;
  --border-soft: #eef2f4;
  --border-faint: #f1f4f6;
  --border-input: #cfd9de;
  --border-key: #dfe6ea;

  /* Same accent as the desktop app and the logo */
  --brand: #4F46E5;
  --brand-hover: #4338CA;
  --brand-tint: #EEF2FF;
  --brand-on-dark: #A5B4FC;

  --record: #ff4d4f;
  --speaker-2: #c2413b;

  --success-bg: #e3f5ec;
  --success-fg: #1f7a4d;
  --warning-bg: #fdf4e3;
  --warning-fg: #8a5a12;
  --danger-bg: #fdecec;
  --danger-fg: #a8332f;

  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --shadow-card: 0 30px 60px -30px rgba(14, 26, 34, 0.25);
  --shadow-pill: 0 16px 32px -12px rgba(14, 26, 34, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; }
input::placeholder { color: var(--placeholder); }
h1, h2, h3, p { margin: 0; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1160px; margin: 0 auto; width: 100%; }
section[id] { scroll-margin-top: 72px; }

.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--brand); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.section-intro { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 248, 249, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand, .brand:hover { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { width: auto; height: 30px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-link, .nav-link:hover { color: var(--body); }
.nav-cta, .nav-cta:hover {
  background: var(--ink); color: #fff;
  padding: 9px 16px; border-radius: 999px; font-weight: 600; white-space: nowrap;
}
@media (max-width: 759.98px) { .nav-link { display: none; } }

/* Hero */
.hero {
  padding: 88px 24px 72px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.badge {
  display: flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--mono); font-size: 13px; color: var(--brand); background: var(--brand-tint);
  padding: 6px 12px; border-radius: 999px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.lead { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 520px; text-wrap: pretty; }
.hero-note { margin-top: -14px; font-size: 14px; color: var(--muted); }

/* Signup forms (hero + join share one state) */
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 18px;
  border-radius: 12px; border: 1px solid var(--border-input); background: var(--surface);
  font: inherit; font-size: 16px; color: var(--ink); outline: none;
}
.signup input[type="email"]:focus-visible { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.btn-primary {
  height: 52px; padding: 0 22px; border: 0; border-radius: 12px;
  background: var(--brand); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:disabled { opacity: 0.7; cursor: progress; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { flex-basis: 100%; font-size: 14px; color: var(--danger-fg); }
.confirm { display: none; flex: 1; padding: 16px 18px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-hover); font-size: 16px; line-height: 1.5; }
.signup.is-done > :not(.confirm) { display: none; }
.signup.is-done > .confirm { display: block; }

/* Hero app mock */
.mock { position: relative; display: flex; flex-direction: column; gap: 16px; }
.mock-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; }
.mock-titlebar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-label { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border-faint); }
.mock-row-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mock-row-title { font-weight: 600; font-size: 15px; }
.mock-row-meta { font-size: 13px; color: var(--muted); }

.pill { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-summarizing { background: var(--brand-tint); color: var(--brand); }
.pill-high { background: var(--danger-bg); color: var(--danger-fg); }
.pill-medium { background: var(--warning-bg); color: var(--warning-fg); }

.rec-pill {
  align-self: flex-end; margin-top: -44px; margin-right: 8px;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 10px 10px 10px 16px; border-radius: 999px; box-shadow: var(--shadow-pill);
}
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--record); box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.22); }
.rec-timer { font-family: var(--mono); font-size: 14px; letter-spacing: 0.02em; }
.rec-stop { background: var(--record); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }

/* How it works */
.how .container { padding: 96px 24px; display: flex; flex-direction: column; gap: 48px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: var(--page); }
.step-number { font-family: var(--mono); font-size: 14px; color: var(--brand); }
.step h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.step p { font-size: 16px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.key { font-family: var(--mono); font-size: 14px; background: var(--surface); border: 1px solid var(--border-key); padding: 2px 6px; border-radius: 6px; }

/* Mixed-language callout under the steps */
.lang-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 18px; background: var(--brand-tint); margin-top: -28px; }
.lang-card .step-number { color: var(--brand); }
.lang-card h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.lang-card p { font-size: 16px; line-height: 1.55; color: var(--body); max-width: 760px; text-wrap: pretty; }

/* No bot */
.nobot { padding: 96px 24px; display: flex; flex-direction: column; gap: 48px; }
.nobot .section-intro { max-width: 660px; }
.nobot .section-intro p { font-size: 18px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.compare-card { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 20px; }
.compare-card.bot { border: 1px solid var(--border); background: var(--surface); }
.compare-card.notelope { background: var(--ink); color: #fff; }
.compare-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.notelope .compare-label { color: var(--brand-on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: 10px; background: var(--fill); font-size: 15px; }
.chip-bot { background: var(--danger-bg); color: var(--danger-fg); }
.notelope .chip { background: var(--dark-chip); }
.compare-lines { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--body); }
.notelope .compare-lines { color: #c9d6dd; }

/* Sample recap */
.recap .container { padding: 96px 24px; display: flex; flex-direction: column; gap: 40px; }
.recap-box { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--page); }
.recap-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.recap-title { display: flex; flex-direction: column; gap: 4px; }
.recap-title strong { font-weight: 600; font-size: 18px; }
.recap-title span { font-size: 14px; color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--fill); border-radius: 12px; }
.tab {
  border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600;
  padding: 8px 14px; border-radius: 9px; background: transparent; color: var(--inactive);
}
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); }
.recap-body { padding: 28px 24px; min-height: 340px; }

.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.summary-col { display: flex; flex-direction: column; gap: 14px; }
.col-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.bullet { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; }
.bullet::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 10px; }
.decision { padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; font-size: 16px; line-height: 1.5; }

.actions { display: flex; flex-direction: column; gap: 10px; }
.action {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.action-task { font-size: 16px; font-weight: 500; line-height: 1.45; }
.action-meta { font-size: 14px; color: var(--muted); }

.transcript { display: flex; flex-direction: column; gap: 18px; max-width: 780px; }
.line { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
.line-time { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.line-body { display: flex; flex-direction: column; gap: 4px; }
.line-speaker { font-size: 14px; font-weight: 600; }
.line-speaker.you { color: var(--brand); }
.line-speaker.other { color: var(--speaker-2); }
.line-text { font-size: 16px; line-height: 1.55; }

.email { max-width: 720px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.email-head { padding: 16px 20px; border-bottom: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.email-head .label { color: var(--muted); }
.email-body { padding: 20px; font-size: 16px; line-height: 1.65; white-space: pre-line; }
.email-foot { padding: 14px 20px; border-top: 1px solid var(--border-soft); display: flex; gap: 10px; flex-wrap: wrap; }
.btn-copy {
  border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600;
  padding: 10px 16px; border-radius: 10px; background: var(--brand); color: #fff;
}
.btn-copy:hover { background: var(--brand-hover); }

/* From call to tasks */
.tasks { padding: 96px 24px; display: flex; flex-direction: column; gap: 48px; }
.tasks .section-intro { max-width: 660px; }
.tasks .section-intro p { font-size: 18px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.tasks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px; align-items: start; }
.board {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-card);
}
.board-col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: var(--fill); }
.board-col-title { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 2px 2px 4px; }
.task { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.task-title { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.task-context { font-size: 12px; line-height: 1.45; color: var(--body); }
.task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.task-meta .pill { font-size: 11px; padding: 2px 8px; }
.task-action { font-size: 12px; font-weight: 600; color: var(--brand); }
.task-action.sent { color: var(--muted); }
.tools { display: flex; flex-direction: column; gap: 12px; }
.tool { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.tool strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.tool span { font-size: 15px; line-height: 1.5; color: var(--body); }
.tools-note { margin-top: 4px; font-size: 14px; color: var(--muted); }
@media (max-width: 599.98px) { .board { grid-template-columns: 1fr; } }

/* FAQ */
.faq .container { padding: 96px 24px; display: flex; flex-direction: column; gap: 32px; }
.faq-list { max-width: 820px; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; font-family: var(--mono); font-size: 20px; font-weight: 400; color: var(--brand); }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { margin: -6px 0 20px; padding: 0 4px; font-size: 16px; line-height: 1.6; color: var(--body); max-width: 720px; }

/* Join */
.join { padding: 110px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.join h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; max-width: 760px; text-wrap: balance; }
.join p { font-size: 18px; line-height: 1.55; color: var(--body); max-width: 540px; text-wrap: pretty; }
.join .signup { justify-content: center; width: 100%; margin-top: 6px; }
.join .confirm { line-height: normal; }

/* Legal pages (privacy, terms) */
.legal { max-width: 760px; margin: 0 auto; width: 100%; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.legal .updated { margin: 12px 0 32px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.legal h2 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--body); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .callout { padding: 16px 18px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-hover); }
.legal .callout strong { color: inherit; }
.legal .fill { padding: 1px 5px; border-radius: 4px; background: var(--warning-bg); color: var(--warning-fg); }
.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); line-height: 1.5; }
.legal th { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; background: var(--page); }
.legal td { color: var(--body); }
.legal tr:last-child td { border-bottom: 0; }
.site-footer a, .site-footer a:hover { color: inherit; }
.site-footer a:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: auto; }
.site-footer .container {
  padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--muted);
}
