/* generated by build.mjs from src/styles/myth.css: edit those, not this file */
/* MYTH website demos — shared base. Values mirror the v5 app tokens
   (myth-design-frontend-v5/src/sass/_tokens.scss): dark-first canvas, indigo accent,
   one hue per pillar (pattern blue → product violet → studio amber), Oswald + Inter only. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #111111;
  --bg-rgb: 17, 17, 17;
  --surface: #1a1a1a;
  --surface-2: #232323;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --accent: #4f5eff;
  --accent-rgb: 79, 94, 255;
  --accent-lift: #8a95ff;

  --pattern-rgb: 47, 98, 232;
  --product-rgb: 130, 71, 214;
  --studio-rgb: 214, 132, 44;
  --catalog-rgb: 34, 160, 104;
  --cat-gradient: linear-gradient(90deg, rgb(var(--pattern-rgb)) 0%, rgb(var(--product-rgb)) 52%, rgb(var(--studio-rgb)) 100%);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --glass: rgba(26, 26, 26, 0.55);
  --glass-blur: blur(12px);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  --radius-card: 18px;
  --radius-pill: 999px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 400 16px/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }

.display { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; }
/* Turkish capitals carry marks above (İ Ö Ü Ğ) and below (Ç Ş) the letter: a tight display line lets one line's dots
   touch the line above, so headings set in the display face get a little more air on the Turkish pages */
html[lang="tr"] :is(h1, h2, h3).display, html[lang="tr"] :is(h1, h2, h3) .display { line-height: 1.04 !important; }
/* a brand name in a Turkish sentence (src/i18n/i18n.mjs marks it lang="en" so capitals stay MYTH DIGI, not DİGİ):
   no box of its own, so a flex pill or kicker does not set it apart from the words around it */
span[data-brand] { display: contents !important; }
.kicker { font: 600 12px/1 var(--font-ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.accent-word { background: var(--cat-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 46ch; }

.pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--radius-pill);
  font: 600 14px/1 var(--font-ui); text-decoration: none; border: 1px solid var(--line-strong); background: var(--glass);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: var(--text); }
.pill--accent { background: var(--accent); border-color: transparent; }
.glass { background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow); }

/* Fixed demo chrome: MYTH mark + a small label saying which references this demo remixes. */
.demo-nav { position: fixed; inset: 16px var(--gutter) auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  pointer-events: none; }
.demo-nav > * { pointer-events: auto; }
.demo-logo { font: 700 18px/1 var(--font-display); letter-spacing: 0.08em; text-decoration: none; }
/* content scrolls under the fixed nav: give the nav its own soft dark band so the mark stays readable */
.demo-nav::before { content: ""; position: fixed; inset: 0 0 auto; height: 76px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.78) 0%, rgba(10, 10, 12, 0.42) 60%, transparent 100%); }
.demo-ref { font: 500 12px/1.3 var(--font-ui); color: var(--muted); padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--line); max-width: 60vw; }

@media (max-width: 600px) {
  .demo-ref { font-size: 10.5px; padding: 6px 10px; max-width: 62vw; }
  .demo-nav::before { height: 80px; background: linear-gradient(180deg, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.6) 62%, transparent 100%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
