/* ============================================================
   Your Name — Design System (direction 4a)
   Warm coral palette · Schibsted Grotesk + Hanken Grotesque
   Drop this in and add the font links (see bottom) to your <head>.
   ============================================================ */

:root {
  /* ---- Color tokens ---- */
  --canvas:      #FBF8F3;  /* page background          */
  --surface:     #FFFFFF;  /* cards, inputs            */
  --ink:         #1B1712;  /* primary text, dark UI    */
  --muted:       #6F655B;  /* secondary text           */
  --subtle:      #453D34;  /* body copy on light       */
  --coral:       #E9795B;  /* accent — fills           */
  --coral-ink:   #D0563A;  /* accent — links/small txt */
  --periwinkle:  #7C93E8;  /* secondary accent         */
  --peach:       #F0B48C;  /* gradient wash            */
  --line:        #EAE3D8;  /* borders                  */
  --line-strong: #E0D7C9;  /* input borders            */
  --chip-bg:     #F2ECE2;  /* neutral tag background   */

  /* ---- Type ---- */
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body:    'Hanken Grotesque', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, monospace;

  /* ---- Radius ---- */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* ---- Elevation ---- */
  --shadow-card: 0 26px 70px -28px rgba(70, 48, 26, .32);
}

/* ---- Base ---- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--coral); color: #fff; }

/* ============================================================
   Typography
   ============================================================ */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0;
}
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -.02em;
  margin: 0;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.01em;
  margin: 0;
}
p { margin: 0 0 1em; color: var(--subtle); }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.caption {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.accent-word { color: var(--coral-ink); font-style: normal; }

a { color: var(--coral-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Layout helpers
   ============================================================ */
.container { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 56px; padding-bottom: 20px; }
.stack   { display: flex; flex-direction: column; }
.row     { display: flex; align-items: center; }
.between { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--r-pill);
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary   { background: var(--ink);   color: #fff; }
.btn--accent    { background: var(--coral); color: #fff; font-weight: 700; }
.btn--secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.btn--ghost     { background: transparent; color: var(--coral-ink); padding-left: 12px; padding-right: 12px; }
.btn--ghost:hover { text-decoration: underline; text-underline-offset: 4px; transform: none; }

/* ============================================================
   Tags / chips
   ============================================================ */
.tag {
  display: inline-block;
  background: var(--chip-bg);
  color: var(--muted);
  border-radius: var(--r-pill);
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 600;
}
.tag--accent { background: rgba(233, 121, 91, .16); color: var(--coral-ink); }
.tag--dark   { background: var(--ink); color: #fff; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.card__body { padding: 22px 22px 24px; }
.card__media {
  aspect-ratio: 16 / 10;
  background: var(--chip-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Form controls
   ============================================================ */
.input {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  width: 100%;
}
.input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(233, 121, 91, .18); }
.input::placeholder { color: var(--muted); }

.field-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 11px 18px;
  color: var(--muted);
}

/* Checkbox (style a real <input type=checkbox> or use .check as a marker) */
.check {
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

/* Toggle */
.toggle {
  width: 42px; height: 24px;
  border-radius: var(--r-pill);
  background: var(--coral);
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px; right: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(251, 248, 243, .82);
  border-bottom: 1px solid #EEE7DC;
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 32px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand .dot { color: var(--coral); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }

/* ============================================================
   Hero gradient wash — put on a positioned wrapper's ::before,
   or on an absolutely-positioned child inside a relative parent.
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 380px at 10% 0%,  rgba(233,121,91,.28), transparent 60%),
    radial-gradient(560px 400px at 95% 8%,  rgba(124,147,232,.20), transparent 60%),
    radial-gradient(620px 460px at 55% 130%, rgba(240,180,140,.26), transparent 55%);
  animation: wash-float 10s ease-in-out infinite;
}
@keyframes wash-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(16px, -12px); }
}

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: #F3EDE4; }
.footer__inner { max-width: 1120px; margin: 0 auto; padding: 52px 32px 40px; }
.footer a { color: #D6CDBF; }
.footer__label {
  font-size: 12px;
  font-weight: 600;
  color: #9C9084;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #D6CDBF;
}
.footer__rule { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; font-size: 13px; color: #8A7C6F; }

/* ============================================================
   Fonts — add to your <head> (CSS @import also works but <link> is faster):

   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesque:wght@400;500;600;700&family=Schibsted+Grotesk:wght@400;500;600;700;800&display=swap" rel="stylesheet">
   ============================================================ */
