/* Landing tokens: the light palette, nav, buttons and type scale. Loaded after v3.css and
   product.css on the landing page, so these win over the dark base. Pages that only load
   v3.css keep the dark theme. */
:root {
  --bg: #f6f6f4;
  --card: #fff;
  --card-hover: #eef1e9;
  --ink: #202520;
  --muted: #586158;
  --dim: #667066;
  --line: #dfe2dc;
  --line-hover: #b4bcb0;
  --fill: #e9ede5;
  --accent: #40563a;
  --max: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  /* Every Buy and Checkout uses one size. Secondary controls are one pill outline. */
  --btn-font: 15px;
  --btn-font-compact: 14px; /* nav Buy under 400px, so the nav fits on small phones */
  --btn-font-tight: 13px; /* nav Buy under 340px, so it fits beside the brand and menu at 320 */
  --btn-h: 44px;
  --btn-pad: 20px;
  --btn-radius: 999px;
  --btn2-font: 14px;
  /* Type scale. Body-like text stays at 14px or more; 12-13px is for kickers and mono labels. */
  --h2: clamp(34px, 4.5vw, 54px);
  --h3: clamp(24px, 2.4vw, 30px);
  --h3-weight: 500;
  --text-sm: 14px;
  --label: 13px;
  --label-xs: 12px;
}
html { color-scheme: light; scroll-padding-top: 92px; }
body { font-family: var(--sans); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #202520;
  outline-offset: 3px;
}
.nav { height: 72px; background: #f6f6f4f2; backdrop-filter: blur(16px); }
.brand img { background: #252a24; padding: 4px; border-radius: 8px; width: 30px; height: 30px; }
.nav-links { gap: 28px; font-size: var(--text-sm); }
.brand,
.nav-cta { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1000px) {
  .nav { height: 72px; }
  .nav-inner { flex-wrap: nowrap; }
  .nav-links { gap: 16px; order: 0; width: auto; margin-left: auto; flex-wrap: nowrap; }
}
@media (max-width: 760px) {
  .nav { height: 64px; }
  .nav-inner { gap: 12px; }
  .brand { font-size: 15px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
.btn,
.nav .nav-cta {
  height: auto;
  min-height: var(--btn-h);
  padding-inline: var(--btn-pad);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font);
  font-weight: 400;
}
/* Phone nav: the Buy label drops to the compact size so the nav fits at 320. */
@media (max-width: 400px) {
  .nav .nav-cta { padding-left: 14px; padding-right: 12px; font-size: var(--btn-font-compact); }
}
@media (max-width: 380px) {
  .brand { font-size: 14px; gap: 6px; }
}
/* At 320 the brand, menu and Buy pill only fit inside the 24px gutters with tighter gaps. */
@media (max-width: 340px) {
  .nav-inner { gap: 6px; }
  .nav .nav-cta { padding-inline: 10px; font-size: var(--btn-font-tight); }
}
.btn-solid { background: #40563a; border-color: #40563a; color: #fff; }
.btn-solid:hover { background: #30442b; border-color: #30442b; }
.btn-lg { min-height: 48px; padding-inline: 26px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding: 0 16px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 45%, transparent);
  border-radius: var(--btn-radius);
  background: transparent;
  color: inherit;
  font: var(--btn2-font)/1.2 var(--sans);
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}
.trust-text strong { font-size: var(--label); }
.trust-text small { font-size: var(--label); }
