:root {
  color-scheme: light;
  --background: #f3f6f5;
  --surface: #ffffff;
  --foreground: #172a25;
  --primary: #087c6c;
  --primary-dark: #075e53;
  --primary-soft: #e1f2ed;
  --secondary: #e9f2ef;
  --muted: #61736d;
  --border: #d9e2df;
  --coral: #e76f51;
  --ink: #0b3437;
  --shadow: 0 28px 70px rgb(19 52 46 / 0.11);
  --radius: 0.7rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.hero[id],
.section[id] {
  scroll-margin-top: 6rem;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.65;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--foreground);
  color: #fff;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(217 226 223 / 0.85);
  background: rgb(243 246 245 / 0.9);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--foreground);
  font-size: 1.4rem;
  font-weight: 760;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 0.65rem;
  box-shadow: 0 8px 24px rgb(8 124 108 / 0.18);
}

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

.primary-nav a,
.site-footer a {
  color: #405b54;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.site-footer a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.78rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: var(--surface);
  color: #35534b;
  cursor: pointer;
  font-weight: 650;
}

.language-button svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.language-button:hover {
  border-color: #92b9b0;
  color: var(--primary);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid var(--primary);
  border-radius: 0.68rem;
  background: var(--primary);
  color: #fff;
  font-weight: 730;
  text-decoration: none;
  box-shadow: 0 12px 28px rgb(8 124 108 / 0.2);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--primary-dark);
  box-shadow: 0 16px 34px rgb(8 124 108 / 0.24);
  transform: translateY(-2px);
}

