/* WiAware — wiaware.com
   One stylesheet, no frameworks. Light and dark follow the system. */

:root {
  --brand: #138f62;
  --brand-strong: #0e6f4c;
  --brand-soft: #e4f4ec;
  --brand-ink: #0b4d35;
  --on-brand: #ffffff;
  --ink: #15191e;
  --ink-2: #4b535c;
  --ink-3: #7c858f;
  --line: #e5e8eb;
  --bg: #ffffff;
  --bg-2: #f6f7f8;
  --bg-3: #eef0f2;
  --amber: #c98a00;
  --red: #d64545;
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 12px 40px rgba(16, 24, 32, .10);
  --drop: drop-shadow(0 2px 4px rgba(16, 24, 32, .10)) drop-shadow(0 24px 48px rgba(16, 24, 32, .18));
  --glow: color-mix(in srgb, var(--brand) 22%, var(--bg-2));
  --radius: 18px;
  --radius-s: 12px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #35c48c;
    --brand-strong: #58d5a2;
    --brand-soft: #123327;
    --brand-ink: #bfeedb;
    --on-brand: #06281b;
    --ink: #f2f4f6;
    --ink-2: #b8c0c8;
    --ink-3: #8a929b;
    --line: #2a2f35;
    --bg: #101316;
    --bg-2: #171b1f;
    --bg-3: #1f2429;
    --amber: #f0b22e;
    --red: #ff6b6b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 48px rgba(0, 0, 0, .5);
    --drop: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)) drop-shadow(0 28px 56px rgba(0, 0, 0, .6));
    --glow: color-mix(in srgb, var(--brand) 16%, var(--bg-2));
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0; }
code { font: 0.92em var(--mono); background: var(--bg-3); padding: .1em .4em; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 17px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .btn { padding: 8px 14px; font-size: 14px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--on-brand); }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 22%, transparent); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--bg-2); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fineprint { font-size: 14px; color: var(--ink-3); }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 760px) { section { padding: 60px 0; } }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.title { font-size: clamp(30px, 4.2vw, 44px); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 60ch; margin-top: 16px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; pointer-events: none;
  background: radial-gradient(50% 50% at 30% 30%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.8vw, 68px); letter-spacing: -0.03em; line-height: 1.02; }
.hero h1 .lit { color: var(--brand); }
.hero .lede { margin-top: 20px; }
.hero .btn-row { margin-top: 32px; }
.hero .fineprint { margin-top: 14px; }
/* Screens are rendered at 2x, with their own rounded corners and a transparent
   outside: menus 680px wide, the Timeline 1520px. Never shown wider than half
   that, so a Retina display never stretches them soft, and never boxed, so
   they sit on the page like the panels they are. */
.shot { filter: var(--drop); }
.shot img { width: 100%; }
.scene { position: relative; max-width: 560px; margin: 0 auto; padding: 24px 20px 32px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(90% 80% at 75% 0%, var(--glow), var(--bg-2) 70%); border: 1px solid var(--line); }
.scene::after { content: ""; position: absolute; left: 20%; right: -10%; top: 30%; bottom: -20%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); }
.scene picture { position: relative; z-index: 1; display: block; }
/* The strip sits so the menu hangs from WiAware's mark, as it does on a Mac. */
.scene-bar { width: 61.5%; max-width: 320px; margin: 0 12.3% 14px auto; filter: var(--drop); }
.scene-menu { width: 65.4%; max-width: 340px; margin-left: auto; filter: var(--drop); }
@media (max-width: 860px) {
  .hero { padding: 44px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.step { background: var(--bg-2); border-radius: var(--radius); padding: 28px; text-align: left; }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-media { order: -1; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.feature p { color: var(--ink-2); font-size: 17px; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { padding-left: 28px; position: relative; color: var(--ink-2); }
.feature li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft); }
.feature li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 3px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.stage { border-radius: 24px; padding: 36px 28px; border: 1px solid var(--line); display: grid; place-items: center;
  background: radial-gradient(100% 90% at 50% 0%, var(--glow), var(--bg-2) 75%); }
.stage .shot { width: 100%; max-width: 340px; }
.feature.stack { grid-template-columns: 1fr; gap: 36px; }
.feature.stack > div:first-child { max-width: 640px; }
.feature.stack .stage { padding: 40px; }
.feature.stack .stage .shot { max-width: 760px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .feature.flip .feature-media { order: 0; }
  .stage, .feature.stack .stage { padding: 24px 16px; }
}

/* Band */
.band { background: var(--bg-2); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: left; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Pricing */
.price-card {
  max-width: 520px; margin: 44px auto 0; background: var(--bg); border: 1px solid var(--line);
  border-radius: 24px; padding: 36px; box-shadow: var(--shadow); text-align: left;
}
.price { display: flex; align-items: baseline; gap: 10px; }
.price .amount { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.price .per { color: var(--ink-3); font-size: 17px; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.price-card li { padding-left: 30px; position: relative; color: var(--ink-2); }
.price-card li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); }
.price-card li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 7px; height: 4px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.price-card .btn { width: 100%; }
.price-card .fineprint { margin-top: 14px; text-align: center; }

/* FAQ */
.faq { max-width: 760px; margin: 36px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 14px 36px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--ink-3); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { color: var(--ink-2); padding: 0 0 16px; max-width: 64ch; }

/* Documents (help, policies, thanks) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 10px; }
.doc .updated { color: var(--ink-3); font-size: 15px; margin-bottom: 28px; }
.doc h2 { font-size: 26px; margin: 48px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; scroll-margin-top: 80px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.doc .shot { margin: 26px 0; max-width: 340px; }
.doc .shot.wide { max-width: 760px; }
.doc figure { margin: 0; }
.doc figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.doc .note { background: var(--brand-soft); color: var(--brand-ink); border-radius: var(--radius-s); padding: 14px 18px; margin: 18px 0; }
.doc .note p { color: inherit; }
.toc { background: var(--bg-2); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0 8px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; margin: 0 0 4px; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.kbd { font: 0.9em var(--mono); background: var(--bg-3); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: .05em .45em; }

/* Thanks page */
.thanks { text-align: center; max-width: 640px; margin: 0 auto; padding: 72px var(--gutter) 96px; }
.thanks .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 35%, transparent); }
.thanks .tick svg { width: 36px; height: 36px; }
.thanks h1 { font-size: clamp(32px, 4vw, 44px); }
.thanks .lede { margin: 14px auto 0; }
.keybox { margin: 32px 0 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.keybox label { display: block; font-size: 14px; color: var(--ink-3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.keybox .key { font: 22px/1.3 var(--mono); word-break: break-all; color: var(--ink); user-select: all; }
.keybox .btn { margin-top: 16px; }
.keybox .copied { font-size: 14px; color: var(--brand); margin-top: 10px; min-height: 1.4em; }
.thanks ol { text-align: left; margin: 32px auto 0; padding-left: 24px; max-width: 480px; color: var(--ink-2); }
.thanks ol li + li { margin-top: 10px; }
.thanks .btn-row { justify-content: center; margin-top: 32px; }
.thanks .fineprint { margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--ink-3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
