/* BedEducation — shared brand CSS
   Derived from BedSet Brand Toolkit v1.0 */

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

:root {
  --indigo: #2A3294;
  --indigo-deep: #1E2470;
  --indigo-soft: #5A63B8;
  --indigo-wash: #E7E8F2;
  --cream: #EEEBE3;
  --cream-deep: #E4DFD3;
  --paper: #F7F5EF;
  --white: #FFFFFF;
  --ink: #141418;
  --ink-70: rgba(20, 20, 24, 0.70);
  --ink-50: rgba(20, 20, 24, 0.50);
  --ink-30: rgba(20, 20, 24, 0.30);
  --ink-10: rgba(20, 20, 24, 0.10);
  --rule: #D9D5C8;
  --sage: #8A9A7B;
  --clay: #B87E5F;

  --font-sans: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-height: 100vh; }

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 32px; }

.mono { font-family: var(--font-mono); }
.label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}

/* BedSet wordmark — "two stacked words, two bars, one idea: a bed at the
   correct height." Per toolkit: Inter, weight 900, tightly stacked.
   Structure: BED / bar / SET / bar — the bars read as bed slats / floor line.
   Recreated in CSS (no asset file uploaded). */
.wordmark {
  --wm-size: 22px;       /* cap-height of BED/SET */
  --wm-bar: 2px;         /* bar thickness */
  --wm-gap: 3px;         /* gap between letter row and bar */
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: var(--wm-size);
  line-height: 0.82;
  letter-spacing: 0.005em;
  color: var(--indigo);
  text-decoration: none;
  width: max-content;
}
.wordmark span.word {
  display: block;
  font-weight: 900;
  letter-spacing: 0.005em;
  /* Optical centering of the cap-height inside its line */
  padding: 0;
}
.wordmark span.bar {
  display: block;
  height: var(--wm-bar);
  background: currentColor;
  margin: var(--wm-gap) 0;
}
.wordmark.reversed { color: var(--cream); }
.wordmark:hover { text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--indigo);
  color: var(--cream);
  border: 1px solid var(--indigo);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--indigo);
}
.btn-ghost:hover { background: var(--indigo-wash); color: var(--indigo-deep); }
.btn-sm { padding: 8px 14px; font-size: 12.5px; }

input, textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
input:focus, textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(42, 50, 148, 0.12);
}

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