/* Tabnado landing page. No external resources: system fonts, local media only. */
:root {
  --bg: #ffffff;
  --bg-2: #f4f6fb;
  --text: #141a33;
  --text-2: #4a5272;
  --text-3: #5d6483;
  --line: #e2e6f0;
  --accent: #2f45e0;
  --accent-h: #2236c4;
  --accent-text: #2f45e0;
  --orange: #f07a2a;
  --cta: #c2410c;
  --cta-h: #9a3412;
  --hero-1: #1c2a9c;
  --hero-2: #2f45e0;
  --hero-3: #129bb5;
  --card: #ffffff;
  --shadow: 0 1px 2px rgb(20 26 51 / 6%), 0 12px 32px rgb(20 26 51 / 12%);
  --radius: 14px;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1120;
    --bg-2: #181e36;
    --text: #e9ecf8;
    --text-2: #b4bad3;
    --text-3: #8f96b3;
    --line: #262d48;
    --accent: #4b62f0;
    --accent-h: #6176ff;
    --accent-text: #8fa0ff;
    --card: #151a2e;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 45%);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent-text);
}
h1,
h2 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h2 {
  font-size: clamp(26px, 3.4vw, 36px);
}
p {
  margin: 0 0 14px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 760px;
}
.small {
  font-size: 15px;
  color: var(--text-3);
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 10px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  background: var(--bg);
  padding: 8px 12px;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 17px;
  box-shadow: 0 6px 18px rgb(194 65 12 / 35%);
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.btn:hover {
  background: var(--cta-h);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgb(194 65 12 / 45%);
}
.btn:focus-visible {
  outline-color: var(--accent-text);
  outline-offset: 3px;
}
.hero .btn:focus-visible,
.final .btn:focus-visible {
  outline-color: #fff;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 15px;
  box-shadow: none;
}
.btn-light,
.btn-light:hover {
  background: #fff;
  color: var(--hero-1);
  box-shadow: 0 8px 24px rgb(0 0 0 / 25%);
}
.link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.9;
}
.link:hover {
  text-decoration: underline;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 19px;
}
.brand img {
  border-radius: 8px;
}
.brand b {
  color: var(--orange);
}
.top-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.top-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.top-nav a:hover {
  color: var(--text);
}
@media (max-width: 640px) {
  .top-nav {
    display: none;
  }
  .top-inner .btn-sm {
    margin-left: auto;
  }
}

