/* src/styles.css */
:root {
  color: #13231f;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #10231f;
  --muted: #5d6d66;
  --pine: #123f35;
  --pine-2: #1c5b4c;
  --leaf: #7ba789;
  --mist: #e9f0e8;
  --paper: #fcfdf8;
  --line: #d8e1d7;
  --copper: #a76d4f;
  --sky: #dfeef2;
  background: #f7f8f3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

body, button, input {
  font: inherit;
}

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

a:focus-visible {
  outline: 3px solid #8bb996e0;
  outline-offset: 4px;
}

button:focus-visible {
  outline: 3px solid #8bb996e0;
  outline-offset: 4px;
}

img, svg {
  display: block;
}

main, .hero, .positioning-band, .section, .closing-band, .site-footer {
  overflow-x: hidden;
  max-width: 100vw;
}

.site-nav, .hero-copy, .positioning-band p, .section-kicker, .section-heading, .module-grid, .infra-grid, .early-section, .closing-band > div {
  min-width: 0;
}

.positioning-band p, .section-heading h2, .early-copy h2, .closing-band h2 {
  overflow-wrap: anywhere;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f8fbf4;
  background: radial-gradient(circle at 78% 18%, #76a88b85, #0000 28%), linear-gradient(135deg, #0b211e 0%, #123f35 48%, #245d4d 100%);
  min-height: calc(100svh - 56px);
  padding: 18px clamp(18px, 4vw, 56px) 72px;
}

.hero:after {
  position: absolute;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, #0a1816d1, #0000);
  height: 38%;
  inset: auto 0 0;
}

.site-nav {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 24px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

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

.brand img {
  width: 34px;
  height: 34px;
}

.site-nav nav {
  display: flex;
  color: #f8fbf4c2;
  align-items:  center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
}

.site-nav nav a, .nav-cta {
  transition: color .16s, border-color .16s, background .16s;
}

.site-nav nav a:hover {
  color: #fff;
}

.nav-cta {
  color: #fbfff9;
  border: 1px solid #f8fbf452;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
}

.nav-cta:hover {
  background: #f8fbf41f;
  border-color: #f8fbf49e;
}

.hero-visual {
  position: absolute;
  z-index: -1;
  opacity: .82;
  inset: 0;
}

.workspace-preview {
  position: absolute;
  display: grid;
  grid-template-columns: 150px minmax(420px, 610px);
  overflow: hidden;
  background: #f6f9f2eb;
  border: 1px solid #ffffff29;
  border-radius: 28px;
  width: min(760px, 64vw);
  min-height: 560px;
  bottom: 4%;
  right: max(-40px, -3vw);
  transform: rotate(-2deg);
  box-shadow: 0 42px 120px #00000052;
}

.preview-sidebar {
  display: flex;
  color: #10231fbd;
  background: #eaf1e8d1;
  border-right: 1px solid #123f351f;
  flex-direction: column;
  gap: 16px;
  padding: 28px 20px;
  font-size: 14px;
}

.preview-dot {
  background: linear-gradient(135deg, #123f35, #7ba789);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
}

.preview-main {
  display: flex;
  color: #10231f;
  flex-direction: column;
  gap: 28px;
  padding: 26px;
}

.preview-toolbar {
  display: flex;
  color: #536a61;
  border-bottom: 1px solid #123f351f;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  font-size: 13px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 20px;
}

.mail-stack {
  display: grid;
  gap: 12px;
}

.mail-stack div {
  background: linear-gradient(90deg, #123f3524, #0000 44%), #fff;
  border: 1px solid #123f351f;
  border-radius: 18px;
  height: 78px;
}

.identity-panel {
  display: flex;
  background: linear-gradient(#dfeef2d1, #fffffff0), #fff;
  border: 1px solid #123f3524;
  border-radius: 22px;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  gap: 13px;
  min-height: 340px;
  padding: 22px;
}

.identity-panel strong {
  font-size: 22px;
  line-height: 1.12;
}

.identity-panel span {
  color: #5d6d66;
  font-size: 14px;
  line-height: 1.5;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: clamp(74px, 13vh, 128px) auto 0;
  padding-right: min(46vw, 560px);
}

.eyebrow, .section-kicker {
  color: var(--leaf);
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
  font-size: 12px;
  font-weight: 760;
}

.hero h1 {
  color: #fff;
  margin: 14px 0 20px;
  font-size: clamp(72px, 13vw, 164px);
  line-height: .88;
}

.hero-text {
  color: #f8fbf4d6;
  max-width: 620px;
  margin: 0;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.24;
}

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

.primary-action, .secondary-action {
  display: inline-flex;
  border-radius: 999px;
  justify-content: center;
  align-items:  center;
  gap: 9px;
  min-height: 48px;
  font-weight: 720;
}

.primary-action {
  color: #0d251f;
  background: #f8fbf4;
  padding: 0 20px;
}

.primary-action.dark {
  color: #fff;
  background: var(--pine);
}

.secondary-action {
  color: #f8fbf4;
  border: 1px solid #f8fbf447;
  padding: 0 18px;
}

.hero-proof {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
}

.hero-proof li {
  color: #f8fbf4c7;
  background: #f8fbf414;
  border: 1px solid #f8fbf42e;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
}

.positioning-band {
  background: #f7f8f3;
  padding: clamp(34px, 7vw, 74px) clamp(18px, 4vw, 56px);
}

.positioning-band p {
  color: var(--ink);
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 720;
  line-height: 1.04;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 4vw, 56px);
}

.product-section {
  background: var(--paper);
}

.trust-section {
  background: linear-gradient(#dfeef285, #f7f8f300), #eef4ee;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: clamp(28px, 6vw, 82px);
  max-width: 1180px;
  margin: 12px auto 42px;
}

.section-heading h2, .early-copy h2, .closing-band h2 {
  color: var(--ink);
  margin: 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
}

.section-heading p, .early-copy p {
  color: var(--muted);
  margin: 7px 0 0;
  font-size: 18px;
  line-height: 1.62;
}

.section-kicker {
  color: var(--copper);
  max-width: 1180px;
  margin: 0 auto;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  max-width: 1180px;
  margin: 0 auto;
}

.module-card {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff94;
  min-height: 188px;
  padding: 20px;
}

.module-card.featured {
  background: linear-gradient(160deg, #7ba78938, #ffffffc7 62%), #fff;
}

.module-card svg, .infra-icon {
  color: var(--pine-2);
}

.module-badge {
  position: absolute;
  color: var(--pine-2);
  background: #fcfdf8db;
  border: 1px solid #123f3524;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 760;
  top: 18px;
  right: 18px;
}

.module-card h3 {
  color: var(--ink);
  margin: 34px 0 8px;
  font-size: 20px;
}

.module-card p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.48;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.infra-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  border: 1px solid var(--line);
  background: #fcfdf8d1;
  border-radius: 8px;
  gap: 16px;
  min-height: 170px;
  padding: 20px;
}

.infra-icon {
  display: grid;
  background: var(--mist);
  border: 1px solid #1c5b4c2e;
  border-radius: 8px;
  place-items:  center;
  width: 42px;
  height: 42px;
}

.infra-card h3 {
  color: var(--ink);
  margin: 0 0 8px;
  font-size: 18px;
}

.infra-card p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.56;
}

.early-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, .9fr);
  background: var(--paper);
  gap: clamp(36px, 7vw, 100px);
}

.early-copy {
  justify-self: end;
  max-width: 560px;
}

.early-copy .section-kicker {
  margin: 0 0 12px;
}

.status-list {
  display: grid;
  border-top: 1px solid var(--line);
  list-style: none;
  gap: 0;
  max-width: 620px;
  margin: 0;
  padding: 0;
}

.status-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  gap: 16px;
  padding: 24px 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.34;
}

.status-list svg {
  color: var(--copper);
  margin-top: 5px;
}

.closing-band {
  display: flex;
  color: var(--ink);
  background: var(--sky);
  justify-content: space-between;
  align-items:  flex-end;
  gap: 28px;
  padding: clamp(62px, 9vw, 104px) clamp(18px, 4vw, 56px);
}

.closing-band > div {
  max-width: 760px;
}

.closing-band ul {
  display: grid;
  color: #3f5a52;
  list-style: none;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
}

.closing-band .eyebrow {
  color: var(--pine-2);
  margin-bottom: 14px;
}

.site-footer {
  display: flex;
  color: #61726a;
  background: #f7f8f3;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 56px);
  font-size: 14px;
}

@media (max-width: 1020px) {
  .workspace-preview {
    display: none;
  }

  .hero-copy {
    padding-right: 0;
  }

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

  .section-heading, .early-section {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .early-copy {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 14px 16px 72px;
  }

  .site-nav nav, .nav-cta, .workspace-preview {
    display: none;
  }

  .hero-copy {
    max-width: calc(100vw - 32px);
    margin-top: 72px;
  }

  .hero-actions {
    flex-direction: column;
    align-items:  flex-start;
  }

  .primary-action, .secondary-action {
    width: 100%;
    max-width: 284px;
  }

  .hero h1 {
    font-size: clamp(68px, 24vw, 118px);
  }

  .hero-text {
    max-width: 342px;
    font-size: 20px;
  }

  .positioning-band p {
    font-size: clamp(28px, 9.5vw, 38px);
    line-height: 1.08;
  }

  .section-heading h2, .early-copy h2, .closing-band h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .section-heading > *, .module-card, .infra-card, .early-section > * {
    min-width: 0;
  }

  .section-heading p, .module-card p, .infra-card p, .status-list li {
    overflow-wrap: anywhere;
  }

  .module-grid, .infra-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 150px;
  }

  .module-card h3 {
    margin-top: 28px;
  }

  .closing-band, .site-footer {
    flex-direction: column;
    align-items:  flex-start;
  }
}
