/* ═══════════════ DurnNotes — light, clean, motion-led ═══════════════ */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-deep: #0f1222;
  --ink: #0e1020;
  --ink-2: #2b2f45;
  --muted: #5b6176;
  --faint: #8e93a8;
  --line: #e8eaf2;
  --line-2: #d7dae7;
  --accent: #cc3f1b;
  --accent-2: #f26b3a;
  --accent-soft: #ffeee7;
  --cyan: #e8883c;
  --mint: #12a97b;
  --amber: #e0900d;
  --r: 18px;
  --r-sm: 11px;
  --shadow-sm: 0 2px 8px rgba(15, 18, 34, .05);
  --shadow: 0 18px 40px -24px rgba(15, 18, 34, .3);
  --shadow-lg: 0 40px 80px -40px rgba(15, 18, 34, .38);
  --ease: cubic-bezier(.22, .68, .32, 1);
  --nav-h: 66px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
code, kbd, pre { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
.wrap { width: min(1160px, calc(100vw - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100vw - 40px)); margin: 0 auto; }

/* ── scroll progress ── */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 90;
  background: linear-gradient(90deg, var(--accent), var(--cyan)); transition: width .1s linear; }

/* ── animated background ── */
.canvas-bg { position: fixed; inset: 0; z-index: -2; background: var(--bg); overflow: hidden; }
.canvas-bg .mesh { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.canvas-bg .m1 { width: 560px; height: 560px; top: -180px; left: -120px; background: radial-gradient(circle, #c9c2ff 0%, transparent 68%); animation: float1 22s var(--ease) infinite alternate; }
.canvas-bg .m2 { width: 460px; height: 460px; top: -120px; right: -100px; background: radial-gradient(circle, #b6ecfa 0%, transparent 68%); animation: float2 26s var(--ease) infinite alternate; }
.canvas-bg .m3 { width: 520px; height: 520px; top: 620px; left: 52%; background: radial-gradient(circle, #c6f5e2 0%, transparent 70%); animation: float1 30s var(--ease) infinite alternate-reverse; }
.canvas-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .5;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
}
@keyframes float1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(50px, 40px, 0) scale(1.12); } }
@keyframes float2 { from { transform: translate3d(0,0,0) scale(1.08); } to { transform: translate3d(-40px, 60px, 0) scale(1); } }

/* ── nav ── */
.nav-outer { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s var(--ease), border-color .3s, box-shadow .3s; }
.nav-outer.stuck { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(15,18,34,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.3px; }
.brand img { width: 30px; height: 30px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 14.5px; position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; border-radius: 2px; background: var(--accent); transition: right .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; width: 40px; height: 38px; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; margin: auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px;
  border-radius: 12px; font-weight: 600; font-size: 15px; letter-spacing: -.1px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary { background: linear-gradient(135deg, var(--accent-2), var(--accent) 65%); color: #fff; box-shadow: 0 10px 24px -10px rgba(204,63,27,.65); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(91,80,230,.75); }
.btn.ghost { background: #fff; border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn.sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn:active { transform: translateY(0); }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; } .reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .4s; }

/* ── hero ── */
.hero { padding: 72px 0 0; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  font-size: 13px; color: var(--ink-2); font-weight: 500; margin-bottom: 26px; }
.pill b { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; font-weight: 700; }
h1 { font-size: clamp(42px, 6.6vw, 72px); line-height: 1.03; letter-spacing: -2.4px; margin: 0 0 20px; font-weight: 700; color: var(--ink); }
.gradient-text { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 35%, var(--cyan) 70%, var(--mint) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.lead { font-size: clamp(16.5px, 1.9vw, 19px); color: var(--muted); margin: 0 auto 30px; max-width: 630px; }
.lead strong { color: var(--ink); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-meta { margin-top: 16px; font-size: 13px; color: var(--faint); }
.hero-meta a { color: var(--muted); border-bottom: 1px solid var(--line-2); }
.hero-meta strong { color: var(--ink); }

/* ── app window frame (the graphic device used everywhere) ── */
.frame { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.frame-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e4ee; display: block; }
.frame-bar i:nth-child(1) { background: #ff6058; } .frame-bar i:nth-child(2) { background: #ffbe2f; } .frame-bar i:nth-child(3) { background: #2bc840; }
.frame-bar span { margin-left: auto; font-size: 11px; color: var(--faint); letter-spacing: .2px; }
.frame img { width: 100%; }

.hero-shot { margin-top: 52px; position: relative; padding-bottom: 8px; }
.hero-shot .frame { animation: bob 9s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-shot::before { content: ""; position: absolute; left: 12%; right: 12%; top: 18%; bottom: -4%;
  background: radial-gradient(ellipse at center, rgba(124,108,255,.38), transparent 68%); filter: blur(52px); z-index: -1; }

/* ── sections ── */
section { position: relative; padding: 84px 0; }
section.tight { padding: 56px 0; }
.band-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.12; letter-spacing: -1.3px; margin: 0 0 14px; font-weight: 700; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ── stats ── */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat b { display: block; font-size: 30px; letter-spacing: -1.2px; margin-bottom: 4px; background: linear-gradient(135deg, var(--ink), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: var(--muted); }

/* ── cards ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124,108,255,.09), transparent 42%); transition: opacity .35s; pointer-events: none; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent-soft), #fff); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.ico svg { width: 21px; height: 21px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico.cyan { background: linear-gradient(135deg, #e3f8fd, #fff); } .ico.cyan svg { stroke: var(--cyan); }
.ico.mint { background: linear-gradient(135deg, #e2f7ef, #fff); } .ico.mint svg { stroke: var(--mint); }
.ico.amber { background: linear-gradient(135deg, #fdf1dd, #fff); } .ico.amber svg { stroke: var(--amber); }
.card h3 { margin: 0 0 8px; font-size: 17.5px; letter-spacing: -.3px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ── alternating feature rows ── */
.row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; padding: 50px 0; }
.row.flip .row-text { order: 2; }
.row h2 { font-size: clamp(25px, 2.9vw, 34px); }
.row p { color: var(--muted); margin: 0 0 18px; font-size: 16.5px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.ticks li::after { content: ""; position: absolute; left: 6.5px; top: 9px; width: 7px; height: 3.5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks li strong { color: var(--ink); font-weight: 600; }

/* ── steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; position: relative; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -17px; left: 26px; width: 36px; height: 36px;
  border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 8px 18px -8px rgba(91,80,230,.8); }
.step h3 { margin: 14px 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ── code ── */
.code { background: var(--bg-deep); border-radius: var(--r-sm); padding: 18px 20px; overflow-x: auto; font-size: 13px; line-height: 1.75; color: #ddd9ff; box-shadow: var(--shadow); }
.code .k { color: #8fe3f5; } .code .s { color: #8ee9bf; } .code .c { color: #8a8fb0; }

/* ── faq ── */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .25s var(--ease); flex: none; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq details[open] .answer { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ── cta band ── */
.band { border-radius: 26px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f3f1ff, #eafaff 55%, #eafff5); border: 1px solid var(--line-2); }
.band h2 { margin-bottom: 12px; }
.band p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* ── tables ── */
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { padding: 14px 16px; text-align: left; font-size: 14.5px; border-top: 1px solid var(--line); vertical-align: top; }
th { color: var(--faint); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; border-top: 0; background: var(--bg-soft); }
td { color: var(--muted); }
td a { font-weight: 600; }
code { background: var(--accent-soft); border-radius: 5px; padding: 1.5px 6px; font-size: 12.5px; color: var(--accent); }

/* ── page heads ── */
.page-head { padding: 60px 0 10px; text-align: center; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 50px); letter-spacing: -1.6px; margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 17.5px; max-width: 640px; margin: 0 auto; }

/* ── docs ── */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 30px 0 70px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); }
.toc b { display: block; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); transition: color .2s, transform .2s; }
.toc a:hover { color: var(--accent); transform: translateX(3px); }
.prose h2 { font-size: 27px; letter-spacing: -.8px; margin: 46px 0 14px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17.5px; margin: 30px 0 10px; letter-spacing: -.2px; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose pre { background: var(--bg-deep); border-radius: var(--r-sm); padding: 18px 20px; overflow-x: auto; font-size: 13px; line-height: 1.7; color: #ddd9ff; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose kbd { background: #fff; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; font-size: 12.5px; color: var(--ink); }
.callout { border: 1px solid var(--line-2); background: linear-gradient(135deg, var(--accent-soft), #fff); border-radius: var(--r-sm); padding: 16px 18px; margin: 20px 0; font-size: 14.5px; color: var(--ink-2); }

/* ── changelog ── */
.release { border-left: 2px solid var(--line); padding: 0 0 36px 28px; position: relative; }
.release::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.release:first-of-type::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.release-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.release h2 { margin: 0; font-size: 25px; letter-spacing: -.8px; }
.release .when { color: var(--faint); font-size: 13px; }
.release .tag { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.release h3 { font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--faint); margin: 20px 0 10px; }
.release ul { margin: 0; padding-left: 20px; }
.release li { margin-bottom: 9px; color: var(--muted); }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card h3 { margin: 16px 0 8px; font-size: 17.5px; }
.contact-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }

/* ── footer ── */
footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; margin-bottom: 40px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 300px; }
.foot-col b { display: block; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .2s, transform .2s; }
.foot-col a:hover { color: var(--accent); transform: translateX(3px); }
.foot-bottom { border-top: 1px solid var(--line-2); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--faint); font-size: 13.5px; }

/* ── responsive ── */
@media (max-width: 980px) {
  section { padding: 60px 0; }
  .cards, .steps, .contact-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 1fr; gap: 28px; padding: 34px 0; }
  .row.flip .row-text { order: 0; }
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px); padding: 10px 20px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s var(--ease); box-shadow: var(--shadow); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: grid; }
  .nav-cta .btn.ghost { display: none; }
  .hero-shot .frame { animation: none; }
}
@media (max-width: 560px) {
  .wrap, .narrow { width: calc(100vw - 32px); }
  .strip { grid-template-columns: 1fr; }
  .btn { width: 100%; } .cta { flex-direction: column; align-items: stretch; }
  .band { padding: 44px 22px; }
  .frame-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .canvas-bg .mesh, .hero-shot .frame, .gradient-text { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* small screens: never push the page wider than the viewport */
.wrap, .narrow, .doc, .doc > *, .prose, .row, .row > *, .release { min-width: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-sm); }
.table-wrap table { min-width: 420px; }
.prose p, .prose li, .release p, .release li, .faq .answer, .card p, .lead { overflow-wrap: break-word; }
.prose code, .release code, td code { overflow-wrap: anywhere; }

/* ── phone showcase ── */
.phones { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; position: relative; padding: 10px 0 6px; }
/* A soft brand glow behind the devices instead of a heavy black bezel. */
.phones::before { content: ""; position: absolute; left: 50%; top: 8%; width: min(760px, 92%); height: 78%; transform: translateX(-50%);
  background: radial-gradient(60% 55% at 50% 45%, rgba(109,93,252,.18), rgba(34,195,238,.10) 55%, transparent 72%);
  filter: blur(14px); z-index: 0; pointer-events: none; }
.phone { margin: 0; position: relative; z-index: 1; width: 100%; border-radius: 36px; padding: 5px;
  background: linear-gradient(170deg, #ffffff, #eef0f8);
  box-shadow: 0 0 0 1px rgba(17,20,38,.07), 0 2px 4px rgba(17,20,38,.05), 0 28px 54px -26px rgba(17,20,38,.32);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.phone:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(17,20,38,.08), 0 36px 64px -26px rgba(17,20,38,.38); }
.phone img { border-radius: 32px; display: block; width: 100%; height: auto; background: #fff; aspect-ratio: 9 / 17; object-fit: cover; object-position: top center; }
.phone-item { margin: 0; width: min(258px, 42vw); display: flex; flex-direction: column; align-items: center; }
.phone-item figcaption { text-align: center; font-size: 13.5px; color: var(--faint); padding: 14px 4px 0; max-width: 100%; }
@media (max-width: 560px) { .phones { gap: 18px 14px; } .phone-item { width: 44vw; } .phone { padding: 4px; border-radius: 26px; } .phone img { border-radius: 23px; } .phone-item figcaption { font-size: 12.5px; padding-top: 10px; } }
@media (prefers-reduced-motion: reduce) { .phone, .phone:hover { transition: none; transform: none; } }

/* ── changelog: headline view ── */
.highlights { list-style: none; margin: 0 0 14px; padding: 0; }
.highlights li { display: flex; gap: 12px; align-items: baseline; margin-bottom: 7px; color: var(--muted); font-size: 15px; }
.highlights li span { flex: 1; min-width: 0; }
.highlights li b { display: inline-block; min-width: 74px; font-size: 11px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-right: 10px; vertical-align: 1px; }
.full { border-top: 1px solid var(--line); padding-top: 12px; }
.full summary { cursor: pointer; font-size: 13.5px; color: var(--faint); font-weight: 500; list-style: none; }
.full summary::-webkit-details-marker { display: none; }
.full summary::before { content: "▸ "; }
.full[open] summary::before { content: "▾ "; }
.full summary:hover { color: var(--accent); }
.full-body { padding-top: 6px; animation: fade .3s var(--ease); }
.full-body h3:first-child { margin-top: 10px; }
@media (max-width: 980px) { .phone-wide { display: none; } }
