/* Nooli website. Colors and font match the app (src/theme/tokens.ts). Light only, like the app. */
@font-face { font-family: 'Baloo 2'; font-weight: 500; font-display: swap; src: url('/fonts/Baloo2_500Medium.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 600; font-display: swap; src: url('/fonts/Baloo2_600SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url('/fonts/Baloo2_700Bold.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('/fonts/Baloo2_800ExtraBold.woff2') format('woff2'); }

:root {
  --cream: #f8eee5;
  --white: #ffffff;
  --cocoa: #302720;
  --cocoa-muted: #6b5d52;
  --apricot: #ff873e;
  --apricot-lip: #db6a2a;
  --sunshine: #f6c75a;
  --leaf: #80b86a;
  --aqua: #7ecfde;
  --lavender: #a59ac7;
  --tint-blue: #c9ebf1;
  --tint-yellow: #fce7b4;
  --tint-lilac: #ddd8ee;
  --tint-peach: #ffd9c2;
  --tint-green: #d6ebcb;
  --link: #9a4a14; /* apricot darkened for text contrast on cream (5.9:1) */
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: 'Baloo 2', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); font-weight: 700; text-underline-offset: 3px; }
a:hover { color: var(--cocoa); }
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cocoa); font-weight: 800; font-size: 28px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: var(--cocoa-muted); font-weight: 600; text-decoration: none; font-size: 17px; }
.top nav a:hover, .top nav a[aria-current='page'] { color: var(--cocoa); text-decoration: underline; }

/* Landing hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px; padding: 32px 0 48px; }
.hero h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.02; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.5px; }
.hero p.lead { font-size: 22px; color: var(--cocoa-muted); margin: 0 0 24px; }
.hero .art { justify-self: center; width: min(360px, 80vw); }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--apricot); color: var(--cocoa); font-weight: 800; font-size: 20px;
  padding: 14px 26px; border-radius: 999px; box-shadow: 0 5px 0 var(--apricot-lip);
}
.small { font-size: 16px; color: var(--cocoa-muted); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 40px; }
.card { border-radius: 28px; padding: 24px 26px; }
.card h2 { font-size: 24px; line-height: 1.2; margin: 0 0 6px; font-weight: 800; }
.card p { margin: 0; }
.blue { background: var(--tint-blue); }
.yellow { background: var(--tint-yellow); }
.lilac { background: var(--tint-lilac); }
.peach { background: var(--tint-peach); }
.green { background: var(--tint-green); }

.band { background: var(--white); border-radius: 32px; padding: 28px 30px; margin-bottom: 40px; }
.band h2 { font-size: 30px; margin: 0 0 10px; font-weight: 800; line-height: 1.15; }
.band ul { margin: 0; padding-left: 22px; }
.band li { margin: 4px 0; }

/* Long-form pages */
.doc { padding: 16px 0 48px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); line-height: 1.1; margin: 8px 0 4px; font-weight: 800; }
.doc h2 { font-size: 26px; line-height: 1.2; margin: 34px 0 6px; font-weight: 800; }
.doc h3 { font-size: 21px; margin: 22px 0 4px; font-weight: 700; }
.doc p, .doc li { color: var(--cocoa); }
.doc .updated { color: var(--cocoa-muted); margin: 0 0 18px; }
.doc .box { background: var(--white); border-radius: 24px; padding: 18px 22px; margin: 18px 0; }
.doc .box p { margin: 6px 0; }

/* Footer */
footer { border-top: 2px solid #eadfd4; padding: 24px 0 40px; color: var(--cocoa-muted); font-size: 16px; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
footer a { color: var(--cocoa-muted); font-weight: 600; }

@media (max-width: 720px) {
  body { font-size: 18px; }
  .top { flex-direction: column; align-items: flex-start; }
  .hero { grid-template-columns: 1fr; padding-top: 8px; text-align: center; }
  .hero .art { grid-row: 1; width: min(240px, 64vw); }
  .cards { grid-template-columns: 1fr; }
  .band { padding: 22px 20px; }
}
