/* Feedfolio website. One stylesheet, no external requests (CSP default-src 'self'). */

:root {
  --navy: #14213D;
  --navy-2: #1C2D52;
  --amber: #FCA311;
  --amber-ink: #A35F00;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --surface: #FFFFFF;
  --surface-2: #F0F2F5;
  --line: #E3E6EB;
  --fg: #14213D;
  --fg-2: #4B5669;
  --fg-3: #6B7488;
  --accent-soft: #FFF3DF;
  --ok: #1E7A4C;
  --link: #14213D;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .08);
  --shadow-phone: drop-shadow(0 18px 30px rgba(20, 33, 61, .18));
  --radius: 14px;
  --radius-s: 8px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1221;
    --bg-soft: #0F1829;
    --surface: #131E33;
    --surface-2: #18253E;
    --line: #24324D;
    --fg: #F2F4F8;
    --fg-2: #B4BDCD;
    --fg-3: #8C97AC;
    --accent-soft: #2A2113;
    --amber-ink: #FCB443;
    --ok: #5CC992;
    --link: #F2F4F8;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-phone: drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin: .3em 0; }
strong { font-weight: 650; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); text-decoration: none; }
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--bg); } }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: 6px 0; }
.brand img { height: 26px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a { text-decoration: none; color: var(--fg-2); font-size: .95rem; font-weight: 550; padding: 8px 12px; border-radius: var(--radius-s); }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--fg); background: var(--surface-2); }
.nav-desktop .btn { margin-left: 8px; }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); font-weight: 600; font-size: .95rem; color: var(--fg);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary svg { width: 18px; height: 18px; }
.nav-mobile[open] summary { background: var(--surface-2); }
.nav-mobile .panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; display: grid; gap: 2px;
}
.nav-mobile .panel a { text-decoration: none; padding: 11px 12px; border-radius: var(--radius-s); font-weight: 550; color: var(--fg); }
.nav-mobile .panel a:hover { background: var(--surface-2); }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: .98rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-s { min-height: 38px; padding: 7px 14px; font-size: .92rem; }
@media (prefers-color-scheme: dark) {
  .btn-dark { background: #fff; color: var(--navy); }
  .btn-dark:hover { background: #E8ECF3; }
}

.play {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #000; color: #fff; border: 1px solid #3A3A3A; border-radius: 12px;
  padding: 10px 20px 10px 16px; min-height: 58px; line-height: 1.15;
  transition: transform .15s ease, box-shadow .15s ease;
}
.play:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .22); text-decoration: none; }
.play svg { width: 26px; height: 28px; flex: none; }
.play .small { display: block; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.play .big { display: block; font-size: 1.28rem; font-weight: 650; letter-spacing: -0.01em; }
@media (prefers-color-scheme: dark) { .play { border-color: #5A6273; } }
@media (prefers-reduced-motion: reduce) { .play { transition: none; } .play:hover { transform: none; } }

/* Hero */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 70%),
    radial-gradient(700px 380px at 0% 0%, color-mix(in srgb, var(--navy) 8%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 650; color: var(--amber-ink);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hero h1 { margin-bottom: 16px; }
.hero h1 .accent { color: var(--amber-ink); }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--fg-2); max-width: 36em; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.fine { font-size: .88rem; color: var(--fg-3); margin-top: 16px; }

.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 600px; padding-top: 48px; }
.hero-art img { width: 250px; filter: var(--shadow-phone); }
.hero-art .front { position: relative; z-index: 2; transform: translateX(-46px); }
.hero-art .back { position: absolute; z-index: 1; transform: translate(96px, -40px) rotate(4deg); opacity: .97; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { min-height: 0; padding: 36px 0 16px; }
  .hero-art img { width: 200px; }
  .hero-art .front { transform: translateX(-38px); }
  .hero-art .back { transform: translate(70px, -26px) rotate(4deg); }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero-art img { width: 168px; }
  .hero-art .front { transform: translateX(-30px); }
  .hero-art .back { transform: translate(58px, -22px) rotate(4deg); }
  .play { padding: 9px 16px 9px 14px; }
}

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 10px; }
.section-head p { color: var(--fg-2); font-size: 1.08rem; }
@media (max-width: 700px) { .section { padding: 56px 0; } .section-head { margin-bottom: 28px; } }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 14px 0 6px; }
.card p { color: var(--fg-2); margin: 0; font-size: .97rem; }
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--amber-ink);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.navy { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .icon-tile.navy { background: #26375C; } }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-art { order: -1; }
.feature-art { display: flex; justify-content: center; gap: 18px; }
.feature-art img { width: 240px; filter: var(--shadow-phone); }
.feature-art.pair img { width: 210px; }
.feature-art.pair img:last-child { margin-top: 48px; }
.feature h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.feature p { color: var(--fg-2); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; margin: 0; color: var(--fg); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C97D00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .feature.flip .feature-art { order: 0; }
  .feature-art img { width: 210px; }
  .feature-art.pair img { width: 160px; }
  .feature-art.pair img:last-child { margin-top: 32px; }
}
@media (max-width: 400px) {
  .feature-art.pair { gap: 12px; }
  .feature-art.pair img { width: 140px; }
}

.tool-panel {
  width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 10px;
}
.tool-panel .tool-title { flex-basis: 100%; font-weight: 700; margin-bottom: 4px; }
.tool-panel .chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px;
  background: var(--surface-2); font-weight: 600; font-size: .93rem;
}
.tool-panel .chip svg { width: 18px; height: 18px; color: var(--amber-ink); }
.tool-panel .tool-foot { flex-basis: 100%; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--fg-2); font-size: .9rem; }
.tool-panel .tool-foot svg { width: 18px; height: 18px; color: var(--ok); }

