:root {
  --ink: #101820;
  --muted: #6d777b;
  --line: #e4ded2;
  --paper: #fbfaf5;
  --soft: #eef6f2;
  --soft-strong: #dff1eb;
  --accent: #3f967c;
  --accent-dark: #25745e;
  --gold: #e8a836;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
}

.lang-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 9px 14px;
}

.lang-button.is-active {
  background: var(--soft-strong);
  color: var(--accent-dark);
}

.hero {
  min-height: calc(100svh - 87px);
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(42px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(36px, 6vw, 84px);
  overflow: hidden;
}

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

.eyebrow,
.section-kicker {
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-top: 18px;
  font-size: clamp(52px, 8vw, 116px);
  line-height: 0.93;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin-top: 28px;
  color: #4f5b5f;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
  font-weight: 650;
}

.hero-actions,
.beta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
}

.primary-link {
  background: var(--accent);
  color: white;
}

.secondary-link {
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.bridge-mark {
  width: min(52vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 42%;
  background:
    radial-gradient(circle at 40% 32%, #ffffff 0 12%, transparent 42%),
    linear-gradient(135deg, #eff8f4, #fff8ec);
  box-shadow: inset 0 0 0 1px #e8e1d4, 0 34px 80px rgba(48, 84, 76, 0.16);
  animation: float 5s ease-in-out infinite;
}

.bridge-mark img {
  width: 42%;
  filter: drop-shadow(0 18px 26px rgba(19, 33, 35, 0.18));
}

.signal {
  position: absolute;
  width: 34%;
  height: 28%;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
  opacity: 0.75;
}

.signal-left {
  left: 0;
  transform: rotate(-18deg);
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(63, 150, 124, 0.16) 18px 26px);
}

.signal-right {
  right: 0;
  transform: rotate(18deg);
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(232, 168, 54, 0.18) 18px 26px);
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.feature-row h2,
.workflow h2,
.beta h2 {
  margin-top: 12px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
}

.feature-list {
  display: grid;
  gap: 28px;
}

.feature-list article {
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
}

.feature-list span {
  color: var(--gold);
  font-weight: 900;
}

.feature-list h3 {
  margin-top: 8px;
  font-size: 28px;
}

.feature-list p,
.workflow-copy p,
.beta p,
.mode-panel span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
  background: #fffdf8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-copy {
  position: static;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 6px;
  align-items: start;
  min-width: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: var(--soft);
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 18px;
}

.steps strong {
  display: block;
  grid-column: 2;
  min-width: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.18;
}

.steps span {
  display: block;
  grid-column: 2;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  font-weight: 600;
}

.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
}

.mode-panel {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 78% 18%, rgba(63, 150, 124, 0.22), transparent 34%),
    #fffdf8;
}

.mode-panel-dark {
  background:
    radial-gradient(circle at 82% 18%, rgba(232, 168, 54, 0.26), transparent 35%),
    #11191d;
  color: white;
  border-color: #11191d;
}

.mode-panel p {
  color: var(--accent-dark);
  font-weight: 900;
}

.mode-panel-dark p,
.mode-panel-dark span {
  color: #d8eee7;
}

.mode-panel h2 {
  margin-top: 12px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.beta {
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px) 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-weight: 650;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .feature-row,
  .workflow,
  .modes {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .workflow {
    gap: 30px;
    overflow: clip;
  }

  .workflow h2 {
    max-width: 720px;
    font-size: clamp(42px, 10vw, 64px);
    line-height: 1.02;
  }

  .workflow-copy p {
    max-width: 720px;
  }

  .hero-visual {
    order: -1;
    min-height: 320px;
  }

  .bridge-mark {
    width: min(78vw, 320px);
  }

  .signal {
    width: 38%;
  }

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

@media (max-width: 520px) {
  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .lang-button {
    flex: 1;
    padding-inline: 8px;
  }

  h1 {
    font-size: 48px;
  }

  .workflow {
    gap: 22px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .workflow h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .steps li {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 16px;
    padding: 22px 0;
  }

  .steps li::before {
    width: 64px;
    height: 64px;
    border-radius: 22px;
  }

  .steps strong {
    font-size: 28px;
  }

  .steps span {
    font-size: 18px;
    line-height: 1.48;
  }

  .mode-panel {
    min-height: 280px;
    border-radius: 28px;
  }
}
