/* 2D Geometry Inc — site styles. Dark, mono-accented, two equal division colours. */
:root {
  --bg: #000000;
  --bg-2: #000000;
  --bg-3: #000000;
  --line: #1f2735;
  --text: #e6e9ef;
  --muted: #98a2b3;
  --dim: #5f6b7d;
  --services: #e8a24a;   /* amber  */
  --research: #4fc3d9;   /* cyan   */
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.kicker {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 0.9rem;
}
.kicker.services { color: var(--services); }
.kicker.research { color: var(--research); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; border-top: 1px solid var(--line); }
section.flush { border-top: 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: var(--max); margin: 0 auto;
}
.nav .brand { font-family: var(--mono); font-weight: 600; letter-spacing: 0.08em; font-size: 0.95rem; }
.nav .brand span { color: var(--dim); }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.nav li a { color: var(--muted); }
.nav li a:hover, .nav li a.on { color: var(--text); }
.nav li a.services:hover, .nav li a.services.on { color: var(--services); }
.nav li a.research:hover, .nav li a.research.on { color: var(--research); }
@media (max-width: 640px) { .nav ul { gap: 14px; font-size: 0.82rem; } .nav li.hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 88vh; display: grid; align-items: end; overflow: hidden; }
.hero.short { min-height: 62vh; }
.hero canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  font-family: var(--mono);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.75) 78%, rgba(0,0,0,0.96) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 56px; padding-top: 120px; pointer-events: none; }
.hero .wrap > * { pointer-events: auto; }
.hero p.lead { max-width: 640px; font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: var(--muted); }
.hero .caption { text-align: right; line-height: 1.5;
  position: absolute; right: 20px; bottom: 16px; z-index: 2;
  font-family: var(--mono); font-size: 0.72rem; color: var(--dim); letter-spacing: 0.04em;
  pointer-events: none;
}
@media (max-width: 640px) { .hero .caption { text-align: right; line-height: 1.5; display: none; } }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-block; padding: 11px 18px; border-radius: 6px; font-weight: 500; font-size: 0.95rem;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text); transition: 0.15s;
}
.btn:hover { border-color: var(--muted); color: #fff; }
.btn.services { border-color: var(--services); color: var(--services); }
.btn.services:hover { background: var(--services); color: #0a0a0a; }
.btn.research { border-color: var(--research); color: var(--research); }
.btn.research:hover { background: var(--research); color: #0a0a0a; }
.btn.solid.services { background: var(--services); color: #0a0a0a; }
.btn.solid.research { background: var(--research); color: #0a0a0a; }

/* ---------- divisions ---------- */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .divisions { grid-template-columns: 1fr; } }
.division {
  border: 1px solid var(--line); border-radius: 10px; padding: 28px; background: var(--bg-2);
  display: flex; flex-direction: column; gap: 10px; position: relative;
}
.division::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; border-radius: 2px; }
.division.services::before { background: var(--services); }
.division.research::before { background: var(--research); }
.division h3 { font-size: 1.4rem; margin-top: 6px; }
.division ul { margin: 0; padding-left: 18px; color: var(--muted); }
.division .foot { margin-top: auto; padding-top: 14px; }
.equal-note { text-align: center; color: var(--dim); font-family: var(--mono); font-size: 0.8rem; margin-top: 18px; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
td.name { font-weight: 600; white-space: nowrap; }
td.price { font-family: var(--mono); white-space: nowrap; color: var(--services); }
td.time { font-family: var(--mono); white-space: nowrap; color: var(--muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) { table { font-size: 0.88rem; } th, td { padding: 10px 8px; } }

/* ---------- grids ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: var(--bg-2); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.card .n { font-family: var(--mono); color: var(--dim); font-size: 0.8rem; margin-bottom: 10px; }
.card.research .n { color: var(--research); }
.card.services .n { color: var(--services); }

.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- firewall ---------- */
.firewall {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 28px; background: var(--bg-2);
}
.firewall .wall { font-family: var(--mono); color: var(--dim); font-size: 1.6rem; line-height: 1; text-align: center; }
.firewall .side h3 { font-size: 1.05rem; }
.firewall .side p { color: var(--muted); margin: 0; font-size: 0.95rem; }
@media (max-width: 760px) { .firewall { grid-template-columns: 1fr; } .firewall .wall { transform: rotate(90deg); } }

/* ---------- misc ---------- */
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.list-plain li strong { color: var(--text); }
.tag { display: inline-block; font-family: var(--mono); font-size: 0.74rem; color: var(--dim); border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; margin: 0 6px 6px 0; }

.contact { text-align: center; }
.contact .email { font-family: var(--mono); font-size: clamp(1.1rem, 2.6vw, 1.6rem); }
.contact p { max-width: 560px; margin-left: auto; margin-right: auto; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--dim); font-size: 0.85rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* ---------- v6 layout + typography (reference: darwinrobotics.ai) ---------- */
.v6 {
  --geist: "Geist", system-ui, sans-serif;
  --geist-mono: "Geist Mono", ui-monospace, monospace;
  --muted: rgba(255,255,255,0.56); --faint: rgba(255,255,255,0.32); --line: rgba(255,255,255,0.12);
  font-family: var(--geist); letter-spacing: -0.01em; color: #fff; background: #000; overflow-x: clip;
}
.v6 .t-display { font-family: var(--geist); font-weight: 300; letter-spacing: -0.045em; margin: 0; color: #fff; }
.v6 .t-mono { font-family: var(--geist-mono); text-transform: uppercase; letter-spacing: 0.14em; }
.v6 .t-body { font-family: var(--geist); letter-spacing: -0.01em; margin: 0; }
.v6 .faint { color: var(--faint); }
.v6 section { border-top: 0; padding: 0; }
.v6 .shell { max-width: 1600px; margin: 0 auto; width: 100%; padding-left: 48px; padding-right: 48px; }

/* top bar */
.v6 .topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.v6 .bar { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.v6 .brand { font-size: 15px; font-weight: 500; letter-spacing: 0.3em; }
.v6 .bar-nav { display: flex; gap: 40px; }
.v6 .navlink { font-size: 15px; border-bottom: 1px solid transparent; padding-bottom: 4px; transition: border-color .2s; }
.v6 .navlink:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* links */
.v6 .links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; }
.v6 .link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border-bottom: 1px solid; padding-bottom: 4px; transition: color .2s, border-color .2s; }
.v6 .link.strong { font-size: 16px; color: #fff; border-color: #fff; }
.v6 .link.soft { font-size: 14px; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.v6 .link.soft:hover { color: #fff; border-color: #fff; }
.v6 .link .arr { font-size: 0.85em; transition: transform .2s; }
.v6 .link:hover .arr { transform: translate(2px,-2px); }

/* hero */
.v6 .hero { position: relative; isolation: isolate; height: 100svh; min-height: 620px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.v6 .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.85) 22%, rgba(0,0,0,0) 55%), linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0) 128px); }
.v6 .hero-inner { position: relative; z-index: 2; padding-bottom: 48px; pointer-events: none; }
.v6 .hero-inner a { pointer-events: auto; }
.v6 .hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.v6 .hero-label { margin-bottom: 20px; color: rgba(255,255,255,0.7); text-shadow: 0 1px 16px rgba(0,0,0,0.9); }
.v6 .hero-title { margin-left: -0.03em; max-width: 7.6em; font-size: clamp(48px, 6.4vw, 108px); line-height: 0.94; text-shadow: 0 2px 32px rgba(0,0,0,0.85); }
.v6 .hero-sub { margin-top: 24px; font-size: clamp(26px, 2.7vw, 44px); line-height: 1.2; color: rgba(255,255,255,0.85); }

/* statement */
.v6 .statement-sec { padding-top: 160px; padding-bottom: 128px; }
.v6 .statement { font-size: clamp(38px, 7vw, 124px); line-height: 0.98; }
.v6 .statement .w { opacity: 0.18; transition: opacity .3s ease-out; }
.v6 h2 .w { transition: opacity .3s ease-out; }
.v6 .w-now .w { transition: none !important; }
.v6 .lede { margin-top: 40px; max-width: 620px; font-size: 22px; line-height: 1.55; color: var(--muted); }

/* pillars */
.v6 .pillars-sec { padding-top: 48px; padding-bottom: 80px; }
.v6 .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.v6 .pillar-title { font-size: clamp(44px, 5vw, 88px); line-height: 1; }
.v6 .pillar-sub { margin-top: 16px; font-size: 21px; line-height: 1.5; color: var(--muted); }
.v6 .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0a0a0a; margin-top: 32px; }
.v6 .media canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; font-family: var(--mono); }

/* contact */
.v6 .contact-sec { padding-bottom: 96px; }
.v6 .ruled { border-top: 1px solid var(--line); padding-top: 80px; }
.v6 .contact-title { max-width: 1000px; font-size: clamp(38px, 5.6vw, 92px); line-height: 1; }
.v6 .contact-body { margin-top: 32px; max-width: 560px; font-size: 20px; line-height: 1.6; color: var(--muted); }
.v6 .links.tight { margin-top: 40px; }

/* footer */
.v6 .foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 0; color: #fff; }
.v6 .foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0; font-size: 15px; }
.v6 .foot-links { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.v6 .foot-links a { color: rgba(255,255,255,0.6); }
.v6 .foot-links a:hover { color: rgba(255,255,255,0.9); }
.v6 .wordmark { pointer-events: none; user-select: none; white-space: nowrap; text-align: center; padding-bottom: 0.06em;
  font-size: min(13vw, 230px); font-weight: 500; text-transform: uppercase; line-height: 0.85; letter-spacing: -0.04em; color: rgba(255,255,255,0.06); }

/* entrance */
.v6 .reveal { opacity: 0; }
.v6 .reveal.is-in { animation: v6in 1.2s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes v6in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .v6 .reveal, .v6 .reveal.is-in { animation: none; opacity: 1; } .v6 .statement .w, .v6 h2 .w { opacity: 1 !important; } }

/* tablet / phone */
@media (max-width: 1023px) {
  .v6 .shell { padding-left: 32px; padding-right: 32px; }
  .v6 .hero-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .v6 .pillars { grid-template-columns: 1fr; gap: 56px; }
  .v6 .bar-nav { gap: 24px; }
}
@media (max-width: 639px) {
  .v6 .shell { padding-left: 20px; padding-right: 20px; }
  .v6 .hero-inner { padding-bottom: 32px; }
  .v6 .navlink, .v6 .brand { font-size: 13px; }
  .v6 .statement-sec { padding-top: 40px; padding-bottom: 48px; }
  .v6 .lede, .v6 .pillar-sub, .v6 .contact-body { font-size: 19px; }
  .v6 .pillars-sec { padding-top: 40px; padding-bottom: 48px; }
  .v6 .ruled { padding-top: 40px; }
  .v6 .contact-sec { padding-bottom: 64px; }
  .v6 .foot-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- v6 subpages (reference: darwinrobotics.ai /mission /demo /careers) ---------- */
.v6 .navlink.on { border-color: #fff; }
.v6 .crumb { font-size: 11px; color: var(--muted); }
.v6 .page { padding-top: 176px; padding-bottom: 144px; min-height: 70vh; }

/* mission: narrow article */
.v6 .article { max-width: 880px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.v6 .article h1 { margin-top: 40px; font-size: clamp(44px, 6.4vw, 96px); line-height: 0.96; }
.v6 .article .prose { margin-top: 72px; display: grid; gap: 32px; }
.v6 .article .prose p { font-size: 21px; line-height: 1.7; color: rgba(255,255,255,0.75); }
.v6 .article .links { margin-top: 64px; }

/* work: big title + table */
.v6 .page-title { margin-top: 32px; font-size: clamp(52px, 8vw, 128px); line-height: 0.94; max-width: 12em; }
.v6 .page-lede { margin-top: 32px; max-width: 560px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.8); }
.v6 .rows { margin-top: 96px; }
.v6 .rows-head, .v6 .row { display: grid; grid-template-columns: 1fr 232px 232px 32px; align-items: center; gap: 0 24px; padding: 0 20px; }
.v6 .rows-head { font-size: 11px; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.v6 .row { padding-top: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); transition: background .2s; }
.v6 .row:hover { background: rgba(255,255,255,0.03); }
.v6 .row .name { font-size: clamp(22px, 2.2vw, 32px); font-weight: 300; letter-spacing: -0.03em; }
.v6 .row .meta { font-size: 12px; color: var(--muted); }
.v6 .row .go { font-size: 20px; color: var(--muted); transition: transform .2s, color .2s; }
.v6 .row:hover .go { transform: translateX(4px); color: #fff; }
.v6 .detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 120px 0 0; align-items: start; }
.v6 .detail h2 { font-size: clamp(40px, 4.6vw, 76px); line-height: 1; }
.v6 .detail .t-mono { font-size: 11px; color: var(--muted); margin-bottom: 24px; }
.v6 .detail p.t-body { margin-top: 24px; font-size: 20px; line-height: 1.6; color: rgba(255,255,255,0.75); max-width: 560px; }
.v6 .detail .media { margin-top: 0; }

/* partner: split + form */
.v6 .split { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.v6 .split h1 { margin-top: 32px; font-size: clamp(48px, 7vw, 112px); line-height: 0.94; }
.v6 .split .page-lede { max-width: 460px; }
.v6 .form { display: grid; gap: 32px; padding-top: 64px; }
.v6 .form label { display: flex; flex-direction: column; gap: 8px; }
.v6 .form label span { font-size: 11px; color: var(--muted); }
.v6 .form input, .v6 .form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff;
  padding: 12px 0; font: 17px var(--geist); letter-spacing: -0.01em; border-radius: 0; outline: none; resize: vertical; transition: border-color .2s; }
.v6 .form input::placeholder, .v6 .form textarea::placeholder { color: rgba(255,255,255,0.3); }
.v6 .form input:focus, .v6 .form textarea:focus { border-color: #fff; }
.v6 .form button { width: fit-content; height: 44px; display: inline-flex; align-items: center; gap: 12px; padding: 0 24px; border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: #fff; font-size: 11px; cursor: pointer; transition: background .3s, color .3s; }
.v6 .form button:hover { background: #fff; color: #000; }
.v6 .form .note { font-size: 14px; color: var(--muted); }

/* footer (Darwin layout: copyright left, links right) */
.v6 .foot-row .faint { order: -1; }
.v6 .wordmark { font-weight: 300; }

@media (max-width: 900px) {
  .v6 .split, .v6 .detail { grid-template-columns: 1fr; gap: 48px; }
  .v6 .rows-head { display: none; }
  .v6 .row { grid-template-columns: 1fr 24px; gap: 8px 16px; padding-left: 0; padding-right: 0; }
  .v6 .row .name { grid-column: 1; }
  .v6 .row .meta { grid-column: 1; }
  .v6 .row .go { grid-column: 2; grid-row: 1; }
  .v6 .detail { padding-top: 80px; }
}
@media (max-width: 639px) {
  .v6 .page { padding-top: 128px; padding-bottom: 96px; }
  .v6 .article { padding-left: 20px; padding-right: 20px; }
  .v6 .article .prose { margin-top: 48px; }
  .v6 .article .prose p, .v6 .detail p.t-body { font-size: 19px; }
  .v6 .rows { margin-top: 64px; }
  .v6 .form { padding-top: 0; }
}
@media (max-width: 639px) {
  .v6 .bar-nav { gap: 16px; }
  .v6 .navlink { font-size: 12px; letter-spacing: 0.1em; }
  .v6 .brand { font-size: 12px; letter-spacing: 0.16em; }
}

/* work details without media: headline left, text right, ruled */
.v6 .detail { grid-template-columns: 1fr 1fr; gap: 0 96px; padding: 56px 0 0; margin-top: 64px; border-top: 1px solid var(--line); }
.v6 .detail > div { display: contents; }
.v6 .detail .t-mono { grid-column: 1 / -1; margin-bottom: 32px; }
.v6 .detail h2 { grid-column: 1; }
.v6 .detail p.t-body { grid-column: 2; margin-top: 0; padding-top: 8px; }
.v6 .rows + .detail { margin-top: 96px; }
@media (max-width: 900px) {
  .v6 .detail { grid-template-columns: 1fr; gap: 0; }
  .v6 .detail p.t-body { grid-column: 1; margin-top: 24px; padding-top: 0; }
}

/* home pillars with detail */
.v6 .pillar { display: flex; flex-direction: column; align-items: flex-start; }
.v6 .pillar-label { font-size: 11px; color: var(--muted); margin: 0 0 24px; }
.v6 .pillar-sub { color: rgba(255,255,255,0.85); }
.v6 .pillar-text { margin-top: 20px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 400px; flex: 1; }
.v6 .pillar-link { margin-top: 32px; }
.v6 .pillar-title a:hover { color: rgba(255,255,255,0.75); }
@media (max-width: 639px) { .v6 .pillar-text { font-size: 17px; } }

/* capabilities */
.v6 .cap-head, .v6 .cap-row { grid-template-columns: minmax(240px, 1fr) 1.4fr; }
.v6 .cap-row .name { font-size: clamp(22px, 2.2vw, 32px); }
.v6 .cap-text { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 620px; }
.v6 .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 72px; }
.v6 .step { border-top: 1px solid var(--line); padding-top: 24px; }
.v6 .step .t-mono { font-size: 11px; color: var(--muted); margin: 0 0 16px; }
.v6 .step h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; }
.v6 .step .t-body { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* team */
.v6 .people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; margin-top: 96px; }
.v6 .person { border-top: 1px solid var(--line); padding-top: 24px; }
.v6 .person h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }
.v6 .person .t-mono { margin: 12px 0 0; font-size: 11px; color: var(--muted); }
.v6 .person .t-body { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.v6 .principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 96px; }
.v6 .principles h3 { font-size: clamp(32px, 3.4vw, 56px); line-height: 1; }
.v6 .principles .t-body { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 400px; }
.v6 .detail:not(:has(.media)) h2 + p { align-self: start; }

/* phone menu */
.v6 .menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 13px; padding: 12px 0 12px 12px; cursor: pointer; }
@media (max-width: 900px) {
  .v6 .cap-head { display: none; }
  .v6 .cap-row { grid-template-columns: 1fr; gap: 12px; }
  .v6 .steps { grid-template-columns: 1fr 1fr; }
  .v6 .people, .v6 .principles { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 1100px) {
  .v6 .menu-btn { display: block; }
  .v6 .bar-nav { display: none; }
  .v6.menu-open .bar-nav { display: flex; flex-direction: column; gap: 28px; position: fixed; inset: 64px 0 0 0; background: #000; padding: 40px 32px; z-index: 49; }
  .v6.menu-open .navlink { font-size: 20px; width: fit-content; }
  .v6 .topbar { background: transparent; }
  .v6.menu-open .topbar { background: #000; }
}
@media (max-width: 639px) {
  .v6 .steps { grid-template-columns: 1fr; }
  .v6.menu-open .bar-nav { padding: 32px 20px; }
}

/* ---------- corporate blocks (capabilities / team) ---------- */
.v6 .block { margin-top: 144px; }
.v6 .block-head { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: baseline; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.v6 .block-head .label { font-size: 11px; color: var(--muted); margin: 0; }
.v6 .block-title { font-size: clamp(36px, 4vw, 64px); line-height: 1; }

.v6 .tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.v6 .tile { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 36px 32px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.v6 a.tile:hover { background: #0c0c0c; }
.v6 .tile .ico { width: 40px; height: 40px; fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 40px; }
.v6 .tile-cat { font-size: 11px; color: var(--muted); margin: 0 0 14px; }
.v6 .tile h3 { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.05; }
.v6 .tile .t-body { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 360px; }
.v6 .tile-go { margin-top: auto; padding-top: 32px; font-size: 12px; color: rgba(255,255,255,0.7); }
.v6 .tile-go .arr { display: inline-block; transition: transform .2s; }
.v6 a.tile:hover .tile-go { color: #fff; }
.v6 a.tile:hover .tile-go .arr { transform: translateX(4px); }
.v6 .tile.static { min-height: 240px; }

.v6 .markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.v6 .markets.three { grid-template-columns: repeat(3, 1fr); }
.v6 .market { padding: 36px 32px 8px 0; }
.v6 .market + .market { padding-left: 32px; border-left: 1px solid var(--line); }
.v6 .market .t-mono { font-size: 11px; color: var(--muted); margin: 0 0 24px; }
.v6 .market h3 { font-size: clamp(24px, 2vw, 32px); line-height: 1.1; }
.v6 .market .t-body { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); }

.v6 .block .steps { margin-top: 0; gap: 0; }
.v6 .block .step { border-top: 0; padding: 36px 32px 8px 0; }
.v6 .block .step + .step { padding-left: 32px; border-left: 1px solid var(--line); }

.v6 .band { margin-top: 144px; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding: 64px; border: 1px solid var(--line); background: #070707; }
.v6 .band h2 { font-size: clamp(36px, 4.4vw, 72px); line-height: 1; }
.v6 .band .t-body { margin-top: 20px; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--muted); }

.v6 .leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; padding-top: 40px; }
.v6 .portrait { aspect-ratio: 4 / 5; background: #0c0c0c; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; margin-bottom: 24px; }
.v6 .portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.v6 .portrait span { font-size: 64px; color: rgba(255,255,255,0.25); }
.v6 .leader h3 { font-size: 26px; line-height: 1.1; }
.v6 .leader .t-mono { margin: 10px 0 0; font-size: 11px; color: var(--muted); }
.v6 .leader .t-body { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); }

@media (max-width: 1100px) {
  .v6 .tiles { grid-template-columns: 1fr 1fr; }
  .v6 .markets { grid-template-columns: 1fr 1fr; }
  .v6 .markets .market:nth-child(3) { border-left: 0; padding-left: 0; }
  .v6 .leaders { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .v6 .block { margin-top: 96px; }
  .v6 .block-head { grid-template-columns: 1fr; gap: 16px; padding-bottom: 28px; }
  .v6 .tiles, .v6 .markets, .v6 .markets.three { grid-template-columns: 1fr; }
  .v6 .tile { min-height: 0; }
  .v6 .market, .v6 .market + .market, .v6 .block .step, .v6 .block .step + .step { padding: 28px 0 20px; border-left: 0; border-bottom: 1px solid var(--line); }
  .v6 .band { flex-direction: column; align-items: flex-start; padding: 36px 24px; margin-top: 96px; }
  .v6 .leaders { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
}

/* home page blocks */
.v6 .home-block { padding-top: 0; padding-bottom: 0; margin-top: 144px; }
.v6 .home-block .tiles .tile { min-height: 380px; }
.v6 .home-block .tile h3 { max-width: 12em; }
.v6 .status { display: inline-block; margin-left: 10px; padding: 3px 8px; border: 1px solid rgba(255,255,255,0.25); font-size: 10px; color: rgba(255,255,255,0.8); letter-spacing: 0.12em; vertical-align: 1px; }
.v6 .strip { display: grid; grid-template-columns: repeat(6, 1fr); border-left: 1px solid var(--line); }
.v6 .strip-item { display: flex; flex-direction: column; gap: 28px; padding: 32px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.v6 .strip-item:hover { background: #0c0c0c; }
.v6 .strip-item .ico { width: 36px; height: 36px; fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.v6 .strip-item span { font-size: 21px; line-height: 1.15; }
.v6 #contact.home-block { padding-bottom: 120px; }
@media (max-width: 1100px) { .v6 .strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .v6 .home-block { margin-top: 96px; }
  .v6 .strip { grid-template-columns: 1fr 1fr; }
  .v6 .home-block .tiles .tile { min-height: 0; }
  .v6 #contact.home-block { padding-bottom: 72px; }
}

/* ---------- chip product pages ---------- */
.v6 .chip-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; }
.v6 .chip-hero .page-title { max-width: 11em; }
.v6 .facts { border-top: 1px solid var(--line); }
.v6 .fact { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.v6 .fact .k { font-size: 11px; color: var(--muted); }
.v6 .fact .v { font-size: 16px; text-align: right; }
.v6 .overview { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding-top: 40px; }
.v6 .overview .t-body { font-size: 21px; line-height: 1.65; color: rgba(255,255,255,0.8); max-width: 760px; }
.v6 .overview .t-body + .t-body { margin-top: 24px; }
.v6 .onchip { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; }
.v6 .onchip-item { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.v6 .onchip-item h3 { font-size: 22px; line-height: 1.2; }
.v6 .onchip-item .t-body { font-size: 16px; line-height: 1.6; color: var(--muted); }
.v6 .stages { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 40px; }
.v6 .stage { position: relative; padding-top: 28px; }
.v6 .stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,0.12); }
.v6 .stage.done::before { background: rgba(255,255,255,0.6); }
.v6 .stage.now::before { background: linear-gradient(to right, #fff 50%, rgba(255,255,255,0.12) 50%); }
.v6 .stage .t-mono { font-size: 11px; color: var(--muted); margin: 0 0 10px; }
.v6 .stage h3 { font-size: 22px; color: rgba(255,255,255,0.45); }
.v6 .stage.done h3 { color: rgba(255,255,255,0.75); }
.v6 .stage.now h3 { color: #fff; }
.v6 .stage.now .t-mono { color: #fff; }
.v6 .other-chips { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--line); }
@media (max-width: 1100px) { .v6 .onchip { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .v6 .chip-hero, .v6 .overview { grid-template-columns: 1fr; gap: 32px; }
  .v6 .stages { grid-template-columns: 1fr; gap: 20px; }
  .v6 .other-chips { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .v6 .onchip-item { grid-template-columns: 1fr; gap: 8px; }
  .v6 .overview .t-body { font-size: 19px; }
}
.v6 .detail .detail-link { grid-column: 2; justify-self: start; margin-top: 28px; }
.v6 .crumb a { color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.25); }
.v6 .crumb a:hover { color: #fff; }
@media (max-width: 900px) { .v6 .detail .detail-link { grid-column: 1; } }
.v6 .strip.five { grid-template-columns: repeat(5, 1fr); }
.v6 .strip.five .strip-item { gap: 14px; }
.v6 .strip.five .tile-cat { margin: 0; }
@media (max-width: 1100px) { .v6 .strip.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .v6 .strip.five { grid-template-columns: 1fr 1fr; } }
.v6 .strip.five .strip-item span.tile-cat { font-size: 11px; line-height: 1.2; color: var(--muted); }

/* ---------- phone polish ---------- */
.v6 .split { align-content: start; }
.v6 .fact .k { white-space: nowrap; }
@media (max-width: 900px) {
  .v6 .overview > div:empty { display: none; }
  .v6 .overview { padding-top: 28px; }
}
@media (max-width: 767px) {
  .v6 .tile { padding: 28px 22px 24px; }
  .v6 .tile .ico { margin-bottom: 24px; width: 34px; height: 34px; }
  .v6 .tile-go { padding-top: 22px; }
  .v6 .block-title { font-size: clamp(32px, 9vw, 44px); }
  .v6 .page-title { font-size: clamp(42px, 12vw, 60px); }
  .v6 .statement { font-size: clamp(34px, 10vw, 48px); }
  .v6 .hero-title { font-size: clamp(42px, 12.5vw, 64px); }
  .v6 .hero-sub { font-size: clamp(22px, 6vw, 28px); margin-top: 16px; }
  .v6 .hero-inner .links { gap: 16px 28px; margin-top: 28px; }
  .v6 .band h2 { font-size: clamp(32px, 9vw, 44px); }
  .v6 .strip-item { padding: 24px 18px; gap: 18px; }
  .v6 .strip-item span { font-size: 18px; }
  .v6 .foot-row { font-size: 12px; gap: 18px; padding: 28px 0; }
  .v6 .foot-links { gap: 12px 22px; }
  .v6 .fact .v { font-size: 15px; }
  .v6 .stage h3 { font-size: 20px; }
  .v6 .split h1 { font-size: clamp(42px, 12vw, 60px); }
  .v6 .form { gap: 26px; }
}

/* ---------- results: stat tiles + chart ---------- */
.v6 .stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.v6 .stat { padding: 28px 24px 8px 0; }
.v6 .stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.v6 .stat-v { font-size: clamp(40px, 4.4vw, 68px); line-height: 1; }
.v6 .stat-v span { font-size: 0.42em; color: var(--muted); letter-spacing: -0.01em; }
.v6 .stat-k { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 240px; }
.v6 .chart { position: relative; margin: 56px 0 0; padding: 32px; border: 1px solid var(--line); background: #050505; }
.v6 .chart-title { font-size: 24px; line-height: 1.2; }
.v6 .chart-sub { margin: 10px 0 0; font-size: 11px; color: var(--muted); }
.v6 .chart-plot { margin-top: 24px; width: 100%; }
.v6 .chart-plot svg { display: block; overflow: visible; }
.v6 .chart-plot .g { stroke: rgba(255,255,255,0.07); stroke-width: 1; }
.v6 .chart-plot .base { stroke: rgba(255,255,255,0.35); stroke-width: 1; }
.v6 .chart-plot .ax { fill: rgba(255,255,255,0.45); font: 11px var(--geist-mono); letter-spacing: 0.04em; }
.v6 .chart-plot .lbl { fill: rgba(255,255,255,0.9); font: 12px var(--geist-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.v6 .chart-plot .lbl.dim { fill: rgba(255,255,255,0.45); font-size: 11px; }
.v6 .chart-plot .bar { fill: rgba(255,255,255,0.88); transition: opacity .15s; }
.v6 .chart-plot .bar.dimmed { opacity: 0.3; }
.v6 .chart-plot .hit { fill: transparent; cursor: crosshair; outline: none; }
.v6 .chart-plot .limit { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 4 4; }
.v6 .chart-plot .worst { stroke: rgba(255,255,255,0.35); stroke-width: 1; }
.v6 .chart-plot .band { fill: rgba(255,255,255,0.035); }
.v6 .chart-tip { position: absolute; transform: translate(-50%, -100%); pointer-events: none; padding: 10px 12px; background: #000; border: 1px solid rgba(255,255,255,0.3); font-size: 13px; line-height: 1.4; white-space: nowrap; z-index: 3; }
.v6 .chart-tip b { display: block; font-weight: 500; color: #fff; }
.v6 .chart-tip span { color: var(--muted); }
.v6 .chart-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.v6 .chart-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.v6 .chart-toggle { background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.75); font-size: 11px; padding: 0 0 4px; cursor: pointer; white-space: nowrap; }
.v6 .chart-toggle:hover { color: #fff; border-color: #fff; }
.v6 .chart-table table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14px; }
.v6 .chart-table th { text-align: left; font-size: 11px; font-weight: 400; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.v6 .chart-table td { padding: 8px 0; border-bottom: 1px solid var(--line); color: rgba(255,255,255,0.85); }
@media (max-width: 900px) {
  .v6 .stats { grid-template-columns: 1fr 1fr; }
  .v6 .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .v6 .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (max-width: 639px) {
  .v6 .chart { padding: 20px 16px; margin-left: -4px; margin-right: -4px; }
  .v6 .chart-title { font-size: 20px; }
  .v6 .chart-foot { flex-direction: column; align-items: flex-start; }
  .v6 .stat-k { font-size: 14px; }
}

/* waveform charts */
.v6 .chart-plot .ln { fill: none; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; opacity: 0.75; }
.v6 .chart-plot .ln.emph { stroke-width: 2.5; opacity: 1; }
.v6 .chart-plot .cross { stroke: rgba(255,255,255,0.5); stroke-width: 1; }
.v6 .chart-plot .dot { fill: #fff; stroke: #050505; stroke-width: 2; }
.v6 .chart.wave .chart-tip { transform: translate(-50%, 0); }
.v6 .chart.wave .chart-tip span { display: block; }
.v6 .chart-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.v6 .chart-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255,255,255,0.75); }
.v6 .chart-legend i { display: inline-block; width: 18px; height: 2px; border-radius: 1px; }
.v6 .charts-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 56px; }
.v6 .charts-2 .chart { margin-top: 0; }
@media (max-width: 1100px) { .v6 .charts-2 { grid-template-columns: 1fr; } }
.v6 .chart-plot .ln.faint { stroke-width: 1; opacity: 0.28; transition: opacity .2s, stroke-width .2s; }
.v6 .chart-plot .ln.faint.lit { opacity: 1; stroke-width: 1.75; }
.v6 .chart-plot .band-osc { pointer-events: none; }
.v6 .chart-legend span[data-g] { cursor: default; }
.v6 .chart-plot .lbl.live { text-transform: none; letter-spacing: 0.02em; }

/* No blue flash on tap (phones), selection in the site's colours, focus ring only for keyboard users */
.v6, .v6 * { -webkit-tap-highlight-color: transparent; }
.v6 ::selection { background: #fff; color: #000; }
.v6 :focus:not(:focus-visible) { outline: none; }
.v6 :focus-visible { outline: 1px solid #fff; outline-offset: 4px; }

/* Top bar: slides away while scrolling down, comes back (on black) when scrolling up */
.v6 .topbar { transition: transform .35s cubic-bezier(.16,1,.3,1), background-color .25s ease; }
.v6 .topbar.solid { background: #000; border-bottom: 1px solid rgba(255,255,255,0.08); }
.v6 .topbar.away { transform: translateY(-100%); }
.v6.menu-open .topbar { transform: none; }
@media (prefers-reduced-motion: reduce) { .v6 .topbar { transition: none; } }

/* ---------- Pronotes (software) section ---------- */
.v6 .pn-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 72px; border-bottom: 1px solid var(--line); }
.v6 .pn-name { font-size: 22px; letter-spacing: -0.01em; }
.v6 .pn-links { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; }
.v6 .pn-links a { font-size: 11px; color: var(--muted); transition: color .2s; }
.v6 .pn-links a:hover, .v6 .pn-links a.on { color: #fff; }
.v6 .pn-links a.on { text-decoration: underline; text-underline-offset: 6px; }
.v6 .pn-links .pn-get { color: #fff; border: 1px solid rgba(255,255,255,0.35); padding: 7px 12px; }
.v6 .pn .page-title a, .v6 .pn .crumb a { color: inherit; }
.v6 .pn-hero .links { margin-top: 40px; }
.v6 .ipad { margin: 96px 0 0; padding: 14px; background: #121212; border: 1px solid rgba(255,255,255,0.12); border-radius: 34px; box-shadow: 0 40px 120px rgba(255,255,255,0.05); }
.v6 .ipad img { display: block; width: 100%; height: auto; border-radius: 22px; }
.v6 .ipad figcaption { margin-top: 18px; font-size: 11px; color: var(--muted); text-align: center; }
.v6 .pn-pair { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.v6 .pn-pair .ipad { margin: 0; }
.v6 .pn-pair h3 { margin-top: 28px; font-size: 26px; line-height: 1.2; }
.v6 .pn-pair .label + h3 { margin-top: 16px; }
.v6 .pn-pair .t-body { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.v6 .pn-pair .links { margin-top: 36px; }
.v6 .pn-gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent; }
.v6 .pn-gallery img { flex: 0 0 auto; width: clamp(220px, 24vw, 320px); height: auto; border-radius: 14px; scroll-snap-align: start; border: 1px solid rgba(255,255,255,0.1); }
.v6 .specs { border-top: 1px solid var(--line); }
.v6 .spec { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.v6 .spec .k { font-size: 11px; color: var(--muted); padding-top: 5px; }
.v6 .spec .v { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.85); max-width: 720px; }
.v6 .spec a, .v6 .page-lede a, .v6 .form .note a, .v6 .policy a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.v6 .release .label { line-height: 1.7; }
.v6 .form select { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; padding: 12px 0; font: 17px var(--geist); border-radius: 0; outline: none; }
.v6 .form select option { background: #000; color: #fff; }
.v6 .form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v6 .form-row.two { grid-template-columns: 1fr 1fr; }
.v6 .form-note { font-size: 11px; color: var(--muted); margin-bottom: -16px; }
.v6 .form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.v6 .form-error { color: #ff8a80; font-size: 15px; }
.v6 .form button:disabled { opacity: 0.5; }
.v6 .form-done { padding-top: 64px; }
.v6 .form-done h2 { font-size: clamp(36px, 4vw, 56px); }
.v6 .form-done .t-body { margin-top: 16px; color: var(--muted); font-size: 18px; }
.v6 .policy { padding-left: 0; padding-right: 0; margin: 0; }
.v6 .policy-meta { margin-top: 28px; font-size: 11px; color: var(--muted); }
.v6 .policy .prose { margin-top: 56px; gap: 18px; }
.v6 .policy .prose h2 { margin-top: 28px; font-size: 26px; line-height: 1.2; }
.v6 .policy .prose p { font-size: 18px; }
@media (max-width: 900px) {
  .v6 .pn-pair { grid-template-columns: 1fr; gap: 40px; }
  .v6 .spec { grid-template-columns: 1fr; gap: 8px; }
  .v6 .form-row, .v6 .form-row.two { grid-template-columns: 1fr; }
  .v6 .ipad { margin-top: 64px; padding: 8px; border-radius: 22px; }
  .v6 .ipad img { border-radius: 15px; }
  .v6 .pn-sub { margin-bottom: 48px; }
}

/* Pronotes tabs: content already on screen after an in-place switch shows at once; quick cross-fade */
.v6 .reveal.instant { animation: none; opacity: 1; transform: none; }
html:has(body.v6), ::view-transition { background: #000; }

/* spacing: links right under a page intro; footer copyright stays on one line */
.v6 .page-lede + .links { margin-top: 40px; }
.v6 .foot-row .faint { white-space: nowrap; }

/* while a page is still downloading after a click, the current content dims so the click visibly registered */
html.nav-wait main { opacity: 0.35; transition: opacity .2s ease; }
