:root {
  color-scheme: light;
  --ink: #102829;
  --ink-soft: #486061;
  --night: #071c1d;
  --mint: #22d3a4;
  --mint-dark: #087f65;
  --lime: #cbf36a;
  --cream: #f3f0e8;
  --paper: #fffdf8;
  --line: #d9dfd8;
  --amber: #f4bd4e;
  --shadow: 0 24px 70px rgba(7, 28, 29, 0.13);
  --radius-md: 20px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3,
.brand {
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
}

h1,
h2 {
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.15rem, 6.4vw, 6.3rem);
  font-weight: 700;
}

h1 em {
  color: var(--mint-dark);
  font-style: normal;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.4rem, 4vw, 4.25rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.28rem;
  line-height: 1.25;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--paper);
  color: var(--night);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 86px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--night);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a,
.header-status {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a {
  color: #41595a;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--mint-dark);
}

.header-status {
  display: inline-flex;
  padding: 0.7rem 1.05rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 710px;
  margin: 0 auto;
  padding: 6.2rem 0 7rem;
  grid-template-columns: minmax(0, 1.04fr) minmax(460px, 0.96fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -240px;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 164, 0.14), transparent 68%);
  content: "";
}

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

.eyebrow {
  display: flex;
  margin-bottom: 1.35rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--mint-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.text-link {
  font-weight: 700;
  text-decoration-color: #a9b6b0;
  text-underline-offset: 5px;
}

.availability {
  display: flex;
  margin: 1.5rem 0 0;
  align-items: center;
  gap: 0.55rem;
  color: #607273;
  font-size: 0.84rem;
  font-weight: 600;
}

.availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(34, 211, 164, 0.14);
}

.product-preview {
  position: relative;
  overflow: hidden;
  margin: 0;
  transform: rotate(1.5deg);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 26px;
  background: #dbe1e8;
  box-shadow: var(--shadow), -34px 34px 0 var(--cream);
}

.preview-framebar {
  position: relative;
  z-index: 2;
  display: flex;
  height: 46px;
  padding: 0 1rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d8dfe4;
  background: #fff;
}

.preview-dots {
  display: flex;
  align-items: center;
  gap: 0.32rem;
}

.preview-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7d0d5;
}

.preview-dots i:first-child {
  background: var(--mint);
}

.preview-label {
  color: #536665;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.preview-badge {
  padding: 0.27rem 0.52rem;
  border-radius: 999px;
  background: #e0f7ef;
  color: #08745d;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-image-link {
  display: block;
  overflow: hidden;
  background: #dbe1e8;
}

.product-screenshot {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: left top;
  transition: transform 220ms ease;
}

.preview-image-link:hover .product-screenshot,
.preview-image-link:focus-visible .product-screenshot {
  transform: scale(1.012);
}

.product-preview figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.38rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(7, 28, 29, 0.86);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}

