/* ----------------------------------------------------------------------------
   lifestuff — lifestuff.tech
   Brand identity v0.1 (Pentagram, 2026).
   Cream + Ink + Moss. Fraunces + Inter. Quietly on her side.
   --------------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..600,0..100&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Primary palette — exact values from the brand book */
  --cream:    #F4EFE6;
  --ink:      #1B1F1A;
  --moss:     #3F5B43;

  /* Stone neutrals (warm-leaning, green-grey undertone) */
  --stone-900: #1B1F1A;  /* = ink, primary text */
  --stone-700: #3D423B;  /* secondary text */
  --stone-500: #6B6F66;  /* tertiary text, captions */
  --stone-300: #A8AAA3;  /* disabled, dividers */
  --stone-100: #E5E1D7;  /* input fields, surfaces */

  /* Accents — used sparingly */
  --signal:   #D14C2A;   /* primary CTA only */
  --mint:     #A9C9A5;   /* success */

  /* Optional secondary (family-member colours, not used on marketing) */
  --clay:     #C97B5C;
  --wheat:    #D6B26B;
  --plum:     #6B4A5E;
  --sky:      #7A9CB0;

  --max: 880px;
  --x-height: 12px;       /* clear-space unit for the wordmark */

  /* Lifted i-dot (Direction C wordmark) — em-based so it scales with font-size */
  --i-dot-x: 0em;
  --i-dot-y: -0.06em;
  --i-dot-size: 0.21em;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
}

/* ============================================================================
   LAYOUT
   ========================================================================== */

.shell { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header + footer sit in the same column as the body content. The content
   sections zero their horizontal padding (padding: V 0 W) and sit at the 880px
   box edge; the header/footer kept the shell's 24px gutter, leaving the logo
   24px right of the hero/body. Drop the gutter here so the logo's left edge
   lines up with the headline and paragraphs. */
header.shell,
footer.shell { padding-inline: 0; }

/* ============================================================================
   NAV / WORDMARK
   The wordmark is lowercase Fraunces with a full stop. The full stop is
   non-negotiable (brand book §2.3). The lift mark sits to its left.
   ========================================================================== */

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 36px 0 24px;
}

.wordmark-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-link:hover { opacity: 0.85; }

/* Header logo — the full lockup as a single transparent PNG (note mark + wordmark). */
.site-logo {
  height: 56px;
  width: auto;
  display: block;
}

.brand-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  /* Direction C "The Note" — a sticky note with a folded bottom-right corner.
     Sits to the left of the wordmark in the primary lockup. */
}

.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: lowercase;
}

/* Lifted i-dot — the "i" is a dotless ı (U+0131) with a floating dot above it
   (brand mark exploration, Direction C). Applies in the nav wordmark + footer. */
.lifted-i { position: relative; display: inline-block; }
.lifted-i .dot {
  position: absolute;
  width: var(--i-dot-size);
  height: var(--i-dot-size);
  border-radius: 50%;
  background: currentColor;
  top: var(--i-dot-y);
  left: 50%;
  transform: translate(calc(-50% + var(--i-dot-x)), 0);
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--stone-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.cta {
  background: var(--ink);
  color: var(--cream);
  padding: 9px 18px;
  border-radius: 2px;
}
.nav-links a.cta:hover { background: var(--moss); color: var(--cream); }

/* ============================================================================
   BRAND HORIZONTAL RULE
   The system's only repeating graphic device: tapering, heavier on left.
   Used as section divider and underline. Never decorative.
   ========================================================================== */

.brand-rule {
  height: 4px;
  width: 100%;
  background: linear-gradient(
    to right,
    var(--ink) 0%,
    var(--ink) 12%,
    var(--stone-300) 80%,
    transparent 100%
  );
  margin: 0;
  border: none;
  clip-path: polygon(0 0, 100% 35%, 100% 65%, 0 100%);
}

.rule-section { margin: 72px 0; }

/* ============================================================================
   TYPOGRAPHY — Fraunces for editorial, Inter for body and UI
   ========================================================================== */

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'opsz' 96, 'SOFT' 100;
  font-weight: 400;
  color: var(--ink);
  text-transform: lowercase;
}

/* Display — used once, for the hero tagline */
h1 {
  font-size: clamp(56px, 11vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  font-variation-settings: 'opsz' 72, 'SOFT' 100;
  font-weight: 500;
}

h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
  font-weight: 400;
}

p {
  margin-bottom: 16px;
  color: var(--stone-700);
  font-size: 17px;
  line-height: 1.65;
}
p.lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 640px;
  font-weight: 400;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--stone-300);
}
a:hover {
  text-decoration-color: var(--ink);
}

ul, ol { margin: 0 0 16px 24px; color: var(--stone-700); }
li { margin-bottom: 8px; line-height: 1.65; }

strong { color: var(--ink); font-weight: 600; }

code, .mono {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
  background: var(--stone-100);
  color: var(--ink);
  padding: 1px 7px;
  border-radius: 2px;
}

/* ============================================================================
   HERO — the tagline. one beat. lots of air. (brand book spread 2)
   ========================================================================== */

