/* kik-studio.com, direction A: modern dark, one signal green.
   Sora for display, Inter for text. Tokens on :root so a theme is one block. */
:root {
  --display: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --bg: #0b0d10;
  --panel: #12151a;
  --panel-2: #1b1f26;
  --ink: #eef0f3;
  --muted: #9aa3ad;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #3ddc84;
  --accent-ink: #1fbf6a;
  --on-accent: #06120b;
  --danger: #f87171;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(61, 220, 132, 0.08);
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: radial-gradient(900px 500px at 70% -10%, rgba(61, 220, 132, 0.12), transparent 60%), var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; z-index: 10; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 16px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); }
nav.main { display: flex; gap: 26px; font-size: 15px; }
nav.main a { text-decoration: none; opacity: 0.78; }
nav.main a:hover, nav.main a[aria-current="page"] { opacity: 1; }
nav.main a[aria-current="page"] { color: var(--accent); }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2;
}
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: #55e698; }
.btn.ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.3); }

.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
/* Grid children default to their content's minimum width, which let the
   dialler card push the whole page wider than a phone. */
.hero > * { min-width: 0; }
h1, .lede, p { overflow-wrap: anywhere; }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 600; }
h1 { font-family: var(--display); font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 22px; font-weight: 700; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta small { color: var(--muted); font-size: 14px; width: 100%; margin-top: 6px; }
.page-head { padding: 64px 0 24px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin: 48px 0 0; }
.facts div { padding: 0 22px 0 0; font-size: 15px; color: var(--muted); }
.facts div strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

section.block { padding: 64px 0; }
section.block h2 { font-family: var(--display); font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -0.02em; margin: 0 0 14px; line-height: 1.1; }
section.block h3 { font-family: var(--display); font-size: 20px; letter-spacing: -0.01em; margin: 32px 0 8px; }
section.block .sub { color: var(--muted); max-width: 36em; margin: 0 0 36px; font-size: 18px; }
section.block p { max-width: 42em; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.three h3 { margin: 0 0 8px; font-size: 18px; }
.three p { margin: 0; color: var(--muted); font-size: 16px; }
.notfor { border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; color: var(--muted); max-width: 40em; font-size: 17px; }
.tint { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025)); border-radius: 18px; padding-left: 36px; padding-right: 36px; }
.prose p { color: var(--ink); opacity: 0.92; }
.prose p.muted, .muted { color: var(--muted); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 22px; line-height: 1.2; padding-top: 2px; }
.steps li strong { display: block; font-family: var(--display); font-size: 19px; letter-spacing: -0.01em; margin-bottom: 4px; }
.steps li p { margin: 0; color: var(--muted); }
.callout { border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; background: var(--panel); color: var(--ink); max-width: 46em; margin: 36px 0 0; }
.callout strong { color: var(--accent); }
.plain-list { padding-left: 0; list-style: none; display: grid; gap: 10px; max-width: 40em; }
.plain-list li { padding-left: 26px; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: rgba(61, 220, 132, 0.18); box-shadow: inset 0 0 0 2px var(--accent); }
.closing { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; max-width: 30em; margin: 48px 0 0; }

form.register { display: grid; gap: 18px; max-width: 560px; }
form.register label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
form.register input, form.register select, form.register textarea {
  font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%;
}
form.register textarea { min-height: 110px; resize: vertical; }
form.register .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.register .fine { font-size: 13px; color: var(--muted); margin: 0; }
.notice { border-left: 3px solid var(--danger); padding: 6px 0 6px 16px; color: var(--ink); }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: 48px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* The product, drawn in CSS: the dialler card as it exists today. */
.app {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  display: grid; grid-template-columns: 150px 1fr; gap: 14px; box-shadow: var(--shadow);
  font-size: 12.5px; color: var(--ink); transform: rotate(-1.2deg) translateY(6px);
  max-width: 100%; min-width: 0;
}
.app .queue { border-right: 1px solid var(--line); padding-right: 12px; }
.app .queue div { padding: 7px 8px; border-radius: 6px; color: var(--muted); line-height: 1.25; }
.app .queue div.now { background: var(--panel-2); color: var(--ink); }
.app .queue div b { display: block; font-weight: 600; color: inherit; }
.app .queue div small { font-size: 11px; opacity: 0.75; }
.app .card .name { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.app .card .role { color: var(--muted); margin: 2px 0 10px; }
.app .num { font-variant-numeric: tabular-nums; font-size: 15px; margin-bottom: 10px; }
.app .num i { font-style: normal; font-size: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; margin-left: 8px; color: var(--muted); vertical-align: middle; }
.app .controls { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.app .controls .dial { background: var(--accent); color: var(--on-accent); border-radius: 7px; padding: 7px 14px; font-weight: 700; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.15); }
.app .controls .g { border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; color: var(--muted); }
.app .controls .t { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); }
.app .keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.app .keys div { border: 1px solid var(--line); border-radius: 6px; padding: 6px 7px; color: var(--muted); display: flex; gap: 6px; align-items: center; line-height: 1.15; min-width: 0; }
.app .keys div kbd { font-family: var(--mono); font-size: 10px; background: var(--panel-2); border-radius: 3px; padding: 1px 5px; color: var(--ink); }
.app .keys div.on { border-color: var(--accent); color: var(--ink); }
.app .stats { display: flex; gap: 18px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.app .stats b { display: block; color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 36px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .three { grid-template-columns: 1fr; gap: 26px; }
  nav.main { display: none; }
  .app { grid-template-columns: 1fr; transform: none; }
  .app .queue { display: none; }
  .tint { padding-left: 20px; padding-right: 20px; }
  .steps li { grid-template-columns: 40px 1fr; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  header.top .btn { display: none; }
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .hero { padding-top: 28px; gap: 28px; }
  h1 { font-size: clamp(32px, 10vw, 40px); }
  .lede { font-size: 17px; }
  .cta .btn { width: 100%; text-align: center; }
  .app { padding: 12px; }
  .app .keys { grid-template-columns: repeat(2, 1fr); }
  .app .stats { flex-wrap: wrap; gap: 12px 18px; }
  .app .controls { flex-wrap: wrap; }
  .app .controls .t { margin-left: 0; width: 100%; }
  section.block { padding: 44px 0; }
  .page-head { padding-top: 36px; }
  .steps li { grid-template-columns: 34px 1fr; gap: 10px; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .app { transform: none; } }
