@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/vendor/SpaceMono-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/vendor/SpaceMono-Bold.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg: #101411;
  --surface: #171d19;
  --surface-strong: #1f2822;
  --ink: #f2f5f1;
  --muted: #b8c4bd;
  --line: #344039;
  --accent: #48c7b8;
  --accent-strong: #90e3da;
  --accent-soft: rgba(72, 199, 184, 0.16);
  --blue: #a8c2ff;
  --gold: #f0b45f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --content: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(72, 199, 184, 0.12), transparent 30rem),
    linear-gradient(180deg, #101411 0%, #131914 62%, #0f1311 100%);
  color: var(--ink);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: var(--content);
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.nav-cta,
.primary-button,
.secondary-button {
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-nav a,
.text-link {
  text-decoration-color: rgba(144, 227, 218, 0.5);
  text-underline-offset: 5px;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--accent-strong);
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 700;
  text-decoration: none;
}

.nav-cta,
.primary-button {
  border: 1px solid #d8fff9;
  background: #edf8f6;
  color: #101411;
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(23, 29, 25, 0.72);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 34px;
  width: var(--content);
  min-height: auto;
  margin: 0 auto;
  padding: 34px 0 14px;
}

.hero-copy,
.section-heading,
.copy-stack {
  min-width: 0;
}

.hero-copy {
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.35vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 1.02rem;
  white-space: nowrap;
}

.hero-subtitle {
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  overflow-wrap: break-word;
}

.hero-subtitle strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
}

.trust-strip div,
.feature-grid article,
.requirements-list div,
.preview-window,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 29, 25, 0.82);
  box-shadow: var(--shadow);
}

.trust-strip div {
  flex: 0 1 auto;
  min-width: 12.5rem;
  max-width: 16rem;
  min-height: 0;
  padding: 13px 22px;
  text-align: center;
}

.trust-strip dt {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.trust-strip dd {
  margin-left: 0;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.hero-product {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-window {
  width: 100%;
  max-width: 980px;
  overflow: hidden;
}

.preview-bar {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  background: #121713;
}

.preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.preview-bar span:nth-child(1) {
  background: #ff8172;
}

.preview-bar span:nth-child(2) {
  background: var(--gold);
}

.preview-bar span:nth-child(3) {
  background: var(--accent);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 16px;
  padding: 18px;
}

.preview-chat,
.preview-status {
  min-width: 0;
  border: 1px solid rgba(144, 227, 218, 0.16);
  border-radius: 8px;
  background: #111713;
  padding: 16px;
}

.preview-label,
.preview-status p {
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.message {
  width: min(92%, 28rem);
  border-radius: 8px;
  padding: 14px;
  font-size: 0.82rem;
}

.message + .message {
  margin-top: 12px;
}

.message-user {
  margin-left: auto;
  border: 1px solid #385a8f;
  background: #1c2c45;
}

.message-assistant {
  margin-right: auto;
  border: 1px solid var(--line);
  background: #18201a;
  color: var(--muted);
}

.preview-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.preview-status img {
  width: min(132px, 70%);
  height: auto;
  margin: 8px auto 18px;
}

.preview-status strong {
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.meter {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #354039;
}

.meter span {
  display: block;
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.section,
.final-cta {
  width: var(--content);
  margin: 0 auto;
  padding: 38px 0;
}

.section-heading {
  max-width: none;
  margin-bottom: 22px;
}

#how-it-works {
  padding-top: 20px;
  scroll-margin-top: 86px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading p:last-child,
.copy-stack p,
.requirements-list span,
.feature-grid p,
details p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.feature-grid article {
  padding: 18px;
}

.step {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.copy-stack {
  max-width: none;
}

.copy-stack p {
  font-size: 1rem;
}

.requirements-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.requirements-list div {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
}

.requirements-list strong {
  color: var(--ink);
}

.faq {
  max-width: 900px;
}

details {
  padding: 15px 18px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

details p {
  margin: 14px 0 0;
}

.final-cta {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding-bottom: 64px;
}

.final-cta h2 {
  max-width: 820px;
}

.guide-hero {
  width: var(--content);
  margin: 0 auto;
  padding: 48px 0 34px;
  text-align: center;
}

.guide-hero h1 {
  max-width: 17ch;
}

.guide-hero .hero-subtitle {
  max-width: 780px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: var(--content);
  margin: 0 auto;
  padding: 24px 0 54px;
}

.guide-block {
  max-width: 900px;
}

.guide-block h2 {
  margin-bottom: 16px;
}

.guide-block p,
.guide-block li {
  color: var(--muted);
}

.guide-list {
  display: grid;
  gap: 12px;
  padding-left: 1.3rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 29, 25, 0.82);
  box-shadow: var(--shadow);
  padding: 18px;
}

.guide-card h3 {
  display: block;
  white-space: normal;
}

.guide-card p {
  color: var(--muted);
}

.guide-card a {
  font-weight: 700;
}

.guide-cta {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.guide-cta p {
  max-width: 760px;
}

.article-hero h1 {
  max-width: 22ch;
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: start;
}

.article-body {
  max-width: 780px;
  min-width: 0;
}

.article-body h2 {
  margin-top: 38px;
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.article-body p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  overflow-wrap: break-word;
}

.article-body p:first-child {
  color: var(--ink);
  font-weight: 700;
}

.article-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 12px;
}

.article-sidebar .guide-card {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.article-sidebar .guide-card h2 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.article-sidebar .guide-card a:not(.primary-button) {
  font-weight: 700;
  text-decoration-color: rgba(144, 227, 218, 0.5);
  text-underline-offset: 5px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .split-section,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-product {
    align-self: auto;
  }

  .article-sidebar {
    position: static;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    --content: min(1120px, calc(100% - 28px));
  }

  .site-header {
    gap: 12px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    max-width: 16ch;
    font-size: clamp(2.2rem, 10vw, 2.75rem);
    white-space: normal;
  }

  .guide-hero h1 {
    max-width: 12ch;
    font-size: clamp(1.95rem, 8.5vw, 2.25rem);
  }

  .guide-hero .hero-subtitle {
    max-width: 31ch;
  }

  .guide-hero .hero-actions {
    width: min(100%, 18rem);
    max-width: calc(100vw - 56px);
  }

  .guide-hero .primary-button,
  .guide-hero .secondary-button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
    white-space: normal;
  }

  .hero-subtitle {
    max-width: 31ch;
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 21rem);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
  }

  .trust-strip {
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }

  .trust-strip div {
    flex: 1 1 7rem;
    width: auto;
    min-width: 0;
    padding: 12px 8px;
  }

  .trust-strip dt {
    font-size: 0.76rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .trust-strip dd {
    font-size: 0.68rem;
  }

  .preview-grid,
  .requirements-list div {
    grid-template-columns: 1fr;
  }

  .section,
  .final-cta {
    padding: 34px 0;
  }

  #how-it-works {
    padding-top: 18px;
    scroll-margin-top: 72px;
  }
}
