:root {
  color-scheme: dark;
  --bg: #071210;
  --bg-strong: #0d2723;
  --ink: #f5fbf8;
  --muted: #9aaca7;
  --panel: #10201d;
  --panel-soft: #17342f;
  --line: #25413c;
  --teal: #7bcfc2;
  --teal-dark: #a8e5dc;
  --blue: #315fbe;
  --coral: #ff7a66;
  --gold: #f0c15a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(123, 207, 194, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 18%, rgba(49, 95, 190, 0.16), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--teal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(123, 207, 194, 0.16);
  background: rgba(7, 18, 16, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 820;
}

.brand img {
  width: 42px;
  border-radius: 22%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.marketing-hero {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78svh;
  margin: 0 auto;
  padding: 92px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding-top: 34px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.15rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(2.45rem, 5.4vw, 4.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.lede {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.1vw, 1.32rem);
}

.app-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.app-icon {
  width: clamp(64px, 8vw, 86px);
  border-radius: 22%;
  box-shadow: 0 20px 40px rgba(8, 58, 53, 0.22);
}

.app-name {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 820;
}

.app-kicker {
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 680;
}

.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: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal);
  color: #071210;
  font-weight: 760;
}

.button:hover {
  background: var(--teal-dark);
  color: #071210;
}

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--teal-dark);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(123, 207, 194, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 760;
}

.hero-screens {
  min-height: 620px;
  position: relative;
}

.phone-frame {
  overflow: hidden;
  border: 10px solid #0b0d10;
  border-radius: 46px;
  background: #0b0d10;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 34px;
}

.phone-main {
  width: min(64%, 300px);
  position: absolute;
  right: 16%;
  top: 0;
  transform: rotate(4deg);
}

.phone-float {
  width: min(58%, 270px);
  position: absolute;
  left: 2%;
  bottom: 0;
  transform: rotate(-8deg);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

.feature-band {
  padding-top: 88px;
}

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

.feature-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(123, 207, 194, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.feature-card.accent {
  background: linear-gradient(160deg, rgba(123, 207, 194, 0.16), rgba(255, 255, 255, 0.052));
}

.feature-number {
  display: block;
  margin-bottom: 26px;
  color: var(--teal);
  font-weight: 840;
}

.feature-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.screen-section {
  padding-top: 40px;
}

.screen-copy {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.screen-grid article {
  overflow: hidden;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(123, 207, 194, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.screen-grid img {
  width: 100%;
  margin-bottom: 16px;
  border: 8px solid #0b0d10;
  border-radius: 34px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.screen-grid h3 {
  font-size: 1rem;
}

.screen-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-section {
  margin-bottom: 54px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  border: 1px solid rgba(123, 207, 194, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(123, 207, 194, 0.16), rgba(49, 95, 190, 0.16));
}

.cta-section h2 {
  max-width: 740px;
}

.cta-section p {
  max-width: 680px;
  color: rgba(245, 251, 248, 0.76);
}

.rate-board {
  justify-self: center;
  width: min(100%, 390px);
  padding: 22px;
  border: 1px solid rgba(11, 120, 111, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.rate-board img {
  width: 86px;
  margin-bottom: 28px;
  border-radius: 22%;
}

.rate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.rate-row:first-of-type {
  border-top: 0;
}

.rate-label {
  color: var(--muted);
  font-weight: 700;
}

.rate-value {
  font-size: clamp(1.32rem, 2.3vw, 1.72rem);
  font-weight: 840;
  font-variant-numeric: tabular-nums;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card.accent-teal {
  border-top: 4px solid var(--teal);
}

.card.accent-blue {
  border-top: 4px solid var(--blue);
}

.card.accent-coral {
  border-top: 4px solid var(--coral);
}

.card.accent-gold {
  border-top: 4px solid var(--gold);
}

.card p,
.prose p,
.prose li {
  color: var(--muted);
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.use-cases article {
  min-height: 178px;
  padding: 24px;
  background: var(--panel);
}

.use-case-number {
  display: block;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 840;
}

.reviewer-note {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 56px;
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.reviewer-note span {
  font-weight: 760;
}

.reviewer-note a,
.prose a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose {
  max-width: 840px;
}

.prose h2 {
  margin-top: 44px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.prose h3 {
  margin-top: 28px;
}

.prose ul {
  padding-left: 22px;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

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

.meta-table th {
  width: 230px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta-table tr:last-child th,
.meta-table tr:last-child td {
  border-bottom: 0;
}

code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel-soft);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .marketing-hero,
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 54px 0 38px;
  }

  .hero-screens {
    min-height: 560px;
  }

  .phone-main {
    right: 4%;
    width: min(62%, 270px);
  }

  .phone-float {
    left: 0;
    width: min(56%, 245px);
  }

  .rate-board {
    display: none;
  }

  .grid,
  .grid.two,
  .feature-grid,
  .use-cases {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .meta-table,
  .meta-table tbody,
  .meta-table tr,
  .meta-table th,
  .meta-table td {
    display: block;
    width: 100%;
  }

  .meta-table th {
    padding-bottom: 6px;
  }

  .meta-table td {
    padding-top: 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-screens {
    min-height: 490px;
  }

  .phone-frame {
    border-width: 7px;
    border-radius: 34px;
  }

  .phone-frame img {
    border-radius: 25px;
  }

  .phone-main {
    width: 58%;
  }

  .phone-float {
    width: 52%;
  }

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