:root {
  --brand: #00766c;
  --brand-deep: #004f49;
  --brand-mid: #005f56;
  --brand-soft: #e7f6f3;
  --brand-tint: #f2fbf9;
  --accent: #be2f1f;
  --accent-deep: #8f2118;
  --accent-warm: #fff2ed;
  --cream: #fff8ef;
  --paper: #fffdf8;
  --ink: #001b3a;
  --muted: #506b66;
  --line: #c9dfdc;
  --line-soft: #e3eeec;
  --shadow: 0 22px 54px rgba(0, 27, 58, .14);
  --shadow-soft: 0 12px 28px rgba(0, 27, 58, .08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 118, 108, .11), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, #f3fbfa 42%, #ffffff 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 118, 108, .32);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, .88);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner,
.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 174px;
  max-width: 48vw;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--brand-deep);
  padding: 10px 12px;
  font: inherit;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.nav-toggle-lines {
  display: grid;
  gap: 4px;
}

.nav-toggle-lines span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  flex-wrap: nowrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 8px;
  border-radius: 999px;
  color: #183b36;
  font-size: .86rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.site-nav .login-link {
  margin-left: 4px;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 118, 108, .22);
}

.site-nav .login-link:hover {
  color: var(--accent-deep);
  background: #ffffff;
}

.hero-copy {
  max-width: 540px;
}

.eyebrow,
.status,
.mini-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
}

.eyebrow {
  margin-bottom: 14px;
  padding: 8px 12px;
  background: #eafff9;
  border: 1px solid rgba(0, 118, 108, .20);
  color: var(--brand-deep);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5vw, 4.65rem);
  line-height: 1.04;
  font-weight: 950;
}

h2 {
  margin-bottom: 12px;
  font-size: 2.1rem;
  line-height: 1.15;
  color: var(--brand-deep);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-home p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, .9);
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.button:hover {
  background: var(--brand-deep);
}

.button.secondary {
  background: #ffffff;
  color: var(--brand-deep);
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--accent-deep);
  border-color: #efc2b9;
  background: #ffffff;
}

.button.accent {
  background: var(--accent);
}

.button.accent:hover {
  background: var(--accent-deep);
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(231, 246, 243, .92), rgba(255, 248, 239, .72)),
    linear-gradient(90deg, #ffffff, #f4fbfa);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 34px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 50px;
}

.page-hero.no-media .section-inner {
  display: block;
  max-width: 900px;
}

.page-hero h1 {
  color: var(--brand-deep);
  font-size: 3rem;
}

.hero-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #ffffff;
}

.hero-media img {
  width: 100%;
}

.section {
  padding: 64px 0;
}

.section.compact {
  padding: 38px 0;
}

.section.alt {
  background: var(--brand-tint);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section.warm {
  background: var(--cream);
  border-top: 1px solid #f2ded1;
  border-bottom: 1px solid #f2ded1;
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 52px;
  background:
    linear-gradient(135deg, rgba(255, 248, 239, .96), rgba(238, 251, 248, .94)),
    radial-gradient(circle at 80% 10%, rgba(0, 118, 108, .10), transparent 26rem);
  border-bottom: 1px solid var(--line-soft);
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 118, 108, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 118, 108, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
  gap: 34px;
  align-items: start;
}

.product-hero h1 {
  max-width: 520px;
  font-size: clamp(2.35rem, 3.35vw, 3.35rem);
  line-height: 1.08;
}

.hero-copy p {
  color: #315a54;
  font-size: 1.04rem;
  max-width: 560px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-badges span,
.float-badge,
.feature-chip-grid span,
.timeline-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 118, 108, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--brand-deep);
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(0, 27, 58, .05);
}

.trust-badges span {
  padding: 8px 11px;
  font-size: .9rem;
}

.hero-product {
  position: relative;
  min-height: 505px;
  margin-top: 10px;
}

.product-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-frame img {
  width: 100%;
}

.desktop-frame {
  position: absolute;
  top: 28px;
  right: 0;
  width: 88%;
}

.phone-frame {
  position: absolute;
  width: 25%;
  min-width: 148px;
  border-radius: 28px;
}

.phone-one {
  left: 2%;
  bottom: 8px;
}

.phone-two {
  right: 5%;
  bottom: 0;
}

.float-badge {
  position: absolute;
  padding: 8px 12px;
  font-size: .84rem;
}

.badge-one {
  left: 8%;
  top: 0;
}

.badge-two {
  right: 0;
  top: 0;
}

.badge-three {
  left: 36%;
  bottom: 34px;
}

.proof-strip {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line-soft);
}

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

