:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --surface: #fffefa;
  --ink: #192126;
  --muted: #667177;
  --line: #d9dcd7;
  --line-strong: #b9bfba;
  --accent: #155eef;
  --accent-dark: #0d3ca8;
  --accent-soft: #eaf1ff;
  --green: #287a58;
  --radius: 16px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .7rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(14px); }
.header-inner, .footer-inner, .page-width { width: min(1160px, calc(100% - 3rem)); margin: 0 auto; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .78rem; letter-spacing: 0; }
.header-nav, .site-footer nav { display: flex; align-items: center; gap: 1.15rem; color: var(--muted); font-size: .78rem; }
.header-nav a, .site-footer nav a { text-decoration: none; }
.header-nav a:hover, .site-footer nav a:hover { color: var(--ink); }
.nav-cta { padding: .65rem .9rem; border-radius: 999px; background: var(--ink); color: #fff !important; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr); align-items: center; gap: 5rem; min-height: 640px; padding-top: 4rem; padding-bottom: 5.5rem; }
.eyebrow { margin: 0 0 1.15rem; color: var(--accent-dark); font: 500 .68rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 9.5ch; margin-bottom: 1.3rem; font-size: clamp(3.45rem, 7vw, 6.3rem); line-height: .93; letter-spacing: -.08em; }
.hero-lede { max-width: 34rem; margin-bottom: 1.8rem; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: .7rem 1rem; border: 1px solid transparent; border-radius: 9px; font-size: .78rem; font-weight: 750; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(21, 94, 239, .3); outline-offset: 3px; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { border-color: var(--line); background: var(--surface); }
.button-secondary:hover { border-color: var(--line-strong); background: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.65rem; }
.trust-item { display: inline-flex; align-items: center; gap: .42rem; padding: .48rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .72rem; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: #35a16e; box-shadow: 0 0 0 3px #dcefe5; }
.hero-art { position: relative; min-height: 410px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #e4e9ed; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, #dce7f7, #f8f3e8 62%, #dcece5); opacity: .94; }
.hero-art::after { content: ""; position: absolute; width: 260px; height: 260px; z-index: -1; border-radius: 50%; background: #fff; opacity: .5; filter: blur(20px); }
.orbit { position: absolute; border: 1px solid rgba(21, 94, 239, .22); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { width: 455px; height: 230px; }
.orbit-two { width: 370px; height: 450px; border-color: rgba(25, 33, 38, .14); transform: rotate(38deg); }
.file-stack { display: flex; align-items: center; gap: .9rem; transform: rotate(-7deg); }
.file-label { display: grid; place-items: center; width: 115px; height: 145px; border: 1px solid rgba(25, 33, 38, .18); border-radius: 14px; background: rgba(255, 254, 250, .7); box-shadow: 16px 18px 0 rgba(25, 33, 38, .08); color: var(--ink); font: 500 1.1rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.file-label-output { transform: translateY(24px); border-color: transparent; background: rgba(21, 94, 239, .86); color: #fff; }
.file-arrow { color: var(--accent-dark); font-size: 1.7rem; }
.hero-note { position: absolute; padding: .35rem .5rem; border-bottom: 1px solid var(--line-strong); color: var(--muted); font: .62rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.note-top { top: 14%; right: 11%; transform: rotate(8deg); }
.note-bottom { bottom: 14%; left: 11%; transform: rotate(-8deg); }
.section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.1rem; }
.section-heading h2 { max-width: 13ch; margin-bottom: 0; font-size: clamp(2.3rem, 4.5vw, 4rem); line-height: .98; letter-spacing: -.07em; }
.section-intro { max-width: 32rem; margin-bottom: .15rem; color: var(--muted); line-height: 1.65; }
.tool-card { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 2rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 50px rgba(25, 33, 38, .05); }
.tool-card h3 { margin-bottom: .6rem; font-size: 1.5rem; letter-spacing: -.045em; }
.tool-card p { max-width: 42rem; margin-bottom: 1rem; color: var(--muted); line-height: 1.6; }
.tool-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.meta-pill { padding: .42rem .58rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font: .66rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.tool-schematic { min-height: 150px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: #eff3f0; }
.tool-schematic-inner { display: flex; align-items: center; gap: .55rem; color: var(--accent-dark); font: .75rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.mini-file { display: grid; place-items: center; width: 65px; height: 79px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fffefa; color: var(--ink); }
.mini-file-output { border-color: var(--accent); background: var(--accent); color: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.value-card { min-height: 205px; padding: 1.35rem; background: var(--surface); }
.value-index { margin-bottom: 2.8rem; color: var(--accent-dark); font: .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.value-card h3 { margin-bottom: .5rem; font-size: 1.1rem; letter-spacing: -.03em; }
.value-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.guide-card { display: flex; min-height: 235px; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.guide-card .guide-tag { color: var(--accent-dark); font: .65rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.guide-card h3 { margin: auto 0 .6rem; font-size: 1.2rem; line-height: 1.12; letter-spacing: -.04em; }
.guide-card p { margin-bottom: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.support-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.support-panel > * { padding: 1.5rem; background: var(--surface); }
.support-panel h3 { margin-bottom: .5rem; font-size: 1.2rem; letter-spacing: -.04em; }
.support-panel p { max-width: 30rem; margin-bottom: 1rem; color: var(--muted); line-height: 1.6; }
.support-email { color: var(--accent-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.page-hero { padding: 5rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 12ch; margin-bottom: 1rem; font-size: clamp(3rem, 7vw, 5.9rem); }
.page-hero p { max-width: 38rem; margin-bottom: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 5rem; padding-top: 4.5rem; padding-bottom: 5.5rem; }
.prose { max-width: 720px; }
.prose h2 { margin: 2.6rem 0 .8rem; font-size: 1.75rem; letter-spacing: -.05em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8rem 0 .55rem; font-size: 1.15rem; letter-spacing: -.03em; }
.prose p, .prose li { color: #4f5b61; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .5rem; }
.prose a { color: var(--accent-dark); text-underline-offset: 3px; }
.aside-card { align-self: start; padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.aside-card h2 { margin-bottom: .75rem; font-size: .86rem; letter-spacing: -.02em; }
.aside-card ul { display: grid; gap: .6rem; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .78rem; }
.aside-card a { text-underline-offset: 3px; }
.callout { margin: 1.4rem 0; padding: 1rem 1.1rem; background: var(--accent-soft); color: var(--ink); }
.callout p { margin-bottom: 0; color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.footer-note { margin: 0; color: var(--muted); font-size: .72rem; }
.site-footer nav { flex-wrap: wrap; justify-content: end; }
.status-line { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; color: var(--muted); font-size: .78rem; }
.status-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #35a16e; box-shadow: 0 0 0 3px #dcefe5; }

@media (max-width: 820px) {
  .header-inner, .footer-inner, .page-width { width: min(100% - 2rem, 680px); }
  .header-inner { min-height: 64px; }
  .header-nav { gap: .7rem; font-size: .72rem; }
  .header-nav a:nth-child(-n+3) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; min-height: auto; padding-top: 3.5rem; padding-bottom: 4rem; }
  h1 { max-width: 10ch; }
  .hero-art { min-height: 330px; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 1rem; }
  .tool-card { grid-template-columns: 1fr; }
  .tool-schematic { min-height: 125px; }
  .value-grid, .guide-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; }
  .value-index { margin-bottom: 1.5rem; }
  .support-panel { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; }
  .aside-card { order: -1; }
  .footer-inner { display: block; }
  .site-footer nav { justify-content: start; margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Root pages use the same visual language as the converter. These small additions
   cover the long-form guide and policy layouts without introducing a component layer. */
.page-section { padding: 4.5rem 0 5.5rem; }
.page-section + .page-section { border-top: 1px solid var(--line); }
.article-meta { margin: -1rem 0 2rem; color: var(--muted); font: .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.article-steps { display: grid; gap: 1px; margin: 1.5rem 0 2rem; border: 1px solid var(--line); background: var(--line); }
.article-step { padding: 1.1rem 1.2rem; background: var(--surface); }
.article-step strong { display: block; margin-bottom: .25rem; color: var(--accent-dark); font: .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.article-step p { margin-bottom: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step-item { min-height: 220px; padding: 1.35rem 1.35rem 1.35rem 0; border-right: 1px solid var(--line); }
.step-item + .step-item { padding-left: 1.35rem; }
.step-item:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 3.3rem; color: var(--accent); font: .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.step-item h3 { margin-bottom: .55rem; font-size: 1.2rem; letter-spacing: -.04em; }
.step-item p { max-width: 27rem; margin-bottom: 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.tool-card h2 { margin-bottom: .6rem; font-size: 1.5rem; letter-spacing: -.045em; }
.not-found { min-height: 62dvh; display: grid; align-items: center; padding: 5rem 0; }
.not-found h1 { max-width: 12ch; }
code { padding: .08em .28em; border-radius: 4px; background: #e9ece8; color: var(--ink); font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; }

@media (max-width: 820px) {
  .header-nav a:nth-child(-n+3) { display: inline; }
  .header-nav { flex-wrap: wrap; }
  .page-section { padding-top: 3.5rem; padding-bottom: 4rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-item, .step-item + .step-item { min-height: auto; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-item:last-child { border-bottom: 0; }
  .step-number { margin-bottom: 1.6rem; }
}

@media (max-width: 560px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-top: .8rem; padding-bottom: .8rem; }
  .header-nav { width: 100%; justify-content: space-between; gap: .5rem; }
  .header-nav a { font-size: .68rem; }
  .actions .button { width: 100%; }
}
