/* EveryAIDay — shared styles. No external resources. System font stack only. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef0f3;
  --ink: #15181d;
  --muted: #566073;
  --faint: #8a93a1;
  --line: #dfe3e9;
  --accent: #0b6e57;
  --accent-strong: #095c47;
  --accent-soft: #dff2ea;
  --accent-ink: #0b6e57;
  --gold: #b7791f;
  --gold-soft: #faf0d7;
  --active-cue: #fdf3c8;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px -12px rgba(16, 24, 40, 0.18);
  --shadow-lift: 0 2px 4px rgba(16, 24, 40, 0.08), 0 16px 32px -12px rgba(16, 24, 40, 0.28);
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1114;
    --surface: #171a1f;
    --surface-2: #1f232a;
    --ink: #eceef2;
    --muted: #a3abb9;
    --faint: #767f8e;
    --line: #282e37;
    --accent: #2fbf9b;
    --accent-strong: #5ad3b6;
    --accent-soft: #14332b;
    --accent-ink: #5ad3b6;
    --gold: #e3b341;
    --gold-soft: #332a12;
    --active-cue: #3a3413;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.5), 0 16px 32px -12px rgba(0, 0, 0, 0.7);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px 64px; }

/* ---------- Sticky header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 0 -20px; padding: 14px 20px;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.site-head nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-head nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 7px 11px; border-radius: 8px; }
.site-head nav a:hover { color: var(--accent-strong); background: var(--surface-2); }
.site-head nav a.cta { color: #fff; background: var(--accent); }
.site-head nav a.cta:hover { background: var(--accent-strong); color: #fff; }
@media (prefers-color-scheme: dark) { .site-head nav a.cta { color: #06231b; } }


/* ---------- Hero ---------- */
.hero { padding: 44px 0 26px; max-width: 780px; border-bottom: 1px solid var(--line); }
.hero h1, .section-head h2, section.block > h2, .cta-band h2 { text-wrap: balance; }
.hero-band {
  margin: 0 -20px; padding: 48px 20px 34px;
  background:
    radial-gradient(560px 220px at 88% -10%, var(--gold-soft), transparent 70%),
    linear-gradient(180deg, var(--accent-soft), transparent 78%);
  border-bottom: 1px solid var(--line);
}
.hero-band .hero { padding-top: 0; border-bottom: 0; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent-strong); margin-bottom: 12px; }
.hero h1 { margin: 0 0 12px; font-size: clamp(30px, 5vw, 44px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
.hero p { margin: 0; color: var(--muted); font-size: 17.5px; max-width: 660px; }
.hero .free-note { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 6px 13px; border-radius: 999px; }
.hero .free-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 660px; }
.stat-row .stat b { display: block; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.stat-row .stat span { font-size: 13px; color: var(--muted); }

/* ---------- Tool cards ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
.tool-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.tool-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tool-card h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; }
.tool-card p { margin: 0; font-size: 14.5px; color: var(--muted); flex: 1; }
.tool-card .go { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--accent); transition: transform 0.15s ease; }
.tool-card:not(.coming):hover .go { transform: translateX(3px); }
.tool-card .tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 999px; padding: 3px 9px; margin-bottom: 12px; align-self: flex-start; }
.tool-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); font-family: var(--mono); font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.tool-icon.gold { background: var(--gold-soft); color: var(--gold); }
/* Full-bleed gradient header for cards without a photo — same 3:2 geometry as .tool-thumb, so the grid rhythm stays even. */
.tool-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: calc(100% + 44px); aspect-ratio: 3 / 2; margin: -22px -22px 16px; border-radius: 12px 12px 0 0; background-image: radial-gradient(rgba(11, 110, 87, 0.13) 1.2px, transparent 1.3px), linear-gradient(135deg, var(--accent-soft), var(--gold-soft)); background-size: 20px 20px, auto; border-bottom: 1px solid var(--line); }
.tool-visual .tv-glyph { font-family: var(--mono); font-size: 62px; line-height: 1; color: var(--accent-strong); }
.tool-visual .tv-cap { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-strong); }
.tool-visual.gold { background-image: radial-gradient(rgba(183, 121, 31, 0.16) 1.2px, transparent 1.3px), linear-gradient(135deg, var(--gold-soft), var(--accent-soft)); }
.tool-visual.gold .tv-glyph { color: var(--gold); }
.tool-visual.gold .tv-cap { color: var(--gold); }
.tool-card.coming { border-style: dashed; box-shadow: none; }
.tool-card.coming:hover { transform: none; box-shadow: none; border-color: var(--faint); }
.tool-card.coming .go { color: var(--faint); }

