/* TempMailBox24 — one stylesheet, no build step. */

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.06%;
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens. Deep green on soft neutrals, taken from the logo; the bright green is the one accent. */
:root {
  color-scheme: light dark;
  --bg: #f4f7f4;
  --surface: #ffffff;
  --soft: #f8faf8;
  --ink: #0c1a10;
  --muted: #5c6a60;
  --text: #33443a;
  --line: #e1e8e2;
  --bar: #06240f;
  --bar-ink: #ffffff;
  --bar-line: rgba(255, 255, 255, 0.1);
  --bar-hover: #0c3719;
  --accent: #0fae23;
  --accent-ink: #0b7d18;
  --logo-ink: #032b0f;
  --bar-accent: #4be35a;
  --shadow: 0 1px 2px rgba(6, 36, 15, 0.04), 0 14px 32px -18px rgba(6, 36, 15, 0.16);
  --shadow-lift: 0 2px 4px rgba(6, 36, 15, 0.05), 0 22px 40px -20px rgba(6, 36, 15, 0.24);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ok: #1f9d61;
  --danger: #c2412d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070d09;
    --surface: #0e1611;
    --soft: #121c15;
    --ink: #eef5f0;
    --muted: #8fa094;
    --text: #c0cec4;
    --line: #1d2a21;
    --bar: #113019;
    --bar-ink: #eef5f0;
    --bar-line: rgba(255, 255, 255, 0.07);
    --bar-hover: #184022;
    --accent: #4be35a;
    --accent-ink: #5fe66c;
    --logo-ink: #eef6f0;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 32px -18px rgba(0, 0, 0, 0.7);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.35), 0 22px 40px -20px rgba(0, 0, 0, 0.8);
    --ok: #3ccf8a;
    --danger: #ee6f5b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.55 "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

/* ───────── Header ───────── */

.top-in, main, .foot { width: 100%; max-width: 980px; margin-inline: auto; padding-inline: 20px; }
main { flex: 1; }
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 84%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-logo { width: 46px; height: 25px; }
.brand-logo .ink { stroke: var(--logo-ink); }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.brand-name b { margin-inline-start: 1px; font-size: 0.62em; font-weight: 650; letter-spacing: 0; color: var(--accent-ink); vertical-align: 0.55em; }
.nav { display: flex; gap: 22px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { position: relative; padding-block: 4px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav a:hover { color: var(--ink); }

/* ───────── Address and actions ───────── */

.box { background: var(--surface); border: 1px solid var(--line); border-top: 0; overflow: hidden; }
.box-inbox { margin-top: 18px; border-top: 1px solid var(--line); }

.address-row { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 16px; }
/* A soft band of light crosses the card every few seconds, behind the text. */
.address-row::before {
  content: ""; position: absolute; inset: 0 auto 0 0; z-index: -1; width: 38%;
  background: linear-gradient(105deg, transparent 20%, color-mix(in srgb, var(--accent) 16%, transparent) 50%, transparent 80%);
  animation: shine 3.2s ease-in-out infinite;
}
.address { position: relative; max-width: 100%; padding: 3px 10px; font-size: 16px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; transition: color 0.2s; font-feature-settings: "calt" 0; }
.address::after { content: ""; position: absolute; inset: auto 10px 1px 10px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.address:hover::after, .address.is-copied::after { transform: scaleX(1); }
.address b { font-weight: 500; }
.address span span { color: var(--muted); }
.address.is-copied, .address.is-copied span span { color: var(--accent-ink); }

/* The connection state is kept for screen readers only; nothing is drawn. */
.status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.actions { display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(180deg, color-mix(in srgb, var(--bar) 93%, #fff), var(--bar)); color: var(--bar-ink); }
.actions button {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px 8px;
  font-size: 11.5px; line-height: 1.2; font-weight: 450; letter-spacing: 0.01em;
  position: relative; border-inline-start: 1px solid var(--bar-line); transition: background 0.2s;
}
.actions button::after { content: ""; position: absolute; inset: auto 22% 0 22%; height: 2px; background: var(--bar-accent); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.actions button:hover::after { transform: scaleX(1); }
.actions button svg { transition: transform 0.25s var(--ease); }
.actions button:hover svg { transform: translateY(-1px); }
.actions button:active svg { transform: scale(0.9); }
.actions button:first-child { border-inline-start: 0; }
.actions button:hover { background: var(--bar-hover); }
.actions button:focus-visible { outline-offset: -3px; }
.actions svg { width: 19px; height: 19px; stroke-width: 1.4; }
.actions .is-spinning svg { animation: spin 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.actions .is-done { background: var(--bar-hover); }
.actions .is-done svg { color: var(--bar-accent); animation: pop 0.35s var(--ease); }
.actions .is-danger { background: var(--danger); color: #fff; }

/* ───────── Inbox ───────── */

.inbox-head, .item { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr) auto; gap: 16px; align-items: center; padding-inline: 18px; }
.inbox-head { position: relative; overflow: hidden; min-height: 32px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 550; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.inbox-head span:last-child { text-align: end; }
/* A hairline that glides across while the inbox is listening for mail. */
.inbox[data-view="empty"] .inbox-head::after { content: ""; position: absolute; inset: auto auto 0 0; width: 28%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: sweep 2.8s ease-in-out infinite; }

.inbox { min-height: 266px; }
.list, .empty, .reader { display: none; }
.inbox[data-view="mail"] .list { display: block; }
.inbox[data-view="empty"] .empty { display: flex; }
.inbox[data-view="read"] .reader { display: block; animation: rise 0.3s var(--ease); }
.inbox[data-view="read"] .inbox-head { display: none; }

.item { width: 100%; padding-block: 10px; font-size: 13px; text-align: start; border-bottom: 1px solid var(--line); cursor: pointer; transition: background 0.15s; }
.item:last-child { border-bottom: 0; }
.item:hover { background: var(--soft); }
.item:focus-visible { outline-offset: -3px; }
.item-from, .item-subject { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.item-main { min-width: 0; display: flex; align-items: center; gap: 10px; }
.item time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item.is-unread .item-from, .item.is-unread .item-subject { color: var(--ink); font-weight: 550; }
.item.is-unread .item-from::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-end: 8px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.item.is-fresh { animation: arrive 1.4s var(--ease); }

.code-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; transition: border-color 0.15s; }
.code-chip svg { width: 12px; height: 12px; color: var(--muted); }
.code-chip:hover { border-color: var(--accent); color: var(--accent-ink); }

.empty { flex-direction: column; align-items: center; text-align: center; padding: 30px 20px 30px; }
.empty p { margin: 0 0 30px; font-size: 14px; color: var(--muted); }
.empty-mark { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.empty-mark svg { width: 28px; height: 28px; stroke-width: 1.1; animation: float 3.6s ease-in-out infinite; }
.empty small { margin-top: 28px; font-size: 12px; color: var(--muted); }
.dots b { font-weight: inherit; animation: dot 1.4s infinite both; }
.dots b:nth-child(2) { animation-delay: 0.2s; }
.dots b:nth-child(3) { animation-delay: 0.4s; }

/* ───────── Reader ───────── */

.reader-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 8px; background: var(--soft); border-bottom: 1px solid var(--line); }
.text-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; font-size: 13px; font-weight: 500; color: var(--muted); transition: color 0.15s; }
.text-btn:hover { color: var(--ink); }
.text-btn.is-danger:hover { color: var(--danger); }
.reader-tools { display: flex; align-items: center; gap: 6px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; font-size: 12px; }
.seg button { padding: 3px 10px; color: var(--muted); font-weight: 500; transition: background 0.2s, color 0.2s; }
.seg button.is-on { background: var(--bar); color: var(--bar-ink); }

.reader-meta { padding: 16px 18px 12px; }
.reader-meta h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.reader-from { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.reader-from b { font-weight: 550; }
.reader-from span, .reader-from time { color: var(--muted); overflow-wrap: anywhere; }

.code-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 18px 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.code-banner small { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 550; }
.code-banner strong { font-size: 20px; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; font-weight: 600; }

.reader-body { border-top: 1px solid var(--line); min-height: 220px; display: flex; flex-direction: column; }
.mail-frame { overflow: hidden; min-height: 200px; background: #fff; }
.mail-frame iframe { display: block; width: 100%; height: 200px; border: 0; background: #fff; opacity: 0; transform-origin: 0 0; transition: opacity 0.2s ease-out; }
.reader-text { margin: 0; padding: 14px 18px; font: inherit; font-size: 13.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.reader-text a { color: var(--accent-ink); }
.reader-note { margin: auto; padding: 40px 20px; color: var(--muted); text-align: center; }
.attachments { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.attachments span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachments svg { width: 13px; height: 13px; }
.spinner { margin: 60px auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); border-top-color: var(--ink); animation: spin 0.7s linear infinite; }

/* ───────── Buttons, dialog, toasts ───────── */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--bar); color: var(--bar-ink); font-size: 13px; font-weight: 500; text-decoration: none; border-radius: 8px; transition: background 0.2s, transform 0.2s var(--ease); }
.btn:hover { background: var(--bar-hover); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 15px; height: 15px; }

.dialog { width: min(320px, calc(100vw - 32px)); padding: 24px 22px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lift); text-align: center; }
.dialog[open] { animation: pop-in 0.28s var(--ease); }
.dialog::backdrop { background: rgba(4, 16, 8, 0.5); animation: fade-in 0.2s ease-out; }
.dialog h3 { margin: 0 0 18px; font-size: 15px; font-weight: 600; }
.dialog p { margin: 14px 0 18px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.dialog .btn { width: 100%; }
.qr { width: 188px; height: 188px; margin: 0 auto; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #0c1a10; display: grid; place-items: center; font-size: 13px; }
.qr svg { width: 100%; height: 100%; stroke: none; }
.qr .spinner { margin: 0; }

.toasts { position: fixed; inset: auto 0 calc(22px + env(safe-area-inset-bottom)) 0; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; z-index: 10; }
.toast { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--bar); color: var(--bar-ink); border: 1px solid var(--bar-line); border-radius: 8px; box-shadow: var(--shadow-lift); font-size: 13px; font-weight: 450; animation: rise 0.3s var(--ease); }
.toast svg { width: 15px; height: 15px; }
.toast.is-out { opacity: 0; transform: translateY(4px); transition: opacity 0.25s, transform 0.25s; }

/* ───────── Blog cards, tags, footer ───────── */

/* Newest posts on the home page: small image cards. */
.guides { margin-top: 26px; }
.guides-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-inline: 2px; }
.guides-head h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.012em; }
.guides-head a { font-size: 12.5px; font-weight: 500; color: var(--accent-ink); text-decoration: none; }
.guides-head a::after { content: " \2192"; }
.guides-head a:hover { text-decoration: underline; }
.guides-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guide { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.guide:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.guide img { display: block; width: 96px; height: 72px; border-radius: 9px; object-fit: cover; }
.guide b, .guide em { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.guide b { -webkit-line-clamp: 2; font-size: 13.5px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); transition: color 0.2s; }
.guide:hover b { color: var(--accent-ink); }
.guide em { -webkit-line-clamp: 1; margin-top: 3px; font-size: 12px; font-style: normal; color: var(--muted); }
.guide small { display: block; margin-top: 5px; font-size: 11px; color: color-mix(in srgb, var(--muted) 80%, transparent); }

.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; margin-top: 19px; }
.posts-wide { grid-template-columns: 1fr; gap: 10px; max-width: 720px; margin: 10px auto 0; }
.post-card { display: flex; gap: 14px; min-width: 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.post-card:hover b { color: var(--accent-ink); }
.post-card img { flex: none; width: 90px; height: 67px; object-fit: cover; }
.post-card div { min-width: 0; }
.post-card b { display: block; margin-bottom: 2px; font-size: 13px; line-height: 19px; font-weight: 550; letter-spacing: -0.005em; color: var(--ink); transition: color 0.2s; }
.post-card span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 11.5px; line-height: 15.5px; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 19px; }
.tags a { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12px; color: var(--muted); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.tags a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent-ink); }

/* Small and quiet, but every page stays one click away (search engines follow these links). */
.foot { max-width: none; margin-top: 36px; padding-block: 20px 18px; background: var(--bar); font-size: 12px; text-align: center; color: #7d9384; }
.foot-in { max-width: 940px; margin-inline: auto; display: grid; gap: 6px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; }
.foot a { color: #9cb0a2; text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: #fff; }
.foot nav + nav a { color: #c6d6ca; }
.foot p { margin: 6px 0 0; font-size: 11.5px; }

/* ───────── Plain pages (blog post, privacy, 404) ───────── */

.page { padding: 26px 0 20px; }
.page h1 { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.page h2 { margin: 24px 0 6px; font-size: 15px; font-weight: 600; }
.page p, .page li { max-width: 66ch; color: var(--muted); }
.page ul { padding-inline-start: 20px; }
.page .btn { margin-top: 12px; }

.page-head, .section-title { max-width: 720px; margin-inline: auto; }
.page-head { padding: 28px 0 8px; }
.page-head h1 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.page-head p { margin: 0; color: var(--muted); }
.section-title { margin-top: 30px; font-size: 10.5px; font-weight: 550; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.article { max-width: 720px; margin: 19px auto 0; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.article-cover { display: block; width: 100%; height: 150px; object-fit: contain; }
.article-body { padding: 22px 28px 26px; }
.crumb { margin: 0 0 10px; font-size: 10.5px; font-weight: 550; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.crumb a { color: var(--accent-ink); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.byline { margin: -8px 0 18px !important; font-size: 12.5px !important; color: var(--muted) !important; }
.article h3 { margin: 18px 0 4px; font-size: 14.5px; font-weight: 600; }
.article ol { margin: 0 0 12px; padding-inline-start: 22px; }
.article p a, .article li a { color: var(--accent-ink); text-underline-offset: 2px; }
.article strong { color: var(--ink); font-weight: 600; }

/* The words under the inbox on the home and keyword pages. */
.prose { max-width: none; padding: 26px 28px 24px; }
.prose > h1 { margin-bottom: 10px; font-size: 20px; letter-spacing: -0.02em; }
.prose > p { margin-bottom: 10px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.prose > .crumb { margin-bottom: 10px; }
.prose > .faq { margin-top: 18px; }
.prose > .section-title { max-width: none; margin: 26px 0 10px; padding-inline: 0; }
/* Sections that open on a tap: the heading is the row, the text sits under it. */
.faq summary h2 { margin: 0; font: inherit; letter-spacing: 0; }
.fold { padding-bottom: 6px; }
.fold > :first-child { margin-top: 0; }
.prose .fold p, .prose .fold li, .prose .faq > details > p { font-size: 14px; line-height: 1.65; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 14px; font-weight: 550; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-inline-end: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq p { margin: 0 0 14px; }
.article h1 { margin: 0 0 16px; font-size: 23px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.article h2 { margin: 26px 0 6px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; }
.article p, .article li { margin-block: 0 12px; font-size: 14.5px; line-height: 1.7; color: var(--text); }
.article ul { margin: 0 0 12px; padding-inline-start: 20px; }
.article li { margin-bottom: 4px; }
.article li b { color: var(--ink); font-weight: 600; }
.article .contact-list { display: grid; gap: 10px; margin: 18px 0 6px; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.contact-list b { color: var(--ink); font-weight: 600; }
.contact-list small { display: block; font-size: 12.5px; color: var(--muted); }
.contact-list a { color: var(--accent-ink); font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 550; }

/* ───────── Wider screens: detached, softly raised cards ───────── */

@media (min-width: 601px) {
  .box { margin-top: 20px; border-top: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .post-card, .article { border-radius: 12px; box-shadow: var(--shadow); }
  .post-card img { border-radius: 6px; }
}

/* ───────── Small screens ───────── */

@media (max-width: 600px) {
  .top-in, .foot { padding-inline: 10px; }
  main { padding-inline: 0; }
  .nav { gap: 14px; font-size: 11.5px; letter-spacing: 0.06em; }
  .brand-name { font-size: 16px; }
  .box, .post-card { border-inline: 0; }
  .guides-list { grid-template-columns: 1fr; gap: 10px; }
  .guides { padding-inline: 12px; }
  .guide { gap: 12px; }
  .guide img { width: 84px; height: 63px; }
  .posts:not(.posts-wide) > :nth-child(odd):nth-child(n + 3) { border-inline-end: 1px solid var(--line); }
  .posts:not(.posts-wide) > :nth-child(even):nth-child(n + 3) { border-inline-start: 1px solid var(--line); }
  .inbox-head { grid-template-columns: auto 1fr auto; gap: 12px; }
  .item { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .item-main { grid-column: 1 / -1; grid-row: 2; }
  .page, .page-head, .section-title { padding-inline: 14px; }
  .page-head { padding-top: 20px; }
  .article { margin-top: 0; border-inline: 0; border-top: 0; }
  .article-cover { height: 120px; }
  .article-body { padding: 18px 14px 22px; }
  .prose { padding: 20px 14px 18px; }
  .prose { margin-top: 19px; border-top: 1px solid var(--line); }
  .foot { padding-inline: 14px; }
  .article h1 { font-size: 20px; }
  .posts { gap: 19px 18px; }
  .posts > :nth-child(-n + 2), .posts-wide > * { grid-column: 1 / -1; }
  .posts:not(.posts-wide) > :nth-child(n + 3) span { display: none; }
  .posts:not(.posts-wide) > :nth-child(n + 3) b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .tags { padding-inline: 6px; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dot { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes shine { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: none; opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
@keyframes float { 50% { transform: translateY(-3px); } }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(460%); } }
@keyframes arrive { 0% { opacity: 0; transform: translateY(-8px); box-shadow: inset 2px 0 var(--accent); } 25% { opacity: 1; transform: none; } 70% { box-shadow: inset 2px 0 var(--accent); } 100% { box-shadow: inset 2px 0 transparent; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
