/* No Sweat landing page, in the design language (T-81, docs/design.md).
   Token names match src/app/globals.css; this page is static, so they are
   repeated here as CSS variables. Code below uses the names, not hex values. */
:root {
  --surface: #fffaf4;            /* paper */
  --ink: #2a1d17;
  --muted: #6b5a50;              /* ink-soft */
  --line: rgb(42 29 23 / 0.12);  /* ink at 12% */
  --accent: #c23c1f;             /* ember-deep: buttons, links */
  --success: #3e7a5a;            /* eucalyptus */
  --ember: #de4a27;
  --cream: #fff3e6;
  --bead: #f5cfb2;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --ease-settle: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 1rem/1.45 var(--font);
}
a { color: var(--accent); text-underline-offset: 0.2em; }
p { margin: 0 0 1rem; max-width: 65ch; }
h1, h2, h3 { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

/* Display caps: once per screen, 32px and up */
.display {
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0;
}

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.mark { display: block; line-height: 0; }
.mark img { display: block; width: 64px; height: 64px; border-radius: var(--radius-sm); }
.top nav { display: flex; gap: 1.5rem; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.top nav a:hover { color: var(--accent); }

/* Hero: the one loud brand moment. Ember panel, cream caps, heat rising. */
.hero {
  position: relative;
  background: var(--ember);
  color: var(--cream);
  overflow: hidden;
}
/* Animated heat dither, drawn by heat.js at 3px per dither pixel */
.heat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.hero .wrap { position: relative; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 8rem;
}
.hero h1 { font-size: clamp(3rem, 9vw, 4.5rem); }
.hero .lede { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 2rem; max-width: 32rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 100ms ease-out;
}
.hero .button { background: var(--cream); color: var(--accent); }
.hero .button:hover { background: var(--surface); }

/* Example timetable: working UI, so quiet. Paper card, borders, tabular figures. */
.day {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.day header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.day header strong { font-size: 1.25rem; font-weight: 600; }
.day header span { color: var(--muted); font-size: 0.875rem; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.slots li {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 48px;
  padding: 0 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
}
.slots time { font-variant-numeric: tabular-nums; font-weight: 600; }
.slots .left { font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slots .booked { color: var(--success); font-weight: 600; }
.slots li.full { background: var(--bead); border-color: transparent; }

/* Sections */
section { padding: 4rem 0; border-bottom: 1.5px solid var(--line); }
section h2 { font-size: 2rem; font-weight: 600; line-height: 1.15; max-width: 36rem; }
.lead { color: var(--muted); font-size: 1.125rem; margin-top: 1rem; }
.cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-top: 3rem; }
.cols h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  padding: 0.75rem 0;
  border-top: 1.5px solid var(--line);
}
.steps li::before { content: counter(step); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

.price { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: start; margin-top: 2rem; }
.figure { font-size: 4.5rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

.contact dl { display: grid; grid-template-columns: 10rem 1fr; gap: 0.75rem 1.5rem; margin: 2rem 0 0; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }

/* Footer */
.foot { padding: 2rem 0 3rem; font-size: 0.875rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.foot nav { display: flex; gap: 1.5rem; }

/* Legal pages: quiet working pages, no display caps */
.doc { max-width: 42rem; padding: 2rem 0 4rem; }
.doc h1 { font-size: 2rem; font-weight: 600; line-height: 1.15; margin-bottom: 0.5rem; }
.doc h2 { font-size: 1.25rem; font-weight: 600; margin: 2rem 0 0.5rem; }
.notice {
  background: var(--bead);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 1.5rem 0 1rem;
}

@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 6rem; }
  .cols, .price { grid-template-columns: 1fr; gap: 2rem; }
  .price { gap: 1rem; }
  section { padding: 3rem 0; }
  section h2 { font-size: 1.5rem; }
  .top nav a:not(:last-child) { display: none; }
  .contact dl { grid-template-columns: 1fr; gap: 0.25rem; }
  .contact dd { margin-bottom: 0.75rem; }
  .day { padding: 1rem; }
  .slots li { grid-template-columns: 4rem 1fr auto; gap: 0.5rem; padding: 0 0.625rem; }
}