/* Privacy band */
.band { background: var(--navy); color: #fff; border-radius: 20px; padding: 48px; position: relative; overflow: hidden; }
.band h2 { color: #fff; max-width: 18em; }
.band .sub { color: #C9D1E0; max-width: 40em; font-size: 1.06rem; }
.band-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; margin-top: 28px; }
.band-item { display: flex; gap: 14px; align-items: flex-start; }
.band-item .icon-tile { background: rgba(255, 255, 255, .08); color: var(--amber); flex: none; }
.band-item h3 { color: #fff; font-size: 1.05rem; margin: 2px 0 4px; }
.band-item p { color: #C9D1E0; margin: 0; font-size: .96rem; }
.band a { color: #fff; }
.band .cta-row { margin-top: 28px; }
.band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.band .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
@media (prefers-color-scheme: dark) { .band { background: #131E33; border: 1px solid var(--line); } }
@media (max-width: 760px) { .band { padding: 32px 22px; border-radius: 16px; } .band-grid { grid-template-columns: 1fr; } }

/* Screenshot strip */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 28px; margin: 0 -4px;
  scrollbar-width: thin; overscroll-behavior-x: contain;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { width: 220px; filter: var(--shadow-phone); }
.shots figcaption { font-size: .9rem; color: var(--fg-2); margin-top: 12px; padding: 0 4px; }
.shots figcaption strong { display: block; color: var(--fg); font-size: .98rem; }
@media (max-width: 560px) { .shots { grid-auto-columns: 180px; gap: 16px; } .shots img { width: 180px; } }
.shots-note { font-size: .85rem; color: var(--fg-3); margin-top: 4px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 650; position: relative; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--fg-3); border-bottom: 2px solid var(--fg-3); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 20px 18px; color: var(--fg-2); }
.faq .answer p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Contact */
.contact-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow);
}
.contact-card h2 { margin-bottom: 8px; }
.contact-card p { color: var(--fg-2); margin: 0; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mail { font-weight: 650; font-size: 1.15rem; word-break: break-all; }
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; padding: 28px 22px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; margin-top: 40px; background: var(--bg-soft); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-3); margin-bottom: 12px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 8px; }
.footer-grid a { color: var(--fg-2); text-decoration: none; }
.footer-grid a:hover { color: var(--fg); text-decoration: underline; }
.footer-brand img { height: 24px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--fg-2); max-width: 26em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; color: var(--fg-3); font-size: .88rem; }
.footer-bottom a { color: var(--fg-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 400px) { .footer-grid { grid-template-columns: 1fr; } }

/* Documents (privacy, terms, delete account, support) */
.doc-hero { padding: 56px 0 28px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.doc-hero h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-bottom: 12px; }
.doc-hero p { color: var(--fg-2); font-size: 1.08rem; margin: 0; max-width: 42em; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .9rem; color: var(--fg-3); }
.doc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.doc { padding: 40px 0 24px; }
.doc h2 { font-size: clamp(1.35rem, 2.6vw, 1.6rem); margin: 2.2em 0 .6em; padding-top: .2em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.doc p, .doc li { color: var(--fg); }
.doc .muted { color: var(--fg-2); }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.doc-layout > *, .doc article { min-width: 0; }
.doc code { overflow-wrap: anywhere; }
.toc { position: sticky; top: 88px; font-size: .9rem; border-left: 2px solid var(--line); padding-left: 16px; max-height: calc(100vh - 110px); overflow-y: auto; }
.toc h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-3); margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin: 0 0 7px; }
.toc a { color: var(--fg-2); text-decoration: none; }
.toc a:hover { color: var(--fg); text-decoration: underline; }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; max-height: none; border-left: 0; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
}

.summary-box {
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); border-radius: var(--radius);
  padding: 24px 26px; margin-bottom: 32px;
}
.summary-box h2 { margin: 0 0 12px !important; font-size: 1.2rem; }
.summary-box ul { margin: 0; }
.summary-box li { margin: .45em 0; }

