:root {
  color-scheme: light;
  --ink: #202621;
  --ink-soft: #535e56;
  --ink-faint: #778179;
  --green: #145f4b;
  --green-deep: #0c4838;
  --green-soft: #dcefe6;
  --green-pale: #edf7f2;
  --paper: #fbfcf8;
  --canvas: #f3f5ef;
  --canvas-deep: #e9eee7;
  --line: #dce2da;
  --line-strong: #c5cec4;
  --amber: #9a631d;
  --amber-soft: #faeed7;
  --white: #fff;
  --shadow: 0 24px 70px rgba(27, 59, 45, 0.12);
  --font-display: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(197, 206, 196, 0.75);
  background: rgba(251, 252, 248, 0.92);
  backdrop-filter: blur(14px);
}

.header-row {
  display: flex;
  height: 72px;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand img,
.mock-topbar img,
.footer-brand img {
  display: block;
  flex: 0 0 auto;
  border-radius: 30%;
  object-fit: cover;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 18px;
}

.primary-nav a,
.footer-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color 150ms ease;
}

.primary-nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.header-cta {
  margin-left: auto;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 24px rgba(20, 95, 75, 0.2);
}

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

.button-outline {
  border-color: var(--line-strong);
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.65);
}

.button-outline:hover {
  border-color: #9fb0a4;
  background: var(--white);
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 13px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(185, 224, 205, 0.6), transparent 25rem),
    radial-gradient(circle at 5% 90%, rgba(235, 217, 171, 0.28), transparent 22rem),
    var(--canvas);
}

