:root {
  --ink: #15201b;
  --ink-soft: #4d5b54;
  --paper: #f6f8f3;
  --surface: #ffffff;
  --green: #177344;
  --green-dark: #0d4b2c;
  --green-light: #dff3e5;
  --lime: #a9df68;
  --line: #dce4dc;
  --dark: #0e271d;
  --red: #a94040;
  --shadow: 0 24px 70px rgba(20, 55, 38, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Author `display` rules beat the UA [hidden] stylesheet; keep toggles reliable. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: relative;
  z-index: 10;
  width: min(1240px, calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(23, 115, 68, 0.12);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand img {
  width: 41px;
  height: 31px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.install-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button:focus-visible,
.checker-tab:focus-visible,
.drop-zone:focus-visible,
input:focus-visible,
.selected-file button:focus-visible {
  outline: 3px solid rgba(169, 223, 104, 0.7);
  outline-offset: 3px;
}

.button:disabled {
  color: #8e9891;
  background: #e8ece8;
  cursor: not-allowed;
}

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

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 20px rgba(23, 115, 68, 0.2);
}

.button-primary:hover:not(:disabled) {
  background: #106438;
  box-shadow: 0 10px 25px rgba(23, 115, 68, 0.28);
}

.button-secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.65);
  border-color: #cfd9d0;
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--green);
  background: #fff;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
  border-radius: 7px;
}

.button-wide {
  width: 100%;
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: 645px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 70px;
  left: -330px;
  width: 590px;
  height: 590px;
  border: 1px solid rgba(23, 115, 68, 0.1);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.vision-copy h2,
.extension-cta h2,
.legal-page h1 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 630px;
  font-size: clamp(53px, 5.9vw, 78px);
  font-weight: 800;
  line-height: 1.02;
}

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

.hero-lead {
  max-width: 555px;
  margin-top: 25px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 27px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.trust-row {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #68756e;
  font-size: 12px;
  font-weight: 600;
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.trust-row svg {
  width: 15px;
  height: 15px;
  padding: 2px;
  color: var(--green);
  border: 1px solid #9dc6aa;
  border-radius: 50%;
  stroke-width: 2.4;
}

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

.hero-visual::before {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  content: "";
  background: rgba(184, 224, 177, 0.33);
  filter: blur(1px);
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(23, 115, 68, 0.14);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
}

.orbit-two {
  width: 590px;
  height: 590px;
  border-style: dashed;
  transform: rotate(25deg);
}

.visual-card {
  position: relative;
  width: 380px;
  height: 380px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 30px 60px rgba(31, 87, 57, 0.15), inset 0 0 50px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.record {
  position: relative;
  width: 255px;
  height: 255px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, transparent 0 6px, rgba(255, 255, 255, 0.05) 7px 8px),
    #112f23;
  box-shadow: 0 25px 45px rgba(10, 43, 29, 0.3);
  animation: turn 22s linear infinite;
}

.record::before,
.record::after,
.record-ring {
  position: absolute;
  border: 1px solid rgba(169, 223, 104, 0.25);
  border-radius: 50%;
  content: "";
}

.record::before {
  inset: 25px;
}

.record::after {
  inset: 50px;
}

.record-ring {
  inset: 78px;
}

.record-label {
  z-index: 1;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--green-light);
}

.record-label img {
  width: 75px;
}

.waveform {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 96px;
  left: 8px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.waveform span {
  width: 3px;
  height: 24%;
  border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(169, 223, 104, 0.45);
  animation: wave 1.3s ease-in-out infinite alternate;
}

.waveform span:nth-child(3n) { height: 70%; animation-delay: -0.4s; }
.waveform span:nth-child(4n) { height: 45%; animation-delay: -0.7s; }
.waveform span:nth-child(5n) { height: 92%; animation-delay: -1s; }
.waveform span:nth-child(7n) { height: 62%; animation-delay: -0.2s; }

.scan-pill {
  position: absolute;
  z-index: 4;
  bottom: 33px;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  color: var(--green-dark);
  border: 1px solid rgba(23, 115, 68, 0.18);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(20, 55, 38, 0.1);
  font-size: 11px;
  font-weight: 700;
}

.scan-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 115, 68, 0.13);
  animation: pulse 1.6s ease-out infinite;
}

.checker-section {
  padding: 95px 24px 82px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(53, 137, 88, 0.3), transparent 28%),
    radial-gradient(circle at 90% 85%, rgba(169, 223, 104, 0.12), transparent 28%),
    var(--dark);
}

.section-heading {
  max-width: 620px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  font-size: clamp(37px, 4vw, 53px);
  font-weight: 800;
  line-height: 1.08;
}

