:root {
  --bg-dark: #0f172a;
  --brand: #1d56d6;
  --brand-teal: #0d9488;
  --hero-from: #1d56d6;
  --hero-to: #0d9488;
  --ink: #0f172a;
  --pale-blue: #eaf2fb;
  --record: #e23d3d;
  --muted: #475569;
  --font: "Nunito", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 75px;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.logo .wordmark span { color: var(--brand-teal); }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }

nav { margin-left: auto; display: flex; gap: 28px; }
nav a { color: #fff; font-size: 16px; font-weight: 700; }
nav a:hover { text-decoration: underline; }
.nav-active { color: #93c5fd; }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%);
  padding: 110px 20px 80px;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-blob {
  position: absolute;
  top: 24px;
  width: 180px;
  height: 220px;
  border-radius: 46% 54% 42% 58% / 48% 40% 60% 52%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 62% 28%, #fff 0 12%, transparent 13%),
    linear-gradient(160deg, #1d56d6 0%, #0d9488 55%, #1d56d6 100%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-blob-l { left: 1.5%; transform: rotate(-12deg); }
.hero-blob-r { right: 1.5%; transform: rotate(14deg) scaleX(-1); }

.hero-inner { position: relative; z-index: 1; }

.hero h1 {
  color: #fff;
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  animation: rise 0.5s ease-out;
}

.hero h2 {
  color: rgba(255, 255, 255, 0.92);
  font-size: 24px;
  font-weight: 500;
  margin: 6px 0 32px;
  animation: rise 0.55s ease-out 0.05s both;
}

.url-bar {
  margin: 0 auto;
  max-width: 1120px;
  height: 90px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  box-shadow: 0 3px 3px rgba(33, 33, 33, 0.2);
  padding: 7px 7px 7px 18px;
  animation: rise 0.6s ease-out 0.1s both;
}

.globe { width: 38px; height: 38px; flex-shrink: 0; }

.url-bar input {
  flex: 1;
  border: 0;
  outline: none;
  font: 500 23px/1.2 var(--font);
  padding: 0 8px 0 10px;
  color: rgba(0, 0, 0, 0.62);
  min-width: 0;
  background: transparent;
}

.url-bar button {
  height: 75px;
  min-width: 218px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font: 800 22px var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.url-bar:not(.lookup-bar) button,
#record-btn {
  background: var(--record);
}

.url-bar button svg { width: 26px; height: 26px; }
.url-bar button:hover { filter: brightness(0.96); transform: translateY(-1px); }
.url-bar button:active { transform: translateY(1px); }

.lookup-bar {
  margin-top: 18px;
  max-width: 520px;
  height: auto;
  min-height: 64px;
  padding: 8px;
}

.lookup-bar input {
  font-size: 18px;
}

.lookup-bar button {
  min-width: 120px;
  height: 48px;
  font-size: 18px;
}

.hero-or {
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 700;
  text-transform: lowercase;
}

.lookup-form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lookup-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 700;
}

.digit-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.digit-box {
  width: 48px;
  height: 56px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  font: 800 26px "Share Tech Mono", monospace;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.digit-box::placeholder {
  color: rgba(0, 0, 0, 0.28);
  opacity: 1;
}

.digit-box:focus {
  outline: 2px solid var(--brand-teal);
  outline-offset: 2px;
}

.lookup-form button {
  min-width: 120px;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font: 800 18px var(--font);
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.lookup-form button:hover { filter: brightness(0.96); transform: translateY(-1px); }
.lookup-form button:active { transform: translateY(1px); }

.error {
  margin-top: 16px;
  color: #fff;
  background: var(--ink);
  display: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.error:not([hidden]) { display: inline-block; }

.code-result {
  margin: 28px auto 0;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px 24px;
  box-shadow: 0 10px 28px rgba(12, 40, 70, 0.18);
  animation: pop 0.28s ease-out;
}

.code-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.code-value {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 52px;
  letter-spacing: 0.22em;
  color: var(--ink);
  margin: 4px 0 4px 8px;
}

.copy-btn {
  margin-top: 8px;
  border: 0;
  background: var(--brand);
  color: #fff;
  font: 800 16px var(--font);
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
}

.copy-hint { margin-top: 10px; color: var(--brand-teal); font-size: 14px; font-weight: 800; }

.features {
  background: var(--pale-blue);
  padding: 64px 24px 80px;
}

.how {
  background: var(--pale-blue);
  padding: 64px 24px 80px;
}

.browsers {
  background: #fff;
  padding: 64px 24px 72px;
}

.faq { background: var(--pale-blue); padding: 64px 24px 88px; }

.features h2, .how h2, .faq h2, .browsers h2 {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto 12px;
}

.lede {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 16px;
}

.card-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 26px;
  box-shadow: 0 8px 24px rgba(28, 75, 112, 0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: block;
  margin-bottom: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
}

.ic-bolt { background-color: var(--pale-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231D56D6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7l1-8z'/%3E%3C/svg%3E"); }
.ic-devices { background-color: var(--pale-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231D56D6' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.ic-meet { background-color: var(--pale-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230D9488' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M15 10l5-3v10l-5-3v3H4V7h11v3z'/%3E%3C/svg%3E"); }
.ic-copy { background-color: var(--pale-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230D9488' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1'/%3E%3C/svg%3E"); }
.ic-user { background-color: var(--pale-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231D56D6' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
.ic-lock { background-color: var(--pale-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230D9488' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E"); }

.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.steps {
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps li {
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px 24px;
  box-shadow: 0 10px 32px rgba(28, 75, 112, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  width: 44px;
  height: 44px;
  margin: 0 0 16px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 28ch;
}

.step-art {
  width: 100%;
  margin: 0 0 18px;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}

.step-art img {
  width: 100%;
  height: auto;
  display: block;
}

.step-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  max-width: 26ch;
  margin-top: auto;
}

.step-tip-icon {
  width: 28px;
  height: 28px;
  color: var(--brand);
  flex-shrink: 0;
}

.step-tip-icon--record { color: var(--record); }

.browser-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.browser-row span {
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  box-shadow: 0 2px 0 #e7eef5;
}

.faq details {
  max-width: 760px;
  margin: 0 auto 10px;
  background: #fff;
  border-radius: 12px;
  padding: 4px 8px;
  box-shadow: 0 2px 8px rgba(33, 48, 71, 0.06);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 14px 16px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 16px; color: var(--muted); }

.site-footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 48px 24px 24px;
}

.footer-cols {
  max-width: 1120px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-cols h4 { margin-bottom: 12px; color: #93c5fd; font-weight: 800; }
.footer-cols a { display: block; color: #bae6fd; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.footer-cols a:hover { text-decoration: underline; }

.copyright { text-align: center; color: #94a3b8; font-size: 13px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 400px; }
  .hero-blob { display: none; }
}

@media (max-width: 768px) {
  .header-inner { height: 56px; padding: 0 16px; }
  .logo { font-size: 18px; }
  nav { gap: 12px; }
  nav a { font-size: 13px; }

  .hero { padding: 84px 14px 52px; }
  .hero h1 { font-size: 28px; }
  .hero h2 { font-size: 16px; margin-bottom: 20px; }

  .url-bar {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-width: 2px;
  }

  .globe { display: none; }
  .url-bar input { font-size: 16px; padding: 10px 6px; }
  .url-bar button { width: 100%; min-width: 0; height: 52px; font-size: 18px; }

  .code-value { font-size: 34px; letter-spacing: 0.14em; }
  .card-grid, .footer-cols { grid-template-columns: 1fr; }
  .features h2, .how h2, .faq h2, .browsers h2 { font-size: 24px; }
}