.hero::before {
  position: absolute;
  top: 70px;
  right: -190px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(20, 95, 75, 0.09);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  gap: clamp(52px, 8vw, 100px);
  padding-block: 84px 92px;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 17px 0 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-copy .lead {
  max-width: 620px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

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

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 21px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 650;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.product-frame {
  position: relative;
  width: min(100%, 440px);
  justify-self: end;
  padding: 14px;
  border: 1px solid rgba(20, 95, 75, 0.15);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.product-screen {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}

.mock-topbar img {
  width: 31px;
  height: 31px;
}

.mock-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mock-brand small {
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mock-brand strong {
  font-family: var(--font-display);
  font-size: 14px;
}

.mock-body {
  padding: 21px;
  background: var(--canvas);
}

.mock-photo {
  position: relative;
  display: grid;
  min-height: 168px;
  overflow: hidden;
  place-items: center;
  border-radius: 20px;
  background:
    radial-gradient(circle at 38% 42%, #f3c575 0 12%, transparent 13%),
    radial-gradient(circle at 62% 58%, #80aa76 0 15%, transparent 16%),
    radial-gradient(circle at 52% 40%, #df9271 0 17%, transparent 18%),
    #dce9dd;
}

.mock-plate {
  width: 142px;
  height: 142px;
  border: 16px solid rgba(255, 255, 255, 0.91);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(41, 68, 50, 0.15);
}

.scan-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(248, 255, 251, 0.93);
  font-size: 10px;
  font-weight: 800;
}

.result-card {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.result-heading strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.result-heading small {
  display: block;
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 10px;
}

.verdict {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--green-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.result-card p {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.swap-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--green-deep);
  background: var(--green-pale);
  font-size: 11px;
  font-weight: 700;
}

.swap-icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
}

.trust-bar {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: flex;
  gap: 13px;
  padding: 29px 30px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;
}

.number-dot {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-pale);
  font-size: 11px;
  font-weight: 800;
}

.trust-item strong {
  display: block;
  font-size: 14px;
}

.trust-item span:last-child {
  display: block;
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 12px;
}

.section {
  padding-block: 104px;
}

.section-muted {
  background: var(--canvas);
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.closing-card h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p:not(.eyebrow),
.split-copy > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.step-card,
.feature-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.step-card {
  padding: 29px;
  border-radius: 20px;
}

.step-number {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.step-card h3,
.feature-card h3 {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.025em;
}

.step-card p,
.feature-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.feature-card {
  min-height: 250px;
  padding: 30px;
  border: 0;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: var(--green);
  background: var(--green-pale);
  font-size: 20px;
  font-weight: 800;
}

.privacy-split {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 9vw, 120px);
}

.privacy-panel {
  padding: 34px;
  border: 1px solid #bcd5c8;
  border-radius: 24px;
  background: linear-gradient(145deg, #eaf6f0, #dcefe6);
  box-shadow: 0 18px 46px rgba(27, 71, 53, 0.08);
}

.privacy-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: -0.03em;
}

.privacy-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 14px;
}

.privacy-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 11px;
  content: "✓";
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.text-link:hover {
  color: var(--green-deep);
}

.faq-list {
  max-width: 820px;
  margin: 48px auto 0;
  border-bottom: 1px solid var(--line);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 2px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.015em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--green);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 730px;
  margin: -4px 0 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.closing {
  padding-block: 28px 104px;
  background: var(--paper);
}

.closing-card {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 76px);
  border-radius: 28px;
  color: var(--white);
  background: var(--green-deep);
}

.closing-card::after {
  position: absolute;
  top: -130px;
  right: -80px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.closing-card h2 {
  max-width: 660px;
  color: var(--white);
}

.closing-card p {
  max-width: 590px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.closing-card .button {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  color: var(--green-deep);
  background: var(--white);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-block: 38px 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 15px;
}

.footer-brand span {
  margin-top: 1px;
  color: var(--ink-faint);
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.footer-note {
  display: flex;
  justify-content: space-between;
  padding-block: 18px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 11px;
}

/* Legal and contact pages */
.legal-hero {
  padding-block: 70px 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 5%, rgba(185, 224, 205, 0.52), transparent 23rem),
    var(--canvas);
}

.legal-hero-inner,
.legal-content {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
}

.legal-hero h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 60px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.legal-hero .lead {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.updated {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.legal-content {
  padding-block: 58px 100px;
}

.legal-callout {
  margin-bottom: 46px;
  padding: 21px 23px;
  border: 1px solid #bdd7ca;
  border-radius: 15px;
  color: var(--green-deep);
  background: var(--green-pale);
  font-size: 15px;
  line-height: 1.7;
}

.legal-content h2 {
  margin: 44px 0 0;
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.legal-content h2:first-child {
  margin-top: 0;
}

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

.legal-content p {
  margin: 13px 0 0;
}

.legal-content ul {
  margin: 13px 0 0;
  padding-left: 24px;
}

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

.legal-content strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-content a,
.contact-email a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  width: min(980px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 70px 104px;
}

.contact-aside h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.contact-aside p {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.contact-email {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-email span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 15px 42px rgba(29, 56, 43, 0.07);
}

.contact-field + .contact-field {
  margin-top: 21px;
}

.contact-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 750;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  background: var(--paper);
  font-size: 15px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 95, 75, 0.13);
}

.contact-field textarea {
  min-height: 145px;
  resize: vertical;
}

.contact-submit {
  margin-top: 25px;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: progress;
  opacity: 0.62;
}

.contact-result {
  display: none;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}

.contact-result.is-ok {
  display: block;
  color: var(--green-deep);
  background: var(--green-pale);
}

.contact-result.is-error {
  display: block;
  color: #74471a;
  background: var(--amber-soft);
}

.form-note {
  margin: 16px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .primary-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 70px 82px;
  }

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

  .product-frame {
    width: min(100%, 520px);
    justify-self: center;
    transform: none;
  }

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

  .privacy-split {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .shell,
  .legal-hero-inner,
  .legal-content,
  .contact-layout {
    width: min(100% - 32px, 1160px);
  }

  .header-row {
    height: 64px;
  }

  .brand {
    font-size: 16px;
  }

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

  .hero-grid {
    min-height: auto;
    gap: 48px;
    padding-block: 58px 68px;
  }

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

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

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-child {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .section {
    padding-block: 76px;
  }

  .feature-card {
    min-height: auto;
  }

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

  .footer-links {
    margin-left: 0;
  }

  .footer-note {
    gap: 5px;
  }

  .legal-hero {
    padding-block: 52px 45px;
  }

  .legal-content {
    padding-block: 45px 76px;
  }

  .contact-layout {
    gap: 34px;
    padding-block: 52px 78px;
  }

  .contact-form {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .header-cta {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 12px;
  }

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

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

  .mock-body {
    padding: 14px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}

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

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