/* ==========================================================================
   CollectWith. — Landing page
   Paleta: Primary #123C2E · Secondary #7A5638 · Tertiary #B89A5E · Neutral #1E1B18
   Tipografia: Libre Caslon Text (títulos) · Hanken Grotesk (texto e labels)
   ========================================================================== */

@font-face {
    font-family: "Libre Caslon Text";
    src: url("../fonts/libre-caslon-text-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Libre Caslon Text";
    src: url("../fonts/libre-caslon-text-400i.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Libre Caslon Text";
    src: url("../fonts/libre-caslon-text-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Hanken Grotesk";
    src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Material Symbols Outlined";
    src: url("../fonts/material-symbols-subset.woff2") format("woff2");
    font-weight: 300 500;
    font-style: normal;
    font-display: block;
}

:root {
    --green-950: #0a241b;
    --green-900: #0e3024;
    --green: #123c2e;
    --green-700: #1d5541;
    --green-500: #4f8a72;
    --green-200: #bfe3cf;
    --green-100: #e1f1e7;

    --brown: #7a5638;
    --brown-700: #5e4029;
    --brown-100: #f2e6da;

    --gold: #b89a5e;
    --gold-400: #cdb27a;
    --gold-200: #e7d6af;
    --gold-100: #f5eddb;

    --ink: #1e1b18;
    --ink-700: #3a3530;
    --ink-500: #6a625a;
    --ink-300: #a39a90;
    --line: #e0d6ca;
    --line-strong: #cdbfae;

    --paper: #f4eee6;
    --paper-2: #ebe3d8;
    --ivory: #fbf8f2;
    --white: #ffffff;
    --red: #b3261e;

    --font-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
    --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
    --radius-sm: 4px;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(30, 27, 24, .06), 0 2px 8px rgba(30, 27, 24, .05);
    --shadow: 0 10px 30px -12px rgba(30, 27, 24, .25);
    --shadow-lg: 0 30px 80px -24px rgba(10, 36, 27, .45);
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius-sm);
    text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon {
    font-family: "Material Symbols Outlined";
    font-weight: 400;
    font-style: normal;
    font-size: 1.25em;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: "liga";
    -webkit-font-feature-settings: "liga";
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    user-select: none;
    flex-shrink: 0;
}
.icon-fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--gold-400); }

.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head-left { margin: 0; text-align: left; }
.section-head-left .eyebrow { justify-content: flex-start; }
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.12;
    letter-spacing: -.01em;
    color: var(--green);
}
.section-subtitle { margin-top: 20px; font-size: 1.125rem; color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 22px;
    border: 1px solid transparent; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-primary { background: var(--green); color: var(--ivory); }
.btn-primary:hover { background: var(--green-700); box-shadow: 0 8px 20px -10px rgba(18, 60, 46, .7); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-400); box-shadow: 0 10px 26px -10px rgba(184, 154, 94, .8); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--ivory); }
.btn-ghost-light { background: rgba(251, 248, 242, .06); color: var(--ivory); border-color: rgba(251, 248, 242, .35); }
.btn-ghost-light:hover { background: rgba(251, 248, 242, .14); border-color: rgba(251, 248, 242, .6); }
.btn-meta { font-weight: 400; opacity: .65; font-size: .85em; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--header-h);
    background: rgba(244, 238, 230, .92);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background-color .3s, border-color .3s, color .3s;
}
.site-header.is-transparent { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--ivory); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-transparent.is-scrolled {
    background: rgba(14, 48, 36, .92);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-color: rgba(251, 248, 242, .08);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; text-decoration: none; color: var(--green); }
