:root {
  --ink: #e8eaed;
  --ink-soft: #a8adb6;
  --paper: #0b0d10;
  --surface: #14181f;
  --mist: #2a303a;
  --accent: #c5ccd6;
  --accent-bright: #f2f4f7;
  --highlight: #9aa3b0;
  --white: #ffffff;
  --max: 42rem;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --radius: 0.15rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(197, 204, 214, 0.08), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(255, 255, 255, 0.03), transparent 50%),
    linear-gradient(180deg, #0b0d10 0%, #12161c 100%);
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--accent-bright);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
  color: var(--paper);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--accent-bright);
}

.brand:hover {
  color: var(--white);
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-bright);
}

main {
  flex: 1;
}

.hero {
  min-height: min(88vh, 720px);
  display: grid;
  align-content: center;
  padding: clamp(2.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, #0a0c0f 0%, #151a22 55%, #0b0d10 100%),
    radial-gradient(circle at 70% 30%, rgba(197, 204, 214, 0.12), transparent 45%);
  color: var(--white);
  border-bottom: 1px solid var(--mist);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -35% 35%;
  height: 65%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06), transparent 65%);
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-3%, 5%, 0);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  animation: rise 0.8s ease-out both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  width: min(12rem, 55vw);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero p {
  margin: 0 auto 1.75rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 30rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent-bright);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--white);
  color: var(--paper);
}

.button-pending {
  cursor: default;
  opacity: 0.85;
}

.button-pending:hover {
  transform: none;
  background: var(--accent-bright);
  color: var(--paper);
}

.button-name {
  text-transform: none;
  letter-spacing: 0.02em;
}

.button-secondary {
  background: transparent;
  color: var(--accent-bright);
  border-color: var(--mist);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: var(--highlight);
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
}

#company,
#contact,
#about-heading {
  scroll-margin-top: 5rem;
}

.product-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.product-icon {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
}

.product-strip h2,
.section h1.name-plain,
.section h3.name-plain,
.name-plain {
  margin-top: 0;
  text-transform: none;
  letter-spacing: 0.02em;
}

.product-strip p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.product-strip .button {
  margin-top: 0.25rem;
}

#contact {
  background: var(--surface);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  animation: rise 0.7s ease-out both;
}

.section h1,
.section h2 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.section h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.section h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
}

.section > .section-inner > h2:first-child {
  margin-top: 0;
}

.section h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.meta-list li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--mist);
}

.meta-list span:first-child {
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.site-footer {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--mist);
  color: var(--ink-soft);
  font-size: 0.95rem;
  background: var(--surface);
}

.site-footer p {
  margin: 0;
  max-width: var(--max);
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .meta-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .product-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero::after,
  .hero-inner,
  .section-inner {
    animation: none;
  }

  .button:hover,
  .teaser:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------
   Components added for the product / marketing pages
   --------------------------------------------------------------- */

/* Small status pill — used for "in development" and similar states */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--mist);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--highlight);
}

/* Home-page teaser card linking through to the product */
.teaser {
  display: block;
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid var(--mist);
  border-radius: calc(var(--radius) * 4);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.teaser:hover {
  border-color: var(--highlight);
  transform: translateY(-2px);
  color: inherit;
}

.teaser h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent-bright);
}

.teaser p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.teaser-more {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

/* Free / paid tier comparison */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--mist);
  border-radius: calc(var(--radius) * 4);
  background: var(--surface);
}

.tier-paid {
  border-color: var(--highlight);
}

.tier h3 {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.tier-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  color: var(--ink);
}

.tier li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--highlight);
}

/* Numbered walkthrough — the order genuinely matters here */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.1rem 3rem;
  color: var(--ink-soft);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -0.1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--highlight);
}

.steps strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* Quiet small print for disclaimers */
.fine {
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--mist);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.fine p {
  margin: 0 0 0.6rem;
}

.fine p:last-child {
  margin: 0;
}

/* Faceted section used to break up long pages */
.band {
  background: var(--surface);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
