/* auvi.net v3 · "Selling direct" · Oct 2026
   One motion language: the direct line (orange). Fonts self-hosted (OFL). */

@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F2F1EC; --ink: #111110; --soft: #3D3C38; --muted: #5F5E58; --line: #CFCDC4; --card: #FFFFFF;
  --accent: #FF5A1F; --accent-text: #C2410C;
  --display: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.16,.84,.24,1);
  --wrap: 1200px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111110; --ink: #F2F1EC; --soft: #C9C7BF; --muted: #A3A19A; --line: #3A3936; --card: #1B1B19; --accent-text: #FF7A45; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
a:hover { opacity: .75; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.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 { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; flex: none; }

/* Header */
.top { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; letter-spacing: .02em; }
.brand .domain { color: var(--muted); padding-left: 10px; border-left: 1.5px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-end; padding-top: 72px; padding-bottom: 96px; }
.hero-text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.6vw, 100px); line-height: .95; letter-spacing: -.035em; }
.accent-text { color: var(--accent-text); }
html[lang="fr"] h1 { font-size: clamp(40px, 5.9vw, 88px); }
.lede { margin: 0; max-width: 640px; font-size: 20px; line-height: 1.55; color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #111110; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Buyer card */
.buyer { flex: 1 1 340px; min-width: 0; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); font-family: var(--mono); font-size: 14px; overflow: hidden; }
.buyer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1.5px solid var(--ink); }
.buyer-head span { display: flex; align-items: center; gap: 8px; }
.buyer-head .dot { width: 8px; height: 8px; }
.buyer-head .muted, .muted { color: var(--muted); }
.wire { padding: 20px 18px 4px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.track { position: relative; flex: 1 1 auto; height: 1.5px; background: var(--line); }
.pulse { position: absolute; top: -3.25px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px rgba(255,90,31,.5); animation: travel 3.6s cubic-bezier(.65,0,.35,1) infinite; }
.buyer-lines { list-style: none; margin: 0; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; line-height: 1.45; }
.buyer-lines b { font-weight: 400; color: var(--accent-text); }
.buyer-foot { padding: 14px 18px; border-top: 1.5px dashed var(--line); color: var(--muted); font-size: 13px; margin: 0; }
.caret { display: inline-block; width: .55em; height: 1.05em; vertical-align: -.15em; background: var(--ink); animation: caretblink 1.1s steps(1) infinite; }

/* Sections */
.drawline { height: 1.5px; background: var(--ink); transform-origin: left center; }
.split { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.split > .label { flex: 1 1 220px; }
.split > .body { flex: 999 1 560px; min-width: 0; }
.statement { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(23px, 2.6vw, 34px); line-height: 1.32; letter-spacing: -.01em; }

.pov { background: var(--ink); color: var(--bg); }
.pov .split { padding-top: 96px; padding-bottom: 96px; }
.pov .label { color: inherit; opacity: .7; }
.pov .body { display: flex; flex-direction: column; gap: 28px; }
h2.big { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.2vw, 72px); line-height: 1; letter-spacing: -.03em; }
.pov p.prose { margin: 0; max-width: 680px; font-size: 20px; line-height: 1.6; opacity: .88; }

.now-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.now-grid li { border: 1.5px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.now-grid .n { font-family: var(--mono); font-size: 13px; color: var(--accent-text); }
.now-grid h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.now-grid p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--soft); }

.press { list-style: none; margin: 0; padding: 0; }
.press li > a, .press li > div { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; padding: 22px 8px; border-bottom: 1.5px solid var(--line); text-decoration: none; }
.press li > a:hover { opacity: 1; background: rgba(127,127,127,.07); }
.press .t { flex: 999 1 360px; font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1.25; }
.press .s { flex: 1 1 200px; font-family: var(--mono); font-size: 13px; color: var(--muted); text-align: right; }

/* Newsletter */
.signup-wrap { padding: 0 32px 72px; }
.signup { max-width: 1136px; margin: 0 auto; border: 1.5px solid var(--ink); border-radius: 24px; background: var(--card); padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.signup-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.signup-text h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -.03em; }
.signup-text p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--soft); }
.signup-form { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.signup-form > label { font-size: 14px; font-weight: 600; }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field-row input { flex: 999 1 220px; min-width: 0; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; }
.field-row .btn { flex: 1 1 auto; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--soft); }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--accent-text); }
.signup-done { display: none; border-radius: 16px; padding: 24px; background: var(--bg); border: 1.5px solid var(--line); font-size: 17px; line-height: 1.5; outline: none; }
.signup.done .signup-form { display: none; }
.signup.done .signup-done { display: block; flex: 1 1 360px; }

