:root {
  --ink: #061a38;
  --muted: #52647a;
  --line: #d9e5eb;
  --paper: #ffffff;
  --surface: #f4fafb;
  --soft: #e9f4f5;
  --accent: #0c7d7a;
  --accent-strong: #075b60;
  --coral: #f46d5d;
  --shadow: 0 36px 90px rgba(6, 26, 56, 0.14);
}

html {
  scroll-padding-top: 92px;
}

body {
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(6, 26, 56, 0.035) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

.site-header,
.hero,
.proof-strip,
.section,
.footer {
  width: min(1240px, calc(100% - 56px));
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 82px;
  padding: 16px 0;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(6, 26, 56, 0.1);
}

.nav {
  gap: 10px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 720;
}

.nav a {
  padding: 10px 12px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent-strong);
  background: transparent;
}

.language-switcher {
  margin-left: 8px;
  border-color: #d6e1e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(6, 26, 56, 0.05);
}

.language-switcher button {
  min-width: 42px;
  min-height: 38px;
  border-radius: 7px;
  padding: 8px 10px;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  grid-template-columns: minmax(0, 0.95fr) minmax(470px, 1.05fr);
  gap: clamp(36px, 6vw, 92px);
  min-height: min(690px, calc(100vh - 82px));
  padding: clamp(42px, 5vw, 70px) 0 70px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -9vw;
  width: min(58vw, 800px);
  height: 76%;
  border-radius: 48% 0 0 48%;
  background: linear-gradient(145deg, #f3fafb 0%, #e9f5f6 100%);
  content: "";
}

.hero-copy {
  align-content: center;
  gap: 24px;
}

.hero h1 {
  max-width: 650px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 5.7vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.hero-copy .lead {
  max-width: 610px;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.85vw, 1.52rem);
  font-weight: 520;
  line-height: 1.48;
}

.hero-copy p:not(.lead) {
  max-width: 570px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.cta-row {
  gap: 14px;
  margin-top: 8px;
}

.button {
  min-height: 54px;
  border-radius: 9px;
  padding: 0 22px;
  font-size: 0.92rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--accent);
  box-shadow: 0 16px 35px rgba(12, 125, 122, 0.22);
}

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

.button.secondary {
  border-color: #a9cfd0;
  color: var(--accent-strong);
  background: #fff;
}

.product-visual {
  position: relative;
  align-self: center;
  margin: 0;
}

.product-visual::after {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: 4%;
  width: 70%;
  height: 20%;
  border-radius: 50%;
  background: rgba(6, 26, 56, 0.18);
  filter: blur(38px);
  content: "";
}

.product-visual > img {
  display: block;
  width: min(100%, 690px);
  max-height: 620px;
  margin: 0 auto;
  border-radius: 34px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.product-caption {
  position: absolute;
  right: -8px;
  bottom: 32px;
  display: grid;
  max-width: 250px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(6, 26, 56, 0.15);
  padding: 16px 18px;
  backdrop-filter: blur(16px);
}

.product-caption strong {
  font-size: 0.92rem;
}

.product-caption span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.proof-strip {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -30px;
  border-color: #d9e8ed;
  border-radius: 16px;
  background: linear-gradient(90deg, #f0f8fa, #f8fbfc);
  box-shadow: 0 18px 50px rgba(6, 26, 56, 0.07);
  padding: 12px 18px;
}

.proof-item {
  position: relative;
  gap: 6px;
  padding: 24px 28px 24px 54px;
}

.proof-item::before {
  position: absolute;
  top: 28px;
  left: 20px;
  width: 22px;
  height: 22px;
  border: 1px solid #aad2d3;
  border-radius: 50%;
  color: var(--accent);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
}

.proof-item + .proof-item {
  border-left: 1px solid #d9e8ed;
}

.proof-item strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.section {
  padding: 128px 0;
}

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

.section-label {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-heading > p:not(.section-label) {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.workflow-grid {
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 66px;
}

.workflow-grid::before {
  position: absolute;
  top: 29px;
  right: 16.5%;
  left: 16.5%;
  border-top: 1px dashed #a7c9cb;
  content: "";
}

.workflow-card {
  position: relative;
  z-index: 1;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 38px 0 0;
}

.workflow-card + .workflow-card {
  padding-left: 38px;
}

.workflow-card > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid #a7d1d2;
  border-radius: 50%;
  color: var(--ink);
  background: #f3fafb;
  font-size: 0.88rem;
  font-weight: 850;
}

.workflow-card strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.workflow-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

#features {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  gap: 84px;
  width: 100%;
  max-width: none;
  align-items: center;
  background: linear-gradient(110deg, #eef8f9 0%, #f8fbfc 100%);
  padding-right: max(28px, calc((100vw - 1240px) / 2));
  padding-left: max(28px, calc((100vw - 1240px) / 2));
}

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

.feature-card {
  position: relative;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid #cddfe4;
  border-radius: 0;
  background: transparent;
  padding: 30px 40px 30px 60px;
}

.feature-card:first-child {
  border-top: 1px solid #cddfe4;
}

.feature-card::before {
  position: absolute;
  top: 32px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: var(--accent);
  content: "→";
  font-size: 1rem;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
}

.feature-card:nth-child(2)::before {
  background: var(--ink);
}

.feature-card:nth-child(3)::before {
  background: var(--coral);
}

.feature-card strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.feature-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

#guardrails {
  position: relative;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
  gap: 80px;
  color: #fff;
  background: var(--ink);
  padding-right: max(28px, calc((100vw - 1240px) / 2));
  padding-left: max(28px, calc((100vw - 1240px) / 2));
}

#guardrails .section-label {
  color: #7bd0cd;
}

#guardrails .section-heading h2,
#guardrails .section-heading > p:not(.section-label) {
  color: #fff;
}

#guardrails .section-heading > p:not(.section-label) {
  color: #b7c6d7;
}