/* ---------- Panels & tool UI ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-head h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.panel-head .hint { font-size: 12.5px; color: var(--faint); font-family: var(--mono); white-space: nowrap; }
textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.6; padding: 12px 14px; resize: vertical; }
textarea:focus, input:focus, select:focus, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 8px; cursor: pointer; line-height: 1.3; }
.btn:hover { border-color: var(--faint); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.10), 0 8px 20px -10px rgba(11, 110, 87, 0.55); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-1px); }
@media (prefers-color-scheme: dark) { .btn.primary { color: #06231b; } }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn[disabled]:hover { border-color: var(--line); background: var(--surface); }
.btn.primary[disabled]:hover { background: var(--accent); border-color: var(--accent); }
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field label, .field .flabel { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field .sub { font-size: 12.5px; color: var(--faint); margin-top: 5px; }
.num-input, .text-input, select.text-input { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; padding: 9px 10px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; margin-bottom: 10px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); }

/* ---------- Content sections ---------- */
section.block { margin-top: 60px; max-width: 880px; }
section.block > h2 { font-size: 25px; letter-spacing: -0.015em; margin: 0 0 8px; line-height: 1.25; }
section.block > p.lede { color: var(--muted); margin: 0 0 18px; font-size: 16.5px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 54px 0 4px; }
.section-head h2 { position: relative; font-size: 25px; letter-spacing: -0.015em; margin: 0; line-height: 1.25; padding-bottom: 8px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--accent); }
.section-head a { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.step .num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 15.5px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 18px; flex: none; }
details.faq summary:hover { color: var(--accent-strong); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 16px; color: var(--muted); font-size: 15px; max-width: 700px; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rel-card { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.rel-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.rel-card h3 { margin: 0 0 5px; font-size: 16px; }
.rel-card p { margin: 0; font-size: 14px; color: var(--muted); }
.rel-card .go { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.prose { max-width: 720px; }
.prose p { color: var(--muted); }
.prose h2 { margin-top: 32px; }

/* ---------- Footer ---------- */
footer { position: relative; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 28px; color: var(--faint); font-size: 13.5px; }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 22px; }
.foot-grid h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.foot-grid p { margin: 0; max-width: 340px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 7px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }
.foot-bottom a { color: var(--muted); }
.hidden { display: none !important; }
.copy-msg { font-size: 13px; color: var(--accent-strong); font-weight: 600; min-height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 20px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tool-grid { grid-template-columns: 1fr; }
  .panel { padding: 16px; }
  .hero-band { padding: 34px 20px 26px; }
  .site-head nav a { padding: 6px 8px; font-size: 13.5px; }
  .foot-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Images ---------- */
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; max-width: none; }
.hero-figure { margin: 0; }
.hero-figure img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.tool-thumb { display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -22px -22px 16px; border-radius: 12px 12px 0 0; border-bottom: 1px solid var(--line); }
.tool-banner { margin: 8px 0 24px; }
.tool-banner img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }

/* ---------- Playbook: tool-first layout (2026-11-13) ---------- */
.hero-band.compact { padding: 30px 20px 24px; }
.pill-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: #fff; background: var(--accent); border-radius: 999px; padding: 4px 12px; }
.updated { font-size: 13px; color: var(--faint); font-weight: 600; }
.micro-trust { margin: 16px 0 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.micro-trust b { color: var(--accent-strong); }
.demo-strip { margin-top: 54px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.demo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.demo-card h3 { margin: 0 0 4px; font-size: 16.5px; }
.demo-card > p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.demo-card pre { margin: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.demo-beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-beforeafter .ba { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; line-height: 1.6; }
.demo-beforeafter .ba h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.demo-beforeafter .ba p { margin: 0; color: var(--muted); }
.sample-titles { list-style: none; margin: 0 0 12px; padding: 0; counter-reset: t; }
.sample-titles li { display: flex; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sample-titles li:last-child { border-bottom: 0; }
.sample-titles li::before { counter-increment: t; content: counter(t); font-family: var(--mono); font-size: 12px; color: var(--accent-strong); font-weight: 700; padding-top: 2px; flex: none; }
.sample-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sample-tags span { font-family: var(--mono); font-size: 12.5px; background: var(--accent-soft); color: var(--accent-strong); border-radius: 999px; padding: 4px 10px; }
.trust-strip { margin-top: 56px; text-align: center; font-size: 16px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.trust-strip span { color: var(--accent-strong); }
.rules-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.rules-box h3 { margin: 0 0 10px; font-size: 16px; }
.rules-box ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.rules-box li { margin-bottom: 6px; }
.rules-box li b { color: var(--ink); }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.use-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.use-card h3 { margin: 0 0 5px; font-size: 15.5px; }
.use-card p { margin: 0; font-size: 14px; color: var(--muted); }
.cta-band { margin-top: 60px; text-align: center; background: linear-gradient(120deg, var(--accent-soft), var(--gold-soft)); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 20px; }
.cta-band h2 { margin: 0 0 8px; font-size: 23px; letter-spacing: -0.015em; }
.cta-band p { margin: 0 0 16px; color: var(--muted); }
.cta-band .btn { font-size: 15px; padding: 11px 22px; text-decoration: none; display: inline-block; }
.figure-inline { margin: 0 0 18px; }
.figure-inline img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.char-count { font-family: var(--mono); font-size: 12px; color: var(--faint); white-space: nowrap; padding-top: 3px; }
@media (max-width: 960px) {
  .demo-grid { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .use-grid { grid-template-columns: 1fr; }
  .demo-beforeafter { grid-template-columns: 1fr; }
}

/* ---------- Categories (2026-11-14) ---------- */
.cat-desc { color: var(--muted); margin: 6px 0 2px; font-size: 15px; max-width: 720px; }
.cat-count { font-size: 13px; color: var(--faint); font-weight: 700; white-space: nowrap; }
.cat-guide { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.cat-guide b { color: var(--ink); }
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 4px; }
.cat-nav a { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--accent-strong); background: var(--accent-soft); border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.cat-nav a:hover { background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .cat-nav a:hover { color: #06231b; } }

/* ---------- Mobile hamburger nav (2026-11-14) ---------- */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-btn { display: none; }
@media (max-width: 640px) {
  .site-head { flex-wrap: nowrap; }
  .nav-toggle-btn { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
  .site-head nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 12px; }
  .nav-toggle:checked ~ nav { display: flex; }
  .site-head nav a { padding: 10px 11px; }
}
