@font-face { font-family: Manrope; src: url('../fonts/manrope-variable.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif.ttf') format('truetype'); font-weight: 400; font-display: swap; }

:root {
  --paper: #f7f8f2;
  --surface: #fff;
  --ink: #253129;
  --muted: #747a70;
  --line: #dfe3d8;
  --lime: #d9edac;
  --soft-green: #edf2e3;
  --serif: 'Instrument Serif', Georgia, serif;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, 'Segoe UI', sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit; text-decoration: none; }
button, input, a { touch-action: manipulation; }
img, svg { vertical-align: middle; }
svg.icon { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
button { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid #789b43; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
em { font-family: var(--serif); font-weight: 400; font-style: normal; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 20px; top: -70px; z-index: 20; background: var(--ink); color: white; padding: 14px 20px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.8px; line-height: 1.6; display: flex; align-items: center; gap: 10px; }
.little-line { width: 25px; height: 1px; background: #7b8a68; }
.status-dot { width: 6px; height: 6px; background: #7c9b52; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 13px 21px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 650; line-height: 1.5; transition: background .2s, transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #40513d; box-shadow: 0 4px 12px #25312912; }
.button-outline { border-color: #bdc5b4; background: transparent; }
.button-outline:hover { background: var(--soft-green); }
.button .icon { width: 17px; height: 17px; }
.text-link { padding: 0; border: 0; background: none; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.text-link:hover { color: #688347; }
.text-link .icon { width: 17px; height: 17px; }
.icon-button { border: 0; background: transparent; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.icon-button:hover { background: var(--soft-green); }

/* Shared layout */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { font-size: 23px; font-weight: 750; letter-spacing: -1.1px; display: inline-flex; align-items: center; gap: 11px; }
.brand img { border-radius: 9px; }
.brand-light { font-weight: 450; }
.brand-period { color: #8ba15b; }
.header-nav { display: flex; gap: 30px; margin-left: auto; }
.header-nav a { color: #68735f; font-size: 12px; font-weight: 550; padding-block: 10px; }
.header-nav a:hover, .header-nav a[aria-current] { color: var(--ink); }
.header-note { display: flex; gap: 9px; align-items: center; border-left: 1px solid var(--line); padding-left: 30px; color: var(--muted); font-size: 10px; }
.menu-toggle { display: none; }
.site-footer { border-top: 1px solid var(--line); margin-top: 36px; }
.footer-inner { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { font-size: 17px; font-weight: 700; letter-spacing: -.6px; }
.footer-tagline { color: var(--muted); font-size: 10px; margin-left: 22px; }
.footer-links { display: flex; gap: 25px; font-size: 10px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* Home: editorial layout and visual example */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; padding-block: 80px 72px; }
.hero h1 { margin-top: 23px; font-size: clamp(44px, 4.8vw, 68px); line-height: 1.12; letter-spacing: -3.3px; font-weight: 500; }
.hero h1 em { font-size: 1.16em; letter-spacing: -2.1px; }
.hero-description { color: var(--muted); line-height: 1.85; font-size: 14px; margin-top: 25px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.hero-footnote { display: flex; align-items: center; gap: 10px; font-size: 10px; color: #81877b; margin-top: 25px; }
.hero-footnote .icon { width: 14px; height: 14px; }
.hero-footnote > span { color: #b9c0b1; }
.hero-art { position: relative; height: 355px; min-width: 0; }
.hero-art::before { content: ''; position: absolute; inset: -20px; background-image: linear-gradient(#c4ccba40 1px, transparent 1px), linear-gradient(90deg, #c4ccba40 1px, transparent 1px); background-size: 31px 31px; mask-image: radial-gradient(ellipse at center, #000 10%, transparent 73%); }
.art-label { position: absolute; top: 0; left: 14px; font-size: 8px; letter-spacing: 1.2px; color: #858d7b; display: flex; align-items: center; gap: 8px; }
.art-label .status-dot { width: 4px; height: 4px; }
.art-orbit { position: absolute; border: 1px solid #d3dcc6; border-radius: 50%; }
.orbit-one { width: 280px; height: 280px; right: 0; top: 13px; }
.orbit-two { width: 210px; height: 210px; right: 35px; top: 48px; }
.hero-sheet { position: absolute; top: 39px; left: 27px; width: 328px; padding: 0 19px 19px; background: #fff; border: 1px solid #e4e7dc; border-radius: 10px; transform: rotate(-5deg); box-shadow: 0 13px 30px #3340280d, 0 2px 5px #33402804; }
.sheet-top { display: flex; align-items: center; gap: 9px; height: 57px; font-size: 11px; font-weight: 650; }
.sheet-top .icon { width: 17px; height: 17px; color: #7e8c70; }
.sheet-tag { font-size: 7px; border: 1px solid #e2e8dc; border-radius: 4px; padding: 3px 5px; margin-left: auto; color: #8b9682; letter-spacing: 1px; }
.sheet-row { display: grid; grid-template-columns: 80px 1fr; align-items: center; min-height: 31px; padding-inline: 10px; font-size: 9px; color: #737e69; border-bottom: 1px solid #eff1eb; }
.sheet-heading { background: #f4f6ee; font-size: 8px; letter-spacing: .4px; color: #6e7865; }
.sheet-row.duplicate { background: #f1f4e8; text-decoration: line-through; text-decoration-color: #a2b188; color: #a3ae96; }
.art-spark { position: absolute; right: 30px; top: 91px; width: 57px; height: 57px; border: 1px solid #e0e9cc; border-radius: 15px; display: grid; place-items: center; background: var(--lime); transform: rotate(12deg); box-shadow: 0 8px 15px #75815913; }
.art-spark .icon { width: 28px; height: 28px; }
.hero-result { position: absolute; right: -2px; bottom: 12px; width: 362px; display: flex; align-items: center; gap: 13px; padding: 21px 18px; border: 1px solid #e0e5d8; border-radius: 10px; background: #fff; box-shadow: 0 14px 30px #36412c0b; }
.result-check { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: inline-grid; place-items: center; background: var(--lime); color: #405332; }
.hero-result strong { font-size: 12px; font-weight: 650; display: block; }
.hero-result div > span { display: block; font-size: 9px; color: #8a9380; margin-top: 5px; }
.saved-badge { margin-left: auto; white-space: nowrap; font-size: 8px; font-weight: 600; padding: 6px 8px; border-radius: 5px; background: #eff5e4; color: #698042; }
.art-caption { position: absolute; bottom: -17px; inset-inline: 15px 5px; display: flex; justify-content: space-between; font-size: 7px; letter-spacing: 1.2px; color: #a0a693; }
.principles { display: flex; align-items: center; gap: 42px; padding-block: 23px; border-block: 1px solid var(--line); font-size: 10px; color: #7a8372; }
.principles > span { display: inline-flex; align-items: center; gap: 9px; }
.principles .icon { width: 15px; height: 15px; color: #84936f; }
.principles .principles-label { margin-left: auto; font-size: 8px; letter-spacing: 1px; color: #9ca590; }

/* Extensible catalog */
.catalog-section { padding-block: 65px 60px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { margin-top: 12px; font-size: 29px; letter-spacing: -1.2px; font-weight: 500; }
.search-box { display: flex; align-items: center; gap: 10px; width: 285px; height: 44px; padding-inline: 13px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.search-box > .icon { color: #9aa190; width: 16px; height: 16px; }
.search-box input { width: 100%; min-width: 0; border: 0; background: transparent; outline: none; font-size: 12px; color: var(--ink); }
.search-box:focus-within { outline: 2px solid #a3b585; outline-offset: 2px; }
.search-box input::placeholder { color: #929a89; }
.search-box kbd { font: inherit; color: #a6ae9e; border: 1px solid #e9ece3; padding: 1px 5px; border-radius: 3px; font-size: 10px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-block: 29px 21px; gap: 15px; }
.category-tabs { display: flex; gap: 6px; }
.category-tab { border: 1px solid transparent; background: transparent; padding: 8px 14px; border-radius: 6px; color: #6a765f; font-size: 11px; }
.category-tab.is-active { border-color: var(--line); color: var(--ink); background: #fff; box-shadow: 0 1px 2px #25312903; }
.category-tab span { font-size: 9px; background: var(--soft-green); margin-left: 9px; padding: 1px 5px; border-radius: 3px; }
.catalog-count { font-size: 10px; color: #78846b; }
.tool-grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 19px; }
.tool-card { border: 1px solid var(--line); border-radius: 12px; padding: 25px; display: flex; flex-direction: column; min-height: 304px; transition: transform .2s, box-shadow .2s; min-width: 0; }
.tool-card-featured { background: var(--ink); color: #f7faef; border-color: var(--ink); position: relative; overflow: hidden; }
.tool-card-featured::after { content: ''; position: absolute; width: 180px; height: 180px; border: 1px solid #ffffff05; border-radius: 50%; top: -90px; right: -50px; pointer-events: none; }
.tool-card-featured:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #25312918; }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tool-icon { width: 43px; height: 43px; border: 1px solid #e0e6d7; border-radius: 11px; display: grid; place-items: center; color: #828d74; background: #eff2e8; }
.tool-icon .icon { width: 22px; height: 22px; }
.tool-card-featured .tool-icon { background: var(--lime); color: #37472d; border-color: transparent; }
.availability { font-size: 8px; color: #8e9783; border: 1px solid #dce3d2; border-radius: 4px; padding: 4px 7px; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.availability.available { color: #d4dfc4; border-color: #56634c; }
.availability.available .status-dot { background: #bfdc8b; width: 4px; height: 4px; }
.tool-card-copy { margin-top: 27px; }
.tool-category { font-size: 8px; letter-spacing: 1.2px; text-transform: uppercase; color: #909b82; }
.tool-card h3 { font-size: 20px; font-weight: 550; letter-spacing: -.6px; margin-top: 7px; }
.tool-card h3 a::after { content: ''; position: absolute; inset: 0; }
.tool-card-copy p { font-size: 12px; line-height: 1.8; color: #707b65; margin-top: 12px; max-width: 260px; }
.tool-card-featured .tool-card-copy p { color: #bcc7b1; }
.tool-card-featured .tool-category { color: #94a882; }
.tool-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 23px; font-size: 8px; color: #929c87; }
.tool-card-featured .tool-card-bottom { color: #c0cdb1; }
.small-dot { padding-inline: 7px; }
.card-arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #d9edac; color: #35442c; position: relative; }
.card-arrow .icon { width: 16px; height: 16px; }
.upcoming-line { display: block; width: 24px; height: 1px; background: #cbd3bf; }
.catalog-note { margin-top: 24px; font-size: 11px; color: #7c876f; text-align: center; line-height: 1.8; }
.empty-search { border: 1px dashed #cdd7bf; border-radius: 12px; padding: 45px 20px; text-align: center; }
.empty-search > .icon { width: 30px; height: 30px; margin-bottom: 15px; color: #899b71; }
.empty-search h3 { font-size: 18px; font-weight: 500; }
.empty-search p { color: var(--muted); margin-block: 12px 24px; font-size: 12px; }
.how-section { padding-block: 52px; border-block: 1px solid var(--line); display: grid; grid-template-columns: .85fr 2fr; gap: 90px; }
.how-intro h2 { font-size: 32px; font-weight: 500; letter-spacing: -1px; line-height: 1.15; margin-top: 17px; }
.how-intro h2 em { font-size: 1.25em; }
.how-intro > p:last-child { font-size: 12px; color: var(--muted); line-height: 1.9; margin-top: 16px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 0; margin: 10px 0 0; list-style: none; }
.step-number { font-size: 10px; width: 34px; height: 34px; border: 1px solid #d7e0ca; border-radius: 50%; display: grid; place-items: center; color: #6e805a; background: #f2f5eb; }
.how-steps h3 { margin-top: 26px; font-size: 13px; font-weight: 600; letter-spacing: -.2px; }
.how-steps p { margin-top: 10px; font-size: 12px; line-height: 1.9; color: #758169; }
.closing-note { display: flex; align-items: center; gap: 35px; padding: 47px 0 20px; }
.small-star { font-size: 52px; line-height: 1; font-weight: 400; color: #92a76d; }
.closing-note > p { font-size: 16px; line-height: 1.4; font-weight: 450; letter-spacing: -.3px; }
.closing-note > p em { font-size: 1.5em; }
.closing-note > a { margin-left: auto; }

/* Tool: selection, processing, and results */
.tool-page { padding-top: 31px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #939c88; font-size: 9px; }
.breadcrumb .icon { width: 10px; height: 10px; }
.breadcrumb [aria-current] { color: #647454; }
.tool-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-block: 36px; }
.tool-page-heading h1 { font-size: 55px; font-weight: 450; letter-spacing: -2.3px; line-height: 1.15; margin-top: 15px; }
.tool-page-heading h1 em { font-size: 1.16em; }
.tool-page-heading p:last-child { margin-top: 16px; color: var(--muted); line-height: 1.9; font-size: 13px; }
.back-to-tools { padding-bottom: 4px; color: #778469; }
.workspace-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 27px; align-items: start; }
.workspace { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); overflow: hidden; min-width: 0; }
.workspace-steps { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 22px 32px; margin: 0; border-bottom: 1px solid #e9ede2; gap: 14px; }
.workspace-steps li { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #7e8a71; }
.workspace-steps li > span { width: 24px; height: 24px; border-radius: 50%; background: #f1f4eb; border: 1px solid #e7ecde; display: grid; place-items: center; font-size: 9px; }
.workspace-steps .is-active { color: var(--ink); font-weight: 650; }
.workspace-steps .is-active > span { background: var(--ink); color: #fff; border-color: var(--ink); }
.workspace-steps .is-complete { color: #7a8d60; }
.workspace-steps .is-complete > span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.workspace-body { padding: 30px; }
.dropzone { padding: 35px 20px 27px; background: #fcfdf8; border: 1px dashed #c5d2b4; border-radius: 9px; display: flex; align-items: center; flex-direction: column; text-align: center; transition: background .2s, border-color .2s; }
.dropzone.is-dragging { background: #ecf4d8; border-color: #7f9d50; }
.upload-symbol { width: 54px; height: 54px; background: #eef3e4; border: 1px solid #e0e9d0; color: #7b9160; border-radius: 14px; display: grid; place-items: center; margin-bottom: 21px; }
.upload-symbol .icon { width: 24px; height: 24px; }
.dropzone h3 { font-size: 17px; letter-spacing: -.5px; font-weight: 550; }
.dropzone p { font-size: 12px; line-height: 1.85; color: #78866a; margin-top: 11px; }
.dropzone .button { margin-top: 23px; min-height: 44px; font-size: 12px; padding: 11px 18px; }
.dropzone-hint { font-size: 8px; letter-spacing: .5px; color: #a4ad99; margin-top: 17px; }
.example-row { display: flex; align-items: center; justify-content: center; gap: 9px; padding-top: 22px; font-size: 9px; color: #939e86; flex-wrap: wrap; }
.example-row .text-link { font-size: 9px; color: #6e805a; }
.example-row .icon { width: 13px; height: 13px; }
.workspace-footer { border-top: 1px solid #e9ede2; padding: 17px 24px; color: #7d896f; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 10px; line-height: 1.8; }
.workspace-footer .icon { width: 13px; height: 13px; }
.sidebar-card { background: #edf1e4; border: 1px solid #e5eadb; border-radius: 12px; padding: 27px 23px; }
.sidebar-eyebrow { font-size: 8px; letter-spacing: 1.2px; color: #879475; }
.sidebar-card h2 { font-size: 22px; font-weight: 450; line-height: 1.35; letter-spacing: -.6px; margin-top: 15px; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; }
.check-list li { display: flex; gap: 10px; margin-top: 20px; }
.check-list > li > .icon { width: 15px; height: 15px; color: #799257; margin-top: 1px; }
.check-list strong { font-size: 11px; font-weight: 600; }
.check-list p { color: #748264; font-size: 11px; line-height: 1.8; margin-top: 5px; }
.format-note { display: flex; gap: 10px; padding: 24px 7px; }
.format-note > .icon { width: 15px; height: 15px; color: #96a585; margin-top: 2px; }
.format-note h3 { font-size: 11px; font-weight: 600; }
.format-note p { font-size: 11px; line-height: 1.8; color: #7a876c; margin-block: 7px 13px; }
.format-note .text-link { font-size: 9px; }
.selected-file { display: flex; align-items: center; gap: 14px; border: 1px solid #d8e3c8; border-radius: 9px; padding: 22px 18px; background: #f8fbf1; min-width: 0; }
.selected-file-icon { width: 42px; height: 48px; background: #e6efda; border-radius: 8px; display: grid; place-items: center; color: #7f9368; flex-shrink: 0; }
.selected-file > div { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.selected-file strong { font-size: 12px; font-weight: 600; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.selected-file div > span { font-size: 9px; color: #94a081; }
.selected-file > button { margin-left: auto; flex-shrink: 0; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.form-actions > span { display: flex; gap: 7px; align-items: center; font-size: 9px; color: #8e9d7d; }
.form-actions .icon { width: 14px; height: 14px; }
.error-message { padding: 15px 17px; background: #fbf0e9; color: #995536; border: 1px solid #eed9c9; border-radius: 8px; line-height: 1.8; font-size: 11px; margin-bottom: 20px; overflow-wrap: anywhere; }
.processing-state { text-align: center; padding-block: 48px; }
.processing-spinner { display: inline-block; width: 38px; height: 38px; border: 2px solid #e4ecd9; border-top-color: #718c4f; border-radius: 50%; animation: spin 1s linear infinite; }
.processing-state h3 { font-size: 18px; font-weight: 500; margin-top: 23px; letter-spacing: -.4px; }
.processing-state p { font-size: 11px; color: #96a089; margin-top: 10px; }
.processing-state progress { display: block; width: 200px; height: 4px; margin: 24px auto; accent-color: #7c9958; }
.processing-state .text-link { font-size: 10px; color: #8d9b7e; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-state { outline: none; }
.result-heading { display: flex; gap: 15px; align-items: center; }
.result-heading .eyebrow { font-size: 8px; letter-spacing: 1.4px; color: #85936e; }
.result-heading h3 { margin-top: 4px; font-size: 24px; letter-spacing: -.8px; font-weight: 500; }
.result-description { font-size: 11px; line-height: 1.9; color: #8d9981; margin-top: 17px; overflow-wrap: anywhere; }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e3e9d9; border-radius: 9px; overflow: hidden; margin-block: 23px 28px; }
.result-stats > div { padding: 20px 15px; border-right: 1px solid #e3e9d9; display: flex; flex-direction: column-reverse; gap: 7px; }
.result-stats > div:last-child { border-right: 0; }
.result-stats dt { font-size: 10px; color: #7d8a6f; }
.result-stats dd { font-size: 32px; margin: 0; font-weight: 450; letter-spacing: -1px; line-height: 1.2; }
.result-stats .stat-highlight { background: #edf4dd; }
.result-stats .stat-highlight dt { color: #79905d; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.preview-heading h4 { font-size: 11px; font-weight: 600; }
.preview-heading > span { font-size: 8px; color: #9ba58f; }
.table-scroll { border: 1px solid #e8eddf; border-radius: 7px; overflow-x: auto; }
#csv-preview { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
#csv-preview th { font-weight: 550; background: #f4f7ed; color: #748264; }
#csv-preview th, #csv-preview td { padding: 12px 14px; border-bottom: 1px solid #edf1e5; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
#csv-preview td { color: #8c9780; }
#csv-preview tr:last-child td { border-bottom: 0; }
.preview-note { font-size: 8px; color: #9da793; line-height: 1.8; margin-top: 10px; }
.result-actions { display: flex; align-items: center; gap: 25px; justify-content: space-between; flex-wrap: wrap; margin-top: 27px; }
.result-actions .text-link { font-size: 10px; }
.faq-section { padding-block: 54px 30px; margin-top: 65px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.7fr; gap: 80px; }
.faq-section h2 { font-size: 31px; line-height: 1.2; font-weight: 450; letter-spacing: -.8px; margin-top: 17px; }
.faq-section h2 em { font-size: 1.25em; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; font-size: 12px; cursor: pointer; list-style: none; font-weight: 550; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 13px; height: 13px; color: #99a58a; transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(90deg); }
.faq-list details p { font-size: 12px; line-height: 1.9; color: #748265; padding: 0 25px 20px 0; }
.faq-list details a { text-decoration: underline; text-underline-offset: 3px; }

/* Secondary pages */
.legal-page { padding-block: 40px 35px; max-width: 820px; }
.legal-page > .eyebrow { margin-top: 48px; }
.legal-page h1, .not-found h1 { font-size: 55px; font-weight: 450; line-height: 1.15; letter-spacing: -2px; margin-top: 20px; }
.legal-page h1 em, .not-found h1 em { font-size: 1.2em; }
.legal-intro { max-width: 520px; font-size: 14px; color: var(--muted); line-height: 1.9; margin-top: 25px; }
.legal-content { max-width: 650px; margin-top: 50px; }
.legal-content section { border-top: 1px solid var(--line); padding-block: 30px; }
.legal-content h2 { font-size: 18px; font-weight: 550; letter-spacing: -.5px; margin-bottom: 15px; }
.legal-content p { font-size: 12px; color: var(--muted); line-height: 2; margin-top: 12px; }
.not-found { padding-block: 95px; min-height: 70vh; }
.not-found > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; margin-block: 25px; }

@media (min-width: 1450px) { .hero { padding-block: 94px 90px; } }
@media (max-width: 1150px) {
  .header-note { display: none; }
  .hero { gap: 32px; }
  .hero h1 { font-size: 55px; }
  .hero-sheet { width: 285px; left: 5px; }
  .hero-result { width: 310px; }
  .hero-result .saved-badge { display: none; }
  .art-spark { right: 0; }
  .principles { gap: 22px; }
  .principles .principles-label { display: none; }
  .tool-card { padding: 20px; }
  .tool-card h3 { font-size: 18px; }
  .availability { font-size: 7px; }
  .how-section { gap: 40px; }
  .workspace-layout { grid-template-columns: minmax(0, 1fr) 255px; gap: 22px; }
  .workspace-body { padding: 24px; }
  .result-actions { gap: 18px; }
}
@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .hero h1 { font-size: 46px; letter-spacing: -2px; }
  .hero-actions { gap: 16px; }
  .hero-actions > .text-link { font-size: 10px; }
  .hero-footnote { font-size: 8px; gap: 7px; }
  .hero-art { height: 315px; }
  .hero-sheet { width: 250px; top: 33px; left: 0; }
  .hero-result { width: 270px; bottom: 0; right: 0; padding: 15px; }
  .art-spark { top: 75px; width: 45px; height: 45px; }
  .orbit-one { width: 240px; height: 240px; }
  .orbit-two { width: 180px; height: 180px; right: 30px; top: 43px; }
  .sheet-row { grid-template-columns: 60px 1fr; min-height: 28px; font-size: 8px; }
  .art-label, .art-caption { font-size: 6px; }
  .tool-grid { gap: 13px; }
  .tool-card { padding: 17px; min-height: 312px; }
  .tool-card-top { align-items: start; flex-direction: column; gap: 12px; }
  .tool-card-copy { margin-top: 20px; }
  .tool-card-bottom { font-size: 7px; }
  .how-section { grid-template-columns: 1fr; gap: 30px; }
  .how-intro h2 br, .how-intro > p:last-child br { display: none; }
  .how-steps { gap: 35px; margin-top: 0; }
  .workspace-layout { grid-template-columns: minmax(0, 1fr); }
  .tool-sidebar { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
  .sidebar-card { padding: 23px; }
  .sidebar-card h2 br { display: none; }
  .check-list { margin-top: 20px; }
  .check-list li { margin-top: 14px; }
  .faq-section { gap: 45px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; gap: 20px; position: relative; }
  .brand { font-size: 21px; }
  .brand img { width: 31px; height: 31px; }
  .menu-toggle { display: inline-flex; }
  .header-nav { display: none; position: absolute; top: 68px; inset-inline: 0; z-index: 10; flex-direction: column; gap: 0; background: #fff; padding: 15px 23px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 25px #25312910; }
  .header-nav.is-open { display: flex; }
  .header-nav a { font-size: 13px; padding-block: 13px; }
  .hero { grid-template-columns: 1fr; gap: 43px; padding-block: 47px 46px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .hero h1 { font-size: clamp(40px, 10.2vw, 63px); line-height: 1.12; letter-spacing: -2.3px; margin-top: 20px; }
  .hero h1 em { letter-spacing: -1.7px; }
  .hero-description { font-size: 12px; margin-top: 21px; }
  .hero-actions { margin-top: 25px; gap: 18px; }
  .hero-actions > .button { font-size: 10px; padding-inline: 17px; min-height: 45px; gap: 10px; }
  .hero-actions > .text-link { font-size: 9px; gap: 5px; }
  .hero-footnote { font-size: 9px; margin-top: 21px; }
  .hero-art { height: 315px; width: min(390px, 100%); margin: auto; }
  .hero-sheet { width: 275px; left: 13px; top: 30px; }
  .sheet-row { grid-template-columns: 70px 1fr; font-size: 8px; }
  .hero-result { width: 285px; right: 2px; bottom: 4px; }
  .hero-result .saved-badge { display: inline-block; font-size: 7px; padding: 5px; }
  .hero-result strong { font-size: 10px; }
  .hero-result div > span { font-size: 8px; }
  .hero-result .result-check { width: 32px; height: 32px; }
  .art-label, .art-caption { font-size: 6px; }
  .art-spark { right: 0; top: 81px; }
  .principles { justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 20px; font-size: 9px; }
  .principles > span:last-of-type { display: none; }
  .principles > span:nth-child(3) { display: none; }
  .principles .icon { width: 13px; height: 13px; }
  .catalog-section { padding-block: 43px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 23px; }
  .section-heading h2 { font-size: 24px; letter-spacing: -.9px; }
  .search-box { width: 100%; height: 45px; }
  .search-box input { font-size: 11px; }
  .catalog-toolbar { margin-top: 19px; gap: 10px; }
  .category-tabs { gap: 2px; }
  .category-tab { font-size: 9px; padding: 8px 11px; }
  .category-tab span { margin-left: 5px; }
  .catalog-count { font-size: 8px; max-width: 100px; text-align: right; }
  .tool-grid { grid-template-columns: 1fr; gap: 15px; }
  .tool-card { min-height: 270px; padding: 25px; }
  .tool-card-top { flex-direction: row; align-items: center; }
  .tool-card h3 { font-size: 23px; }
  .tool-card-copy { margin-top: 25px; }
  .tool-card-copy p { font-size: 12px; max-width: 300px; }
  .tool-card-bottom { font-size: 9px; padding-top: 20px; }
  .availability { font-size: 8px; }
  .tool-card-upcoming { min-height: 250px; }
  .catalog-note { font-size: 9px; max-width: 285px; margin-inline: auto; }
  .how-section { padding-block: 36px; gap: 30px; }
  .how-intro h2 { font-size: 30px; margin-top: 12px; }
  .how-steps { grid-template-columns: 1fr; gap: 25px; }
  .how-steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 17px; }
  .step-number { grid-row: span 2; }
  .how-steps h3 { margin-top: 1px; font-size: 12px; }
  .how-steps p { margin-top: 6px; font-size: 12px; }
  .closing-note { gap: 20px; flex-wrap: wrap; padding-top: 35px; }
  .closing-note > p { font-size: 14px; }
  .closing-note > a { margin-left: 0; width: 100%; margin-top: 3px; font-size: 11px; }
  .small-star { font-size: 43px; }
  .footer-inner { padding-block: 25px; min-height: 0; flex-direction: column; align-items: start; gap: 23px; }
  .footer-tagline { margin-left: 18px; }
  .footer-links { font-size: 9px; gap: 20px; flex-wrap: wrap; }
  .tool-page { padding-top: 24px; }
  .tool-page-heading { padding-block: 28px; }
  .tool-page-heading h1 { font-size: 45px; margin-top: 13px; }
  .tool-page-heading p:last-child { font-size: 11px; }
  .back-to-tools { display: none; }
  .breadcrumb { font-size: 8px; gap: 7px; }
  .workspace-steps { padding: 18px; gap: 6px; }
  .workspace-steps li { font-size: 8px; gap: 6px; }
  .workspace-steps li > span { width: 21px; height: 21px; font-size: 8px; }
  .workspace-body { padding: 19px; }
  .dropzone { padding: 29px 12px 24px; }
  .dropzone h3 { font-size: 15px; max-width: 220px; line-height: 1.55; }
  .dropzone p { font-size: 12px; }
  .workspace-footer { padding: 14px 18px; font-size: 9px; align-items: start; }
  .workspace-footer .icon { margin-top: 3px; }
  .example-row { font-size: 8px; gap: 5px; }
  .example-row .text-link { font-size: 8px; }
  .tool-sidebar { grid-template-columns: 1fr; gap: 0; }
  .sidebar-card { padding: 25px; }
  .sidebar-card h2 { font-size: 24px; }
  .check-list p { font-size: 10px; }
  .check-list strong { font-size: 11px; }
  .format-note { padding: 25px 6px 0; }
  .format-note p { font-size: 10px; }
  .faq-section { grid-template-columns: 1fr; gap: 17px; margin-top: 38px; padding-block: 32px 10px; }
  .faq-section h2 br { display: none; }
  .faq-section h2 { margin-top: 12px; font-size: 28px; }
  .faq-list summary { font-size: 11px; line-height: 1.8; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 20px; }
  .form-actions > span { justify-content: center; }
  .selected-file { padding: 16px 12px; gap: 9px; }
  .selected-file strong { font-size: 10px; }
  .result-heading { gap: 11px; }
  .result-heading h3 { font-size: 20px; }
  .result-heading .result-check { width: 35px; height: 35px; }
  .result-stats > div { padding: 17px 9px; gap: 8px; }
  .result-stats dt { font-size: 9px; line-height: 1.6; }
  .result-stats dd { font-size: 29px; }
  .result-actions { flex-direction: column; gap: 22px; }
  .result-actions .button { width: 100%; font-size: 11px; gap: 12px; }
  .preview-heading { align-items: start; }
  .preview-heading h4 { font-size: 10px; }
  .preview-heading > span { max-width: 95px; text-align: right; line-height: 1.6; font-size: 7px; }
  .legal-page h1, .not-found h1 { font-size: 42px; }
  .legal-intro { font-size: 12px; }
  .not-found { padding-block: 65px; }
  .desktop-break { display: none; }
}
/* Account access and private activity */
.header-nav { align-items: center; }
.header-nav .nav-account { padding: 10px 15px; border: 1px solid var(--line); border-radius: 7px; background: var(--soft-green); display: inline-flex; gap: 10px; align-items: center; }
.nav-account .icon { width: 14px; height: 14px; }
.access-layout { min-height: 660px; padding-block: 75px; display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 100px; }
.access-intro h1 { font-size: clamp(43px, 5vw, 70px); font-weight: 500; line-height: 1.1; letter-spacing: -2.8px; margin-top: 25px; }
.access-intro h1 em { font-size: 1.14em; }
.access-intro > p:last-of-type { margin-top: 30px; max-width: 370px; line-height: 1.9; color: var(--muted); }
.access-principle { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 25px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.access-card, .account-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-width: 0; }
.access-card h2 { font-size: 24px; letter-spacing: -.9px; font-weight: 550; margin-top: 15px; }
.access-subtitle { margin-top: 10px; color: var(--muted); font-size: 12px; }
.account-form { display: flex; flex-direction: column; gap: 10px; margin-top: 25px; }
.account-form label { font-weight: 650; font-size: 12px; margin-top: 8px; }
.account-form input { min-width: 0; width: 100%; border: 1px solid #cbd3c3; border-radius: 7px; padding: 13px 14px; color: var(--ink); background: var(--paper); font-size: 14px; }
.account-form input:focus { outline: 2px solid #819a5a; outline-offset: 2px; background: white; }
.account-form > .button { width: 100%; margin-top: 12px; }
.field-hint { color: var(--muted); font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.field-hint:empty { display: none; }
.auth-switch { font-size: 11px; line-height: 1.9; margin-top: 23px; color: var(--muted); }
.auth-switch .text-link { font-size: inherit; color: var(--ink); }
.access-privacy { font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); width: 100%; padding-top: 21px; margin-top: 23px; }
.auth-gate { text-align: center; padding: 28px 20px 36px; }
.auth-gate .upload-symbol { margin-inline: auto; }
.auth-gate .eyebrow { justify-content: center; margin-top: 24px; }
.auth-gate h3 { font-size: 26px; font-weight: 550; letter-spacing: -.8px; margin-top: 12px; }
.auth-gate > p:not(.eyebrow):not(.auth-switch) { max-width: 350px; margin: 17px auto 25px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.account-page { padding-block: 65px 35px; }
.account-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 40px; }
.account-heading h1 { font-size: clamp(32px, 3.5vw, 48px); font-weight: 500; letter-spacing: -1.7px; line-height: 1.2; margin-top: 17px; }
.account-email { margin-top: 15px; color: var(--muted); overflow-wrap: anywhere; }
.account-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.account-panel h2 { font-size: 22px; font-weight: 550; letter-spacing: -.7px; margin-top: 12px; margin-bottom: 12px; }
.account-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.account-panel > .field-hint { margin-top: 17px; }
.history-table { width: 100%; text-align: left; border-collapse: collapse; white-space: nowrap; font-size: 11px; }
.history-table th { font-size: 10px; font-weight: 600; color: var(--muted); background: var(--paper); }
.history-table th, .history-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); }
.history-table th:last-child, .history-table td:last-child { text-align: right; }
.job-status { border-radius: 5px; padding: 5px 7px; background: var(--soft-green); color: #44602b; font-size: 10px; }
.job-status.error { background: #fff0eb; color: #92503a; }
.account-empty { padding: 35px 0 20px; text-align: center; }
.account-empty .upload-symbol { margin-inline: auto; }
.account-empty h3 { font-size: 20px; font-weight: 550; margin-top: 22px; }
.account-empty p { font-size: 12px; color: var(--muted); margin: 15px 0 25px; line-height: 1.9; }
@media (max-width: 1000px) {
  .access-layout { gap: 40px; grid-template-columns: 1fr 400px; }
  .account-layout { grid-template-columns: 1fr; }
  .header-nav { gap: 18px; }
}
@media (max-width: 760px) {
  .access-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 40px; max-width: 540px; }
  .access-intro h1 { font-size: 44px; letter-spacing: -1.8px; margin-top: 18px; }
  .access-intro h1 br { display: none; }
  .access-intro > p:last-of-type { margin-top: 16px; font-size: 12px; }
  .access-principle { display: none; }
  .access-card, .account-panel { padding: 24px; }
  .access-card h2 { font-size: 22px; }
  .account-form input { font-size: 16px; }
  .account-page { padding-block: 38px 15px; }
  .account-heading { align-items: start; margin-bottom: 28px; flex-direction: column; gap: 18px; }
  .account-heading h1 { font-size: 35px; }
  .account-email { font-size: 12px; }
  .account-panel-heading { align-items: start; flex-direction: column; }
  .account-empty h3 { font-size: 19px; }
  .auth-gate { padding-inline: 0; }
  .auth-gate h3 { font-size: 22px; }
  .auth-gate .button { width: 100%; font-size: 11px; }
}
@media (max-width: 640px) { .header-nav { align-items: stretch; gap: 0; } }
/* Profile, password visibility, and identity verification */
.password-control { position: relative; }
.password-control input { padding-right: 52px; }
.password-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); }
.password-toggle .icon { width: 20px; height: 20px; }
.google-option { margin-top: 24px; text-align: center; }
.google-button { padding: 0; border: 0; border-radius: 4px; background: transparent; display: inline-flex; }
.google-button img { display: block; }
.google-button:disabled { opacity: 1; cursor: not-allowed; }
.google-option > .field-hint { margin-top: 8px; }
.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 10px; margin-top: 24px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.notice-message { padding: 16px 20px; border-radius: 9px; border: 1px solid #d5e1c3; background: var(--soft-green); color: #4c6339; font-size: 12px; line-height: 1.8; margin-block: 20px; }
.profile-notice { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.profile-notice > span { display: flex; align-items: center; gap: 10px; }
.profile-layout { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.6fr); gap: 24px; align-items: start; }
.profile-summary { text-align: center; padding-block: 40px; }
.profile-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 30px; margin: 0 auto 24px; font-weight: 550; }
.profile-summary h2 { overflow-wrap: anywhere; }
.profile-email { color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.profile-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--soft-green); color: #4b6337; border-radius: 5px; padding: 6px 9px; font-size: 10px; margin-top: 17px; }
.profile-badge .icon { width: 14px; height: 14px; }
.profile-facts { text-align: left; margin: 28px 0; padding-block: 10px; border-block: 1px solid var(--line); }
.profile-facts > div { display: flex; gap: 10px; justify-content: space-between; padding-block: 12px; font-size: 11px; }
.profile-facts dt { color: var(--muted); }
.profile-facts dd { margin: 0; text-align: right; }
.profile-details { display: grid; gap: 24px; }
.profile-details .account-form > .button { align-self: start; width: auto; }
.security-row { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding-top: 24px; }
.security-row h3 { font-size: 13px; font-weight: 650; }
.security-row p { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 7px; max-width: 350px; }
.security-row .text-link { flex-shrink: 0; font-size: 11px; }
.security-row .profile-badge { margin: 0; }
.google-security { margin-top: 24px; border-top: 1px solid var(--line); }
.profile-details .google-option { text-align: left; }
.profile-activity { margin-top: 24px; }
.settings-page { max-width: 620px; padding-block: 45px 55px; }
.settings-heading { margin: 35px 0; }
.settings-heading h1 { font-size: clamp(36px, 4vw, 52px); font-weight: 500; letter-spacing: -1.8px; line-height: 1.2; margin-top: 18px; }
.settings-heading > p:last-child { color: var(--muted); line-height: 1.9; font-size: 13px; margin-top: 15px; }
.settings-card .upload-symbol { margin: 0 0 24px; }
.verification-recipient { font-weight: 650; font-size: 14px; margin: 15px 0 12px; overflow-wrap: anywhere; }
.account-form .code-input { letter-spacing: 9px; font-size: 26px; font-variant-numeric: tabular-nums; text-align: center; }
.verification-resend { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.verification-resend > .text-link { margin-block: 10px; }
.verification-return { margin-top: 18px; }
.verification-return .text-link { font-size: inherit; }
@media (max-width: 760px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-summary { padding-block: 30px; }
  .profile-notice, .security-row { align-items: start; flex-direction: column; }
  .profile-details .account-form > .button { width: 100%; }
  .settings-page { padding-block: 28px 35px; }
  .settings-heading { margin-block: 28px; }
  .security-row { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
