:root {
  color-scheme: light;
  --coral: #D97757;
  --coral-deep: #BC5A3C;
  --ink: #1F1E1D;
  --paper: #F5F3EE;
  --paper-white: #FFFFFF;
  --green: #17594A;
  --acid: #E8926F;
  --blue: #E3DACC;
  --accent-text: #9A553F;
  --footer-bg: #141413;
  --footer-text: #B0AEA5;
  --mono: "JetBrains Mono", monospace;
  --sans: "Inter", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { color: var(--accent-text); background: rgba(217,119,87,.22); }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; gap: clamp(24px, 4vw, 62px); height: 88px; padding: 0 4.2vw; color: var(--ink); }
.wordmark { display: inline-flex; align-items: flex-start; font-size: 25px; font-weight: 800; letter-spacing: -.06em; white-space: nowrap; }
.wordmark span { margin: 5px 0 0 3px; font: 9px var(--mono); letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
.main-nav a, .notify-trigger { font-size: 13px; font-weight: 700; }
.main-nav a { position: relative; padding: 7px 0; }
.main-nav a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.notify-trigger { display: flex; align-items: center; gap: 18px; min-height: 43px; margin-left: auto; padding: 4px 5px 4px 19px; border: 1px solid var(--coral-deep); border-radius: 30px; background: var(--coral-deep); color: var(--paper-white); cursor: pointer; transition: background .2s, color .2s; }
.notify-trigger:hover, .notify-trigger[aria-expanded="true"] { background: var(--paper-white); color: var(--ink); }
.notify-trigger i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--paper-white); color: var(--coral-deep); font-size: 17px; font-style: normal; }
.menu-toggle { display: none; }

/* Copy, illustration and scroll cue sit in normal flow so the hero grows with
   its content instead of stacking layers that collide on short viewports. */
