:root {
  --ink: #0d652d;
  --ink-soft: #137333;
  --muted: rgba(13, 101, 45, 0.62);
  --paper: #ffffff;
  --paper-strong: #f4faf6;
  --surface: #ffffff;
  --green: #188038;
  --green-deep: #137333;
  --green-soft: #e6f4ea;
  --line: rgba(13, 101, 45, 0.12);
  --max-width: 1180px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: "Roboto", "Google Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("sidepanel/fonts/Roboto-Variable.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(13, 101, 45, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 101, 45, 0.08) 1px, transparent 1px);
  background-position: center top;
  background-size: 42px 42px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand em {
  color: var(--green);
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a,
.header-quiet-link {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.header-quiet-link:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-quiet-link {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 8px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  padding: 0 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

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

.button svg,
.button img {
  width: 18px;
  height: 18px;
}

.button .chrome-logo {
  width: 19px;
  height: 19px;
  filter: brightness(0) invert(1);
}

.button-primary {
  color: #fff;
  background: var(--green);
}

.button-primary:hover {
  color: #fff;
  background: var(--green-deep);
}


.button-light {
  color: var(--green-deep);
  background: #fff;
}
.button-light .chrome-logo {
  filter: brightness(0) saturate(100%) invert(25%) sepia(42%) saturate(1127%) hue-rotate(100deg) brightness(90%) contrast(95%);
}

.button-light:hover {
  color: var(--green-deep);
  background: #f1f3f4;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  color: #fff;
  background-color: var(--green-deep);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
}

.eyebrow,
.kicker {
  margin: 0 0 19px;
  color: var(--green-deep);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 27px;
  height: 2px;
  margin: 0 9px 3px 0;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(53px, 6vw, 84px);
  font-weight: 790;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.hero h1 .highlight {
  color: #fff;
  white-space: nowrap;
}


.hero-lead {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.hero .eyebrow {
  color: #fff;
}

.hero .eyebrow::before {
  background: #fff;
}


.hero .button-primary {
  color: var(--green-deep);
  background: #fff;
}

.hero .button-primary .chrome-logo {
  filter: brightness(0) saturate(100%) invert(25%) sepia(42%) saturate(1127%) hue-rotate(100deg) brightness(90%) contrast(95%);
}

.hero .button-primary:hover {
  color: var(--green-deep);
  background: var(--green-soft);
}



.hero .product-window {
  background: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-route span {
  color: #fff;
}

.hero-route b {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}


.product-stage {
  width: min(100%, 320px);
  min-width: 0;
  margin-left: auto;
}

.product-window {
  overflow: hidden;
  border-radius: 13px;
  padding: 2px;
  background: var(--green);
}

.window-bar {
  display: none;
}

.product-window img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
}

.product-label {
  display: none;
}


.section {
  padding: 138px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 54px;
}

.section-heading > div {
  max-width: 650px;
}

.section h2 {
  margin: 0;
  font-size: clamp(37px, 4.6vw, 60px);
  font-weight: 770;
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.section-heading p:not(.kicker) {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.feature-list {
  margin-top: 10px;
}

.feature-row {
  display: grid;
  grid-template-columns: 74px minmax(180px, 0.7fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
}

.feature-row:first-child {
  padding-top: 0;
}

.feature-index {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.07em;
}

.feature-row h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.feature-row p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
  padding: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  list-style: none;
}

.feature-points li::before {
  margin-right: 6px;
  color: var(--green);
  content: \"—\";
}


.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 35px;
  border-radius: 24px;
  padding: clamp(32px, 6vw, 66px);
  color: #fff;
  background: var(--green);
}

.callout h2 {
  max-width: 650px;
}

.callout p:not(.kicker) {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.callout .kicker {
  color: #fff;
}

.site-footer {
  padding: 48px 0 54px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--green-deep);
}

.site-footer .brand,
.site-footer .brand em {
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.footer-copy p {
  margin: 13px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 19px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

/* Legal pages */
.legal-main {
  padding: 72px 0 112px;
  background: #fff;
}

.legal-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 720px);
  gap: 78px;
  align-items: start;
  justify-content: center;
}

.legal-aside {
  position: sticky;
  top: 108px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.legal-aside strong {
  display: block;
  margin-bottom: 15px;
  color: var(--green-deep);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-aside a {
  display: block;
  margin: 10px 0;
  color: inherit;
  text-decoration: none;
}

.legal-aside a:hover {
  color: var(--green);
}

.legal-article {
  min-width: 0;
}

.legal-article .eyebrow {
  margin-bottom: 17px;
}

.legal-article h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.legal-meta {
  margin: 18px 0 58px;
  color: var(--muted);
  font-size: 12px;
}

.legal-article section {
  padding: 30px 0 5px;
}

.legal-article h2 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 22px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.legal-article h2::before {
  position: absolute;
  top: 0.38em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
  content: "";
}

.legal-article p,
.legal-article li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.legal-article p {
  margin: 0 0 15px;
}

.legal-article ul {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.legal-article li + li {
  margin-top: 7px;
}

.legal-article strong {
  color: var(--ink);
}

.legal-article code {
  border-radius: 4px;
  padding: 2px 5px;
  color: var(--green-deep);
  background: var(--green-soft);
  font-size: 0.9em;
}

.legal-article a {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(13, 101, 45, 0.35);
  text-underline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(45px, 6vw, 68px);
  }
}

@media (max-width: 800px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    gap: 0;
    flex-direction: column;
    padding: 8px 0;
    background: #fff;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 16px;
  }

  .site-nav a:hover {
    color: var(--green);
    background: var(--green-soft);
  }

  .header-actions .header-quiet-link {
    display: none;
  }

  .header-actions .button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero {
    padding: 70px 0 76px;
  }

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

  .product-stage {
    width: min(100%, 300px);
    margin-inline: auto;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 26px 0;
  }

  .feature-row:first-child {
    padding-top: 0;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    align-items: center;
  }

  .legal-aside strong {
    width: 100%;
    margin-bottom: 3px;
  }

  .legal-aside a {
    margin: 0;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 26px), var(--max-width));
  }

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

  .brand {
    gap: 8px;
    font-size: 15px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-actions .button {
    padding: 0 11px;
  }

  .header-actions .button .chrome-logo {
    width: 17px;
    height: 17px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 61px);
  }

  .hero-lead {
    font-size: 16px;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-route {
    gap: 7px;
    font-size: 9px;
  }

  .product-stage {
    width: min(100%, 280px);
  }

  .product-window {
    border-radius: 12px;
    padding: 2px;
  }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .section-heading p:not(.kicker) {
    margin-top: 18px;
  }

  .section h2 {
    font-size: 39px;
  }


  .callout {
    padding: 31px 24px;
  }

  .callout .button {
    width: 100%;
  }

  .legal-main {
    padding: 48px 0 75px;
  }

  .legal-article h1 {
    font-size: 49px;
  }

  .legal-meta {
    margin-bottom: 42px;
  }
}

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

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