/* Footer */
footer { overflow: hidden; }
.foot { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-mono { font-family: var(--mono); font-weight: 400; font-size: 15px; }
.copy-btn { min-height: 48px; padding: 0 16px; }
.no-js .copy-btn { display: none; }
.foot-note { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.foot-note a { color: var(--muted); }
.wordmark-wrap { height: clamp(64px, 12.5vw, 196px); overflow: hidden; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: clamp(96px, 19vw, 300px); line-height: .9; letter-spacing: -.055em; color: transparent; -webkit-text-stroke: 1.5px var(--line); white-space: nowrap; user-select: none; }

/* Simple pages (privacy, thanks, 404) */
.page { max-width: 760px; margin: 0 auto; padding: 0 32px 96px; }
.page h1 { font-size: clamp(40px, 6vw, 72px); margin: 48px 0 24px; }
.page h2 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.01em; margin: 40px 0 10px; }
.page p, .page li { color: var(--soft); font-size: 17px; line-height: 1.6; }
.page ul { padding-left: 20px; }

/* Worker error page (src/index.js) */
.page .eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 48px 0 0; }
.page .headline { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em; color: var(--ink); }
.page .sub { color: var(--soft); }

/* Outline signature: section numbers, ghost words, footer wordmark */
.side { flex: 1 1 220px; min-width: 0; }
.num { display: block; font-family: var(--display); font-weight: 800; font-size: 128px; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--line); margin: 0 0 18px -4px; user-select: none; }
.pov { position: relative; overflow: hidden; }
.pov .split { position: relative; z-index: 1; }
.pov .num { -webkit-text-stroke-color: rgba(242,241,236,.38); }
.ghost { position: absolute; right: 3%; bottom: -.2em; z-index: 0; font-family: var(--display); font-weight: 800; font-size: clamp(160px, 24vw, 360px); line-height: 1; letter-spacing: -.055em; color: transparent; -webkit-text-stroke: 1.5px rgba(242,241,236,.16); white-space: nowrap; pointer-events: none; user-select: none; }
@media (prefers-color-scheme: dark) {
  .pov .num { -webkit-text-stroke-color: rgba(17,17,16,.35); }
  .ghost { -webkit-text-stroke-color: rgba(17,17,16,.16); }
}
.signup { position: relative; overflow: hidden; }
.signup-text, .signup-form, .signup-done { position: relative; z-index: 1; }

/* Language switch */
.lang { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 13px; padding-left: 20px; border-left: 1.5px solid var(--line); }
.lang [aria-current] { font-weight: 700; }
.lang a { color: var(--muted); text-decoration: none; }

/* ---------- Motion: the direct line ---------- */
.mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.rise { display: block; text-wrap: balance; animation: rise 1s var(--ease-out) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .2s; }
.ul { background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-position: 0 96%; background-size: 0% .07em; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: draw 1.2s cubic-bezier(.65,0,.25,1) 1.15s forwards; }
.fade { animation: fadeUp .9s var(--ease-out) both; }
.f1 { animation-delay: .45s; } .f2 { animation-delay: .6s; } .f3 { animation-delay: .75s; }
.l1 { animation: fadeUp .5s ease-out 1.2s both; } .l2 { animation: fadeUp .5s ease-out 1.9s both; }
.l3 { animation: fadeUp .5s ease-out 2.6s both; } .l4 { animation: fadeUp .5s ease-out 3.3s both; }
.live { animation: breathe 2.8s ease-out infinite; }

@supports (animation-timeline: view()) {
  .drawline { animation: drawx linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  .reveal { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
  .wordmark { animation: wordUp linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  .drift { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
}

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes draw { to { background-size: 100% .07em; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.5); } 70% { box-shadow: 0 0 0 9px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }
@keyframes travel { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes caretblink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes drawx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift { from { transform: translateX(8%); } to { transform: translateX(-4%); } }
@keyframes wordUp { from { transform: translateY(45%); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .fade, .l1, .l2, .l3, .l4, .live, .pulse, .caret, .drawline, .reveal, .wordmark, .drift { animation: none !important; }
  .ul { animation: none; background-size: 100% .07em; }
}

/* Small screens */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .signup-wrap { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 18px; font-size: 14px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
  .lede { font-size: 18px; }
  .now-grid { grid-template-columns: minmax(0, 1fr); }
  .press .s { text-align: left; }
  .num { font-size: 88px; }
  .lang { padding-left: 0; border-left: 0; }
  .signup { padding: 36px 24px; }
  .split { padding-top: 56px; padding-bottom: 56px; gap: 24px; }
  .pov .split { padding-top: 72px; padding-bottom: 72px; }
}
