:root {
  color-scheme: light;
  --ink: #18262f;
  --muted: #5a6a73;
  --line: #d7dee1;
  --paper: #f4f6f7;
  --panel: #ffffff;
  --soft: #eef2f3;
  --blue: #245f66;
  --blue-dark: #25333c;
  --blue-deep: #18262f;
  --aqua: #196f77;
  --mint: #bdd1db;
  --gold: #c5902d;
  --clay: #b76445;
  --shadow: 0 22px 60px rgba(23, 32, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 229, 223, 0.78);
  background: rgba(251, 252, 248, 0.92);
  backdrop-filter: blur(18px);
}

.brand img,
.site-footer img {
  width: 190px;
  height: auto;
}

.main-nav,
.header-actions,
.hero-actions,
.legal-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav {
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a,
.site-footer a,
.legal-links a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover,
.legal-links a:hover {
  color: var(--aqua);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(36, 95, 102, 0.24);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border-color: rgba(36, 95, 102, 0.35);
  background: #fff;
  color: var(--blue-dark);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.button.large {
  min-height: 50px;
  padding-inline: 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(46px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 64px);
  background: #f7fafb;
  border-bottom: 1px solid var(--line);
}

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

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

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.8vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-text,
.section-heading p,
.beta-copy > p,
.proof-section p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.hero-actions {
  flex-wrap: wrap;
  margin: 30px 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 0;
}

.trust-row div {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(36, 95, 102, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.trust-row dt {
  margin-bottom: 7px;
  font-weight: 850;
}

.trust-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 51, 60, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--blue-dark);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
}

.hero-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 210px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(37, 51, 60, 0.92);
  color: #fff;
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.hero-panel strong {
  font-size: 1.36rem;
}

.section {
  padding: clamp(64px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 720px;
}

.workflow,
.pricing-grid,
.roadmap,
.excerpt-grid {
  display: grid;
  gap: 16px;
}

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

.workflow article,
.roadmap article,
.price-card,
.legal-teaser {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.workflow article {
  min-height: 246px;
  padding: 24px;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  border: 1px solid rgba(36, 95, 102, 0.24);
  border-radius: 50%;
  color: var(--aqua);
  font-weight: 850;
}

.workflow p,
.feature-card p,
.price-card p,
.price-card li,
.roadmap p,
.pricing-note,
.legal-teaser p,
.check-list {
  color: var(--muted);
}

.feature-band {
  background: #eef2f3;
}

.excerpt-section {
  background: #fff;
}

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

.excerpt-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.excerpt-grid img {
  width: 100%;
  aspect-ratio: 0.76;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.excerpt-grid h3,
.excerpt-grid p {
  padding-inline: 20px;
}

.excerpt-grid h3 {
  margin-top: 18px;
}

.excerpt-grid p {
  padding-bottom: 22px;
  color: var(--muted);
}

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

.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 95, 102, 0.16);
  border-radius: 8px;
  background: #fff;
}

.feature-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top left;
  background: #f8faf9;
  border-bottom: 1px solid var(--line);
}

.feature-card div {
  padding: 24px;
}

.feature-card h3 {
  font-size: 1.32rem;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 26px;
}

.price-card.highlighted {
  border-color: rgba(36, 95, 102, 0.55);
  box-shadow: var(--shadow);
}

.badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(197, 144, 45, 0.16);
  color: #7c5311;
  font-size: 0.78rem;
  font-weight: 850;
}

.price-head {
  min-height: 112px;
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price-head span,
.price-head small {
  display: block;
}

.price-head span {
  color: var(--aqua);
  font-weight: 850;
}

.price-head strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.price-head small {
  margin-top: 6px;
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li,
.check-list li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--aqua);
  content: "✓";
  font-weight: 900;
}

.price-card .button {
  margin-top: auto;
  width: 100%;
}

.pricing-note {
  max-width: 980px;
  margin: 22px 0 0;
}

.roadmap-section {
  background: var(--blue-dark);
  color: #fff;
}

.roadmap-section .eyebrow,
.roadmap-section .section-heading p {
  color: #bdd1db;
}

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

.roadmap article {
  min-height: 262px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.roadmap span {
  display: inline-block;
  margin-bottom: 32px;
  color: #bdd1db;
  font-weight: 850;
}

.roadmap p {
  color: rgba(255, 255, 255, 0.74);
}

.beta-section,
.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.legal-teaser {
  margin-top: 28px;
  padding: 24px;
}

.legal-links {
  flex-wrap: wrap;
}

.legal-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 750;
}

.signup-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(189, 209, 219, 0.72);
  border-color: var(--aqua);
}

.checkbox {
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 750;
}

.proof-section {
  background: #fff;
}

.proof-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-media img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #f4f7f2;
  color: var(--muted);
}

.site-footer p {
  max-width: 520px;
  margin: 12px 0 0;
}

.site-footer nav {
  align-self: center;
  flex-wrap: wrap;
}

.legal-page {
  background: #fff;
}

.legal-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 22px 80px;
}

.legal-shell header {
  margin-bottom: 34px;
}

.legal-shell h1 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.legal-shell h2 {
  margin-top: 34px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(197, 144, 45, 0.11);
  color: var(--ink);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--aqua);
  font-weight: 850;
  text-decoration: none;
}

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

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .hero,
  .beta-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

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

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

  .price-card {
    min-height: auto;
  }
}

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

  .header-actions,
  .main-nav {
    justify-content: flex-start;
  }

  .header-actions .button {
    flex: 1;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions .button,
  .signup-form .button {
    width: 100%;
  }

  .trust-row,
  .workflow,
  .feature-grid,
  .roadmap,
  .excerpt-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card img {
    min-height: 220px;
  }

  .feature-card div {
    padding: 0 20px 22px;
  }

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