.is-transparent .brand { color: var(--ivory); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 28px; height: 28px; color: var(--gold); }
.logo-word { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: -.015em; line-height: 1; }
.logo-dot { color: var(--gold); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-link {
    display: block; padding: 8px 12px; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 500; text-decoration: none; color: inherit; opacity: .85;
    transition: opacity .2s, background-color .2s;
}
.nav-link:hover, .nav-link.is-active { opacity: 1; background: rgba(122, 86, 56, .08); }
.is-transparent .nav-link:hover, .is-transparent .nav-link.is-active { background: rgba(251, 248, 242, .1); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
    display: inline-flex; padding: 3px; gap: 2px;
    border: 1px solid var(--line-strong); border-radius: 999px;
}
.is-transparent .lang-switch { border-color: rgba(251, 248, 242, .3); }
.lang-option {
    padding: 4px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-decoration: none; opacity: .7;
}
.lang-option:hover { opacity: 1; }
.lang-option.is-active { background: var(--green); color: var(--ivory); opacity: 1; }
.is-transparent .lang-option.is-active { background: var(--gold); color: var(--ink); }
.is-transparent .header-cta { background: var(--ivory); color: var(--green); }
.is-transparent .header-cta:hover { background: var(--white); }
.nav-toggle {
    display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
    border-radius: var(--radius-sm); color: inherit; align-items: center; justify-content: center;
}
.nav-toggle .icon { font-size: 28px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--green);
    color: var(--ivory);
    padding: calc(var(--header-h) + 88px) 0 0;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; mix-blend-mode: luminosity; filter: grayscale(.2); }
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(1200px 500px at 50% 0%, rgba(184, 154, 94, .18), transparent 70%),
        linear-gradient(180deg, rgba(18, 60, 46, .55) 0%, var(--green) 62%);
}
.hero-inner { text-align: center; max-width: 920px; }
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -.02em;
}
.hero-title em { font-style: italic; color: var(--gold-400); }
.hero-subtitle { max-width: 680px; margin: 26px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(251, 248, 242, .78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; margin-top: 30px; font-size: 14px; color: rgba(251, 248, 242, .72); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--gold-400); font-size: 18px; }

.hero-visual-wrap { margin-top: 72px; position: relative; }
.hero-visual-wrap::after {
    content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 32%;
    transform: translateX(-50%);
    background: var(--paper); z-index: 0;
}
.hero-anim { animation: fadeUp .8s var(--ease) both; }
.hero-anim:nth-child(2) { animation-delay: .08s; }
.hero-anim:nth-child(3) { animation-delay: .16s; }
.hero-anim:nth-child(4) { animation-delay: .24s; }
.hero-anim:nth-child(5) { animation-delay: .32s; }
.hero-visual.hero-anim { animation-delay: .4s; animation-duration: 1s; }
.hero-visual { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; }

.app-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ivory);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(251, 248, 242, .08);
}
.app-frame-light { box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.app-frame-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.app-frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.app-frame img { width: 100%; }

.play-button {
    position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
    width: 88px; height: 88px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--gold); color: var(--ink);
    display: grid; place-items: center;
    box-shadow: 0 0 0 12px rgba(184, 154, 94, .25), var(--shadow);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.play-button .icon { font-size: 44px; margin-left: 4px; }
.play-button:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 18px rgba(184, 154, 94, .22), var(--shadow); }

.float-card {
    position: absolute; display: flex; gap: 12px; align-items: flex-start;
    max-width: 290px; padding: 14px 16px;
    background: var(--white); color: var(--ink);
    border-radius: var(--radius); box-shadow: var(--shadow);
    font-size: 13px; line-height: 1.45;
    animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; margin-bottom: 2px; color: var(--green); }
.float-card p { color: var(--ink-500); }
.float-card-insight { left: -48px; top: 22%; }
.float-card-record { right: -40px; bottom: 18%; animation-delay: -3s; }
.float-icon { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--green-100); color: var(--green); }
.float-icon-gold { background: var(--gold-100); color: var(--brown); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Standards strip ---------- */
.standards { padding: 56px 0 24px; }
.standards-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.standards-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-500); }
.standards-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; }
.standards-list li { font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink-700); opacity: .8; }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-icon {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
    background: var(--green); color: var(--gold-200); margin-bottom: 22px;
}
.card-icon .icon { font-size: 26px; }
.card-icon-brown { background: var(--brown-100); color: var(--brown); }
.card-title { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.25; color: var(--green); margin-bottom: 10px; }
.card-text { color: var(--ink-500); font-size: 16px; }

/* ---------- Problem ---------- */
.problem { padding-top: 96px; }

/* ---------- AI extraction ---------- */
.ai { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-demo {
    display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px;
    grid-template-areas: "scan panel" "input input";
}
.scanner {
    grid-area: scan; position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); background: #2b2520;
}
.scanner img { width: 100%; height: 100%; object-fit: cover; object-position: 20% center; }
.scanner-box { position: absolute; inset: 8% 9% 14% 14%; pointer-events: none; }
.scanner-line {
    position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    box-shadow: 0 0 18px 4px rgba(205, 178, 122, .55);
    animation: scan 3.2s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { top: 0; } 50% { top: calc(100% - 2px); } }
.corner { position: absolute; width: 22px; height: 22px; border-color: var(--gold-400); border-style: solid; border-width: 0; }
.corner-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.scanner-status {
    position: absolute; left: 16px; bottom: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px; border-radius: 999px;
    background: rgba(14, 48, 36, .88); color: var(--ivory); font-size: 13px; font-weight: 500;
    opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.ai-demo.is-scanning .scanner-status { opacity: 1; transform: none; }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); position: relative; flex-shrink: 0; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-500); animation: pulse 1.8s ease-out infinite; }
