/* ==========================================================================
   Furniture Disposal Plus | tokens.css
   A LoadUp Technologies brand. Design system per Sub-Brand Launch Playbook,
   Part 3. Foundation is neutral. One signature accent (freight amber).
   LoadUp teal is reserved for the parent attribution lockup only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom properties
   -------------------------------------------------------------------------- */

:root {
  /* Foundation. Warm palette: cream ground, warm charcoal ink, teal accent. */
  --ink:        #2A2622;   /* warm charcoal, body text and dark surfaces */
  --bone:       #FFFFFF;   /* white, page ground */
  --ash:        #8A8072;   /* warm taupe gray, captions and meta */

  /* Brand */
  --dark:       #22303A;   /* deep warm teal-slate, hero and dark sections */
  --signal:     #17B5AE;   /* teal, CTAs and active states. Deep enough for white text. */
  --signal-soft: #4FD3CF;  /* lighter teal for accents on dark, highlights */

  /* Reserved, parent attribution lockup only. */
  --loadup-teal: #4FD3CF;

  /* Derived */
  --rule:       #E9E7E2;   /* neutral hairline dividers */
  --signal-12:  #17B5AE1F; /* 12 percent teal tint for quiet fills */
  --cream-card: #FFFFFF;   /* cards separate via border and shadow on white */
  --cream-sink: #F6F5F2;   /* light neutral for alternating bands */

  /* Type faces */
  --font-display: "Archivo Variable", "Archivo", system-ui, sans-serif;
  --font-body:    "Geist Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;

  /* Type scale. Display never renders below 28px per the design system. */
  --text-xs:   0.8125rem;  /* 13px, meta, captions */
  --text-sm:   0.9375rem;  /* 15px, secondary UI */
  --text-base: 1.0625rem;  /* 17px, running text */
  --text-lg:   1.25rem;    /* 20px, lead paragraphs */
  --text-xl:   1.75rem;    /* 28px, display floor, h3/h2 small screens */
  --text-2xl:  2.25rem;    /* 36px, h2 */
  --text-3xl:  3rem;       /* 48px, h1 */
  --text-4xl:  3.75rem;    /* 60px, hero h1 on wide screens */

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Layout */
  --measure:      66ch;     /* max line length for running text */
  --container:    72rem;    /* page max width */
  --radius:       12px;     /* soft, friendly, rounded like the parent brand */
  --radius-lg:    20px;     /* photo cards and large surfaces */

  /* Depth. Soft warm shadows now, not hard freight offsets. */
  --lift-ink:     0 4px 16px rgba(42,38,34,0.10);
  --lift-lime:    0 6px 20px rgba(23,181,174,0.18);

  /* Motion */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --fast: 140ms;
}

/* --------------------------------------------------------------------------
   2. Self-hosted fonts. woff2 only, no CDN calls, font-display swap.
   Drop the three files into assets/fonts/ before launch.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Archivo Variable";
  src: url("/assets/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("/assets/fonts/geist-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  text-rendering: optimizeSpeed;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Explicit width and height attributes on every img prevent layout shift.
   height: auto above preserves aspect ratio when width is constrained. */

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

/* --------------------------------------------------------------------------
   4. Base element styles
   -------------------------------------------------------------------------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 2.5vw + 1rem, var(--text-3xl)); }
h2 { font-size: clamp(var(--text-xl), 2vw + 0.75rem, var(--text-2xl)); }

/* h3 and below stay in the body face. Display face never below 28px,
   and headings below h2 rarely earn 28px, so they do not get it. */
h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-variation-settings: normal;
  font-size: var(--text-lg);
  line-height: 1.3;
}

h4, h5, h6 {
  font-weight: 500;
  font-size: var(--text-base);
  line-height: 1.3;
}

p,
ul,
ol,
dl {
  max-width: var(--measure);
}

a {
  color: inherit;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 3px;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--space-12) 0;
}

/* Prices, dimensions, weights, and state codes always render in the mono
   face. Mono signals a measured number, not marketing. */
data,
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

th,
td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--rule);
}

th {
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ash);
}

td data {
  font-size: var(--text-base);
}

details {
  border-top: 1px solid var(--rule);
  padding: var(--space-4) 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--rule);
}

summary {
  font-weight: 500;
  cursor: pointer;
  list-style-position: outside;
}

summary:hover {
  color: var(--dark);
}

details[open] summary {
  margin-bottom: var(--space-3);
}

/* --------------------------------------------------------------------------
   5. Buttons and CTAs. The accent works here and almost nowhere else.
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-weight: 500;
  font-size: var(--text-base);
  line-height: 1;
  padding: var(--space-4) var(--space-6);
  border: 0;
  border-radius: 999px;
  background: var(--signal);
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  background: #12A099;
  box-shadow: var(--lift-lime);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--quiet {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   6. Utility
   -------------------------------------------------------------------------- */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ash);
}

/* Dark section fill, used for the hero band and heavy sections only */
.section--dark {
  background: var(--dark);
  color: var(--bone);
}

.section--dark .eyebrow {
  color: var(--signal);
}

/* --------------------------------------------------------------------------
   7. Parent attribution lockup. The only place LoadUp teal appears.
   -------------------------------------------------------------------------- */

.loadup-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--ash);
}

.loadup-lockup .loadup-mark {
  color: var(--loadup-teal);
}
