:root {
  color-scheme: light;
  --bg: #f4f7f5;
  --paper: #fffefa;
  --ink: #111714;
  --muted: #68736e;
  --soft: #dce5df;
  --line: rgba(17, 23, 20, 0.12);
  --green: #177f4a;
  --green-dark: #0c4e31;
  --blue: #1755a6;
  --coral: #b64f43;
  --amber: #9d6418;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 23, 20, 0.18);
  --nav-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: rgba(23, 127, 74, 0.18);
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(17, 23, 20, 0.08);
  background: rgba(244, 247, 245, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand-mark,
.nav-links,
.footer-links,
.hero-actions,
.hero-facts,
.metric-row,
.cta-layout {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.brand-glyph {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 7px, rgba(255, 255, 255, 0.56) 7px 9px, transparent 9px),
    linear-gradient(0deg, transparent 7px, rgba(255, 255, 255, 0.56) 7px 9px, transparent 9px),
    linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.nav-links {
  gap: clamp(14px, 3vw, 28px);
  color: rgba(17, 23, 20, 0.68);
  font-size: 14px;
}

.nav-links a,
.footer-links a,
.link-stack a {
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.hero {
  position: relative;
  min-height: calc(86svh - var(--nav-height));
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 78px) clamp(18px, 5vw, 64px) clamp(38px, 5vw, 56px);
  background: #eef4f1;
}

.hero-visual {
  position: absolute;
  inset: -7% -8% -12% 30%;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(244, 247, 245, 0.98) 0%, rgba(244, 247, 245, 0.94) 34%, rgba(244, 247, 245, 0.58) 64%, rgba(244, 247, 245, 0.2) 100%),
    linear-gradient(0deg, rgba(23, 127, 74, 0.12), rgba(255, 255, 255, 0));
}

.hero-shot {
  position: absolute;
  width: min(35vw, 430px);
  min-width: 270px;
  border-radius: 30px;
  border: 1px solid rgba(17, 23, 20, 0.1);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-shot-main {
  right: 21%;
  top: 9%;
  transform: rotate(-4deg);
}

.hero-shot-secondary {
  right: 0;
  top: 24%;
  transform: rotate(7deg);
  opacity: 0.92;
}

.hero-shot-dark {
  right: 44%;
  top: 34%;
  transform: rotate(5deg);
  opacity: 0.86;
}

.hero-copy {
  width: min(680px, 100%);
}

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

h1,
h2,
h3,
p,
dl,
dd,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.14;
  font-weight: 700;
}

.hero-text {
  max-width: 620px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(17, 23, 20, 0.14);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 14px 34px rgba(17, 23, 20, 0.2);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-facts {
  flex-wrap: wrap;
  gap: 22px;
  margin: 34px 0 0;
}

.hero-facts div {
  min-width: 132px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 23, 20, 0.16);
}

.hero-facts dt {
  margin-bottom: 4px;
  font-weight: 800;
}

.hero-facts dd {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(70px, 10vw, 126px) clamp(18px, 5vw, 64px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column,
.showcase-grid,
.privacy-layout,
.cta-layout {
  display: grid;
  gap: clamp(34px, 7vw, 86px);
}

.two-column,
.privacy-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  align-items: end;
}

.section-copy {
  max-width: 650px;
}

.section-copy.narrow {
  max-width: 780px;
  margin-bottom: 32px;
}

.intro-band {
  background: var(--paper);
  padding-top: clamp(18px, 3vw, 32px);
}

.metric-row {
  align-self: stretch;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.metric-row div {
  min-width: 0;
}

.metric-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.metric-row span {
  color: var(--muted);
  font-size: 15px;
}

.showcase-grid {
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  align-items: center;
}

.showcase-grid.reversed {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
}

.light-showcase {
  background: #eef4f7;
}

.quick-band {
  background: #f6f4ef;
}

.dark-showcase {
  background: #101615;
  color: #f7fbf7;
}

.dark-showcase p,
.dark-showcase .feature-list,
.dark-showcase .eyebrow {
  color: rgba(247, 251, 247, 0.72);
}

.phone-frame {
  width: min(430px, 100%);
  justify-self: center;
  padding: 10px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 23, 20, 0.12);
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  border-radius: 26px;
  background: #fff;
}

.dark-frame {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 16px;
  line-height: 1.65;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
  content: "";
}

.quiet-panel {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.quiet-panel strong {
  font-size: 18px;
}

.quiet-panel span {
  color: var(--muted);
  line-height: 1.7;
}

.feature-band {
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf8;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
}

.feature-token {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.privacy-band {
  background: #edf3ef;
}

.link-stack {
  display: grid;
  gap: 10px;
}

.link-stack a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

.link-stack a::after {
  color: var(--muted);
  content: ">";
}

.link-stack a:hover {
  transform: translateX(2px);
  border-color: rgba(23, 127, 74, 0.35);
}

.cta-band {
  background: var(--ink);
  color: #fff;
}

.cta-band p,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.cta-layout {
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
}

.cta-layout h2 {
  margin-bottom: 12px;
}

.cta-layout p {
  max-width: 620px;
  margin-bottom: 0;
}

.cta-band .button.primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: rgba(17, 23, 20, 0.66);
  background: var(--paper);
  font-size: 14px;
}

.footer-links {
  gap: 18px;
}

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

.legal-hero {
  padding: clamp(58px, 9vw, 110px) clamp(18px, 5vw, 64px) 44px;
  background: #edf3ef;
}

.legal-hero-inner,
.legal-content {
  width: min(820px, 100%);
  margin: 0 auto;
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(42px, 8vw, 82px);
}

.legal-hero p {
  margin-bottom: 0;
}

.legal-content {
  padding: 48px 0 86px;
}

.legal-content h2 {
  margin: 38px 0 10px;
  font-size: 25px;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

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

.legal-card {
  margin: 26px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf8;
}

@media (max-width: 960px) {
  .hero {
    align-items: flex-start;
    min-height: calc(87svh - var(--nav-height));
  }

  .hero-visual {
    inset: 18% -50% -12% 20%;
    opacity: 0.72;
  }

  .hero-shot {
    width: 320px;
    min-width: 0;
  }

  .hero-shot-main {
    right: 34%;
    top: 6%;
  }

  .hero-shot-secondary {
    right: 5%;
    top: 20%;
  }

  .hero-shot-dark {
    right: 55%;
    top: 42%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(244, 247, 245, 0.98) 0%, rgba(244, 247, 245, 0.94) 46%, rgba(244, 247, 245, 0.7) 100%),
      linear-gradient(90deg, rgba(23, 127, 74, 0.1), rgba(23, 85, 166, 0.08));
  }

  .two-column,
  .showcase-grid,
  .showcase-grid.reversed,
  .privacy-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .showcase-grid.reversed .phone-frame {
    order: -1;
  }

  .metric-row {
    align-items: flex-start;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-layout {
    align-items: start;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 62px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand-mark {
    font-size: 14px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: calc(88svh - var(--nav-height));
    padding: 46px 18px 40px;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(54px, 17vw, 76px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  p {
    font-size: 16px;
  }

  .hero-lede {
    font-size: clamp(24px, 7vw, 32px);
  }

  .hero-text {
    max-width: 92%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    gap: 10px;
  }

  .hero-facts div {
    flex: 1 1 120px;
    min-width: 0;
  }

  .hero-visual {
    inset: 36% -86% -14% 8%;
  }

  .hero-shot {
    width: 248px;
    border-radius: 24px;
  }

  .hero-shot-main {
    right: 46%;
    top: 0;
  }

  .hero-shot-secondary {
    right: 16%;
    top: 16%;
  }

  .hero-shot-dark {
    right: 70%;
    top: 38%;
  }

  .section {
    padding: 66px 18px;
  }

  .intro-band {
    padding-top: 14px;
  }

  .metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-row strong {
    font-size: 30px;
  }

  .phone-frame {
    width: min(360px, 100%);
    border-radius: 28px;
  }

  .phone-frame img {
    border-radius: 20px;
  }

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

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

  .feature-token {
    margin-bottom: 26px;
  }

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

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