.section-heading > p:last-child {
  max-width: 560px;
  margin: 17px auto 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.eyebrow-light {
  color: var(--lime);
}

.checker-heading > p:last-child {
  color: rgba(255, 255, 255, 0.67);
}

.checker-card {
  width: min(680px, 100%);
  min-height: 430px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.checker-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 7px;
  background: #edf1ed;
}

.checker-tab {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #677169;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.checker-tab svg {
  width: 19px;
  height: 19px;
}

.checker-tab.is-active {
  color: var(--green);
  background: #fff;
  box-shadow: 0 2px 8px rgba(18, 49, 34, 0.08);
}

.checker-panel {
  padding: 30px;
}

.checker-panel label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}

.drop-zone {
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  color: var(--ink-soft);
  border: 1.5px dashed #adc2b2;
  border-radius: 11px;
  background: #f7f9f5;
  cursor: pointer;
  transition: border 160ms ease, background 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--green);
  background: #f1f8f1;
}

.drop-zone strong {
  margin-top: 14px;
  color: var(--ink);
  font-size: 17px;
}

.drop-zone > span:not(.upload-icon) {
  margin-top: 5px;
  font-size: 13px;
}

.drop-zone small {
  margin-top: 14px;
  color: #7c8981;
  font-size: 11px;
}

.upload-icon,
.file-icon,
.step-icon {
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 50%;
  background: var(--green-light);
}

.upload-icon {
  width: 52px;
  height: 52px;
}

.upload-icon svg {
  width: 25px;
  height: 25px;
}

.selected-file {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8faf7;
}

.file-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.file-icon svg {
  width: 22px;
  height: 22px;
}

.file-details {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.file-details strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-details small {
  margin-top: 4px;
  color: #78847c;
}

.selected-file button {
  width: 32px;
  height: 32px;
  color: #758078;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.selected-file + .button,
.drop-zone + .button,
.field-hint + .button {
  margin-top: 18px;
}

.input-wrap {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #ccd7ce;
  border-radius: 9px;
  background: #fbfcfa;
}

.input-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 115, 68, 0.1);
}

.input-wrap svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: #1db954;
}

.input-wrap input {
  width: 100%;
  height: 100%;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}

.input-wrap input::placeholder {
  color: #9aa39d;
}

.field-hint {
  margin-top: 9px;
  color: #7e8982;
  font-size: 12px;
  line-height: 1.5;
}

.field-hint.is-error {
  color: var(--red);
}

.analysis-state {
  min-height: 360px;
  padding: 42px 30px;
}

.loading-state,
.result-state,
.error-state {
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loader {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 4px solid #dfe9e1;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-state strong {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
}

.loading-state p,
.error-state p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.result-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-light);
  font-size: 28px;
  font-weight: 800;
}

.result-mark.is-ai {
  color: #9a5a0a;
  background: #fff0d2;
}

.result-kicker {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.result-state h3,
.error-state h3 {
  margin-top: 7px;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.result-state > p:not(.result-kicker, .result-detail) {
  max-width: 480px;
  margin-top: 8px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.confidence {
  width: min(440px, 100%);
  margin: 23px 0 15px;
}

.confidence > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.confidence-track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #e6ebe7;
}

.confidence-track span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green);
  transition: width 600ms ease;
}

.result-detail {
  margin-bottom: 20px;
  color: #7b867f;
  font-size: 11px;
}

.error-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--red);
  border-radius: 50%;
  background: #f9e4e4;
  font-size: 28px;
  font-weight: 800;
}

.error-state p {
  max-width: 440px;
  line-height: 1.55;
}

.error-state .button {
  margin-top: 24px;
}