.scanner-status .pulse-dot { background: var(--gold-400); }
.scanner-status .pulse-dot::after { border-color: var(--gold-400); }
@keyframes pulse { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }

.metadata-panel {
    grid-area: panel;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.panel-head { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.panel-head .icon { color: var(--gold); }
.metadata-list { margin: 0; flex: 1; }
.metadata-row { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.metadata-row dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-300); margin-bottom: 4px; }
.metadata-row dd { margin: 0; font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); min-height: 1.6em; }
.metadata-row dd.is-typing::after { content: "▍"; color: var(--gold); animation: blink .8s steps(1) infinite; }
.metadata-row.is-updated dd { color: var(--green-700); }
@keyframes blink { 50% { opacity: 0; } }
.confidence { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 16px; border-radius: var(--radius); background: var(--green-100); font-size: 13px; font-weight: 600; color: var(--green); }
.confidence strong { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; }
.confidence-bar { height: 6px; border-radius: 99px; background: rgba(18, 60, 46, .12); overflow: hidden; }
.confidence-bar span { display: block; height: 100%; background: var(--green); border-radius: inherit; transition: width .8s var(--ease); }

.ai-input {
    grid-area: input;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
    padding: 10px 10px 10px 18px; background: var(--white);
    border: 1px solid var(--line-strong); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.ai-input:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18, 60, 46, .08); }
.ai-input-icon { color: var(--gold); }
.ai-input input { border: 0; outline: 0; background: transparent; min-width: 0; padding: 8px 0; font-size: 15px; }
.ai-input input::placeholder { color: var(--ink-300); }
.ai-status { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 4px 8px 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 8px; counter-reset: none; }
.step {
    width: 100%; display: flex; gap: 20px; text-align: left; cursor: pointer;
    padding: 22px 22px; border: 1px solid transparent; border-radius: var(--radius-lg);
    background: transparent; transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.step:hover { background: rgba(251, 248, 242, .6); }
.step.is-active { background: var(--ivory); border-color: var(--line); box-shadow: var(--shadow-sm); }
.step-number { font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold); line-height: 1.3; min-width: 32px; }
.step-body { display: flex; flex-direction: column; gap: 6px; }
.step-title { font-family: var(--font-serif); font-size: 1.3rem; color: var(--green); line-height: 1.3; }
.step-text { color: var(--ink-500); font-size: 15.5px; }
.step:not(.is-active) .step-text { display: none; }
.step.is-active .step-number { color: var(--brown); }
.steps-images { position: relative; aspect-ratio: 1584 / 846; background: var(--ivory); }
.step-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .5s var(--ease); }
.step-image.is-active { opacity: 1; }

/* ---------- Tour ---------- */
.tour { background: var(--paper-2); }
.tab-list {
    display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
    width: fit-content; margin: 0 auto 40px; padding: 6px;
    background: var(--ivory); border: 1px solid var(--line); border-radius: 999px;
}
.tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
    font-size: 15px; font-weight: 600; color: var(--ink-500); transition: background-color .25s, color .25s;
}
.tab:hover { color: var(--green); }
.tab[aria-selected="true"] { background: var(--green); color: var(--ivory); }
.tab-panel { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; animation: fadeUp .5s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-title { font-family: var(--font-serif); font-size: 1.75rem; line-height: 1.2; color: var(--green); margin-bottom: 24px; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.check-list li { display: flex; gap: 12px; color: var(--ink-700); }
.check-list .icon { color: var(--green-500); margin-top: 2px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Ingestion & Export ---------- */
.io-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.io-col { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.io-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.io-badge { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: var(--gold-200); }
.io-badge-out { background: var(--brown); color: var(--gold-100); }
.io-title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--green); line-height: 1.2; }
.io-desc { color: var(--ink-500); margin-top: 6px; font-size: 15.5px; }
.io-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.io-card {
    display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center;
    padding: 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
    transition: border-color .25s, transform .25s var(--ease);
}
.io-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.io-card .icon { grid-row: span 2; color: var(--brown); font-size: 26px; }
.io-card strong { font-size: 15px; color: var(--ink); }
.io-card span:last-child { font-size: 13.5px; color: var(--ink-500); line-height: 1.4; }

/* ---------- Audiences ---------- */
.audiences { padding-top: 40px; }

/* ---------- Trust ---------- */
.trust { background: var(--green); color: var(--ivory); overflow: hidden; }
.trust::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(800px 400px at 0% 0%, rgba(184, 154, 94, .14), transparent 70%);
}
.trust .section-title { color: var(--ivory); }
.trust .section-subtitle { color: rgba(251, 248, 242, .7); }
.trust-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; position: relative; }
.trust-image { margin-top: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(251, 248, 242, .1); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-item {
    display: flex; flex-direction: column; gap: 14px;
    padding: 26px; border-radius: var(--radius-lg);
    background: rgba(251, 248, 242, .04); border: 1px solid rgba(251, 248, 242, .1);
    transition: background-color .3s, border-color .3s;
}
.trust-item:hover { background: rgba(251, 248, 242, .08); border-color: rgba(205, 178, 122, .4); }
.trust-item .icon { font-size: 28px; color: var(--gold-400); }
.trust-item h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 6px; }
.trust-item p { color: rgba(251, 248, 242, .68); font-size: 15px; }

