:root {
  color-scheme: light;
  --ink: #141414;
  --muted: #5f625f;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --line: #d8d4c8;
  --teal: #169f91;
  --teal-dark: #0b6159;
  --coral: #ff5c38;
  --yellow: #ffd166;
  --green: #95d46a;
  --shadow: 0 18px 50px rgba(24, 24, 22, 0.12);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, #fbfaf5 0%, #f3f0e6 48%, #ffffff 100%);
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  background: rgba(251, 250, 245, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 4px solid var(--teal);
  border-radius: 50%;
  box-shadow: 7px 7px 0 -2px var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-size: 0.94rem;
}

.nav-links a,
.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ad-layout {
  display: grid;
  grid-template-areas:
    "top top top"
    "left main right"
    "bottom bottom bottom";
  grid-template-columns: minmax(118px, 160px) minmax(0, 1180px) minmax(118px, 160px);
  gap: clamp(12px, 1.8vw, 22px);
  width: min(100%, 1580px);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 28px) clamp(12px, 2vw, 24px) 0;
}

.ad-main {
  grid-area: main;
  min-width: 0;
}

.ad-slot {
  min-width: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.ad-slot-top {
  grid-area: top;
  min-height: 92px;
}

.ad-slot-bottom {
  grid-area: bottom;
  min-height: 108px;
  margin-bottom: clamp(22px, 4vw, 44px);
}

.ad-slot-left,
.ad-slot-right {
  position: sticky;
  top: 92px;
  height: min(640px, calc(100vh - 118px));
  min-height: 420px;
  align-self: start;
}

.ad-slot-left {
  grid-area: left;
}

.ad-slot-right {
  grid-area: right;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  max-width: 1180px;
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 68px) 0 38px;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.7rem);
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(3rem, 3.9vw, 4.55rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.05rem;
}

.lede {
  max-width: 720px;
  margin: 0;
  color: #353733;
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  line-height: 1.62;
}

.answer-list {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin: 0;
  padding-left: 22px;
  color: #3d403c;
  line-height: 1.55;
}

.answer-list li::marker {
  color: var(--teal-dark);
  font-weight: 900;
}

.hero-support {
  display: grid;
  gap: 12px;
  width: min(100%, 760px);
}

.hero-support .lede {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.58;
}

.hero-support .answer-list {
  max-width: 760px;
  font-size: 0.94rem;
}

.lookup-shell {
  display: grid;
  gap: 14px;
  width: min(100%, 760px);
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
}

.input-wrap {
  position: relative;
}

.input-wrap input,
.waitlist-form input,
.waitlist-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #bcb7aa;
  border-radius: 6px;
  color: var(--ink);
  background: #fffefa;
  font: inherit;
}

.waitlist-form textarea {
  min-height: 104px;
  padding-top: 14px;
  resize: vertical;
}

.input-wrap input:focus,
.waitlist-form input:focus,
.waitlist-form textarea:focus {
  outline: 3px solid rgba(22, 159, 145, 0.2);
  border-color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: #fffefa;
  font: inherit;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.1);
}

.btn.primary {
  color: #ffffff;
  background: var(--ink);
}

