:root {
  --ink: #08110f;
  --ink-soft: #17201d;
  --paper: #f3f5ef;
  --paper-deep: #e7eadf;
  --white: #fcfdf9;
  --line: rgba(8, 17, 15, 0.16);
  --muted: #64706a;
  --acid: #c8f05a;
  --acid-dark: #9fc533;
  --danger: #b84432;
  --radius: 4px;
  --shadow: 0 24px 70px rgba(8, 17, 15, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  z-index: 20;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.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-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--acid); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 20px; }
:focus-visible { outline: 3px solid var(--acid-dark); outline-offset: 3px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(243,245,239,.9); backdrop-filter: blur(14px); position: relative; z-index: 10; }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.025em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; background: var(--ink); color: var(--acid); border-radius: 50%; font: 500 11px/1 ui-monospace, monospace; letter-spacing: -.08em; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--ink); transition: right .2s; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.nav-cta { padding: 9px 15px; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--ink); color: var(--white); }
.menu-button { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 10px; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 5px 0; }

.hero { min-height: 550px; padding-block: 94px 72px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: end; }
.eyebrow, .section-kicker { margin: 0 0 22px; font: 500 11px/1.2 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--acid-dark); box-shadow: 0 0 0 5px rgba(159,197,51,.14); }
.hero h1, .page-hero h1, .contact-copy h1 { max-width: 850px; margin: 0; font-size: clamp(48px, 7vw, 92px); line-height: .95; letter-spacing: -.067em; font-weight: 600; }
h1 em, h2 em { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 500; }
.hero-lede { max-width: 660px; margin: 34px 0 30px; color: #48534e; font-size: 18px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; font: 500 11px/1 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.hero-proof span { display: flex; align-items: center; gap: 7px; }
.hero-proof span::before { content: "✓"; color: #658415; }
.hero-note { align-self: center; border-top: 1px solid var(--ink); padding-top: 18px; }
.note-index { font: 500 11px "DM Mono", monospace; color: var(--muted); }
.hero-note p { margin: 24px 0 0; font-size: 14px; color: #46504b; }

.tool-section { margin-bottom: 100px; background: var(--white); border: 1px solid var(--ink); box-shadow: var(--shadow); }
.tool-heading { min-height: 102px; padding: 23px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.tool-heading .section-kicker { margin-bottom: 6px; color: var(--muted); }
.tool-heading h2 { margin: 0; font-size: 25px; line-height: 1; letter-spacing: -.04em; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; background: #eff5df; font: 500 10px/1 "DM Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: #709515; }
.tool-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 490px; }
.upload-panel { padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.drop-zone { min-height: 310px; flex: 1; padding: 30px; border: 1px dashed #99a19d; background: #f6f7f2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--ink); background: #eff3e4; transform: translateY(-2px); }
.drop-zone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; margin-bottom: 19px; }
.upload-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop-zone strong { font-size: 17px; letter-spacing: -.02em; }
.drop-zone > span:not(.upload-icon):not(.file-limit) { color: var(--muted); font-size: 13px; }
.drop-zone .file-limit { margin-top: 24px; font: 500 9px/1 "DM Mono", monospace; color: #7d8782; letter-spacing: .09em; }
.selected-file { margin-top: 12px; padding: 11px; align-items: center; gap: 12px; border: 1px solid var(--line); }
.selected-file:not([hidden]) { display: flex; }
.file-badge { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--white); font: 500 9px "DM Mono", monospace; }
.selected-file > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.selected-file strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.selected-file small { color: var(--muted); font-size: 10px; }
.selected-file button { width: 30px; height: 30px; padding: 0; border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.primary-button { width: 100%; min-height: 54px; margin-top: 14px; padding: 12px 18px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: space-between; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.primary-button:hover:not(:disabled) { background: var(--acid); color: var(--ink); }
.primary-button:disabled { cursor: not-allowed; opacity: .4; }
.primary-button.is-loading span:first-child::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-message { min-height: 22px; margin: 9px 0 0; font-size: 12px; color: var(--muted); }
.form-message.is-error { color: var(--danger); }
.form-message.is-success { color: #54700f; }
.result-panel { position: relative; padding: 28px; background: #ecefe7; overflow: auto; max-height: 590px; }
.result-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 42px 42px; opacity: .18; }
.result-empty { position: relative; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.scan-glyph { width: 72px; height: 72px; position: relative; margin-bottom: 23px; border: 1px solid #9da5a0; }
.scan-glyph::before, .scan-glyph::after { content: ""; position: absolute; background: #9da5a0; }
.scan-glyph::before { width: 90px; height: 1px; top: 35px; left: -10px; }
.scan-glyph::after { width: 1px; height: 90px; top: -10px; left: 35px; }
.result-empty h3 { margin: 0 0 8px; font-size: 17px; }
.result-empty p { max-width: 340px; margin: 0; color: var(--muted); font-size: 13px; }
[data-result-content] { position: relative; }
.result-summary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); background: var(--white); }
.result-summary > div { padding: 15px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.result-summary > div:last-child { border: 0; }
.result-summary span { font: 500 9px "DM Mono", monospace; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
.result-summary strong { margin-top: 4px; font-size: 14px; }
.metadata-heading { margin: 28px 0 12px; display: flex; align-items: end; justify-content: space-between; }
.metadata-heading h3 { margin: 0; font-size: 17px; }
.metadata-heading span { font: 500 9px "DM Mono", monospace; color: var(--muted); }
.metadata-list { border-top: 1px solid var(--ink); }
.metadata-row { display: grid; grid-template-columns: 80px 1fr 1.5fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.metadata-row span:first-child { font: 500 9px "DM Mono", monospace; color: var(--muted); text-transform: uppercase; }
.metadata-row strong { font-weight: 600; overflow-wrap: anywhere; }
.metadata-row span:last-child { color: #3d4843; overflow-wrap: anywhere; }
.no-metadata { padding: 30px 0; color: var(--muted); }

.privacy-band { padding-block: 62px; background: var(--ink); color: var(--white); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 60px; align-items: center; }
.privacy-grid > div { display: flex; align-items: center; gap: 16px; }
.privacy-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #5f6965; border-radius: 50%; color: var(--acid); font-size: 25px; }
.privacy-grid h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.privacy-grid p { margin: 0; color: #aeb7b3; font-size: 14px; }
.privacy-grid a { display: flex; gap: 25px; border-bottom: 1px solid #6e7773; padding-block: 8px; font-size: 12px; }
.privacy-grid a span { color: var(--acid); }
.steps { padding-block: 110px; }
.section-intro { max-width: 650px; }
.section-intro h2, .story h2, .cross-cta h2 { margin: 0; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.05; letter-spacing: -.055em; }
.step-grid { margin: 68px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.step-grid li { padding: 24px 30px 10px 0; border-right: 1px solid var(--line); }
.step-grid li:not(:first-child) { padding-left: 30px; }
.step-grid li:last-child { border: 0; }
.step-grid li > span, .value-grid article > span { font: 500 10px "DM Mono", monospace; color: var(--muted); }
.step-grid h3 { margin: 58px 0 9px; font-size: 19px; }
.step-grid p { max-width: 280px; margin: 0; color: var(--muted); font-size: 13px; }
.cross-cta { margin-bottom: 100px; padding: 54px 0; border-block: 1px solid var(--ink); }
.cross-cta > div { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.cross-cta h2 { max-width: 720px; }
.text-button { min-width: 210px; display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; }

.page-hero { padding-block: 100px 76px; }
.compact-hero h1 { max-width: 940px; }
.compact-hero > p:last-child { max-width: 690px; margin: 30px 0 0; color: var(--muted); font-size: 17px; }
.editor-section { margin-bottom: 50px; border: 1px solid var(--ink); background: var(--white); box-shadow: var(--shadow); }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; }
.editor-upload { border-right: 1px solid var(--line); }
.editor-upload .drop-zone { margin: 28px; }
.drop-zone.tall { min-height: 385px; }
.editor-upload .selected-file { margin: -16px 28px 28px; }
.metadata-form { padding-bottom: 28px; }
.metadata-form .tool-heading { margin-bottom: 26px; }
.metadata-form > label { display: block; margin: 0 28px 20px; font-size: 12px; font-weight: 700; }
.metadata-form > label > span { float: right; color: var(--muted); font: 500 9px "DM Mono", monospace; text-transform: uppercase; }
.metadata-form input, .metadata-form textarea { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #aeb5b0; border-radius: 0; background: #f8f9f5; color: var(--ink); resize: vertical; }
.metadata-form input:focus, .metadata-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.metadata-form .primary-button, .metadata-form .form-message, .metadata-form .microcopy { width: auto; margin-left: 28px; margin-right: 28px; }
.microcopy { color: var(--muted); font-size: 10px; }
.info-strip { margin-bottom: 110px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.info-strip div { padding: 22px; display: flex; align-items: center; gap: 20px; border-right: 1px solid var(--line); }
.info-strip div:last-child { border: 0; }
.info-strip strong { font: 500 10px "DM Mono", monospace; color: var(--muted); }
.info-strip span { font-size: 12px; font-weight: 600; }

.story { padding-block: 75px 100px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; border-top: 1px solid var(--ink); }
.story-copy p { margin: 0 0 28px; color: #3f4a45; font-size: 18px; }
.value-grid { margin-bottom: 110px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); background: var(--white); }
.value-grid article { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); }
.value-grid article:last-child { border: 0; }
.value-grid h3 { margin: 70px 0 10px; font-size: 21px; }
.value-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.contact-layout { min-height: 660px; padding-block: 100px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: center; }
.contact-copy h1 { font-size: clamp(48px, 6vw, 78px); }
.contact-copy > p:last-child { max-width: 670px; margin-top: 30px; color: var(--muted); font-size: 16px; }
.contact-card { padding: 30px; border: 1px solid var(--ink); background: var(--white); box-shadow: var(--shadow); }
.contact-card > a { padding: 19px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; }
.contact-card a span { color: var(--muted); font: 500 9px "DM Mono", monospace; text-transform: uppercase; }
.contact-card a strong { font-size: 12px; overflow-wrap: anywhere; }
.contact-card a i { font-style: normal; color: var(--acid-dark); }
.contact-card small { display: block; margin-top: 24px; color: var(--muted); }

.legal { padding-block: 96px 120px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.legal header { position: sticky; top: 120px; align-self: start; }
.legal h1 { margin: 0; font-size: clamp(43px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
.legal header > p:last-child { margin-top: 25px; color: var(--muted); font: 500 10px "DM Mono", monospace; }
.legal-body { border-top: 1px solid var(--ink); }
.legal-body section { padding: 28px 0; display: grid; grid-template-columns: 52px 1fr; border-bottom: 1px solid var(--line); }
.legal-body section > span { font: 500 10px "DM Mono", monospace; color: var(--muted); }
.legal-body h2 { margin: -5px 0 11px; font-size: 21px; }
.legal-body p { margin: 0; color: #47524d; font-size: 14px; }
.legal-body a { border-bottom: 1px solid currentColor; }

.site-footer { background: var(--ink); color: var(--white); padding-block: 54px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 80px; align-items: end; }
.footer-brand .brand-mark { background: var(--acid); color: var(--ink); }
.footer-grid > div p { margin: 13px 0 0; color: #8f9a95; font-size: 12px; }
.footer-grid nav { display: flex; gap: 26px; font-size: 12px; }
.footer-grid nav a:hover { color: var(--acid); }
.copyright { margin: 0; color: #8f9a95; font: 400 10px "DM Mono", monospace; }

[hidden] { display: none !important; }

@media (max-width: 850px) {
  .shell { width: min(100% - 32px, 680px); }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 78px; padding: 25px 16px; background: var(--paper); border-bottom: 1px solid var(--ink); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 55px; padding-block: 75px 55px; }
  .hero-note { max-width: 420px; }
  .tool-grid, .editor-grid { grid-template-columns: 1fr; }
  .upload-panel, .editor-upload { border-right: 0; border-bottom: 1px solid var(--line); }
  .result-panel { min-height: 480px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 28px; }
  .privacy-grid a { max-width: 200px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid li, .step-grid li:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-grid h3 { margin-top: 24px; }
  .cross-cta > div { align-items: start; flex-direction: column; }
  .info-strip { grid-template-columns: 1fr; }
  .info-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .story, .contact-layout, .legal { grid-template-columns: 1fr; gap: 50px; }
  .story { padding-block: 55px 80px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-grid h3 { margin-top: 44px; }
  .contact-layout { min-height: 0; padding-block: 75px; }
  .legal header { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; align-items: start; }
}

@media (max-width: 520px) {
  .shell { width: calc(100% - 24px); }
  .nav-wrap { min-height: 68px; }
  .site-nav { top: 68px; }
  .hero, .page-hero { padding-block: 60px 46px; }
  .hero h1, .page-hero h1, .contact-copy h1 { font-size: 45px; }
  .hero-lede { font-size: 16px; }
  .hero-proof { gap: 11px 18px; }
  .tool-section { width: 100%; border-inline: 0; }
  .tool-heading, .upload-panel, .result-panel { padding: 20px; }
  .status-pill { display: none; }
  .drop-zone { min-height: 275px; padding: 20px; }
  .result-summary { grid-template-columns: 1fr; }
  .result-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .metadata-row { grid-template-columns: 56px 1fr; }
  .metadata-row span:last-child { grid-column: 2; }
  .privacy-band { padding-block: 46px; }
  .steps { padding-block: 75px; }
  .cross-cta { margin-bottom: 75px; }
  .editor-section { width: 100%; border-inline: 0; }
  .editor-upload .drop-zone { margin: 20px; }
  .editor-upload .selected-file { margin: -8px 20px 20px; }
  .metadata-form > label, .metadata-form .primary-button, .metadata-form .form-message, .metadata-form .microcopy { margin-left: 20px; margin-right: 20px; }
  .info-strip { width: 100%; }
  .contact-card { padding: 22px; }
  .contact-card > a { grid-template-columns: 1fr auto; }
  .contact-card a span { grid-column: 1 / -1; }
  .legal { padding-block: 65px 85px; }
  .legal-body section { grid-template-columns: 36px 1fr; }
  .footer-grid nav { flex-wrap: wrap; gap: 15px 24px; }
}

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