/* Hero */
.hero {
  color: #fff;
  padding: 64px 0 72px;
  background: radial-gradient(
      900px 500px at 100% 100%,
      rgb(18 155 181 / 55%),
      transparent 60%
    ),
    linear-gradient(135deg, var(--hero-1), var(--hero-2));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 48px;
  align-items: center;
}
.hero .eyebrow {
  color: #c9d2ff;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  text-wrap: balance;
}
.hero h1 span {
  color: #ffb37d;
  white-space: nowrap;
}
.lead {
  font-size: 19px;
  color: #dfe4ff;
  max-width: 34em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: 26px 0 14px;
}
.hero .fine {
  font-size: 14px;
  color: #c9d2ff;
  margin: 0;
}
@media (max-width: 900px) {
  .hero {
    padding: 32px 0 44px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lead {
    font-size: 17px;
  }
  .cta-row {
    margin: 20px 0 10px;
  }
  .hide-sm {
    display: none;
  }
}

/* Media frames */
.frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0e1120;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero .frame {
  border-color: rgb(255 255 255 / 18%);
  box-shadow: 0 24px 60px rgb(5 10 40 / 50%);
}
.shot {
  max-width: 440px;
  width: 100%;
  justify-self: center;
  background: var(--card);
}
@media (prefers-color-scheme: dark) {
  .frame {
    border-color: #34406b;
  }
}

/* Pledges */
.pledges {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.pledge-list strong {
  font-size: 17px;
}
.pledge-list {
  list-style: none;
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pledge-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 30px;
  position: relative;
}
.pledge-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.pledge-list span {
  color: var(--text-2);
  font-size: 15px;
}
@media (max-width: 760px) {
  .pledge-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Features */
.feature {
  padding: 80px 0;
}
.feature + .feature {
  padding-top: 16px;
}
.lead-stack {
  display: grid;
  gap: 36px;
}
.lead-stack .feature-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  align-items: start;
}
.lead-stack .feature-copy > .eyebrow,
.lead-stack .feature-copy > h2 {
  grid-column: 1 / -1;
}
.lead-stack .feature-copy > p:not(.eyebrow) {
  grid-column: 1;
}
.lead-stack .checks {
  grid-column: 2;
  grid-row: 3;
  margin-top: -8px;
}
.lead-stack .frame {
  max-width: 1000px;
  width: 100%;
  justify-self: center;
}
@media (max-width: 900px) {
  .lead-stack .feature-copy {
    display: block;
  }
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.feature-grid.flip .feature-copy {
  order: 2;
}
.feature-lead .feature-grid {
  grid-template-columns: 1fr 1.3fr;
}
.feature-copy p {
  color: var(--text-2);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.checks li {
  position: relative;
  padding-left: 26px;
  margin: 8px 0;
  color: var(--text-2);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.checks strong {
  color: var(--text);
}
@media (max-width: 900px) {
  .feature {
    padding: 56px 0;
  }
  .feature-grid,
  .feature-lead .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-grid.flip .feature-copy {
    order: 0;
  }
}

/* Steps */
.steps {
  background: var(--bg-2);
  padding: 72px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-cta {
  margin-top: 32px;
}
.step-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.step-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-list span:last-child {
  color: var(--text-2);
  font-size: 15px;
}
.num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 8px;
}
@media (max-width: 760px) {
  .step-list {
    grid-template-columns: 1fr;
  }
}

/* Privacy */
.privacy {
  padding: 88px 0;
}
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.privacy p {
  color: var(--text-2);
}
.perms {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.perms div {
  display: grid;
  grid-template-columns: 11em 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.perms div:last-child {
  border-bottom: 0;
}
.perms dt {
  font-weight: 700;
}
.perms dd {
  margin: 0;
  color: var(--text-2);
}
@media (max-width: 900px) {
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .privacy {
    padding: 56px 0;
  }
}
@media (max-width: 520px) {
  .perms div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Maker */
.maker {
  padding: 64px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.maker-inner {
  max-width: 820px;
  text-align: center;
}
.maker-inner .who {
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
}
.maker-inner p:first-child {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}
.maker + .faq {
  background: var(--bg);
}

/* FAQ */
.faq {
  padding: 72px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary:hover {
  color: var(--accent-text);
}
summary::after {
  content: '+';
  color: var(--accent-text);
  font-size: 26px;
  line-height: 0.8;
  font-weight: 400;
}
details[open] summary::after {
  content: '–';
}
details p {
  color: var(--text-2);
}

/* Final CTA */
.final {
  text-align: center;
  color: #fff;
  padding: 72px 0;
  background: linear-gradient(
    135deg,
    var(--hero-1),
    var(--hero-2) 60%,
    var(--hero-3)
  );
}
.final h2 {
  margin-bottom: 24px;
}
.btn-final {
  font-size: 18px;
  padding: 16px 30px;
  box-shadow: 0 10px 28px rgb(5 10 40 / 40%);
}

/* Footer */
.foot {
  padding: 28px 0 36px;
  font-size: 14px;
  color: var(--text-3);
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.foot a {
  color: var(--text-2);
  text-decoration: none;
}
.foot a:hover {
  text-decoration: underline;
}
.tm {
  font-size: 12px;
  margin-top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

/* Legal pages */
.legal {
  padding: 40px 0 72px;
}
.legal h1 {
  font-size: clamp(30px, 4vw, 40px);
  margin-top: 8px;
}
.legal h2 {
  font-size: 21px;
  margin: 32px 0 8px;
}
.legal p,
.legal li {
  color: var(--text-2);
}
.legal address {
  font-style: normal;
  color: var(--text);
}
.legal table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  margin: 8px 0 16px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.legal th {
  color: var(--text-3);
  font-weight: 600;
}
.legal td {
  color: var(--text-2);
}
@media (max-width: 560px) {
  .legal table,
  .legal tbody,
  .legal tr,
  .legal td,
  .legal th {
    display: block;
  }
  .legal thead {
    display: none;
  }
  .legal td:first-child {
    font-weight: 700;
    color: var(--text);
    border-bottom: 0;
    padding-bottom: 0;
  }
}
.legal h3 {
  font-size: 17px;
  margin: 22px 0 6px;
}
@media (max-width: 640px) {
  .top-nav.legal-nav {
    display: flex;
  }
}
.frame {
  position: relative;
}
.vid-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font:
    600 13px/1 system-ui,
    sans-serif;
  background: rgb(14 17 32 / 72%);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  opacity: 0.85;
}
.vid-toggle:hover,
.vid-toggle:focus-visible {
  opacity: 1;
}
.vid-toggle {
  min-height: 32px;
}
.vid-toggle:focus-visible {
  outline-color: #fff;
}
@media (max-width: 640px) {
  .lead-stack .frame {
    margin-inline: -20px;
    width: auto;
    max-width: none;
    border-radius: 0;
    border-inline: 0;
  }
}

/* Short-copy layout: text columns are brief, so give them presence. */
.feature-copy h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}
.feature-copy p {
  font-size: 19px;
}
.maker-inner h2 {
  margin-bottom: 12px;
}
.quote {
  padding: 72px 0 24px;
}
.quote .maker-inner p:first-child {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
  font-weight: 500;
}
.lead-stack .checks li {
  margin: 6px 0;
}
.maker-inner p.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-text);
}
