/* frameframe microsite */

:root {
  --bg: #000;
  --box: #0A0A0B;
  --line: rgba(255, 255, 255, 0.09);
  --text: #F2F2F7;
  --muted: #98989F;
  --accent: #FFD60A;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 system-ui, -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 0.2em; text-decoration-color: rgba(255, 255, 255, 0.35); }
a:hover { text-decoration-color: var(--accent); }

::selection { background: var(--accent); color: #000; }

/* ── Hero: the logo box, centred on black ─────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.hero canvas:focus-visible { outline: none; }

/* ── Text ────────────────────────────────────────────────────────────────────────── */

main.content, .page {
  width: min(100% - 48px, 760px);
  margin: 0 auto;
}

section { padding: 56px 0; border-top: 1px solid var(--line); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: 28px; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 17px; }

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.lead { font-size: 21px; line-height: 1.45; margin: 0 0 16px; }
.content p { margin: 0 0 14px; color: #D1D1D6; }
.note { color: var(--muted); font-size: 15px; }

/* ── Modes ───────────────────────────────────────────────────────────────────────── */

.modes {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.modes li {
  background: var(--bg);
  padding: 22px 22px 24px;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
  align-items: start;
}

/* object, the main mode, takes the whole first row; the other six fill pairs below it */
.modes li.featured { grid-column: 1 / -1; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 26px 24px 28px; }
.modes li.featured svg { width: 40px; height: 40px; }
.modes li.featured h3 { font-size: 21px; }
.modes li.featured h3 span { font-size: 16px; }
.modes li.featured p { font-size: 17px; max-width: 34em; }

.modes svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modes .dot { fill: currentColor; stroke: none; }

.modes h3 { font-size: 18px; }
.modes h3 span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; margin-top: 2px; }
.modes p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: #D1D1D6; }

/* ── Footer ──────────────────────────────────────────────────────────────────────── */

footer {
  width: min(100% - 48px, 760px);
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
footer span a { white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); }

/* ── Imprint ─────────────────────────────────────────────────────────────────────── */

.page { padding: 48px 0 24px; }
.page header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.page header a { text-decoration: none; }
.page header img { height: 30px; width: auto; display: block; }
.page h1 { font-size: 34px; margin-bottom: 28px; }
.page h2 { font-size: 21px; margin: 40px 0 12px; }
.page h3 { margin: 24px 0 8px; }
.page p { margin: 0 0 14px; color: #D1D1D6; font-size: 16px; }
.page address { font-style: normal; margin: 0 0 14px; }
.page ul { margin: 0 0 14px; padding-left: 1.2em; color: #D1D1D6; }
.page li { margin: 0 0 10px; }
.page strong { color: var(--text); font-weight: 600; }
.page .note { font-style: italic; }

/* ── Phones ──────────────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  body { font-size: 17px; }
  main.content, .page, footer { width: min(100% - 40px, 760px); }
  section { padding: 44px 0; }
  h2 { font-size: 26px; }
  .lead { font-size: 19px; line-height: 1.5; }
  .modes { grid-template-columns: 1fr; }
  .modes li { padding: 20px 18px 22px; grid-template-columns: 30px 1fr; column-gap: 14px; }
  .modes svg { width: 28px; height: 28px; }
  .modes li.featured { grid-template-columns: 34px 1fr; column-gap: 14px; padding: 22px 18px 24px; }
  .modes li.featured svg { width: 32px; height: 32px; }
  .page { padding-top: 32px; }
  .page header { margin-bottom: 36px; }
  .page h1 { font-size: 30px; }
  .page p, .page li { font-size: 16px; line-height: 1.6; }
  .page h3 { font-size: 17px; }
}
