/* IQONIC Radar landing — one stylesheet for the page and the styleguide (/styleguide).
   Type scale (Roman, 09.11.2026): headlines weight 450, letter-spacing −0.02em;
   H1 5rem · H2 3.25rem · H3 2.8rem · H4 2rem · body large 1.3rem · medium 1.1rem · small 0.95rem (weight 400).
   Numbers always in headline weight and a headline size. No rainbow gradients: bars as in Apple Health,
   one colour per bar (the six IQONIC logo colours), the same thickness everywhere. */

@font-face { font-family: "Aeonik Pro"; src: url("/assets/fonts/AeonikPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* No variable Aeonik Pro here (iqonic.at uses one with "wght" 450). Until IQONIC supplies it, weight 450
   is served by the Medium cut — the face below covers 450–500. */
@font-face { font-family: "Aeonik Pro"; src: url("/assets/fonts/AeonikPro-Medium.woff2") format("woff2"); font-weight: 450 500; font-display: swap; }

:root {
  /* type */
  --font: "Aeonik Pro", "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hw: 450;            /* headline weight */
  --hls: -0.02em;       /* headline letter-spacing */
  --h1: 5rem;    --h1-lh: 1.0;
  --h2: 3.25rem; --h2-lh: 1.08;
  --h3: 2.8rem;  --h3-lh: 1.1;
  --h4: 2rem;    --h4-lh: 1.15;
  --body-l: 1.3rem;  --body-l-lh: 1.45;
  --body-m: 1.1rem;  --body-m-lh: 1.5;
  --body-s: 0.95rem; --body-s-lh: 1.5;
  --bw: 400;            /* body weight */

  /* colour */
  --navy: #0e1825; --ink: #0e1825; --ink-2: rgba(14, 24, 37, .72); --muted: rgba(14, 24, 37, .62);
  --line: #e5e5e5; --surface: #f4f4f5; --field: #f4f4f5; --field-focus: #ececee; --tile: #000;
  --magenta: #BB3BB6; --red: #E93B56; --orange: #F58331; --yellow: #FBD243; --green: #7FCA46; --blue: #6571F2;

  /* shape */
  --radius: 16px; --radius-sm: 12px; --gutter: 48px;
  --bar: 16px;          /* one bar thickness (bars, tracks, progress) */
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
@media (max-width: 1100px) { :root { --gutter: 32px; } }
/* below 720 px the headlines step down so they fit a phone; desktop values above are the reference */
@media (max-width: 720px) {
  :root { --gutter: 16px; --h1: 3rem; --h2: 2.25rem; --h3: 2rem; --h4: 1.6rem; --bar: 12px; }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; font-size: 16px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-weight: var(--bw); font-size: var(--body-m); line-height: var(--body-m-lh); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
.wrap { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* headlines + numbers */
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .num { font-weight: var(--hw); letter-spacing: var(--hls); margin: 0; font-variant-numeric: tabular-nums; }
h1, .h1 { font-size: var(--h1); line-height: var(--h1-lh); }
h2, .h2 { font-size: var(--h2); line-height: var(--h2-lh); }
h3, .h3 { font-size: var(--h3); line-height: var(--h3-lh); }
h4, .h4 { font-size: var(--h4); line-height: var(--h4-lh); }
.body-l { font-size: var(--body-l); line-height: var(--body-l-lh); }
.body-m { font-size: var(--body-m); line-height: var(--body-m-lh); }
.body-s { font-size: var(--body-s); line-height: var(--body-s-lh); }
.muted { color: var(--muted); }
.eyebrow { display: block; font-size: var(--body-s); color: var(--muted); margin-bottom: 16px; }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-size: var(--body-m); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .3s var(--ease), opacity .2s; }
.pill:hover { transform: translateY(-2px); }
.pill:focus-visible, .chip:focus-within, .field:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.pill.light { background: #fff; color: var(--navy); }
.pill.ghost { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pill svg { width: 18px; height: 18px; flex: none; }
.pill[disabled] { opacity: .5; cursor: progress; transform: none; }

/* "In Kürze verfügbar" — the launch badge: navy pill, yellow pulsing dot (logo yellow, no gradient) */
.soon-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: var(--body-m); font-weight: var(--hw); letter-spacing: -0.01em; }
.soon-badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(14, 24, 37, .35); } 50% { box-shadow: 0 0 0 7px rgba(14, 24, 37, 0); } }

/* boxes with a headline; the number sits in headline weight + H4 size */
.box { background: var(--surface); border-radius: var(--radius); padding: 32px; }
.box .n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; font-size: var(--h4); font-weight: var(--hw); letter-spacing: var(--hls); line-height: 1; margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.box h4 { margin-bottom: 12px; }
.box p { color: var(--ink-2); }

/* Apple-Health bars: one colour per bar, a pale track in the same colour, round ends */
.bars { display: grid; gap: 22px; }
.bar-row { display: grid; gap: 10px; }
.bar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.bar-head .num { font-size: var(--h4); line-height: 1; }
.bar-head .num small { font-size: var(--body-m); letter-spacing: 0; margin-left: 2px; opacity: .72; }
.bar { position: relative; height: var(--bar); border-radius: 99px; background: color-mix(in srgb, var(--c) 18%, transparent); overflow: hidden; }
.bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: 99px; background: var(--c); transform-origin: left; }
.in .bar > i, .bar.static > i { animation: grow .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes grow { from { transform: scaleX(0); } }
.dark { background: var(--tile); color: #fff; --ink-2: rgba(255, 255, 255, .74); --muted: rgba(255, 255, 255, .62); }

/* form (as on iqonic.at: pill fields on light grey) */
.field { width: 100%; min-height: 64px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--field); color: var(--ink); font: inherit; font-size: var(--body-m); transition: background .2s; }
textarea.field { min-height: 220px; padding: 22px 26px; border-radius: 28px; resize: vertical; line-height: var(--body-m-lh); }
.field::placeholder { color: rgba(14, 24, 37, .45); }
.field:focus { background: var(--field-focus); outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--field); font-size: var(--body-m); transition: background .2s, color .2s; }
.chip input:checked + span { background: var(--navy); color: #fff; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .soon-badge::before, .bar > i { animation: none !important; }
}