.audience-strip {
  padding: 2.5rem max(1.5rem, calc((100% - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  text-align: center;
}

.audience-strip p {
  margin-bottom: 1.15rem;
  color: #657574;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audience-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.3rem, 6vw, 5rem);
  color: var(--ink);
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 700;
}

.section {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: 8rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8f7f2;
}

.feature-card-wide {
  display: grid;
  min-height: 370px;
  grid-column: 1 / -1;
  grid-template-columns: 50px minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  align-items: start;
  gap: 1.1rem;
}

.feature-card p {
  max-width: 520px;
  color: var(--ink-soft);
}

.feature-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #b9c6be;
  border-radius: 50%;
  color: #60736d;
  font-size: 0.74rem;
  font-weight: 800;
}

.connection-visual {
  position: relative;
  min-height: 270px;
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid #c8d4cb;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 35px rgba(17, 49, 46, 0.09);
  font-weight: 800;
}

.node-risk { top: 7px; left: 8%; border: 9px solid var(--mint); }
.node-control { top: 42px; left: 40%; width: 112px; height: 112px; border: 9px solid var(--lime); }
.node-evidence { right: 2%; bottom: 5px; border: 9px solid var(--amber); }
.node-action { bottom: -10px; left: 18%; width: 80px; height: 80px; border: 8px solid #7ac9f3; }

.line {
  position: absolute;
  z-index: 1;
  height: 1px;
  transform-origin: left center;
  background: #a8b8af;
}

.line-one { top: 75px; left: 24%; width: 24%; transform: rotate(9deg); }
.line-two { top: 129px; right: 15%; width: 30%; transform: rotate(32deg); }
.line-three { bottom: 69px; left: 31%; width: 31%; transform: rotate(-29deg); }

.workflow-visual {
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  padding: 1rem;
  border: 1px solid #d8e1da;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(13, 41, 42, 0.07);
  flex-direction: column;
  gap: 0.55rem;
}

.workflow-visual span {
  display: flex;
  padding: 0.5rem;
  align-items: center;
  gap: 0.6rem;
  color: #50645f;
  font-size: 0.8rem;
  font-weight: 600;
}

.workflow-visual i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #dff5ec;
  color: #14765f;
  font-style: normal;
}

.workflow-visual .current {
  border-radius: 9px;
  background: #effaf5;
  color: var(--ink);
}

.feature-card-dark {
  border-color: var(--night);
  background: var(--night);
  color: #fff;
}

.feature-card-dark .feature-number { border-color: #436061; color: #9ab1ad; }
.feature-card-dark p { color: #aabdb9; }

.report-visual {
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  left: 2.5rem;
  padding: 1.3rem;
  border: 1px solid #2b4849;
  border-radius: 14px;
  background: #0d292a;
}

.report-visual > div {
  display: flex;
  height: 82px;
  align-items: flex-end;
  gap: 0.7rem;
}

.report-visual span {
  display: block;
  width: 20%;
  border-radius: 4px 4px 0 0;
  background: var(--mint);
}

.report-visual span:nth-child(1) { height: 36%; opacity: 0.45; }
.report-visual span:nth-child(2) { height: 58%; opacity: 0.6; }
.report-visual span:nth-child(3) { height: 47%; opacity: 0.72; }
.report-visual span:nth-child(4) { height: 78%; opacity: 0.88; }
.report-visual span:nth-child(5) { height: 92%; }

.report-visual small {
  display: block;
  margin-top: 0.75rem;
  color: #8fa7a3;
}

.principles {
  display: grid;
  padding: 8rem max(1.5rem, calc((100% - var(--max-width)) / 2));
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 9vw, 8rem);
  background: var(--night);
  color: #fff;
}

.eyebrow-light { color: var(--mint); }

.principles-copy p:last-child {
  max-width: 520px;
  color: #aabdb9;
  font-size: 1.08rem;
}

.principle-list article {
  display: grid;
  padding: 1.8rem 0;
  grid-template-columns: 46px 1fr;
  gap: 1.3rem;
  border-top: 1px solid #294546;
}

.principle-list article:last-child { border-bottom: 1px solid #294546; }
.principle-list article > span { color: var(--mint); font-size: 0.78rem; font-weight: 800; }
.principle-list h3 { margin-bottom: 0.45rem; }
.principle-list p { margin-bottom: 0; color: #98aeaa; }

.deployment { padding-bottom: 7rem; }

.deployment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.deployment-grid article {
  display: grid;
  min-height: 250px;
  padding: 2rem;
  grid-template-columns: 54px 1fr;
  align-content: start;
  gap: 0.4rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8f7f2;
}

.deployment-grid article > p:last-child {
  margin: 1rem 0 0;
  grid-column: 2;
  color: var(--ink-soft);
}

.deployment-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  grid-row: 1 / 3;
  border-radius: 15px;
  background: #dff7ec;
  color: var(--mint-dark);
  font-size: 1.5rem;
  font-weight: 800;
}

.cloud-icon { font-size: 1.7rem; }
.card-label {
  margin-bottom: 0.25rem;
  color: var(--mint-dark);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.deployment-grid h3 { margin: 0; }

.separation-note {
  margin: 1.2rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--mint);
  background: #ecf7f1;
  color: #405957;
  font-size: 0.9rem;
}

.closing-message {
  display: flex;
  padding: 6.5rem max(1.5rem, calc((100% - var(--max-width)) / 2));
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  background: var(--mint-dark);
  color: #fff;
}

.closing-message > div { max-width: 780px; }
.closing-message h2 { margin-bottom: 0; }

.site-footer {
  display: grid;
  padding: 2.5rem max(1.5rem, calc((100% - var(--max-width)) / 2));
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  background: var(--night);
  color: #a5b9b5;
  font-size: 0.84rem;
}

.site-footer .brand { color: #fff; }
.site-footer p { margin: 0; }
.site-footer p:last-child { justify-self: end; }
.site-footer a:not(.brand) { color: #d9e8e4; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.error-page {
  min-height: 100vh;
  background: radial-gradient(circle at 80% 20%, rgba(34, 211, 164, 0.16), transparent 32%), var(--paper);
}

.error-shell {
  display: grid;
  width: min(calc(100% - 3rem), 900px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 0 5rem;
  align-content: space-between;
}

.error-shell > div {
  max-width: 760px;
  padding: 4rem 0;
}

.error-shell h1 { font-size: clamp(3rem, 8vw, 6rem); }

.error-shell > div > p:not(.eyebrow) {
  max-width: 550px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { max-width: 780px; }
  .product-preview { width: min(680px, calc(100% - 1.5rem)); margin: 1.5rem auto 0; }
  .feature-card-wide { grid-template-columns: 48px 1fr; }
  .connection-visual { grid-column: 1 / -1; min-height: 235px; }
  .principles { grid-template-columns: 1fr; }
  .principles-copy { max-width: 680px; }
  .closing-message { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p:nth-child(2) { display: none; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }

  .site-header {
    width: min(calc(100% - 2rem), var(--max-width));
    min-height: 72px;
  }

  .brand { font-size: 1.05rem; }
  .brand img { width: 36px; height: 36px; }
  .header-status { padding: 0.58rem 0.85rem; font-size: 0.78rem; }
  .hero, .section { width: min(calc(100% - 2rem), var(--max-width)); }
  .hero { min-height: 0; padding: 4rem 0 5.5rem; }
  h1 { font-size: clamp(2.85rem, 14.2vw, 4.6rem); }

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

  .product-preview {
    width: 100%;
    margin-top: 2.5rem;
    transform: none;
    box-shadow: 14px 18px 0 var(--cream);
  }

  .preview-framebar { height: 42px; padding: 0 0.75rem; }
  .preview-label { font-size: 0.61rem; }
  .product-preview figcaption { right: 0.5rem; bottom: 0.5rem; }
  .audience-strip { text-align: left; }

  .audience-strip div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .audience-strip div span {
    padding: 0.7rem 0;
    border-bottom: 1px solid #d4d9d2;
  }

  .section { padding: 5.5rem 0; }
  .feature-grid, .deployment-grid { grid-template-columns: 1fr; }
  .feature-card-wide { display: block; }
  .feature-number { margin-bottom: 1.4rem; }
  .connection-visual { min-height: 255px; margin-top: 1.5rem; }
  .node { transform: scale(0.82); }
  .node-risk { left: 0; }
  .node-control { left: 34%; }
  .node-evidence { right: -3%; }
  .node-action { left: 10%; }
  .feature-card { min-height: 420px; }

  .workflow-visual,
  .report-visual {
    right: 1.35rem;
    bottom: 1.35rem;
    left: 1.35rem;
  }

  .principles, .closing-message { padding: 5.5rem 1rem; }

  .deployment-grid article {
    grid-template-columns: 48px 1fr;
    padding: 1.5rem;
  }

  .deployment-icon { width: 48px; height: 48px; }
  .site-footer { padding: 2rem 1rem; grid-template-columns: 1fr; }
  .site-footer p:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
