/* Wiggins marketing site. Same palette as the app so the screenshots sit in it naturally. */
:root {
  --bg: #0e0f12;
  --bg-lift: #131416;
  --panel: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.09);
  --ink: #ececec;
  --muted: #9a9ca3;
  --accent: #4c8dff;
  --accent-ink: #ffffff;
  --display: "Bricolage Grotesque", -apple-system, "SF Pro Display", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-lift) 0, var(--bg) 480px);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 12px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; z-index: 10; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 800; line-height: 0.98; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; line-height: 1.08; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }

/* ---- header ---- */
.top {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.mark { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(76, 141, 255, 0.18); }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav a { color: var(--ink); font-size: 15px; }
@media (max-width: 640px) { .top-nav a:not(.btn) { display: none; } }

/* ---- buttons: glass capsules, like the app ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 120ms ease, background 120ms ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: rgba(255, 255, 255, 0.08); }
.btn-solid { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.btn-solid:hover { background: #5f99ff; }
.btn-lg { padding: 15px 24px; font-size: 17px; }

/* ---- hero ---- */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 8vw, 96px) var(--gutter) 24px; }
.eyebrow { color: var(--muted); font-size: 15px; letter-spacing: 0.01em; margin-bottom: 18px; }
.lede { max-width: 40ch; font-size: clamp(18px, 2vw, 22px); color: var(--muted); margin: 26px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.transcript {
  margin-top: clamp(48px, 7vw, 88px);
  padding: 28px 30px 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  max-width: 760px;
}
.line { font-family: var(--display); font-size: clamp(26px, 4.4vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.wake { color: var(--accent); margin-right: 0.28em; }
.caret { display: inline-block; width: 0.08em; height: 0.95em; background: var(--ink); margin-left: 3px; vertical-align: -0.12em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.reply {
  margin-top: 16px; color: var(--muted); font-size: 18px;
  opacity: 0; transform: translateY(4px); transition: opacity 320ms ease, transform 320ms ease;
}
.reply.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } .reply { opacity: 1; transform: none; transition: none; } }

/* ---- feature sections ---- */
.feature { max-width: var(--max); margin: clamp(64px, 10vw, 128px) auto 0; padding: 0 var(--gutter); }
.feature-head { max-width: 62ch; }
.feature-head p { margin-top: 16px; color: var(--muted); font-size: 19px; }
.devices { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: end; margin-top: 40px; }
@media (max-width: 860px) { .devices { grid-template-columns: 1fr; } }
.device { margin: 0; }
.device img {
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 6px #1a1b1f, 0 0 0 7px #2a2b30;
}
.device.tv img { border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 10px #111216, 0 0 0 11px #2a2b30; }
.device figcaption { margin-top: 22px; color: var(--muted); font-size: 15px; }

.bill { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .bill { grid-template-columns: 1fr; } .bill .feature-head { order: -1; } }

.three {
  max-width: var(--max); margin: clamp(64px, 10vw, 128px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }
.three article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.three h3 { margin-bottom: 12px; }
.three p { color: var(--muted); font-size: 17px; }

/* ---- how it works: an actual sequence, so it is numbered ---- */
.how { max-width: var(--max); margin: clamp(64px, 10vw, 128px) auto 0; padding: 0 var(--gutter); }
.steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 20px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--accent); background: rgba(76, 141, 255, 0.16);
}
.steps p { color: var(--muted); font-size: 17px; margin-top: 6px; }

.quiet { max-width: var(--max); margin: clamp(64px, 10vw, 128px) auto 0; padding: 0 var(--gutter); }
.quiet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
@media (max-width: 860px) { .quiet-grid { grid-template-columns: 1fr; } }
.quiet p { color: var(--muted); font-size: 17px; }
.quiet strong { color: var(--ink); display: block; margin-bottom: 6px; font-weight: 600; }

.closing { max-width: var(--max); margin: clamp(80px, 12vw, 160px) auto 0; padding: 0 var(--gutter); text-align: center; }
.closing h2 { margin-bottom: 26px; }
.fine { margin-top: 18px; color: var(--muted); font-size: 15px; }

.foot {
  max-width: var(--max); margin: clamp(64px, 10vw, 120px) auto 0; padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: 14px;
}
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); }