.hero {
  padding: 96px 0 64px;
}
.hero h1 {
  margin-bottom: 32px;
  max-width: 880px;
}
.hero .lead {
  margin-bottom: 48px;
}
.hero .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-transform: lowercase;
}
.btn-primary {
  /* Primary CTA on the page = the buy button. Brand book reserves Signal
     for primary CTAs only; using Ink as resting state keeps the page
     restrained, with Signal entering on hover/focus to mark commitment. */
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--signal); color: var(--cream); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stone-300);
}
.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

/* ============================================================================
   PROMISE STRIP — quiet stance, no testimonials yet
   ========================================================================== */

.promise {
  padding: 36px 0;
}
.promise p {
  /* Body-weight italic in Fraunces below 18pt reads mushy (brand book §2.5).
     Inter at 19px keeps the brand voice and the editorial cadence without
     fighting Fraunces at small sizes. */
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  line-height: 1.6;
  max-width: 720px;
  color: var(--stone-700);
  margin: 0;
  font-weight: 400;
}

/* ============================================================================
   WHY US — three cards, no labels, plain typography
   ========================================================================== */

.why { padding: 64px 0 32px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-top: 40px;
}
.why-card h3 { margin-top: 0; margin-bottom: 12px; }
.why-card p { font-size: 16px; color: var(--stone-700); margin-bottom: 0; }
.why-card .number {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'opsz' 72, 'SOFT' 100;
  font-weight: 300;
  font-size: 32px;
  color: var(--moss);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

/* ============================================================================
   WHAT IT SHOWS — tile list with x-height clear space
   ========================================================================== */

.what { padding: 40px 0 64px; }
.tile-list { margin-top: 36px; list-style: none; padding: 0; }
.tile-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--stone-300);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
}
.tile-list li:last-child { border-bottom: none; }
.tile-list .tile-name {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'opsz' 24, 'SOFT' 100;
  font-weight: 500;
  color: var(--ink);
  font-size: 19px;
  text-transform: lowercase;
}
.tile-list .tile-desc {
  color: var(--stone-700);
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .tile-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================================
   FAQ
   ========================================================================== */

.faq { padding: 56px 0; }
.faq-item { margin-bottom: 40px; max-width: 720px; }
.faq-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 21px;
  font-variation-settings: 'opsz' 24, 'SOFT' 100;
  font-weight: 500;
}
.faq-item p { margin-bottom: 0; font-size: 16px; }

/* ============================================================================
   FINAL CTA
   ========================================================================== */

.final {
  padding: 96px 0;
}
.final h2 {
  margin-top: 0;
  max-width: 680px;
}
.final p {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 580px;
}
.final .footnote {
  margin-top: 20px;
  font-size: 14px;
  color: var(--stone-500);
  font-style: italic;
}

/* Notify-me form (launch waitlist) */
.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;
}
.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
  max-width: 560px;
}
.notify-form input {
  flex: 1 1 200px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--stone-100);
  border: 1px solid var(--stone-300);
  border-radius: 2px;
  padding: 13px 16px;
}
.notify-form input::placeholder { color: var(--stone-500); }
.notify-form input:focus-visible { outline: none; border-color: var(--ink); }
.notify-form .btn-primary {
  flex: 1 1 100%;
  border: none;
  cursor: pointer;
  font-size: 15px;
}
.notify-status {
  min-height: 1.4em;
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--moss);
}

/* ============================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: 32px 0 56px;
  font-size: 13px;
  color: var(--stone-500);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: baseline;
}
.footer a {
  color: var(--stone-700);
  text-decoration: none;
  margin-right: 20px;
}
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .footer-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  text-transform: lowercase;
}

/* ============================================================================
   LEGAL PAGES
   ========================================================================== */

.legal { padding: 56px 0 40px; }
.legal h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 12px;
  font-variation-settings: 'opsz' 96, 'SOFT' 100;
  font-weight: 400;
}
.legal h2 {
  margin-top: 56px;
  font-size: 26px;
}
.legal h3 {
  margin-top: 32px;
  font-size: 19px;
}
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal .effective {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--stone-500);
  margin-bottom: 40px;
  display: block;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

.legal .short-version {
  background: transparent;
  border-left: 3px solid var(--moss);
  padding: 4px 0 4px 24px;
  margin: 32px 0 56px;
}
.legal .short-version h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
}
.legal .short-version ul {
  margin-bottom: 0;
  margin-left: 18px;
}
.legal .short-version li {
  font-size: 16px;
  color: var(--stone-700);
}
.legal .short-version li strong { color: var(--ink); }
.legal .short-version > p:last-child {
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--stone-700);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}
.legal th, .legal td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stone-300);
  vertical-align: top;
}
.legal th {
  font-weight: 600;
  color: var(--ink);
  background: var(--stone-100);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.legal td { color: var(--stone-700); }

.legal .disclaimer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--stone-300);
  font-style: italic;
  color: var(--stone-500);
  font-size: 14px;
}

/* ============================================================================
   SELECTION + MISC
   ========================================================================== */

::selection { background: var(--moss); color: var(--cream); }

@media (max-width: 640px) {
  .nav { padding: 24px 0 16px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.cta) { display: none; }
  .hero { padding: 56px 0 32px; }
  .final { padding: 64px 0; }
}