/* ---------- Pilot ---------- */
.pilot { padding: 140px 0; overflow: hidden; isolation: isolate; }
.pilot-bg { position: absolute; inset: 0; z-index: -1; }
.pilot-bg img { width: 100%; height: 100%; object-fit: cover; }
.pilot-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 27, 24, .55), rgba(30, 27, 24, .15)); }
.pilot-card {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
    padding: 56px; border-radius: 24px;
    background: rgba(251, 248, 242, .96);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(6px);
}
.pilot-copy .btn { margin-top: 32px; }
.pilot-note { margin-top: 14px; font-size: 14px; color: var(--ink-500); }
.pilot-benefits { display: flex; flex-direction: column; gap: 14px; }
.pilot-benefits li {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
    font-weight: 500; color: var(--ink-700);
}
.pilot-benefits .icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-100); color: var(--brown); font-size: 22px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.team-members { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.member { margin: 0; }
.member-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); box-shadow: var(--shadow-sm); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) sepia(.08); transition: filter .4s, transform .6s var(--ease); }
.member:hover .member-photo img { filter: none; transform: scale(1.03); }
.member figcaption { padding-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.member strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 400; color: var(--green); }
.member span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); }

/* ---------- FAQ ---------- */
.faq { background: var(--ivory); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 24px 0; cursor: pointer; list-style: none;
    font-family: var(--font-serif); font-size: 1.2rem; color: var(--green);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--gold); transition: transform .3s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding: 0 48px 26px 0; color: var(--ink-500); }

/* ---------- Contact ---------- */
.contact { background: var(--green-900); color: var(--ivory); }
.contact .section-title { color: var(--ivory); }
.contact .section-subtitle { color: rgba(251, 248, 242, .72); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.contact-next-title { margin-top: 44px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }
.contact-next { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.contact-next li { display: flex; gap: 14px; align-items: flex-start; color: rgba(251, 248, 242, .85); }
.contact-next li span {
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
    border: 1px solid rgba(205, 178, 122, .6); color: var(--gold-400); font-size: 13px; font-weight: 700;
}
.contact-email { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: rgba(251, 248, 242, .7); }
.contact-email .icon { color: var(--gold-400); }
.contact-email a { color: var(--ivory); font-weight: 600; }

.form-card { background: var(--ivory); color: var(--ink); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--ink-700); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px;
    background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236a625a' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(18, 60, 46, .1); }
.field .is-invalid, .field input[aria-invalid="true"] { border-color: var(--red); }
.field ::placeholder { color: var(--ink-300); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-block; padding: 8px 14px; border-radius: 999px;
    border: 1px solid var(--line-strong); background: var(--white);
    font-size: 14px; font-weight: 500; color: var(--ink-700); transition: all .2s;
}
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-500); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green); flex-shrink: 0; }
.consent a { color: var(--green); font-weight: 600; }
.consent.is-invalid span { color: var(--red); }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.form-required { font-size: 13px; color: var(--ink-300); }
.form-alert { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: #fbe9e7; color: var(--red); font-size: 14px; font-weight: 500; }
.form-alert[hidden] { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 48px 12px; }
.form-success[hidden] { display: none; }
.form-success .icon { font-size: 64px; color: var(--green-500); }
.form-success h3 { font-family: var(--font-serif); font-size: 2rem; color: var(--green); margin: 16px 0 10px; }
.form-success p { color: var(--ink-500); max-width: 380px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(251, 248, 242, .7); padding: 80px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.site-footer .brand { color: var(--ivory); }
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--gold-400); margin-top: 20px; }
.footer-desc { margin-top: 10px; max-width: 340px; }
.footer-title { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-langs a { text-decoration: none; transition: color .2s; }
.footer-col a:hover, .footer-langs a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(251, 248, 242, .1); font-size: 13.5px; }
.footer-langs { display: flex; gap: 18px; }
.footer-langs a[aria-current="true"] { color: var(--ivory); font-weight: 600; }