.privacy-note {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.privacy-note svg {
  width: 15px;
  height: 15px;
}

.how-section {
  padding: 110px 24px 125px;
}

.steps {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  min-height: 305px;
  padding: 38px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.step-card:hover {
  border-color: #bbcebf;
  box-shadow: 0 18px 40px rgba(27, 67, 46, 0.09);
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: 27px;
  right: 28px;
  color: #d3ddd5;
  font-family: "Manrope", sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.step-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 40px;
}

.step-icon svg {
  width: 25px;
  height: 25px;
}

.step-card h3 {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.step-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.vision-section {
  min-height: 575px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #fff;
  background: #123326;
}

.vision-art {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 51, 38, 0.05), rgba(18, 51, 38, 0.15)),
    radial-gradient(circle at center, #316f50 0, #1c4a35 44%, #102d22 100%);
}

.vision-art::before,
.vision-art::after {
  position: absolute;
  border: 1px solid rgba(169, 223, 104, 0.17);
  border-radius: 50%;
  content: "";
}

.vision-art::before {
  inset: -100px;
}

.vision-art::after {
  inset: 45px;
}

.vision-disc {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.disc-one {
  top: 50%;
  left: 50%;
  width: 285px;
  height: 285px;
  background: repeating-radial-gradient(circle, #173b2d 0 6px, #214936 7px 8px);
  transform: translate(-50%, -50%);
}

.disc-one::after {
  position: absolute;
  inset: 92px;
  border: 5px solid #d6e8cf;
  border-radius: 50%;
  content: "";
  background: var(--lime);
}

.disc-two {
  right: 6%;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.vision-wave {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 12%;
  left: 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  transform: translateY(-50%);
}

.vision-wave i {
  width: 4px;
  height: 70px;
  border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(169, 223, 104, 0.45);
}

.vision-wave i:nth-child(2n) { height: 130px; }
.vision-wave i:nth-child(3n) { height: 210px; }
.vision-wave i:nth-child(5n) { height: 265px; }

.vision-copy {
  max-width: 660px;
  padding: 90px 85px;
  align-self: center;
}

.vision-copy h2 {
  max-width: 560px;
  font-size: clamp(39px, 4.3vw, 57px);
  line-height: 1.08;
}

.vision-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 21px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.75;
}

.vision-copy strong {
  color: #fff;
}

.vision-copy .text-link {
  margin-top: 28px;
}

.text-link-light {
  color: var(--lime);
}

.extension-cta {
  width: min(1120px, calc(100% - 48px));
  min-height: 245px;
  margin: 110px auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  padding: 45px 52px;
  border: 1px solid #cfded1;
  border-radius: 14px;
  background: #edf6e9;
}

.extension-cta > img {
  width: 130px;
}

.extension-cta .eyebrow {
  margin-bottom: 10px;
}

.extension-cta h2 {
  font-size: clamp(29px, 3vw, 40px);
}

.extension-cta div > p:last-child {
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 10px;
}

.site-footer {
  padding: 70px max(24px, calc((100% - 1120px) / 2)) 30px;
  color: #fff;
  background: #0c2018;
}

.footer-brand {
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-light {
  color: #fff;
}

.footer-brand p {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer-links {
  min-height: 180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 38px 0;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 25px;
  color: rgba(255, 255, 255, 0.36);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.toast {
  position: fixed;
  z-index: 50;
  bottom: 24px;
  left: 50%;
  padding: 12px 18px;
  color: #fff;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 15px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Legal pages */
.legal-body {
  background: #fff;
}

.legal-header {
  background: var(--paper);
}

.legal-main {
  padding: 80px 24px 110px;
}

.legal-page {
  width: min(760px, 100%);
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(45px, 6vw, 68px);
  line-height: 1.05;
}

.legal-intro {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.legal-updated {
  margin-top: 16px;
  color: #7b887f;
  font-size: 12px;
}

.legal-content {
  margin-top: 55px;
  padding-top: 5px;
  border-top: 1px solid var(--line);
}

.legal-content section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  letter-spacing: -0.03em;
}

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

.legal-content p + p {
  margin-top: 12px;
}

.legal-content ul {
  margin: 12px 0 0 20px;
}

.legal-content a {
  color: var(--green);
  font-weight: 600;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes turn {
  to { transform: rotate(360deg); }
}

@keyframes wave {
  from { transform: scaleY(0.42); }
  to { transform: scaleY(1); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(23, 115, 68, 0.3); }
  80%, 100% { box-shadow: 0 0 0 9px rgba(23, 115, 68, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    gap: 20px;
  }

  .hero-visual {
    transform: scale(0.86);
  }

  .vision-copy {
    padding: 70px 50px;
  }

  .extension-cta {
    grid-template-columns: auto 1fr;
  }

  .cta-buttons {
    grid-column: 2;
  }
}

@media (max-width: 780px) {
  .site-header {
    width: calc(100% - 32px);
    min-height: 74px;
  }

  .install-actions .button-secondary {
    display: none;
  }

  .hero {
    width: calc(100% - 40px);
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 82px 0 60px;
    text-align: center;
  }

  .hero .eyebrow,
  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-visual {
    height: 430px;
    transform: scale(0.82);
  }

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

  .step-card {
    min-height: 255px;
  }

  .vision-section {
    grid-template-columns: 1fr;
  }

  .vision-art {
    min-height: 430px;
  }

  .vision-copy {
    max-width: none;
  }

  .extension-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .extension-cta > img {
    margin: 0 auto;
  }

  .extension-cta .eyebrow,
  .cta-buttons {
    justify-content: center;
  }

  .cta-buttons {
    grid-column: 1;
  }
}

@media (max-width: 540px) {
  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 35px;
  }

  .install-actions .button {
    min-height: 36px;
    padding: 0 11px;
    font-size: 11px;
  }

  .hero {
    padding-top: 65px;
  }

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

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

  .hero-actions {
    flex-direction: column;
  }

  .trust-row {
    gap: 12px;
  }

  .hero-visual {
    height: 350px;
    margin: -20px 0;
    transform: scale(0.66);
  }

  .checker-section,
  .how-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .checker-panel {
    padding: 22px 18px;
  }

  .checker-tab {
    font-size: 12px;
  }

  .drop-zone {
    min-height: 210px;
    padding: 20px 14px;
  }

  .analysis-state {
    padding: 32px 18px;
  }

  .step-card {
    padding: 32px 28px;
  }

  .vision-copy {
    padding: 65px 24px 75px;
  }

  .extension-cta {
    width: calc(100% - 32px);
    margin: 70px auto;
    padding: 38px 22px;
  }

  .cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .legal-main {
    padding-top: 55px;
  }
}
