:root {
  --ink: #0f1115;
  --ink-2: #3b4250;
  --dim: #6b7383;
  --line: #e6e8ec;
  --line-2: #eef0f3;
  --soft: #f7f8fa;
  --accent: #1f4fd8;
  --accent-ink: #ffffff;
  --accent-soft: #eef3ff;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: #fff; line-height: 1.55;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2); }
.nav .container { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 650; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.logo svg { width: 28px; height: 28px; flex: none; }
.navlinks { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.navlinks a { text-decoration: none; }
.navlinks a:hover { color: var(--ink); }
.navright { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 8px; font: inherit; font-size: 14px;
  font-weight: 550; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #262a33; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: #c9cdd5; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }

/* hero */
.hero { padding: 88px 0 96px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550;
  color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: block; }
.hero h1 { margin-top: 20px; font-size: 54px; line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
.hero .lede { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 480px; }
.hero .ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--dim); }

/* mockup */
.mock { border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 24px 48px -12px rgba(16,24,40,.14);
  overflow: hidden; font-size: 12.5px; }
.mock-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px;
  border-bottom: 1px solid var(--line-2); background: var(--soft); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #dfe2e7; }
.mock-bar .url { margin-left: 14px; flex: 1; max-width: 260px; height: 22px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line-2); font-size: 11px; color: var(--dim);
  display: flex; align-items: center; padding: 0 10px; }
.mock-body { display: grid; grid-template-columns: 168px 1fr; min-height: 340px; }
.mock-side { border-right: 1px solid var(--line-2); padding: 14px 10px; background: #fcfcfd; }
.mock-side .h { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim);
  padding: 4px 8px 8px; font-weight: 600; }
.mock-side .box { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px;
  border-radius: 6px; color: var(--ink-2); }
.mock-side .box.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mock-side .box b { font-weight: 600; font-size: 11px; color: var(--dim); }
.mock-side .box.on b { color: var(--accent); }
.mock-list { padding: 6px 0; }
.mock-row { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: start;
  padding: 11px 16px; border-bottom: 1px solid var(--line-2); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 5px; background: transparent; }
.mock-row.unread .dot { background: var(--accent); }
.mock-row .from { font-weight: 600; color: var(--ink); }
.mock-row.read .from { font-weight: 500; color: var(--ink-2); }
.mock-row .subj { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row .to { font-size: 11px; color: var(--dim); margin-top: 2px; }
.mock-row .time { font-size: 11px; color: var(--dim); white-space: nowrap; }
.mock-row .tag { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 600; color: #0a7a46;
  background: #e8f6ee; padding: 1px 6px; border-radius: 4px; vertical-align: 1px; }

/* sections */
.section { padding: 96px 0; border-top: 1px solid var(--line-2); }
.section.alt { background: var(--soft); }
.section-head { max-width: 620px; }
.section-head .kicker { font-size: 13px; font-weight: 600; color: var(--accent); }
.section-head h2 { margin-top: 10px; font-size: 36px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }

.grid3 { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
.feat { background: #fff; padding: 28px 28px 32px; }
.feat .ic { width: 36px; height: 36px; border-radius: 8px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; }
.feat .ic svg { width: 18px; height: 18px; }
.feat h3 { margin-top: 18px; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.feat p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }

/* settings */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.specs { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.specs .t { padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px;
  display: flex; justify-content: space-between; }
.specs .t span { font-weight: 500; color: var(--dim); }
.specs dl { display: grid; grid-template-columns: 140px 1fr; }
.specs dt, .specs dd { padding: 12px 20px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.specs dt { color: var(--dim); }
.specs dd { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13px; color: var(--ink); }
.specs dl > :nth-last-child(-n+2) { border-bottom: 0; }
.specs + .specs { margin-top: 16px; }

/* faq */
.faq { margin-top: 48px; border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--dim); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; max-width: 640px; }

/* cta band */
.band { padding: 88px 0; border-top: 1px solid var(--line-2); }
.band .inner { background: var(--ink); color: #fff; border-radius: 16px; padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band h2 { font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; font-weight: 700; }
.band p { margin-top: 8px; color: #b7bcc7; font-size: 16px; }
.band .btn-primary { background: #fff; color: var(--ink); }
.band .btn-primary:hover { background: #e9ebef; }
.band .btn-ghost { background: transparent; color: #fff; border-color: #3a3f4a; }
.band .btn-ghost:hover { border-color: #6b7383; }
.band .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.foot { border-top: 1px solid var(--line-2); padding: 48px 0 56px; font-size: 14px; color: var(--dim); }
.foot .container { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot .cols { display: flex; gap: 64px; }
.foot .col h4 { font-size: 13px; color: var(--ink); font-weight: 600; margin-bottom: 12px; }
.foot .col a { display: block; text-decoration: none; margin-bottom: 8px; }
.foot .col a:hover { color: var(--ink); }
.foot .copy { margin-top: 14px; font-size: 13px; }

/* legal + auth pages */
.page { padding: 72px 0 96px; }
.prose { max-width: 680px; }
.prose h1 { font-size: 36px; letter-spacing: -0.03em; line-height: 1.15; }
.prose .meta { margin-top: 8px; color: var(--dim); font-size: 14px; }
.prose h2 { margin-top: 36px; font-size: 18px; letter-spacing: -0.01em; }
.prose p, .prose li { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }
.prose ul { padding-left: 20px; }

.auth { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center;
  padding: 48px 24px; background: var(--soft); }
.auth-card { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 36px 32px; box-shadow: 0 12px 32px -12px rgba(16,24,40,.12); }
.auth-card h1 { font-size: 22px; letter-spacing: -0.02em; }
.auth-card .sub { margin-top: 6px; font-size: 14px; color: var(--dim); }
.auth-card label { display: block; margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.auth-card input { margin-top: 8px; width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 12px; font: inherit; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.auth-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-card .btn { width: 100%; margin-top: 18px; height: 44px; }
.auth-card .err { margin-top: 18px; font-size: 14px; color: #b42318; background: #fef3f2;
  border: 1px solid #fecdca; border-radius: 8px; padding: 10px 12px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 13px; color: var(--dim); }
.auth-foot a { color: var(--ink-2); }

@media (max-width: 960px) {
  .hero .container, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 44px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .navlinks { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 16.5px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
  .grid3 { grid-template-columns: 1fr; margin-top: 40px; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-row .to { display: none; }
  .specs dl { grid-template-columns: 110px 1fr; }
  .specs dt, .specs dd { padding: 11px 14px; }
  .band { padding: 56px 0; }
  .band .inner { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
  .band h2 { font-size: 24px; }
  .navright .btn-ghost { display: none; }
  .foot .cols { gap: 40px; }
  .auth-card { padding: 28px 22px; }
}
