:root {
  color-scheme: light dark;
  --ink: #10253f;
  --muted: #52667c;
  --paper: #f5f8fc;
  --card: #ffffff;
  --line: #d9e3ee;
  --blue: #1468e8;
  --blue-deep: #0a3d91;
  --mint: #dff8ee;
  --success: #087f5b;
  --warning: #8c4a00;
  --shadow: 0 24px 70px rgba(18, 55, 94, .12);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.62; }
a { color: var(--blue-deep); }
img { max-width: 100%; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--card); padding: .7rem 1rem; }
.shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; min-height: 72px; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-left: auto; min-width: 0; max-width: 100%; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 650; }
.nav-links a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; max-width: 100%; padding: .72rem 1.1rem; border-radius: 10px; text-decoration: none; font-weight: 760; border: 1px solid transparent; cursor: pointer; text-align: center; }
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(20,104,232,.22); }
.button.secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: clamp(3rem, 7vw, 7rem) 0 5rem; }
.hero > *, .grid > *, .article-list > * { min-width: 0; }
.eyebrow { display: inline-flex; max-width: 100%; overflow-wrap: anywhere; padding: .35rem .68rem; border-radius: 999px; background: var(--mint); color: var(--success); font-size: .83rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin: 0 0 .8rem; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.3rem; }
.lede { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 690px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0; }
.trust-line { display: flex; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .92rem; font-weight: 650; }
.trust-line span { max-width: 100%; overflow-wrap: anywhere; padding: .35rem .64rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.phone-stage { position: relative; min-height: 600px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; inset: 8% 2%; border-radius: 48%; background: radial-gradient(circle, rgba(20,104,232,.26), rgba(20,104,232,0) 67%); }
.phone { position: relative; width: min(310px, 76vw); border-radius: 42px; box-shadow: var(--shadow); transform: rotate(2deg); }
.section { padding: 5rem 0; }
.section.tint { background: #eaf1f9; }
.section-heading { max-width: 740px; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 32px rgba(18,55,94,.06); }
.card p { color: var(--muted); margin-bottom: 0; }
.number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #dfeeff; color: #0a3d91; font-weight: 850; margin-bottom: 1rem; }
.tool { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; }
.tool-panel { padding: 1.5rem; border-radius: 18px; background: #10253f; color: #fff; box-shadow: var(--shadow); }
.tool-panel label { display: block; font-weight: 720; margin: .8rem 0 .4rem; }
.tool-panel input, .tool-panel textarea, .tool-panel select { width: 100%; padding: .85rem; border-radius: 9px; border: 1px solid #69809a; background: #fff; color: #14283f; font: inherit; }
.tool-panel textarea { resize: vertical; min-height: 76px; }
.tool-panel button { width: 100%; margin-top: 1rem; }
.tool > * { min-width: 0; }
.tool-panel button:disabled { cursor: not-allowed; opacity: .6; }
.tool-next a { color: #c8e3ff; text-decoration: underline; text-underline-offset: .16em; }
.tool-next a:focus-visible { outline: 2px solid #c8e3ff; outline-offset: 4px; }
.tool-note { color: #c4d5e8; font-size: .9rem; }
.result { margin-top: 1rem; padding: 1rem; border-radius: 10px; background: rgba(255,255,255,.1); min-height: 58px; }
.result.good { background: rgba(41, 204, 142, .18); }
.result.warn { background: rgba(255, 178, 69, .19); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.shots img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); }
.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.article-list a { text-decoration: none; color: var(--ink); }
.article-list .card:hover { transform: translateY(-2px); border-color: #94b8e6; }
.article { width: min(800px, calc(100% - 2rem)); margin: 4rem auto 6rem; }
.article header { margin-bottom: 2.5rem; }
.article h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.article h2 { font-size: 1.8rem; margin-top: 2.6rem; }
.article p, .article li { color: #354b63; }
.callout { padding: 1.2rem 1.3rem; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: #e8f1ff; margin: 1.5rem 0; }
.warning { border-left-color: #d16a00; background: #fff1dc; }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer a { display: block; margin: .35rem 0; color: var(--muted); text-decoration: none; }
.legal { width: min(800px, calc(100% - 2rem)); margin: 4rem auto 6rem; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
.small { font-size: .9rem; color: var(--muted); }
.header-reference .header-example { padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); overflow-wrap: anywhere; }
.header-reference code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; overflow-wrap: anywhere; }
.header-table-wrap { width: 100%; }
.header-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .95rem; }
.header-table caption { text-align: left; margin-bottom: .75rem; color: var(--muted); }
.header-table th, .header-table td { padding: .7rem .55rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.header-table th:first-child { width: 44%; }
.header-mobile-label { display: none; }
.header-reference .actions { align-items: stretch; }
.header-examples { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1rem; }
.header-reference .tool-panel { padding: clamp(16px, 4vw, 24px); }
.header-reference .tool-panel button[type="submit"] { font: inherit; font-weight: 760; }
.header-examples button { flex: 1 1 180px; min-height: 44px; margin: 0; padding: .75rem; border: 1px solid #69809a; border-radius: 9px; background: #ffffff; color: #14283f; font: inherit; font-weight: 700; cursor: pointer; }
.header-examples button:focus-visible { outline: 3px solid #c8e3ff; outline-offset: 3px; }
.header-reference .tool-panel p { color: #c4d5e8; }
.header-tool-preview { margin: 2rem 0; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.header-tool-preview img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.header-tool-preview figcaption { color: var(--muted); }

@media (max-width: 820px) {
  .hero, .tool { grid-template-columns: 1fr; }
  .phone-stage { min-height: auto; padding-top: 1rem; }
  .grid, .shots { grid-template-columns: 1fr; }
  .shots img { max-width: 350px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-tool-preview { grid-template-columns: 1fr; }
  .header-tool-preview img { max-width: 260px; margin-inline: auto; }
}

@media (max-width: 620px) {
  .nav-links a:not(.button) { display: none; }
  .article-list { grid-template-columns: 1fr; }
  h1 { font-size: 2.75rem; }
  .header-table, .header-table caption, .header-table tbody, .header-table tr { display: block; width: 100%; }
  .header-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .header-table tbody tr { margin-top: 1rem; padding: .8rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
  .header-table tbody th, .header-table tbody td, .header-table th:first-child { display: block; width: 100%; padding: .35rem 0; border: 0; }
  .header-table tbody th { margin-bottom: .6rem; }
  .header-mobile-label { display: block; font-size: .85em; font-weight: 650; color: var(--muted); }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #eef6ff; --muted: #aec0d3; --paper: #091522; --card: #10253a; --line: #294158; --blue: #4f9cff; --blue-deep: #91bfff; --mint: #103f38; --success: #7be0bd; --shadow: 0 24px 70px rgba(0,0,0,.35); }
  .button.primary { color: #091522; }
  .section.tint { background: #0c1c2c; }
  .article p, .article li { color: #c0d0df; }
  .callout { background: #102f53; }
  .warning { background: #442d12; }
}
.release-preview{background:#172e36;color:#e9f6ff;border-block:1px solid #3b6071;padding:18px 0;font-size:1rem;line-height:1.6}.release-preview strong{display:block;margin-bottom:4px}.release-preview .shell{overflow-wrap:anywhere}
.release-preview a { color: #c8e3ff; text-decoration: underline; text-underline-offset: .16em; }
.release-preview a:focus-visible { outline: 2px solid #c8e3ff; outline-offset: 4px; }
