/* holomind.ch — one static page per language, no script. Colours follow the app (packages/ui-tokens). */
:root {
  --night: #0e0e12;
  --night-2: #17171d;
  --night-line: rgba(255, 255, 255, 0.1);
  --on-night: #f5f5f7;
  --on-night-2: #b9b9c2;
  --paper: #f5f5f7;
  --card: #ffffff;
  --ink: #1c1c1e;
  --ink-2: #6c6c70;
  --line: #e5e5ea;
  --accent: #c42f27;
  --gold: #e6c27a;
  --trust: #1e7d32;
  --holo: linear-gradient(115deg, #f48fb1 0%, #b39dff 34%, #7fd6c6 66%, #ffe08a 100%);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ── Top bar ─────────────────────────────────────────────── */
.top { position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-night); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.langs { display: flex; gap: 4px; list-style: none; margin: 0; padding: 4px; border: 1px solid var(--night-line); border-radius: 999px; }
.langs a { display: block; padding: 4px 11px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--on-night-2); }
.langs a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); color: var(--on-night); }
.langs a:hover { color: var(--on-night); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-night);
  background:
    radial-gradient(60% 55% at 85% 30%, rgba(179, 157, 255, 0.22), transparent 70%),
    radial-gradient(45% 45% at 70% 85%, rgba(127, 214, 198, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(244, 143, 177, 0.14), transparent 70%),
    var(--night);
}
.hero-grid { display: grid; gap: 48px; padding-top: 32px; padding-bottom: 72px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 800; margin-top: 16px; }
.holo { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 20px; font-size: clamp(18px, 2.2vw, 21px); color: var(--on-night-2); max-width: 32ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; }
.pill-soon { background: var(--on-night); color: var(--ink); }
.pill-soon small { font-weight: 600; font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.06em; }
.pill-ghost { border: 1px solid rgba(255, 255, 255, 0.28); color: var(--on-night); }
.pill-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.where { margin-top: 18px; font-size: 14px; color: var(--on-night-2); }

.stage { position: relative; display: flex; justify-content: center; min-height: 460px; }
.stage::before { content: ""; position: absolute; inset: 12% 14% 10%; background: var(--holo); filter: blur(70px); opacity: 0.35; border-radius: 50%; }
.phone {
  position: relative;
  width: 260px;
  border-radius: 40px;
  padding: 9px;
  background: #050507;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone img { border-radius: 32px; width: 100%; }
.stage .phone-back { position: absolute; top: 46px; left: calc(50% - 250px); width: 220px; transform: rotate(-7deg); opacity: 0.9; }
.stage .phone-front { transform: rotate(3deg); margin-left: 90px; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 88px 0; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.title { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; margin-top: 10px; max-width: 22ch; }
.intro { margin-top: 14px; color: var(--ink-2); max-width: 56ch; font-size: 18px; }

.features { display: grid; gap: 16px; margin-top: 44px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fbeaea; color: var(--accent); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; margin-top: 18px; }
.feature p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

.gallery { display: flex; gap: 22px; margin-top: 56px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; -webkit-overflow-scrolling: touch; }
.gallery figure { margin: 0; flex: 0 0 236px; scroll-snap-align: center; }
.gallery .phone { width: 236px; border-radius: 36px; padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.gallery .phone img { border-radius: 29px; }
.gallery figcaption { margin-top: 14px; font-size: 15px; font-weight: 600; text-align: center; }

/* ── Prices ──────────────────────────────────────────────── */
.prices { display: grid; gap: 16px; margin-top: 44px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price h3 { font-size: 22px; }
.price .amount { margin-top: 10px; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.price .amount span { font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.price li { position: relative; padding-left: 26px; color: var(--ink); font-size: 16px; }
.price li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--trust); border-bottom: 2.5px solid var(--trust); transform: rotate(-45deg); }
.price-plus { background: var(--night); color: var(--on-night); border-color: transparent; position: relative; overflow: hidden; }
.price-plus::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--holo); }
.price-plus .amount span, .price-plus .note { color: var(--on-night-2); }
.price-plus li { color: var(--on-night); }
.price-plus li::before { border-color: var(--gold); }
.price .note { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--ink-2); }
.fine { margin-top: 20px; font-size: 14px; color: var(--ink-2); max-width: 70ch; }

/* ── Trust band ──────────────────────────────────────────── */
.trust { background: var(--night); color: var(--on-night); }
.trust .grid { display: grid; gap: 28px; }
.trust h3 { font-size: 20px; }
.trust p { margin-top: 8px; color: var(--on-night-2); font-size: 16px; }
.trust .mark { display: inline-block; width: 28px; height: 4px; border-radius: 2px; background: var(--holo); margin-bottom: 14px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; }
.faq a { color: var(--accent); }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: var(--night-2); color: var(--on-night-2); padding: 56px 0 40px; font-size: 14px; }
footer .row { display: grid; gap: 28px; }
footer .brand { font-size: 18px; }
footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer nav a { text-decoration: none; color: var(--on-night); }
footer nav a:hover { text-decoration: underline; }
footer .legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--night-line); display: grid; gap: 10px; font-size: 13px; line-height: 1.5; }

/* ── Larger screens ──────────────────────────────────────── */
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: repeat(3, 1fr); }
  .trust .grid { grid-template-columns: repeat(3, 1fr); }
  footer .row { grid-template-columns: 1fr auto; align-items: center; }
  .gallery { justify-content: center; overflow: visible; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 48px; padding-bottom: 96px; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .stage { min-height: 560px; }
  .phone { width: 280px; }
  .stage .phone-back { width: 236px; top: 40px; left: calc(50% - 270px); }
}
@media (max-width: 519px) {
  .stage { min-height: 420px; }
  .stage .phone-back { display: none; }
  .stage .phone-front { margin-left: 0; transform: rotate(2deg); }
  .langs a { padding: 4px 9px; }
}