.proof-grid article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f9fffd;
}

.module-mosaic {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 16px;
}

.module-large {
  grid-row: span 2;
  align-content: center;
  background: linear-gradient(180deg, #ffffff, #eafff9);
}

.product-section .section-header {
  margin-bottom: 28px;
}

.product-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 34px;
  align-items: center;
}

.product-split.reverse {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.wide-shot {
  max-height: 620px;
}

.wide-shot img {
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
}

.full-shot {
  max-width: 1040px;
  margin: 0 auto;
}

.dual-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.feature-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.feature-chip-grid span,
.timeline-list span {
  padding: 8px 11px;
}

.timeline-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.timeline-list span {
  width: fit-content;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.phone-tile {
  border-radius: 26px;
}

.phone-tile figcaption {
  padding: 11px 12px;
  color: var(--brand-deep);
  font-weight: 900;
}

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

.founder-section {
  background: #ffffff;
  border-top: 1px solid var(--line-soft);
}

.section-header {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--accent-deep);
  font-size: .86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card,
.module-card,
.screenshot-card,
.form-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
}

.card,
.module-card,
.contact-card {
  padding: 20px;
}

.card.topline,
.module-card {
  border-top: 4px solid var(--brand);
}

.card.accent-line,
.module-card:nth-child(3n),
.module-card:nth-child(5n) {
  border-top-color: var(--accent);
}

.card p,
.module-card p,
.contact-card p {
  color: var(--muted);
}

.card p:last-child,
.module-card p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.numbered {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand);
  color: #ffffff;
  font-weight: 950;
}

.status {
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: .76rem;
  text-transform: uppercase;
}

.status.dev {
  border-color: #f1c6b8;
  background: var(--accent-warm);
  color: var(--accent-deep);
}

.status.planned {
  border-color: #d8dfe6;
  background: #f2f5f7;
  color: #445360;
}

.module-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.why {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  color: #274842;
  font-size: .95rem;
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 12px 0 0 rgba(190, 47, 31, .72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: start;
}

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

.screen-stack {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 14px;
  align-items: start;
}

.screenshot-card {
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  background: #edf4f3;
}

.screenshot-card figcaption {
  padding: 14px;
}

figure {
  margin: 0;
}

figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-deep);
}

figcaption span {
  color: var(--muted);
}

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

.roadmap-column {
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.roadmap-column.dev {
  border-top-color: var(--accent);
}

.roadmap-column.planned {
  border-top-color: #6e7b85;
}

.roadmap-column ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.quote-band {
  border-left: 5px solid var(--accent);
  padding: 18px 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.quote-band p {
  margin-bottom: 0;
  color: #24463f;
  font-size: 1.08rem;
  font-weight: 850;
}

.cta-band {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.cta-band .button.secondary {
  border-color: rgba(255, 255, 255, .36);
}

.form-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px;
}

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

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.helper {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .9rem;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-row input {
  width: auto;
  margin-top: 5px;
}

.hp {
  position: absolute;
  left: -5000px;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--brand-deep);
  font-weight: 850;
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-header[data-nav-open="true"] .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .site-nav .login-link {
    margin-left: 0;
  }

  .grid.three,
  .grid.four,
  .roadmap,
  .screen-strip,
  .screen-stack,
  .proof-grid,
  .module-mosaic,
  .dual-screens,
  .phone-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .page-hero .section-inner,
  .hero-grid,
  .product-split,
  .product-split.reverse {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 500px;
  }

  .desktop-frame {
    position: relative;
    top: auto;
    width: 100%;
  }

  .phone-one {
    left: 0;
    bottom: 0;
  }

  .phone-two {
    right: 0;
    bottom: 16px;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .footer-inner,
  .section-inner {
    width: min(100% - 24px, 1160px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 162px;
  }

  h1 {
    font-size: 2.38rem;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-home p,
  .page-hero p,
  .lead {
    font-size: 1rem;
  }

  .button-row,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .grid.two,
    .grid.three,
    .grid.four,
    .roadmap,
    .screen-strip,
    .screen-stack,
    .proof-grid,
    .module-mosaic,
    .dual-screens,
    .phone-row,
    .form-grid {
    grid-template-columns: 1fr;
  }

  .product-hero {
    padding-top: 34px;
  }

  .hero-product {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .phone-frame {
    display: none;
  }

  .desktop-frame {
    grid-column: 1 / -1;
    position: static;
    width: 100%;
  }

  .trust-badges {
    display: none;
  }

  .float-badge {
    display: none;
  }

  .wide-shot img {
    max-height: none;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