/* ---------- Video modal ---------- */
.video-modal {
    width: min(1180px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 16px;
    background: var(--green-950); color: var(--ivory); overflow: visible;
}
.video-modal::backdrop { background: rgba(10, 36, 27, .82); backdrop-filter: blur(4px); }
.video-modal[open] { animation: fadeUp .35s var(--ease); }
.video-modal-inner { position: relative; padding: 12px; }
.video-modal video { width: 100%; border-radius: 10px; background: #000; aspect-ratio: 1280 / 684; }
.video-note { padding: 12px 6px 4px; font-size: 13px; color: rgba(251, 248, 242, .6); text-align: center; }
.video-close {
    position: absolute; top: -18px; right: -18px; z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--ivory); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow);
}

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 120px; }
.legal-inner { max-width: 820px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brown); text-decoration: none; margin-bottom: 28px; }
.legal-back .icon { transform: rotate(180deg); }
.legal h1 { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--green); margin-bottom: 12px; }
.legal-updated { color: var(--ink-500); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-family: var(--font-serif); font-size: 1.45rem; color: var(--green); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-700); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal address { font-style: normal; line-height: 1.8; color: var(--ink-700); }
.legal a { color: var(--green); }
.placeholder { background: var(--gold-100); color: var(--brown-700); padding: 1px 6px; border-radius: 3px; font-size: .92em; }
.legal-notice { margin-top: 48px; padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--ivory); font-size: 14px; color: var(--ink-500); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .nav-link { padding: 8px 9px; font-size: 14.5px; }
    .float-card-insight { left: -12px; }
    .float-card-record { right: -12px; }
}

@media (max-width: 1040px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: inline-flex; }
    .header-cta { display: none; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        background: var(--ivory); color: var(--ink);
        padding: 16px 24px 28px; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none; flex-direction: column; gap: 16px;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .main-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; gap: 2px; }
    .nav-link { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; opacity: 1; }
    .is-transparent .nav-link:hover { background: transparent; }
    .nav-cta-mobile { display: inline-flex; }
    .header-actions { margin-left: auto; }
    .main-nav { margin-left: 0; }

    .section { padding: 88px 0; }
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .ai-demo { grid-template-columns: 1fr; grid-template-areas: "scan" "panel" "input"; }
    .how-grid, .tab-panel, .trust-grid, .team-grid, .faq-grid, .contact-grid, .pilot-card { grid-template-columns: 1fr; gap: 40px; }
    .steps-visual { order: -1; }
    .tab-panel .app-frame { order: -1; }
    .io-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .float-card { display: none; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 44px; }
    .hero { padding-top: calc(var(--header-h) + 56px); }
    .hero .eyebrow, .section-head:not(.section-head-left) .eyebrow { text-align: center; }
    .hero .eyebrow::before, .section-head:not(.section-head-left) .eyebrow::before { display: none; }
    .hero-actions .btn { width: 100%; }
    .hero-points { flex-direction: column; align-items: center; gap: 8px; }
    .hero-visual-wrap { margin-top: 48px; padding: 0 12px; }
    .play-button { width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(184, 154, 94, .25); }
    .play-button .icon { font-size: 34px; }
    .app-frame-bar { height: 22px; padding: 0 10px; }
    .app-frame-bar span { width: 7px; height: 7px; }
    .cards-3 { grid-template-columns: 1fr; }
    .card { padding: 26px; }
    .standards-list { gap: 8px 24px; }
    .standards-list li { font-size: 1.05rem; }
    .ai-input { grid-template-columns: 1fr auto; padding-left: 14px; }
    .ai-input-icon { display: none; }
    .metadata-panel { padding: 22px; }
    .tab-list { border-radius: var(--radius-lg); width: 100%; }
    .tab { flex: 1 1 45%; justify-content: center; padding: 10px 12px; font-size: 14px; }
    .io-col { padding: 24px; }
    .io-cards { grid-template-columns: 1fr; }
    .trust-list { grid-template-columns: 1fr; }
    .pilot { padding: 80px 0; }
    .pilot-card { padding: 32px 24px; }
    .team-members { gap: 16px; }
    .form-card { padding: 26px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .form-footer .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .lang-switch { padding: 2px; }
    .lang-option { padding: 4px 8px; }
    .logo-word { font-size: 1.3rem; }
    .video-close { top: 8px; right: 8px; }
    .faq-item p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
