/* JOuDigest marketing site. Tokens from the design system (Claude Design round 2). */
:root {
  --ink: #091d21;
  --mute: #60768a;
  --line: #e1e7ea;
  --line2: #bcc8cf;
  --canvas: #f5f7f8;
  --surface: #ffffff;
  --accent: #0e7c86;
  --accent-dark: #09565d;
  --accent-soft: #e1f1f2;
  --accent-light: #4fc3cb;
  --gold: #b8913f;
  --hero-mute: #b6c4cc;
  --hero-dim: #8fa3b3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
h2.title { font-size: clamp(30px, 4.2vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 12px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--line2); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--canvas); }
.btn-ghost-dark { border-color: #3a5a60; color: #fff; background: transparent; }

/* Header + hero */
.hero { background: var(--ink); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav .links { display: flex; gap: 28px; align-items: center; font-size: 15px; color: var(--hero-mute); }
.nav .links a { color: inherit; text-decoration: none; }
.nav .links a:hover { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; padding: 56px 0 96px; }
.hero h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
.hero .lead { font-size: 20px; line-height: 1.55; color: var(--hero-mute); margin: 24px 0 0; max-width: 560px; }
.paste { margin-top: 40px; background: #fff; border-radius: 16px; padding: 8px; display: flex; align-items: center; gap: 8px; max-width: 640px; }
.paste input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; padding: 10px 8px; color: var(--ink); min-width: 0; }
.paste svg { color: var(--mute); margin-left: 12px; flex-shrink: 0; }
.works { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--hero-dim); }
.works span { color: var(--hero-mute); font-weight: 500; }
.sample { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.sample .head { display: flex; gap: 14px; align-items: center; }
.sample .thumb { width: 88px; height: 56px; border-radius: 8px; background: repeating-linear-gradient(135deg,#dde6ea 0 8px,#e9f0f2 8px 16px); flex-shrink: 0; }
.sample .ttl { font-size: 16px; font-weight: 600; line-height: 1.3; }
.sample .meta { font-size: 13px; color: var(--mute); margin-top: 4px; }
.chips { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.chip { font-size: 13px; padding: 5px 12px; border-radius: 99px; background: #f0f3f5; color: var(--mute); }
.chip.on { background: var(--accent); color: #fff; font-weight: 500; }
.sample .label { font-size: 12px; letter-spacing: 0.1em; color: var(--mute); font-weight: 600; margin-top: 20px; }
.sample p { font-size: 16px; line-height: 1.6; margin: 6px 0 0; }
.sample .chap { display: flex; gap: 10px; font-size: 15px; color: #2b4249; margin-top: 8px; }
.sample .chap b { color: var(--accent); font-weight: 600; }

section.block { padding: 96px 0 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.card .n { width: 40px; height: 40px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 22px; font-weight: 600; margin: 12px 0 0; letter-spacing: -0.01em; }
.card p { font-size: 16px; line-height: 1.6; color: var(--mute); margin: 10px 0 0; }
.card.feat { padding: 28px; }
.card.feat .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--gold); }
.card.feat h3 { font-size: 19px; margin-top: 16px; }
.card.feat p { font-size: 15px; margin-top: 8px; }
.card .tag { font-size: 12px; letter-spacing: 0.1em; font-weight: 600; color: var(--gold); }

.digest { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.digest .lead { font-size: 18px; line-height: 1.6; color: var(--mute); margin-top: 16px; max-width: 480px; }
.mail { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 28px; box-shadow: 0 20px 50px rgba(9,29,33,.12); }
.mail .from { font-size: 12px; color: var(--mute); }
.mail .subj { font-size: 18px; font-weight: 600; margin-top: 4px; }
.mail .intro { font-size: 15px; color: #2b4249; margin-top: 14px; }
.mail .item { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.mail .item b { font-size: 14px; font-weight: 600; display: block; }
.mail .item p { font-size: 14px; line-height: 1.55; color: #2b4249; margin: 4px 0 0; }
.mail .item span { font-size: 13px; color: var(--accent); font-weight: 500; display: block; margin-top: 6px; }

.pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.toggle { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; font-size: 14px; }
.toggle button { border: 0; background: transparent; padding: 7px 14px; border-radius: 8px; color: var(--mute); font: inherit; cursor: pointer; }
.toggle button.on { background: var(--accent); color: #fff; }
.plan { display: flex; flex-direction: column; gap: 14px; }
.plan.hi { border: 2px solid var(--accent); }
.plan .name { font-size: 18px; font-weight: 600; }
.plan .price { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.plan .price small { font-size: 16px; color: var(--mute); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan .btn { margin-top: auto; }

.faq { margin-top: 32px; max-width: 900px; }
.faq details { border-top: 1px solid var(--line); padding: 6px 0; }
.faq summary { display: flex; justify-content: space-between; cursor: pointer; font-size: 19px; font-weight: 600; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .a { font-size: 16px; line-height: 1.6; color: var(--mute); max-width: 760px; padding: 0 0 18px; margin: 0; }

footer { margin-top: 96px; background: var(--ink); color: #fff; padding: 56px 0; }
footer .row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .brand { display: flex; align-items: center; gap: 16px; }
footer .brand span { color: var(--hero-dim); font-size: 14px; }
footer .links { display: flex; gap: 24px; font-size: 14px; color: var(--hero-mute); flex-wrap: wrap; }
footer .links a { color: inherit; text-decoration: none; }
footer .links a:hover { color: #fff; }
footer .legal { margin-top: 24px; font-size: 12px; color: var(--hero-dim); line-height: 1.6; }

/* Legal pages */
.page { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.page h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.page .updated { color: var(--mute); font-size: 14px; margin-bottom: 32px; }
.page h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.page p, .page li { font-size: 16px; line-height: 1.65; color: #2b4249; }
.page ul { padding-left: 22px; }
.page table { border-collapse: collapse; width: 100%; font-size: 15px; }
.page th, .page td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.topbar { background: var(--ink); }
.topbar .nav { height: 72px; }

@media (max-width: 900px) {
  .hero-grid, .digest { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .grid3 { grid-template-columns: 1fr; }
  .nav .links a:not(.btn) { display: none; }
  section.block { padding-top: 64px; }
  .sample { box-shadow: 0 16px 40px rgba(0,0,0,.3); }
  footer .row { flex-direction: column; align-items: flex-start; }
}