.hero { --hero-top: clamp(132px, 17vh, 196px); position: relative; display: flex; min-height: min(100svh, 1100px); flex-direction: column; align-items: center; padding: var(--hero-top) 0 clamp(44px, 6vh, 64px); overflow: hidden; background: var(--paper); isolation: isolate; }
.hero-grid { position: absolute; z-index: -1; inset: 0; opacity: .85; background-image: linear-gradient(rgba(31,30,29,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(31,30,29,.035) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-copy { position: relative; z-index: 3; width: min(900px, 92vw); text-align: center; color: var(--ink); animation: rise-in .8s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow, .section-meta, .hero-note, .scene-caption, .value-index, .news-card-meta, .job-type, .copyright { font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .04em; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(55px, 8.3vw, 112px); font-weight: 600; letter-spacing: -.075em; line-height: .91; }
.hero h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
.hero-subtitle { width: min(360px, 86%); margin: 23px auto 0; font-size: 14px; font-weight: 600; line-height: 1.55; }
.hero-cta { display: inline-flex; align-items: center; gap: 24px; margin-top: 21px; padding: 11px 15px 11px 19px; border-radius: 999px; background: var(--coral-deep); color: var(--paper-white); font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.hero-cta span { font-size: 17px; }
.hero-cta:hover { background: #A5492F; color: var(--paper-white); transform: translateY(-2px); }
.hero-stamp { position: absolute; top: calc(var(--hero-top) + 18px); left: 8%; z-index: 3; display: grid; width: 102px; height: 102px; align-content: center; padding: 13px; border: 1px solid rgba(31,30,29,.64); border-radius: 50%; transform: rotate(-12deg); }
.hero-stamp span { font: 8px var(--mono); }
.hero-stamp b { margin-top: 5px; font-size: 14px; line-height: .95; }
.hero-stamp i { position: absolute; right: 12px; bottom: 12px; font-style: normal; }
.product-scene { position: relative; z-index: 1; width: min(730px, 80vw); height: 390px; flex: none; margin-top: clamp(24px, 3.4vh, 44px); animation: scene-in 1.1s .1s cubic-bezier(.2,.8,.2,1) both; }
.orbit { position: absolute; border: 1px solid rgba(23,25,23,.4); border-radius: 50%; transform: rotate(-26deg); }
.orbit-one { top: 4%; left: 4%; width: 93%; height: 78%; }
.orbit-two { top: 19%; left: 11%; width: 82%; height: 68%; transform: rotate(38deg); }
.task-window { position: absolute; top: 10%; left: 8%; width: 70%; height: 74%; overflow: hidden; border: 2px solid #111; border-radius: 8px; background: #f9f8f2; box-shadow: 9px 10px 0 rgba(23,25,23,.9); transform: rotate(-5deg); }
.window-top { display: flex; height: 39px; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid #d8d6ce; color: #5c5b55; font: 9px var(--mono); }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.window-dots i:nth-child(2) { background: var(--acid); }
.window-dots i:nth-child(3) { background: var(--green); }
.window-top b { font-size: 10px; }
.window-body { display: flex; height: calc(100% - 39px); }
.window-sidebar { display: flex; width: 31%; flex-direction: column; gap: 14px; padding: 19px 13px; border-right: 1px solid #dedcd4; color: #696962; font-size: 9px; }
.window-sidebar strong { color: #1c1d1b; }
.window-sidebar .sidebar-label { margin-top: 10px; font: 8px var(--mono); }
.task-list { flex: 1; padding: 17px 19px; }
.task-heading { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 12px; font-weight: 800; }
.task-heading b { color: #e89f30; font-size: 13px; }
.task-row { display: flex; min-height: 34px; align-items: center; gap: 9px; border-top: 1px solid #e8e6de; font-size: 9px; }
.task-row > i { display: grid; width: 12px; height: 12px; flex: none; place-items: center; border: 1px solid #8e9088; border-radius: 4px; font: 8px var(--sans); }
.task-row.done > i { border-color: var(--green); background: var(--green); color: white; }
.task-row.done > span { color: #8d8e86; text-decoration: line-through; }
.task-row > b { margin-left: auto; color: #82827b; font: 8px var(--mono); }
.add-task { display: flex; gap: 8px; margin-top: 9px; color: var(--coral-deep); font-size: 12px; }
.add-task span { color: #909089; font-size: 9px; }
.phone-card { position: absolute; z-index: 2; top: 35%; right: 2%; width: 142px; height: 260px; padding: 9px; border: 3px solid #111; border-radius: 23px; background: #151615; box-shadow: 5px 7px 0 rgba(23,25,23,.7); transform: rotate(8deg); }
.phone-notch { position: absolute; z-index: 2; top: 7px; left: 50%; width: 49px; height: 11px; border-radius: 8px; background: #141514; transform: translateX(-50%); }
.phone-content { position: relative; height: 100%; overflow: hidden; padding: 29px 11px 10px; border-radius: 15px; background: var(--acid); }
.phone-content > span { font: 8px var(--mono); }
.phone-content > strong { display: block; margin-top: 15px; font-size: 18px; letter-spacing: -.06em; line-height: 1.02; }
.phone-content > i { position: absolute; top: 45px; right: 12px; color: var(--coral-deep); font-size: 20px; font-style: normal; }
.phone-check { display: flex; align-items: center; gap: 6px; margin-top: 13px; font-size: 7px; }
.phone-check b { display: grid; width: 11px; height: 11px; place-items: center; border: 1px solid #171917; border-radius: 50%; font-size: 7px; }
.phone-check:first-of-type b { background: #171917; color: white; }
.sparkle { position: absolute; color: var(--paper-white); font-size: 31px; }
.sparkle-a { top: 4%; right: 13%; }
.sparkle-b { bottom: 5%; left: 2%; color: var(--ink); font-size: 23px; }
.scene-caption { position: absolute; right: 9%; bottom: -1%; left: 10%; display: flex; justify-content: space-between; font-size: 8px; }
.scroll-cue { position: relative; z-index: 4; display: grid; width: 42px; height: 42px; flex: none; margin-top: clamp(26px, 3.6vh, 46px); place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper-white); color: var(--ink); font-size: 19px; transition: transform .2s; }
.scroll-cue:hover { transform: translateY(4px); }
.hero-note { position: absolute; right: 4.2vw; bottom: clamp(20px, 3vh, 34px); margin: 0; font-size: 8px; }

.section-pad { padding: 110px 8.2vw; }
.manifesto { background: var(--paper); }
.section-meta { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(23,25,23,.28); font-size: 9px; }
.manifesto h2 { margin: 72px 0 58px; font-size: clamp(51px, 8.2vw, 112px); font-weight: 600; letter-spacing: -.075em; line-height: .98; }
.manifesto h2 span { color: #8b8b81; }
.manifesto-bottom { display: grid; grid-template-columns: 1.05fr .65fr; gap: 10%; max-width: 1000px; margin: 0 0 110px auto; }
.manifesto-lead { max-width: 470px; margin: 0; font-size: clamp(22px, 3vw, 37px); font-weight: 600; letter-spacing: -.055em; line-height: 1.16; }
.manifesto-copy { max-width: 360px; font-size: 13px; line-height: 1.75; }
.manifesto-copy p { margin: 0 0 26px; }
.text-link, .light-link { display: inline-flex; align-items: center; gap: 20px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.text-link span, .light-link span { font-size: 16px; transition: transform .2s; }
.text-link:hover span, .light-link:hover span { transform: translate(3px, -3px); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(23,25,23,.35); }
.value-item { position: relative; min-height: 250px; padding: 20px 24px 12px 0; border-right: 1px solid rgba(23,25,23,.22); }
.value-item + .value-item { padding-left: 24px; }
.value-item:last-child { border-right: 0; }
.value-index { color: #73746c; font-size: 9px; }
.value-item h3 { margin: 35px 0 13px; font-size: clamp(19px, 2.2vw, 27px); letter-spacing: -.06em; line-height: 1.08; }
.value-item p { max-width: 230px; margin: 0; color: #66675f; font-size: 11px; line-height: 1.65; }
.value-mark { position: absolute; right: 22px; bottom: 5px; color: var(--coral); font-size: 23px; }
.lgpd-section .value-item { padding-bottom: 44px; }
.lgpd-section .value-item a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }

/* Aviso aos clientes: criptografia pós-quântica (PQC). Moldura com sombra deslocada,
   pílula coral e o mesmo values-grid das seções de soluções e LGPD. */
.pqc { padding-bottom: 40px; background: var(--paper); }
.pqc-frame { margin-top: 46px; padding: clamp(26px, 4vw, 56px); border: 1px solid var(--ink); background: var(--paper-white); box-shadow: 6px 6px 0 var(--ink); }
.pqc-pill { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--coral-deep); color: var(--paper-white); font: 9px var(--mono); letter-spacing: .06em; }
.pqc h2 { margin: 30px 0 46px; font-size: clamp(40px, 6vw, 82px); font-weight: 600; letter-spacing: -.075em; line-height: .98; }
.pqc h2 span { color: #8b8b81; }
.pqc h2 em { color: var(--accent-text); }
.pqc-bottom { margin-bottom: 64px; }
.pqc .value-item { min-height: 230px; padding-bottom: 44px; }
.pqc-ok { display: flex; align-items: flex-start; gap: 14px; margin: 34px 0 0; padding: 18px 20px; border-left: 3px solid var(--green); background: var(--paper); color: var(--ink); font-size: 13px; line-height: 1.65; }
.pqc-ok b { display: grid; width: 22px; height: 22px; flex: none; place-items: center; border-radius: 50%; background: var(--green); color: var(--paper-white); font-size: 12px; }
.pqc-ok strong { color: var(--green); }

.team { background: var(--paper); color: var(--ink); }
.team .section-meta { border-color: rgba(31,30,29,.28); }
.team-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: center; padding: 95px 0 78px; }
.team-copy { max-width: 480px; }
.team-copy h2, .news-heading h2, .jobs-intro h2 { margin: 0 0 26px; font-size: clamp(48px, 6.4vw, 82px); font-weight: 600; letter-spacing: -.075em; line-height: .97; }
.team-copy h2 em { color: var(--accent-text); }
.team-copy > p:not(.eyebrow) { max-width: 355px; margin: 0 0 31px; color: rgba(31,30,29,.72); font-size: 13px; line-height: 1.7; }
.team-copy .eyebrow { color: var(--accent-text); }
.brand-relation { padding-top: 17px; border-top: 1px solid rgba(23,25,23,.18); }
.brand-relation a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.light-link { color: var(--ink); }
.team-art { position: relative; min-height: 470px; overflow: hidden; padding: 21px; background: var(--blue); color: var(--ink); transform: rotate(2deg); }
.team-art::before { position: absolute; top: 16%; left: 48%; width: 280px; height: 280px; border: 1px solid rgba(31,30,29,.38); border-radius: 50%; content: ""; }
.team-art-top, .team-art-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; font: 8px var(--mono); }
.team-art p { position: absolute; z-index: 1; top: 25%; left: 10%; margin: 0; font-size: clamp(40px, 5vw, 68px); font-weight: 800; letter-spacing: -.09em; line-height: .84; }
.team-art p span { display: inline-block; margin-left: 8px; color: var(--accent-text); font-size: .55em; vertical-align: top; }
.team-shape { position: absolute; display: grid; width: 104px; height: 104px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 47px; }
.shape-a { top: 18%; right: 8%; background: var(--paper-white); transform: rotate(-14deg); }
.shape-b { right: 25%; bottom: 15%; width: 71px; height: 71px; background: var(--coral); font-family: var(--sans); font-size: 41px; }
.shape-c { bottom: 12%; left: 13%; width: 118px; height: 118px; background: var(--acid); transform: rotate(8deg); }
.team-art-bottom { position: absolute; right: 21px; bottom: 20px; left: 21px; }
.team-foot { display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid rgba(31,30,29,.28); font: 8px var(--mono); }

.news { background: #EDE9DC; }
.news-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 77px 0 56px; }
.news-heading h2 { margin: 0; font-size: clamp(50px, 7vw, 91px); }
.news-heading h2 em { color: var(--accent-text); }
.news-heading > p { max-width: 250px; margin: 0 5% 7px 0; color: #595b54; font-size: 12px; line-height: 1.7; }
.news-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 32px; }
.news-card { position: relative; padding-bottom: 24px; border-bottom: 1px solid rgba(23,25,23,.4); }
.news-visual { position: relative; display: flex; height: clamp(250px, 34vw, 430px); flex-direction: column; overflow: hidden; padding: 19px; }
.visual-one { background: var(--coral); }
.visual-two { background: var(--blue); }
.visual-label { position: relative; z-index: 2; font: 8px var(--mono); }
.visual-big-type { position: absolute; top: 22%; left: 10%; font-size: clamp(52px, 8vw, 103px); font-weight: 800; letter-spacing: -.1em; line-height: .78; transform: rotate(-7deg); }
.visual-big-type i { color: var(--paper-white); font-family: Georgia, serif; font-weight: 400; }
.visual-big-type b { color: var(--green); font-size: .74em; }
.visual-sun { position: absolute; right: 12%; bottom: 8%; font-size: 76px; }
.mini-stack { position: absolute; top: 19%; left: 14%; display: grid; width: 67%; gap: 9px; transform: rotate(7deg); }
.mini-stack div { display: flex; align-items: center; justify-content: space-between; min-height: 51px; padding: 0 14px; border: 1px solid var(--ink); background: var(--paper-white); box-shadow: 4px 4px 0 var(--ink); font-size: 13px; font-weight: 700; }
.mini-stack div:nth-child(2) { margin-left: 12%; background: var(--acid); }
.mini-stack div:nth-child(3) { margin-left: 4%; background: var(--coral); }
.stack-caption { position: absolute; right: 17px; bottom: 17px; font: 8px var(--mono); text-align: right; }
.news-card-meta { display: flex; justify-content: space-between; margin-top: 19px; color: #64655e; font-size: 8px; }
.news-card h3 { max-width: 540px; margin: 11px 42px 0 0; font-size: clamp(19px, 2.5vw, 29px); letter-spacing: -.055em; line-height: 1.12; }
.news-card > a { position: absolute; right: 0; bottom: 20px; display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 17px; transition: background .2s, color .2s; }
.news-card > a:hover { background: var(--ink); color: var(--paper-white); }

.jobs { background: var(--paper-white); }
.jobs-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 10%; align-items: end; margin: 76px 0 65px; }
.jobs-intro .eyebrow { color: var(--coral-deep); }
.jobs-intro h2 { margin: 0; font-size: clamp(47px, 6.3vw, 81px); }
.jobs-intro h2 em { color: var(--accent-text); }
.jobs-intro > p { max-width: 300px; margin: 0 0 8px; color: #5c5c55; font-size: 12px; line-height: 1.8; }
.job-row { display: grid; grid-template-columns: 60px 1fr 240px 30px; gap: 15px; align-items: center; min-height: 86px; border-top: 1px solid rgba(23,25,23,.34); transition: padding .2s, background .2s; }
.job-row:last-child { border-bottom: 1px solid rgba(23,25,23,.34); }
.job-row:hover { padding-right: 12px; padding-left: 12px; background: var(--paper); }
.job-number { color: #74756e; font: 10px var(--mono); }
.job-row strong { font-size: clamp(17px, 2.4vw, 25px); letter-spacing: -.05em; }
.job-type { color: #74756e; font-size: 8px; }
.job-row > i { font-size: 19px; font-style: normal; text-align: right; }
.contact-notice { max-width: 620px; margin: 24px 0 0; padding: 14px 18px; border-left: 3px solid var(--coral-deep); background: var(--paper); color: var(--ink); font-size: 12px; line-height: 1.65; }
.jobs-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; color: #686961; font-size: 11px; }
.jobs-bottom a { color: var(--ink); font-weight: 700; }

/* Contact form (posts to /contato.php; script.js upgrades it to fetch). */
.contact-form { margin: 0 0 72px; padding: clamp(24px, 3.4vw, 42px); border: 1px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 26px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.form-field abbr { color: var(--coral-deep); text-decoration: none; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(23,25,23,.4); border-radius: 0; background: var(--paper-white); color: var(--ink); font: 14px/1.5 var(--sans); transition: border-color .2s, box-shadow .2s; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8d8c84; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 3px 3px 0 var(--coral); }
.form-field.has-error input, .form-field.has-error textarea { border-color: #B3261E; }
.form-error { min-height: 0; color: #B3261E; font-size: 11px; font-weight: 600; }
.form-error:empty { display: none; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; }
.form-legal { max-width: 430px; margin: 0; color: #5c5c55; font-size: 11px; line-height: 1.6; }
.form-legal a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.form-submit { flex: none; margin-top: 0; border: 0; cursor: pointer; }
.form-submit:disabled { opacity: .6; cursor: progress; transform: none; }
.form-status { margin: 18px 0 0; font-size: 13px; font-weight: 600; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 18px; border-left: 3px solid var(--green); background: var(--paper-white); color: var(--green); }
.form-status.is-error { padding: 14px 18px; border-left: 3px solid #B3261E; background: var(--paper-white); color: #8C1D18; }
.contact-alt { margin: 0 0 18px; color: #5c5c55; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.form-result-list { width: min(430px, 90%); margin: 16px 0 0; padding-left: 18px; text-align: left; font-size: 13px; line-height: 1.6; }

.site-footer { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 22px; min-height: 220px; padding: 50px 8.2vw 65px; background: var(--footer-bg); color: var(--paper-white); }
.site-footer .wordmark { font-size: 23px; }
.site-footer > p { margin: 0; color: var(--footer-text); font-size: 12px; }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; font-size: 10px; }
.footer-links a:hover { color: var(--acid); }
.copyright { grid-column: 1 / 3; color: var(--footer-text); font-size: 8px; }
.back-top { position: absolute; right: 8.2vw; bottom: 48px; display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 18px; transition: color .2s, background .2s; }
.back-top:hover { background: var(--acid); color: var(--ink); }

.error-page { position: relative; display: flex; min-height: min(100svh, 760px); flex-direction: column; align-items: center; justify-content: center; padding: 150px 6vw 90px; overflow: hidden; text-align: center; background: var(--paper); isolation: isolate; }
.error-page h1 { margin: 0; font-size: clamp(48px, 7.4vw, 96px); font-weight: 600; letter-spacing: -.075em; line-height: .94; }
.error-page h1 em { font-family: var(--serif); font-weight: 400; color: var(--accent-text); }
.error-lead { width: min(430px, 90%); margin: 24px 0 0; font-size: 14px; font-weight: 600; line-height: 1.55; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(23,25,23,.28); font-size: 11px; font-weight: 700; }
.error-links a { padding-bottom: 3px; border-bottom: 1px solid transparent; }
.error-links a:hover { border-bottom-color: currentColor; }

.legal-page { padding: 150px 8.2vw 100px; background: var(--paper); }
.legal-head, .legal-body, .legal-page > .light-link { width: min(720px, 100%); margin-right: auto; margin-left: auto; }
.legal-head { margin-bottom: 52px; padding-bottom: 34px; border-bottom: 1px solid rgba(23,25,23,.28); }
.legal-page h1 { margin: 0; font-size: clamp(44px, 6.4vw, 78px); font-weight: 600; letter-spacing: -.075em; line-height: .96; }
.legal-page h1 em { font-family: var(--serif); font-weight: 400; color: var(--accent-text); }
.legal-lead { margin: 26px 0 0; font-size: 15px; font-weight: 600; line-height: 1.6; }
.legal-meta { margin: 20px 0 0; color: #74756e; font-family: var(--mono); font-size: 10px; line-height: 1.8; }
.legal-body h2 { margin: 46px 0 14px; font-size: 23px; font-weight: 700; letter-spacing: -.045em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 28px 0 10px; font-size: 15px; font-weight: 700; }
.legal-body p, .legal-body li { color: rgba(31,30,29,.78); font-size: 14px; line-height: 1.75; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { margin-bottom: 7px; }
.legal-body a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal-body code { background: rgba(23,25,23,.06); padding: 2px 6px; border-radius: 4px; font: 12px var(--mono); }
/* Align the link with the left edge of the centred text column. */
.legal-page > .light-link { display: inline-flex; width: auto; margin: 56px 0 0 max(0px, calc((100% - 720px) / 2)); }

@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scene-in { from { opacity: 0; transform: translateY(25px) rotate(2deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }

@media (max-width: 800px) {
  .site-header { height: 73px; gap: 18px; padding: 0 22px; }
  .wordmark { font-size: 22px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 11px; }
  .notify-trigger { gap: 9px; min-height: 38px; padding-left: 12px; font-size: 10px; }
  .notify-trigger i { width: 28px; height: 28px; }
  .hero { --hero-top: clamp(150px, 20vh, 188px); min-height: min(100svh, 980px); }
  .product-scene { width: min(650px, 91vw); }
  .hero-stamp { top: calc(var(--hero-top) - 30px); left: 4%; width: 82px; height: 82px; }
  .hero-stamp b { font-size: 12px; }
  .section-pad { padding: 85px 6vw; }
  .manifesto h2 { margin: 58px 0 42px; }
  .manifesto-bottom { margin-bottom: 75px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item { min-height: 220px; border-bottom: 1px solid rgba(23,25,23,.22); }
  .value-item:nth-child(2) { border-right: 0; }
  .value-item:nth-child(3) { padding-left: 0; border-bottom: 0; }
  .value-item:nth-child(4) { border-bottom: 0; }
  .team-layout { gap: 5%; padding: 75px 0 60px; }
  .team-art { min-height: 390px; }
  .team-art p { font-size: clamp(39px, 5.3vw, 57px); }
  .news-grid { gap: 20px; }
  .site-footer { padding-right: 6vw; padding-left: 6vw; }
  .back-top { right: 6vw; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 65px; }
  .site-header { height: 66px; padding: 0 18px; }
  .site-header .wordmark { margin-right: auto; }
  .menu-toggle { display: flex; width: 37px; height: 37px; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; border: 1px solid rgba(31,30,29,.65); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 100%; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 58px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px; border: 1px solid var(--ink); background: var(--paper-white); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid #dedcd4; font-size: 13px; }
  .main-nav a:last-child { border: 0; }
  .main-nav a::after { display: none; }
  .notify-trigger { gap: 8px; min-height: 36px; padding: 3px 4px 3px 11px; font-size: 9px; }
  .notify-trigger i { width: 28px; height: 28px; }
  .hero { --hero-top: 152px; min-height: min(100svh, 920px); padding-bottom: 34px; }
  .hero-copy { width: calc(100% - 30px); }
  .hero .eyebrow { margin-bottom: 13px; font-size: 9px; }
  .hero h1 { font-size: clamp(52px, 13vw, 75px); }
  .hero-subtitle { width: 82%; margin-top: 18px; font-size: 12px; }
  .hero-stamp { top: calc(var(--hero-top) - 68px); left: 7%; width: 67px; height: 67px; padding: 9px; }
  .hero-stamp span { font-size: 6px; }
  .hero-stamp b { font-size: 10px; }
  .hero-stamp i { right: 9px; bottom: 8px; font-size: 11px; }
  .product-scene { width: 100vw; height: 330px; margin-top: 26px; }
  .task-window { top: 9%; left: 3%; width: 76%; height: 68%; }
  .window-sidebar { width: 29%; gap: 12px; padding: 16px 9px; font-size: 7px; }
  .window-sidebar .sidebar-label { font-size: 7px; }
  .window-top { height: 34px; font-size: 7px; }
  .window-body { height: calc(100% - 34px); }
  .task-list { padding: 13px 10px; }
  .task-row { min-height: 32px; gap: 6px; font-size: 7px; }
  .task-row > b { display: none; }
  .phone-card { top: 33%; right: 2%; width: 116px; height: 220px; padding: 7px; border-radius: 19px; }
  .phone-content { padding: 25px 8px 8px; border-radius: 13px; }
  .phone-content > strong { margin-top: 13px; font-size: 15px; }
  .phone-check { font-size: 6px; }
  .scene-caption { right: 10%; bottom: 4%; left: 7%; font-size: 7px; }
  .sparkle-a { right: 10%; font-size: 23px; }
  .sparkle-b { bottom: 9%; left: 4%; font-size: 19px; }
  .scroll-cue { width: 37px; height: 37px; margin-top: 24px; }
  .hero-note { position: static; margin-top: 18px; text-align: center; font-size: 7px; }
  .section-pad { padding: 66px 22px; }
  .section-meta { gap: 12px; font-size: 7px; }
  .section-meta span:last-child { text-align: right; }
  .manifesto h2 { margin: 50px 0 32px; font-size: clamp(43px, 12vw, 66px); }
  .manifesto-bottom { grid-template-columns: 1fr; gap: 25px; margin-bottom: 60px; }
  .pqc-frame { margin-top: 34px; padding: 22px 18px; box-shadow: 4px 4px 0 var(--ink); }
  .pqc h2 { margin: 24px 0 30px; font-size: clamp(34px, 10vw, 52px); }
  .pqc-bottom { margin-bottom: 44px; }
  .pqc .value-item { padding-bottom: 40px; }
  .pqc-ok { padding: 14px 14px; font-size: 12px; }
  .pqc .values-grid { grid-template-columns: 1fr; }
  .pqc .value-item, .pqc .value-item + .value-item { min-height: 0; padding: 17px 0 40px; border-right: 0; border-bottom: 1px solid rgba(23,25,23,.22); }
  .pqc .value-item:last-child { border-bottom: 0; }
  .pqc .value-item p { max-width: none; font-size: 11px; }
  .manifesto-lead { font-size: 27px; }
  .manifesto-copy { max-width: none; font-size: 12px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-item { min-height: 230px; padding: 17px 13px 20px 0; }
  .value-item + .value-item { padding-left: 14px; }
  .value-item:nth-child(3) { padding-left: 0; }
  .value-item h3 { margin-top: 28px; font-size: 20px; }
  .value-item p { font-size: 10px; }
  .value-mark { right: 11px; bottom: 7px; }
  .team-layout { grid-template-columns: 1fr; gap: 48px; padding: 58px 0 45px; }
  .team-copy h2 { font-size: clamp(49px, 12vw, 69px); }
  .team-art { min-height: 350px; margin: 0 5px; }
  .team-art p { top: 28%; left: 8%; font-size: clamp(48px, 12vw, 68px); }
  .shape-a { top: 18%; right: 8%; width: 77px; height: 77px; font-size: 37px; }
  .shape-b { right: 25%; bottom: 13%; width: 58px; height: 58px; font-size: 31px; }
  .shape-c { bottom: 10%; left: 10%; width: 90px; height: 90px; font-size: 38px; }
  .team-foot { gap: 16px; font-size: 7px; }
  .team-foot span:last-child { text-align: right; }
  .news-heading { display: block; margin: 52px 0 37px; }
  .news-heading h2 { font-size: clamp(50px, 12vw, 70px); }
  .news-heading > p { max-width: 280px; margin: 20px 0 0; }
  .news-grid { grid-template-columns: 1fr; gap: 36px; }
  .news-visual { height: min(82vw, 360px); }
  .visual-big-type { font-size: clamp(72px, 17vw, 103px); }
  .news-card h3 { font-size: 23px; }
  .jobs-intro { grid-template-columns: 1fr; gap: 22px; margin: 55px 0 40px; }
  .jobs-intro h2 { font-size: clamp(47px, 11vw, 66px); }
  .jobs-intro > p { margin: 0; }
  .job-row { grid-template-columns: 28px 1fr 25px; gap: 8px; min-height: 78px; }
  .job-row strong { font-size: 17px; }
  .job-type { grid-column: 2; grid-row: 2; margin-top: -19px; font-size: 7px; }
  .job-row > i { grid-column: 3; grid-row: 1 / 3; }
  .jobs-bottom { flex-direction: column; gap: 12px; font-size: 10px; }
  .contact-form { margin-bottom: 52px; padding: 22px 18px; box-shadow: 4px 4px 0 var(--ink); }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-field input, .form-field textarea { font-size: 16px; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .form-submit { justify-content: space-between; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 18px; min-height: 245px; padding: 40px 22px 65px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; flex-wrap: wrap; gap: 14px 21px; }
  .copyright { grid-column: 1 / -1; grid-row: 4; font-size: 7px; }
  .back-top { right: 22px; bottom: 23px; width: 32px; height: 32px; }
}

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