.timeline {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline-item {
  gap: 20px;
  border-left-color: #55bbb7;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-item span {
  color: #7bd0cd;
}

.timeline-item strong {
  color: #fff;
}

.copy-panel {
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
  padding: clamp(30px, 4vw, 52px);
}

.copy-panel h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.copy-panel p {
  color: var(--muted);
}

.guardrail-list {
  gap: 14px;
}

.guardrail-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
}

.guardrail-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--soft);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
}

.footer {
  min-height: 104px;
  padding: 30px 0;
}

.footer-links {
  gap: 24px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(12, 125, 122, 0.35);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .nav {
    width: auto;
    margin-left: auto;
  }

  .nav > a {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 8vw, 5.4rem);
  }

  #features,
  #guardrails {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .proof-strip,
  .section,
  .footer {
    width: min(100% - 32px, 1240px);
  }

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

  .brand span {
    font-size: 0.9rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 0 84px;
  }

  .hero::before {
    top: 48%;
    right: -16px;
    width: calc(100% + 32px);
    height: 48%;
    border-radius: 120px 0 0 0;
  }

  .hero h1 {
    max-width: 540px;
    font-size: clamp(3.55rem, 17vw, 5.2rem);
  }

  .hero-copy .lead {
    font-size: 1.16rem;
  }

  .product-visual {
    margin-top: 18px;
  }

  .product-visual > img {
    max-height: none;
    border-radius: 22px;
  }

  .product-caption {
    right: 10px;
    bottom: 10px;
    max-width: 215px;
    padding: 13px 14px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: -24px;
    padding: 8px 16px;
  }

  .proof-item + .proof-item {
    border-top: 1px solid #d9e8ed;
    border-left: 0;
  }

  .section {
    padding: 92px 0;
  }

  .section-heading h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .workflow-grid::before {
    top: 29px;
    bottom: 29px;
    left: 29px;
    width: 1px;
    height: auto;
    border-top: 0;
    border-left: 1px dashed #a7c9cb;
  }

  .workflow-card,
  .workflow-card + .workflow-card {
    padding: 0 0 0 84px;
  }

  .workflow-card > span {
    position: absolute;
    top: 0;
    left: 0;
  }

  #features,
  #guardrails {
    width: 100%;
    gap: 54px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .feature-card {
    padding-right: 0;
  }

  .copy-panel {
    border-radius: 14px;
  }

  .footer,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button {
    transition: none;
  }
}
