@font-face { font-family: 'Manrope'; src: url('/assets/fonts/Manrope-Variable.ttf') format('truetype'); font-weight: 500 800; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #f8f6f1; --muted: #b9bbc3; --line: #2c2f37;
  --paper: #111216; --panel: #1a1c22; --panel-2: #20232a;
  --accent: #f06752; --accent-soft: #f0675222; --gold: #e7b858; --blue: #3b8cf0;
  --title: 'Bricolage Grotesque', 'Manrope', Inter, system-ui, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, sans-serif;
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); line-height: 1.6;
  background: radial-gradient(circle at 85% 0, #2a1b1b 0, var(--paper) 40rem) var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--title); font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); max-width: 10ch; margin: 14px 0 24px; line-height: .92; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin: 8px 0 18px; max-width: 18ch; }
h3 { font-size: 1.35rem; margin: 14px 0 8px; }
p { color: var(--muted); margin: 0 0 14px; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* Nav */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: #111216cc; border-bottom: 1px solid #ffffff0d; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 40px; width: auto; display: block; }
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.links a:hover { color: var(--ink); }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.button-small { padding: 9px 16px; background: var(--accent); color: #fff; font-size: .92rem; }
.button-muted { background: #2a2c33; color: #d5d6db; }
.button-ghost { border-color: var(--line); color: var(--ink); }
.button-ghost:hover { border-color: var(--muted); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; min-height: 86vh; }
.eyebrow, .kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .78rem; margin: 0; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.32rem); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.founding-line { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px #e7b85822; flex: none; }
.hero-visual { position: relative; height: 620px; }
.hero-visual .phone { position: absolute; width: 270px; }
.phone-tilt-l { left: 4%; top: 30px; transform: rotate(-5deg); z-index: 2; }
.phone-tilt-r { right: 2%; top: 110px; transform: rotate(6deg); }
.orbit { position: absolute; inset: 40px 0 0 10%; border: 1px solid var(--line); border-radius: 50%; aspect-ratio: 1; max-width: 560px; z-index: 0; }
.orbit::after { content: ""; position: absolute; inset: 22%; border: 1px dashed #ffffff14; border-radius: 50%; }
.orbit i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.orbit i:nth-child(1) { top: 4%; left: 48%; } .orbit i:nth-child(2) { top: 50%; right: -6px; background: var(--gold); }
.orbit i:nth-child(3) { bottom: 6%; left: 30%; background: var(--accent); } .orbit i:nth-child(4) { top: 30%; left: 2%; background: var(--blue); }

/* Phones */
.phone { margin: 0; position: relative; aspect-ratio: 9 / 19.5; border-radius: 38px; padding: 10px; background: #050507;
  border: 1px solid #3a3d46; box-shadow: 0 40px 80px #00000080, inset 0 0 0 2px #1d1f25; overflow: hidden; }
.phone > img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 29px; display: block; position: relative; z-index: 1; }
.phone > img + .mock { display: none; }
.mock { position: absolute; inset: 10px; border-radius: 29px; background: #0b1d3a; padding: 22px 14px; display: flex; flex-direction: column; gap: 10px; font-size: .74rem; overflow: hidden; }
.m-search { background: #071630; border-radius: 999px; padding: 10px 14px; color: #9fb0cc; }
.m-chips { display: flex; gap: 6px; white-space: nowrap; overflow: hidden; } .m-chips b, .m-chips i { font-style: normal; border-radius: 999px; padding: 4px 9px; background: #16335f; color: #dfe8f7; font-weight: 600; }
.m-chips b { background: #fff; color: #111; } .m-chips i.on { background: var(--blue); }
.m-card { background: #12305a; border-radius: 18px; padding: 8px; display: grid; gap: 2px; }
.m-card strong { font-size: .85rem; line-height: 1.2; margin-top: 6px; } .m-card small { color: #a9b8d2; } .m-card em { font-style: normal; color: var(--gold); font-weight: 600; }
.m-img { height: 92px; border-radius: 12px; }
.img-a { background: linear-gradient(135deg, #f0a35e, #b9473a 60%, #3b1f3a); }
.img-b { background: linear-gradient(135deg, #7ac27d, #2f6f5c 60%, #18324a); }
.mock-match { background: linear-gradient(180deg, #13284d, #0b1d3a); align-items: center; text-align: center; padding-top: 40px; }
.m-ring { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) 0 87%, #233b63 0); position: relative; }
.m-ring.big { width: 140px; height: 140px; background: conic-gradient(var(--gold) 0 92%, #233b63 0); }
.m-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #0f2244; }
.m-ring span { position: relative; font-family: var(--title); font-size: 1.8rem; }
.mock-match strong { font-family: var(--title); font-size: 1.1rem; margin-top: 8px; }
.mock-match ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; width: 100%; text-align: left; }
.mock-match li { background: #16335f; border-radius: 12px; padding: 8px 10px; color: #dfe8f7; }
.mock-sky { background: radial-gradient(circle at 50% 45%, #1b2550, #070a1a 70%); }
.mock-sky i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px #9fc3ff88; }
.mock-sky i:nth-child(3n) { background: var(--gold); box-shadow: 0 0 14px 4px #e7b85888; }
.mock-sky::before { content: ""; position: absolute; inset: 18% 20% 22% 18%; border: 1px solid #ffffff22; border-radius: 50%; transform: rotate(-20deg); }
.m-level { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: #ffffff14; border-radius: 999px; padding: 6px 14px; font-weight: 700; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 32px; }
.sub { font-size: 1.12rem; max-width: 50ch; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.card { background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { margin: 0; }
.icon { font-size: 1.6rem; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split > .phone { width: 300px; justify-self: center; }
.split-rev { grid-template-columns: .9fr 1.1fr; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); border: 2px solid var(--accent); }
.trust { padding-bottom: 40px; }
.trust .grid4 > div { border-top: 2px solid var(--line); padding-top: 18px; }
.trust strong { display: block; margin-bottom: 6px; }

/* Business */
.business { margin-top: 64px; padding-top: 72px; padding-bottom: 72px; border-radius: 36px; background: linear-gradient(135deg, #1d1f25, #15161b); border: 1px solid var(--line); padding-left: 56px; padding-right: 56px; }
.business .kicker { color: var(--gold); }
.business .ticks li::before { border-color: var(--gold); background: #e7b85822; }
.stats-card { background: #0f1014; border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.stats-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.seg { display: inline-flex; background: #22242b; border-radius: 999px; padding: 3px; font-size: .8rem; }
.seg i { font-style: normal; padding: 4px 12px; border-radius: 999px; color: var(--muted); } .seg i.on { background: var(--gold); color: #1a1408; font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { background: #181a20; border-radius: 16px; padding: 14px; }
.kpis span { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.kpis b { font-family: var(--title); font-size: 1.9rem; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin: 20px 0 14px; }
.bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--gold), #b98a32); }
.note { font-size: .88rem; margin: 0; }
.founding-venue { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.founding-venue p { margin: 0; }
.badge { flex: none; color: #18130a; background: var(--gold); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: .78rem; }

/* Join + footer */
.join { text-align: center; padding-top: 110px; padding-bottom: 90px; }
.join h2 { margin-left: auto; margin-right: auto; }
.join p { max-width: 52ch; margin: 0 auto 26px; font-size: 1.1rem; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.lang select { background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font: inherit; }

@media (max-width: 960px) {
  .links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; }
  .hero-visual { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-visual .phone { width: 220px; }
  .grid3 { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .split, .split-rev { grid-template-columns: 1fr; gap: 40px; }
  .split-rev > .phone { order: 2; }
  .business { padding-left: 28px; padding-right: 28px; border-radius: 28px; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .business { margin-left: 16px; margin-right: 16px; padding-left: 20px; padding-right: 20px; }
  .hero-visual { height: 440px; }
  .hero-visual .phone { width: 180px; }
  .phone-tilt-l { left: 2%; } .phone-tilt-r { right: 4%; }
  .split > .phone { width: 250px; }
  .grid4 { grid-template-columns: 1fr; }
  .kpis b { font-size: 1.5rem; }
  .founding-venue { flex-direction: column; align-items: flex-start; }
  .section { padding-top: 72px; }
}

.phone-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto; }
.phone-row .phone:nth-child(2) { transform: translateY(-24px); }
@media (max-width: 760px) {
  .phone-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .phone-row .phone { scroll-snap-align: start; } .phone-row .phone:nth-child(2) { transform: none; }
}

/* Long words (German, French) must wrap instead of widening the grid. */
.split > *, .grid3 > *, .grid4 > *, .kpis > * { min-width: 0; }
h1, h2, h3, .kpis span { overflow-wrap: break-word; hyphens: auto; }
h1, h2 { text-wrap: balance; }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis div:last-child { grid-column: 1 / -1; } }