.button svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-small {
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: -14rem;
  right: -8rem;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: #dff1ec;
  opacity: 0.72;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.15fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 15ch;
  margin: 0;
  color: #14322c;
  font-size: clamp(2.75rem, 5.6vw, 5.1rem);
  font-weight: 760;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.hero-summary {
  max-width: 660px;
  margin: 1.7rem 0 0;
  color: #4b625c;
  font-size: clamp(1.05rem, 1.55vw, 1.23rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.3rem;
  margin-top: 2rem;
}

.availability-note {
  max-width: 660px;
  margin: 1.35rem 0 0;
  padding: 0.8rem 0.95rem;
  border-left: 3px solid var(--primary);
  border-radius: 0 0.55rem 0.55rem 0;
  background: rgb(225 242 237 / 0.72);
  color: #4b625c;
  font-size: 0.92rem;
  line-height: 1.55;
}

.availability-note strong {
  color: var(--primary-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-dark);
  font-weight: 720;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin: 1.8rem 0 0;
  padding: 0;
  color: #546a64;
  font-size: 0.92rem;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 1.05rem;
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--primary);
}

.hero-figure {
  margin: 0;
}

.figure-frame {
  position: relative;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: rgb(255 255 255 / 0.72);
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.figure-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1rem -1.1rem -1.1rem 1rem;
  border: 1px solid #9dccbf;
  border-radius: 1.35rem;
}

.figure-frame img {
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
}

.hero-figure figcaption {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.25rem 0 0 1.3rem;
  color: #587069;
  font-size: 0.88rem;
  font-weight: 600;
}

.figure-status {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgb(8 124 108 / 0.1);
}

.proof-strip {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid > div {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 1.4rem 2rem;
  border-right: 1px solid var(--border);
}

.proof-grid > div:first-child {
  border-left: 1px solid var(--border);
}

.proof-grid strong {
  color: var(--ink);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.proof-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

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

.section-heading h2,
.privacy-grid h2,
.closing-card h2 {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 740;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-heading > p:last-child,
.privacy-grid > div > p,
.sticky-heading > p:last-child {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.figure-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

.figure-card {
  min-width: 0;
  padding: 1.15rem 1.15rem 1.45rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.figure-card:hover {
  border-color: #a8cac2;
  box-shadow: 0 18px 45px rgb(23 53 47 / 0.08);
  transform: translateY(-4px);
}

.mini-chart {
  height: 136px;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  border-radius: 0.72rem;
  background: #f1f6f4;
  overflow: hidden;
}

.mini-chart svg {
  width: 90%;
  height: 90%;
}

.mini-chart .axis,
.mini-chart .tree,
.mini-chart .box-line {
  fill: none;
  stroke: #49625c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.mini-chart .guide {
  fill: none;
  stroke: #a3beb7;
  stroke-dasharray: 4 4;
  stroke-width: 1;
}

.dots-neutral {
  fill: #617b75;
}

.dots-accent {
  fill: var(--coral);
}

.dots-second {
  fill: var(--primary);
}

.cluster {
  fill: rgb(8 124 108 / 0.06);
  stroke-width: 1.2;
}

.cluster-a {
  stroke: var(--coral);
}

.cluster-b {
  stroke: var(--primary);
}

.heat-cells path:nth-child(3n + 1) {
  fill: #247c55;
}

.heat-cells path:nth-child(3n + 2) {
  fill: #f5f3ef;
}

.heat-cells path:nth-child(3n) {
  fill: #81388d;
}

.violin {
  stroke-width: 1.4;
}

.violin-a {
  fill: rgb(231 111 81 / 0.2);
  stroke: var(--coral);
}

.violin-b {
  fill: rgb(8 124 108 / 0.18);
  stroke: var(--primary);
}

.card-number {
  margin: 0 0 0.45rem;
  color: #61736d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 700;
}

.figure-card h3,
.steps h3 {
  margin: 0;
  color: var(--foreground);
  font-size: 1.22rem;
  line-height: 1.35;
}

.figure-card > p:last-child {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.workflow-section {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1fr);
  align-items: start;
  gap: clamp(4rem, 9vw, 9rem);
}

.sticky-heading {
  position: sticky;
  top: 126px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--border);
}

.steps li:last-child {
  border-bottom: 1px solid var(--border);
}

.step-index {
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 700;
}

.steps p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.privacy-section {
  background: var(--ink);
  color: #eef8f5;
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(4rem, 10vw, 9rem);
}

.privacy-grid h2 {
  max-width: 14ch;
  color: #fff;
}

.privacy-grid > div > p {
  max-width: 680px;
  color: #b9cbc6;
}

.privacy-mark {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgb(217 243 236 / 0.22);
  border-radius: 50%;
  background: rgb(8 124 108 / 0.18);
}

.privacy-mark::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgb(217 243 236 / 0.2);
  border-radius: 50%;
}

.privacy-mark svg {
  position: relative;
  width: 42%;
  fill: none;
  stroke: #d9f3ec;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.privacy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  padding: 0.9rem 1rem;
  border: 1px solid rgb(217 243 236 / 0.16);
  border-radius: 0.65rem;
  background: rgb(255 255 255 / 0.04);
  color: #d6e7e2;
  font-size: 0.92rem;
  font-weight: 600;
}

.closing-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.closing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: 1.35rem;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 22px 55px rgb(8 124 108 / 0.2);
}

.closing-card .eyebrow {
  color: #e3f7f2;
}

.closing-card h2 {
  max-width: 15ch;
  color: #fff;
}

.button-light {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

.button-light:hover {
  background: #eaf7f3;
}

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

.footer-inner {
  min-height: 110px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.footer-brand {
  font-size: 1.15rem;
}

:focus-visible {
  outline: 3px solid #075e53;
  outline-offset: 3px;
}

.privacy-section :focus-visible,
.closing-card :focus-visible {
  outline-color: #fff;
}

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

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

  h1 {
    max-width: 17ch;
  }

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

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

  .figure-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 70px;
    gap: 0.75rem;
  }

  .brand {
    font-size: 1.22rem;
  }

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

  .button-small {
    display: none;
  }

  .hero {
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .hero-summary {
    font-size: 1.03rem;
  }

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

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .figure-frame {
    transform: none;
  }

  .figure-frame::after {
    display: none;
  }

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

  .proof-grid > div,
  .proof-grid > div:first-child {
    min-height: 100px;
    padding: 1rem;
    border: 0;
    border-bottom: 1px solid var(--border);
  }

  .proof-grid > div:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .figure-cards {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    gap: 2rem;
  }

  .steps li {
    grid-template-columns: 48px 1fr;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .privacy-mark {
    width: min(72vw, 280px);
    margin-inline: auto;
  }

  .privacy-list {
    grid-template-columns: 1fr;
  }

  .closing-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-light {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding-block: 2rem;
    text-align: center;
  }

  .footer-brand {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .button:hover,
  .figure-card:hover {
    transform: none;
  }
}