.note {
  border-left: 4px solid var(--amber); background: var(--surface-2); padding: 14px 18px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 1.2em 0;
}
.note p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius-s); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-weight: 650; font-size: .86rem; color: var(--fg); }
tr:last-child td { border-bottom: 0; }
td code { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; }
  table { min-width: 0; }
  table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 12px; background: var(--surface); }
  td { border-bottom: 1px solid var(--line); padding: 10px 14px; }
  tr td:last-child { border-bottom: 0; }
  td::before { content: attr(data-label); display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); margin-bottom: 2px; }
  td:empty { display: none; }
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1em 0 1.5em; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 58px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .92rem;
}
@media (prefers-color-scheme: dark) { .steps li::before { background: var(--amber); color: var(--navy); } }

.path { font-weight: 650; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1em 0 1.5em; }
.two-col .card h3 { margin-top: 0; }
.two-col .card ul { margin: 0; }
.two-col .card li { color: var(--fg-2); }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

.mail-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 1em 0 1.5em; }
.mail-box dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.mail-box dt { font-weight: 650; color: var(--fg-2); }
.mail-box dd { margin: 0; word-break: break-word; }
@media (max-width: 480px) { .mail-box dl { grid-template-columns: 1fr; gap: 2px; } .mail-box dd { margin-bottom: 10px; } }

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 40px; }
.help-grid .card { text-decoration: none; color: inherit; display: block; transition: border-color .15s ease; }
.help-grid .card:hover { border-color: var(--amber); }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } }

/* 404 */
.not-found { padding: 96px 0 40px; text-align: center; }
.not-found .code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--amber); margin-bottom: 8px; }
.not-found p { color: var(--fg-2); }
.not-found .cta-row { justify-content: center; margin-top: 24px; }

/* Print */
@media print {
  .site-header, .site-footer, .toc, .skip, .nav-mobile { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .doc-layout { display: block; }
  a { color: #000; }
}
