@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/fonts/schibsted.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fff8f2;
  --surface: #ffffff;
  --surface-2: #fff1e6;
  --surface-3: #ffe4d1;
  --line: rgba(60, 30, 10, 0.1);
  --line-2: rgba(60, 30, 10, 0.2);
  --text: #1f1a17;
  --text-2: #57504a;
  --text-3: #6d655e;
  --accent: #d84315;
  --accent-hover: #bf360c;
  --accent-soft: #ffe8dc;
  --on-accent: #ffffff;
  --blush: #fff1e6;
  --clay: #d84315;
  --gold: #b45309;
  --danger: #c62828;
  --danger-soft: #fdecea;
  --ok: #0f8a5f;
  --shadow-1: 0 1px 2px rgba(60, 30, 10, 0.06);
  --shadow-2: 0 1px 2px rgba(60, 30, 10, 0.05), 0 12px 32px rgba(120, 60, 20, 0.1);
  --shadow-3: 0 2px 6px rgba(60, 30, 10, 0.06), 0 28px 64px rgba(120, 60, 20, 0.16);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: 'Schibsted Grotesk', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); }

.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wordmark { font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -0.04em; color: var(--accent); text-decoration: none; }
.wordmark i { color: var(--text); font-style: normal; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease), opacity 180ms var(--ease);
}
.btn:active:not(:disabled) { transform: scale(0.985); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px rgba(216, 67, 21, 0.28); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-primary:disabled { box-shadow: none; }
.btn-light { background: var(--surface); border-color: var(--line-2); color: var(--text); box-shadow: var(--shadow-1); }
.btn-light:hover:not(:disabled) { border-color: var(--text-3); }
.btn-ghost { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-3); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #a81f1f; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 11px; }

.btn.is-busy { color: transparent !important; pointer-events: none; }
.btn.is-busy > * { visibility: hidden; }
.btn.is-busy::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(60, 30, 10, 0.2);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
.btn-primary.is-busy::after, .btn-danger.is-busy::after { border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
