:root {
  --base: #ffffff;
  --primary: #00754a;
  --accent: #f4b71b;
  --ink: #10231b;
  --muted: #52665d;
  --line: rgba(0, 117, 74, 0.18);
  --green-tint: #eef7f2;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--base);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}

body,
a,
video {
  -webkit-tap-highlight-color: transparent;
}

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

img,
video {
  display: block;
}

::selection {
  color: var(--ink);
  background: var(--accent);
}

.site-header {
  position: relative;
  z-index: 20;
  height: 84px;
  background: var(--base);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding-left: max(20px, calc((100% - 1240px) / 2));
}

.language-nav {
  height: 100%;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 3px;
  border-left: 1px solid var(--line);
}

.language-nav a {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.02em;
  transition: color 160ms ease, background 160ms ease;
}

.language-nav a:hover,
.language-nav a:focus-visible {
  color: var(--primary);
  background: var(--green-tint);
}

.language-nav a[aria-current="page"] {
  color: var(--base);
  background: var(--primary);
}

.download-link {
  min-width: 240px;
  height: 100%;
  padding: 0 30px;
  justify-self: end;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  background: var(--accent);
  border-left: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease;
}

.download-arrow {
  font-size: 22px;
  font-weight: 720;
  transition: transform 180ms ease;
}

.download-link:hover,
.download-link:focus-visible {
  color: var(--base);
  background: var(--primary);
}

.download-link:hover .download-arrow,
.download-link:focus-visible .download-arrow {
  transform: translate(3px, -3px);
}

.download-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.download-link strong {
  font-size: 13px;
  letter-spacing: -0.02em;
}

.download-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 780;
  letter-spacing: -0.055em;
}

.brand {
  width: 48px;
}

.brand img,
.footer-brand img {
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(16, 35, 27, 0.15);
}

.hero {
  position: relative;
  min-height: calc(100svh - 84px);
  padding: 16px 20px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--base);
  background: var(--primary);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 0.94;
  font-weight: 790;
  letter-spacing: -0.075em;
}

.hero-title em {
  position: relative;
  color: var(--base);
  font-style: italic;
}

.hero-title em::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 5px;
  content: "";
  background: var(--accent);
  transform: rotate(-0.8deg);
}

.hero-description {
  max-width: 1180px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.demo-window {
  position: relative;
  z-index: 3;
  width: min(1500px, calc(100% - 8px), calc(177.78svh - 604.45px));
  margin: 16px 0 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--base);
  border: 7px solid var(--base);
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(0, 47, 30, 0.42), 0 9px 0 rgba(16, 35, 27, 0.14);
}

.demo-toolbar {
  height: 44px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(16, 35, 27, 0.1);
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights span {
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.28;
}

.traffic-lights span:first-child {
  background: var(--accent);
  opacity: 1;
}

.demo-title {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.shortcut {
  justify-self: end;
  display: flex;
  gap: 4px;
}

.shortcut kbd {
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--green-tint);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.demo-window video {
  width: 100%;
  height: auto;
  background: #f2f2f2;
}

.languages-section {
  padding: 150px 24px 116px;
  background: linear-gradient(rgba(244, 183, 27, 0.08), rgba(244, 183, 27, 0)) top / 100% 260px no-repeat, var(--base);
}

.section-shell {
  width: min(1100px, 100%);
  margin-inline: auto;
}

.languages-section h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: 0.97;
  font-weight: 790;
  letter-spacing: -0.075em;
}

.supported-language-list {
  margin: 56px 0 0;
  padding-top: 30px;
  color: var(--primary);
  border-top: 1px solid var(--line);
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.75;
  font-weight: 650;
  letter-spacing: -0.035em;
}

footer {
  min-height: 110px;
  padding: 28px max(24px, calc((100% - 1100px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--base);
  background: var(--primary);
}

.footer-brand {
  width: max-content;
  font-size: 18px;
}

footer > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

footer > p:last-child {
  justify-self: end;
}

.privacy-link {
  margin-left: 8px;
  color: var(--base);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 3px;
}

.privacy-link:hover,
.privacy-link:focus-visible {
  text-decoration-color: var(--accent);
}

.policy-hero {
  padding: 96px 24px 88px;
  color: var(--base);
  background: var(--primary);
}

.policy-hero-inner,
.policy-content {
  width: min(900px, 100%);
  margin-inline: auto;
}

.policy-eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 790;
  letter-spacing: -0.07em;
}

.policy-summary {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.policy-content {
  padding: 84px 24px 120px;
}

.policy-content section + section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 22px;
  color: var(--primary);
  font-size: clamp(25px, 3.4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.policy-content h3 {
  margin: 32px 0 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
  letter-spacing: -0.018em;
}

.policy-content p {
  margin: 0;
}

.policy-content p + p {
  margin-top: 14px;
}

.policy-content ul {
  margin: 16px 0 0;
  padding-left: 1.3em;
}

.policy-content li + li {
  margin-top: 6px;
}

.policy-highlight {
  margin-top: 24px;
  padding: 24px 26px;
  background: var(--green-tint);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
}

.policy-highlight p {
  color: var(--ink);
  font-weight: 620;
}

.policy-contact {
  margin-top: 20px;
  padding: 24px;
  background: #faf8f1;
  border: 1px solid rgba(244, 183, 27, 0.32);
  border-radius: 12px;
}

.policy-contact a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-effective-date {
  margin-top: 20px !important;
  font-family: var(--font-mono);
  font-size: 13px !important;
}

@media (max-width: 760px) {
  .site-header {
    height: 72px;
  }

  .header-inner {
    width: 100%;
    grid-template-columns: 1fr auto auto;
    padding-left: 12px;
  }

  .brand {
    width: 42px;
  }

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

  .download-link {
    min-width: 128px;
    padding: 0 12px;
    gap: 8px;
  }

  .language-nav {
    padding-inline: 4px;
    gap: 0;
  }

  .language-nav a {
    min-width: 26px;
    height: 30px;
    font-size: 9px;
  }

  .download-link small {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 72px);
    padding: 20px 12px 24px;
  }

  .hero-title {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .hero-title em::after {
    bottom: -5px;
    height: 4px;
  }

  .hero-description {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.6;
  }

  .demo-window {
    width: 100%;
    margin-top: 18px;
    border-width: 5px;
    border-radius: 16px;
  }

  .demo-toolbar {
    height: 38px;
  }

  .demo-title {
    display: none;
  }

  .languages-section {
    padding: 100px 18px 80px;
  }

  .policy-hero {
    padding: 70px 20px 64px;
  }

  .policy-summary {
    font-size: 15px;
  }

  .policy-content {
    padding: 64px 20px 88px;
  }

  .policy-content section + section {
    margin-top: 48px;
    padding-top: 48px;
  }

  .policy-content p,
  .policy-content li {
    font-size: 15px;
  }

  .languages-section h2 {
    font-size: 52px;
  }

  .supported-language-list {
    margin-top: 36px;
    padding-top: 24px;
    font-size: 18px;
    line-height: 1.8;
  }

  footer {
    min-height: 160px;
    padding: 28px 24px;
    grid-template-columns: 1fr auto;
    gap: 22px;
  }

  footer > p:first-of-type {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

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