.btn.secondary {
  background: var(--yellow);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.lookup-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.result-panel {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf5;
}

.result-panel[hidden] {
  display: none;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result-title {
  display: grid;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(22, 159, 145, 0.14);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 850;
}

.profile-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.avatar {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  font-weight: 900;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-copy {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.profile-copy p {
  margin: 0;
  overflow-wrap: anywhere;
}

.metric-grid,
.video-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 8px;
}

.metric-grid span,
.video-stats span {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 6px;
  background: #fffefa;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.metric-grid strong,
.video-stats strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-actions.compact .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 138px;
  min-height: 44px;
  padding: 0 14px;
  text-align: center;
}

.video-result {
  display: grid;
  grid-template-columns: minmax(112px, 150px) minmax(0, 1fr);
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.video-thumb {
  position: relative;
  display: grid;
  min-height: 190px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5)),
    repeating-linear-gradient(135deg, #2fd6c7 0 14px, #95d46a 14px 28px, #ffd166 28px 42px, #ff5c38 42px 56px);
  color: #ffffff;
  font-weight: 900;
  text-align: center;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-preview-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0f0f0f;
}

.video-copy {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 10px;
}

.video-copy h4,
.video-copy p {
  margin: 0;
}

.video-copy p {
  color: #3d403c;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mini-label {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.story-visual {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
  justify-self: end;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #191919;
  color: #fffefa;
  box-shadow: var(--shadow);
  transform: translateX(clamp(12px, 2vw, 30px));
}

.story-visual.has-video {
  gap: 12px;
  padding: 16px;
}

.video-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fffefa;
}

.video-preview-head span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.video-preview-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-preview-card {
  position: relative;
  display: grid;
  min-height: min(420px, calc(100vh - 360px));
  overflow: hidden;
  place-items: center;
  border: 1px solid #4b4b47;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5)),
    repeating-linear-gradient(135deg, #2fd6c7 0 14px, #95d46a 14px 28px, #ffd166 28px 42px, #ff5c38 42px 56px);
  color: #ffffff;
  font-weight: 900;
}

.video-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-mark {
  position: absolute;
  display: inline-grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.play-mark:hover,
.play-mark:focus-visible {
  transform: scale(1.04);
}

.video-preview-card.is-playing .play-mark,
.video-thumb.is-playing .play-mark {
  opacity: 0;
  pointer-events: none;
}

.play-mark::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #ffffff;
}

.video-preview-copy {
  display: grid;
  gap: 4px;
}

.video-preview-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-preview-copy span,
.retention-note {
  color: #d8d4c8;
  font-size: 0.84rem;
  line-height: 1.4;
}

.retention-note {
  margin: 0;
}

.result-panel > .retention-note {
  color: var(--muted);
}

.preview-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.preview-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  text-align: center;
  text-decoration: none;
}

.video-embed {
  overflow: hidden;
  border: 1px solid #4b4b47;
  border-radius: 8px;
  background: #0f0f0f;
}

.video-embed iframe {
  display: block;
  width: 100%;
  min-height: min(660px, calc(100vh - 210px));
  border: 0;
  background: #111111;
}

.story-visual.has-video .video-stats {
  grid-template-columns: repeat(3, 1fr);
}

.story-visual.has-video .video-stats span {
  border-color: #4b4b47;
  background: #111111;
  color: #d8d4c8;
}

.story-visual.has-video .video-stats strong {
  color: var(--yellow);
}

.phone-frame {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #4b4b47;
  border-radius: 8px;
  background: #111111;
}

.story-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.story-ring {
  aspect-ratio: 1;
  border: 3px solid var(--coral);
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 45%, #fffefa 0 12%, transparent 13%),
    linear-gradient(135deg, #2fd6c7, #ffd166 58%, #ff5c38);
}

.story-ring:nth-child(2) {
  border-color: var(--yellow);
  background:
    radial-gradient(circle at 50% 44%, #111111 0 10%, transparent 11%),
    linear-gradient(135deg, #95d46a, #2fd6c7 58%, #fffefa);
}

.story-ring:nth-child(3) {
  border-color: var(--teal);
  background:
    radial-gradient(circle at 48% 45%, #fffefa 0 11%, transparent 12%),
    linear-gradient(135deg, #ff5c38, #ffd166 58%, #95d46a);
}

.story-card {
  display: grid;
  min-height: 260px;
  align-content: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid #393936;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82) 100%),
    repeating-linear-gradient(135deg, #2fd6c7 0 14px, #95d46a 14px 28px, #ffd166 28px 42px, #ff5c38 42px 56px);
}

.story-card p {
  margin: 0;
  max-width: 220px;
  line-height: 1.45;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.signal {
  padding: 10px;
  border: 1px solid #4b4b47;
  border-radius: 6px;
}

.signal strong {
  display: block;
  color: var(--yellow);
}

.section-band {
  padding: clamp(44px, 7vw, 86px) 0;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.info-card,
.keyword-card,
.faq-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.info-card p,
.keyword-card p,
.faq-item p,
.content-section p,
.article-shell p {
  color: #3d403c;
  line-height: 1.65;
}

.keyword-card strong {
  display: block;
  margin-bottom: 8px;
}

.table-wrap {
  width: 100%;
  margin-top: 24px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}

.comparison-table caption {
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: #111111;
  background: #f3efe3;
}

.comparison-table td {
  background: rgba(255, 255, 255, 0.7);
  color: #3d403c;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 850;
}

.waitlist-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  flex: 1 1 420px;
  margin: 0;
}

.page-main {
  padding: clamp(34px, 6vw, 80px) clamp(18px, 4vw, 42px);
}

.article-shell {
  max-width: 880px;
  margin: 0 auto;
}

.article-shell h1 {
  font-size: clamp(2.5rem, 6vw, 5.1rem);
}

.article-shell .lede {
  margin-top: 18px;
}

.content-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.related-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-pages h2 {
  flex-basis: 100%;
}

.related-pages a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .ad-layout {
    grid-template-areas:
      "top"
      "main"
      "bottom";
    grid-template-columns: minmax(0, 1fr);
    padding-inline: clamp(14px, 4vw, 24px);
  }

  .ad-slot-left,
  .ad-slot-right {
    display: none;
  }

  .ad-slot-top {
    min-height: 76px;
  }

  .ad-slot-bottom {
    min-height: 88px;
  }

  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    white-space: normal;
    font-size: clamp(3rem, 12vw, 4.8rem);
  }

  .story-visual {
    position: static;
    justify-self: stretch;
    transform: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ad-layout {
    gap: 12px;
    padding: 10px 10px 0;
  }

  .ad-slot-top {
    min-height: 56px;
  }

  .ad-slot-bottom {
    min-height: 68px;
    margin-bottom: 24px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .lookup-form {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .video-result {
    grid-template-columns: 1fr;
  }

  .video-thumb {
    min-height: 220px;
  }

  .table-wrap {
    max-width: calc(100vw - 36px);
  }

  .comparison-table {
    min-width: 640px;
  }
}
