/* juvami landing page — Blocs (Bauhaus) visual language.
   Tokens lifted from design/biz-cards/.../_ds tokens. Light only for v1. */

:root {
  /* ink + surfaces */
  --ink: #17151F;
  --ink-2: #4A4553;
  --ink-3: #8D8798;
  --bg: #FBF6EC;
  --panel: #F1EADB;
  --white: #FFFFFF;
  /* brand + action */
  --orange: #F25C1F;
  --purple: #6C3BF5;
  --amber: #F2B01F;
  /* artboard washes */
  --wash-yellow: #FFE9A8;
  --wash-coral: #FFD1C4;
  --wash-mint: #C9EBD1;
  --wash-lilac: #D6D4FF;
  /* radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;
  /* hard offset shadows — no blur, ever */
  --shadow-1: 3px 3px 0 rgba(23, 21, 31, 0.85);
  --shadow-2: 4px 4px 0 rgba(23, 21, 31, 0.85);
  --shadow-lg: 6px 6px 0 rgba(23, 21, 31, 0.85);
  --stroke: 2px solid var(--ink);
  /* type */
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', monospace;
  /* layout */
  --maxw: 1080px;
  --gutter: clamp(16px, 5vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  padding: 11px 18px;
  border: var(--stroke);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(23, 21, 31, 0.85); }

.btn-cta { background: var(--orange); color: var(--white); font-weight: 700; }
.btn .short { display: none; }

.btn-lg { font-size: 1.06rem; padding: 15px 26px; border-radius: var(--r-md); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  background: var(--bg);
  border-bottom: var(--stroke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.topbar .btn { padding: 8px 15px; font-size: 0.9rem; box-shadow: var(--shadow-1); }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding-block: clamp(56px, 11vw, 112px) clamp(40px, 7vw, 72px);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 6.4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 14ch;
  margin-inline: auto;
}
.hero .lede {
  font-size: clamp(1.06rem, 2.2vw, 1.32rem);
  color: var(--ink-2);
  max-width: 40rem;
  margin: 26px auto 0;
  line-height: 1.5;
}
.hero .btn-lg { margin-top: 34px; }
.cta-note {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-top: 16px;
}

/* ---------- product shot ---------- */
.shot { padding-block: clamp(8px, 3vw, 28px) clamp(48px, 8vw, 88px); }
.shot figure { margin: 0; }
.shot-frame {
  border: var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--white);
  line-height: 0;
}
.shot figcaption {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-3);
  text-align: center;
  margin-top: 18px;
  line-height: 1.4;
}

/* ---------- how it works ---------- */
.how {
  background: var(--panel);
  border-block: var(--stroke);
  padding-block: clamp(52px, 8vw, 88px);
}
.how h2 {
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}
.card {
  border: var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card.wash-yellow { background: var(--wash-yellow); }
.card.wash-mint { background: var(--wash-mint); }
.card.wash-lilac { background: var(--wash-lilac); }
.card h3 { font-weight: 700; font-size: 1.24rem; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }

/* ---------- closing CTA band ---------- */
.cta-band {
  background: var(--wash-lilac);
  border-bottom: var(--stroke);
  padding-block: clamp(56px, 9vw, 96px);
  text-align: center;
}
.cta-band h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  letter-spacing: -0.015em;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band p {
  color: var(--ink-2);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  max-width: 38rem;
  margin: 20px auto 0;
}
.cta-band .btn-lg { margin-top: 30px; }

/* ---------- footer ---------- */
.footer { padding-block: 40px; }
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.footer .foot-logo { height: 22px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-left: auto; }
.footer nav a {
  font-size: 0.92rem;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: color 0.1s ease, border-color 0.1s ease;
}
.footer nav a:hover { color: var(--orange); border-color: var(--orange); }
.fineprint {
  width: 100%;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ---------- legal pages ---------- */
.legal { padding-block: clamp(40px, 7vw, 72px) 64px; }
.legal .back {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-3);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 28px;
}
.legal .back:hover { color: var(--orange); }
.legal h1 { font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 8px; }
.legal h2 { font-weight: 700; font-size: 1.2rem; margin-top: 32px; margin-bottom: 8px; }
.legal p { color: var(--ink-2); max-width: 46rem; margin-bottom: 12px; }
.legal .note {
  border: var(--stroke);
  border-radius: var(--r-md);
  background: var(--wash-yellow);
  box-shadow: var(--shadow-1);
  padding: 16px 18px;
  font-size: 0.95rem;
  color: var(--ink);
  max-width: 46rem;
  margin-block: 24px;
}
.legal h3 { font-weight: 700; font-size: 1.08rem; margin-top: 26px; margin-bottom: 6px; }
.legal h4 { font-weight: 600; font-size: 0.98rem; color: var(--ink); margin-top: 18px; margin-bottom: 4px; }
.legal ul { max-width: 46rem; margin: 0 0 12px; padding-left: 22px; color: var(--ink-2); }
.legal li { margin-bottom: 6px; line-height: 1.5; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--orange); }
.legal strong { font-weight: 700; color: var(--ink); }
.legal hr { border: none; border-top: 2px solid var(--ink-3); opacity: 0.4; max-width: 46rem; margin: 34px 0; }
.legal p a { word-break: break-word; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .topbar .btn .long { display: none; }
  .topbar .btn .short { display: inline; }
  .footer nav { margin-left: 0; }
}
@media (max-width: 420px) {
  .topbar .btn { padding: 8px 12px; }
}
