:root {
  color-scheme: dark;
  --bg: #071316;
  --surface: #102125;
  --surface-strong: #172c30;
  --paper: #f5fbf7;
  --ink: #eef8f6;
  --text: #eef8f6;
  --muted: #adc2bd;
  --accent: #29dccb;
  --accent-strong: #90f0d2;
  --warm: #f6bd60;
  --coral: #f97066;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #061113;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(7, 19, 22, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

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

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.document {
  width: min(860px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 84px) 0 80px;
}

.hero {
  position: relative;
  min-height: min(760px, 88svh);
  display: flex;
  align-items: flex-end;
  padding: clamp(42px, 7vw, 86px) clamp(22px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-home {
  background:
    linear-gradient(135deg, rgba(10, 35, 38, 0.78) 0%, rgba(6, 17, 19, 0.98) 42%, rgba(19, 49, 48, 0.74) 100%),
    linear-gradient(90deg, rgba(41, 220, 203, 0.12), rgba(246, 189, 96, 0.08)),
    #081719;
}

.hero-copy {
  width: min(720px, 100%);
  padding-bottom: min(5vh, 40px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-lede,
.lede {
  color: var(--text);
  font-size: clamp(1.06rem, 2.2vw, 1.34rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #051011;
  background: var(--accent);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.band {
  padding: clamp(42px, 7vw, 72px) clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.intro-band {
  background: #f2faf5;
  color: #102125;
}

.intro-band .eyebrow,
.intro-band p {
  color: #3c6d64;
}

.intro-band h2 {
  color: #102125;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: start;
}

.section,
.showcase {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.feature-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.support-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.support-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  max-width: 100%;
  padding: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(41, 220, 203, 0.58);
  outline-offset: 2px;
}

.form-note {
  margin-top: 0;
  font-size: 0.92rem;
}

.feature-card:nth-child(2) {
  border-color: rgba(246, 189, 96, 0.42);
}

.feature-card:nth-child(3) {
  border-color: rgba(41, 220, 203, 0.42);
}

.feature-card:nth-child(4) {
  border-color: rgba(249, 112, 102, 0.36);
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
  align-items: end;
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.legal-band {
  background: #0b171a;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-list a {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

h1 {
  margin: 0 0 12px;
  max-width: 780px;
  font-size: clamp(3rem, 9vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.document h1 {
  font-size: clamp(2.7rem, 8vw, 5.4rem);
}

.document h2 {
  margin-top: 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.1;
}

h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.2;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
}

section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.section,
.showcase,
.hero,
.band {
  border-top: 0;
}

.document section {
  margin-top: 34px;
}

.meta {
  color: var(--accent);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

ol,
ul {
  padding-left: 1.2rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #050d0f;
}

.site-footer p {
  margin: 0;
  font-size: 0.94rem;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
  }

  .hero-home {
    background:
      linear-gradient(145deg, rgba(10, 35, 38, 0.84) 0%, rgba(6, 17, 19, 0.98) 54%, rgba(19, 49, 48, 0.74) 100%),
      linear-gradient(90deg, rgba(41, 220, 203, 0.12), rgba(246, 189, 96, 0.08)),
      #081719;
  }

  .content-grid,
  .feature-grid,
  .support-grid,
  .form-row,
  .screenshot-row,
  .link-list {
    grid-template-columns: 1fr;
  }

  .screenshot-row {
    max-width: 380px;
    margin: 0 auto;
  }

  .feature-card,
  .support-grid article {
    min-height: 0;
  }
}

@media (max-width: 460px) {
  .document {
    width: min(100% - 36px, 860px);
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.4rem);
  }
}
