:root {
  --ink: #10262d;
  --ink-deep: #07181e;
  --paper: #fbfaf6;
  --mist: #e7ede8;
  --lime: #b9d86a;
  --sky: #b9d86a;
  --forest: #587b3f;
  --line: rgba(16, 38, 45, 0.18);
  --line-strong: rgba(16, 38, 45, 0.37);
  --display: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 4;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-200%);
  transition: transform 160ms var(--ease-out);
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  padding: 1.35rem clamp(1.25rem, 4vw, 4.25rem);
}

.site-header { min-height: 72px; border-bottom: 1px solid var(--line); }

.wordmark {
  display: inline-grid;
  gap: 0.05rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  text-decoration: none;
}

.site-header nav { display: flex; gap: clamp(1rem, 2vw, 2rem); }

.site-header nav a,
.footer-meta a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a,
.footer-meta a,
.text-link,
.email-link,
.product-link { transition: color 160ms var(--ease-out), transform 160ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover,
  .footer-meta a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 0.3em; }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
  align-items: center;
  min-height: min(730px, calc(100dvh - 72px));
  max-width: 1440px;
  margin: auto;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 7vw, 7.8rem) clamp(3.5rem, 6vw, 5rem);
  gap: clamp(2.5rem, 7vw, 8rem);
  overflow: hidden;
}

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

.eyebrow,
.section-label,
.product-status {
  margin: 0 0 1.35rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.75rem;
  font-size: clamp(3.8rem, 7vw, 6.9rem);
  line-height: 0.94;
}

.hero-intro {
  max-width: 32rem;
  margin-bottom: 2rem;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.text-link {
  display: inline-flex;
  gap: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span,
.email-link span,
.product-link span {
  display: inline-block;
  transition: transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .text-link:hover { color: var(--forest); }
  .text-link:hover span { transform: translateY(0.2rem); }
}

.text-link:active,
.email-link:active,
.product-link:active { transform: scale(0.98); }

.hero-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: stretch;
  margin: 0;
}

.hero-media {
  min-height: 520px;
  overflow: hidden;
  background: var(--mist);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual figcaption {
  max-width: 13rem;
  margin: 0.85rem 0 0 auto;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.statement,
.principles,
.product,
.contact {
  max-width: 1440px;
  margin: auto;
  padding: clamp(4.5rem, 9vw, 8.5rem) clamp(1.25rem, 7vw, 7.8rem);
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.56fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 9rem);
  background: var(--mist);
}

.statement h2,
.principles h2 { max-width: 15ch; margin: 0; font-size: clamp(2.7rem, 5.25vw, 5.8rem); line-height: 0.95; }
.statement > p { max-width: 34rem; margin: 0; font-size: 1.06rem; line-height: 1.68; text-wrap: pretty; }

.principles { background: var(--mist); border-top: 1px solid var(--line); }
.principles-intro { max-width: 42rem; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.principles-intro h2 { max-width: 17ch; }
.principles-list { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.principles article { padding-top: 1.2rem; border-top: 1px solid var(--line-strong); }
.principles article:nth-child(2) { margin-top: clamp(2rem, 8vw, 6rem); }
.principles h3 { max-width: 12ch; margin-bottom: 0.85rem; font-size: clamp(1.55rem, 2.4vw, 2.35rem); line-height: 1.02; }
.principles article p { max-width: 18rem; margin: 0; font-size: 0.98rem; line-height: 1.62; }

.product {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(0, 1fr);
  align-items: end;
  min-height: 540px;
  gap: clamp(3rem, 9vw, 10rem);
  background: var(--ink);
  color: var(--paper);
}

.product .section-label { color: var(--sky); }
.bao-lockup { display: block; width: min(100%, 19rem); height: auto; }
.product-status { margin: 2rem 0 0; color: var(--sky); }
.product-copy { max-width: 560px; }
.product-lede { margin-bottom: 1.5rem; font-size: clamp(1.65rem, 3vw, 3rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.03; text-wrap: balance; }
.product-copy > p:not(.product-lede) { max-width: 33rem; font-size: 1rem; line-height: 1.62; }
.product-footnote { margin: 2.6rem 0 0; color: var(--sky); font-family: var(--mono); font-size: 0.68rem !important; font-weight: 700; letter-spacing: 0.05em; }
.product-link { display: inline-flex; gap: 0.8rem; margin-top: 1.15rem; padding-bottom: 0.35rem; border-bottom: 1px solid currentColor; color: var(--lime); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-decoration: none; text-transform: uppercase; }

@media (hover: hover) and (pointer: fine) {
  .product-link:hover { color: var(--paper); }
  .product-link:hover span { transform: translate(0.1em, -0.12em); }
}

.contact { padding-top: clamp(5.5rem, 11vw, 9rem); padding-bottom: clamp(5.5rem, 11vw, 9rem); }
.contact h2 { max-width: 12ch; margin-bottom: 1.35rem; font-size: clamp(3.4rem, 6.5vw, 6.8rem); line-height: 0.92; }
.contact > p { max-width: 31rem; margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.6; }
.email-link { display: inline-block; font-size: clamp(1.45rem, 3vw, 2.7rem); font-weight: 650; letter-spacing: -0.045em; text-decoration: none; text-wrap: pretty; }
.email-link span { padding-left: 0.25em; color: var(--forest); }

@media (hover: hover) and (pointer: fine) {
  .email-link:hover { color: var(--forest); }
  .email-link:hover span { transform: translate(0.1em, -0.12em); }
}

.site-footer { background: var(--ink-deep); color: var(--paper); }
.wordmark--footer { color: var(--paper); }
.footer-meta { display: flex; gap: 1.75rem; color: var(--sky); font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; }

.privacy-page { max-width: 900px; margin: 0 auto; padding: clamp(5rem, 12vw, 10rem) clamp(1.25rem, 7vw, 7.8rem); }
.privacy-page h1 { max-width: none; font-size: clamp(3.8rem, 7vw, 6.5rem); }
.privacy-page h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1; }
.privacy-page p,
.privacy-page li { max-width: 680px; font-size: 1rem; line-height: 1.72; text-wrap: pretty; }
.privacy-page a { text-underline-offset: 0.22em; }
.privacy-page ul { padding-left: 1.15rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-intro,
  .hero-copy .text-link {
    animation: hero-copy-enter 460ms var(--ease-out) both;
  }

  .hero-copy h1 { animation-delay: 50ms; }
  .hero-copy .hero-intro { animation-delay: 100ms; }
  .hero-copy .text-link { animation-delay: 150ms; }
  .hero-visual { animation: hero-visual-enter 560ms var(--ease-out) 80ms both; }
}

@keyframes hero-copy-enter {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-visual-enter {
  from { opacity: 0; transform: translateY(1rem) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .site-header { padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .site-header nav { gap: 0.8rem; }
  .site-header nav a { font-size: 0.62rem; }
  .hero,
  .statement,
  .product { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 4.5rem; gap: 3.5rem; }
  h1 { max-width: 9ch; }
  .hero-media { min-height: 420px; }
  .statement { gap: 2rem; }
  .statement h2,
  .principles h2 { max-width: 13ch; }
  .principles-list { grid-template-columns: 1fr; gap: 2.5rem; }
  .principles article:nth-child(2) { margin-top: 0; }
  .product { gap: 4rem; min-height: auto; }
  .bao-lockup { width: min(100%, 18rem); }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 2rem; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 0.8rem; }
}

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