:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #16151a;
  --muted: #5d5b66;
  --line: #e7e4dd;
  --accent: #d9480f;
  --accent-ink: #ffffff;
  --radius: 18px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111014;
    --surface: #1a191f;
    --text: #f2f0ea;
    --muted: #a7a3b0;
    --line: #2b2a31;
    --accent: #ff7a3d;
    --accent-ink: #111014;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111014; --surface: #1a191f; --text: #f2f0ea; --muted: #a7a3b0;
  --line: #2b2a31; --accent: #ff7a3d; --accent-ink: #111014; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "DM Sans", system-ui, -apple-system, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.nav__brand { font: 700 20px "Outfit", sans-serif; text-decoration: none; letter-spacing: -0.01em; }
.nav__brand span { color: var(--accent); }
.nav__links { display: flex; gap: 20px; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero__title {
  font: 700 clamp(44px, 9vw, 96px)/1 "Outfit", sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
  display: flex; flex-wrap: wrap; align-items: baseline;
}
.hero__makers {
  font: 600 clamp(22px, 3.4vw, 32px)/1.15 "Outfit", sans-serif;
  margin: 18px 0 0; color: var(--muted); display: flex; align-items: flex-end;
}
.barrel {
  display: inline-block; height: 1.15em; overflow: hidden;
  color: var(--accent); font-weight: 700;
  transition: width .6s cubic-bezier(.7,0,.3,1);
}
.barrel__strip { display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.7,0,.3,1); }
.barrel__strip span { height: 1.15em; line-height: 1.15; white-space: nowrap; width: max-content; }
.hero__ger { color: var(--text); line-height: 1.15; }
@media (prefers-reduced-motion: reduce) { .barrel, .barrel__strip { transition: none; } }
.hero__lede { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 640px; margin: 24px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--line);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--ghost { background: transparent; }
.btn:hover { filter: brightness(1.05); }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section__eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
.section__title { font: 700 clamp(28px, 4vw, 40px)/1.15 "Outfit", sans-serif; margin: 0 0 16px; letter-spacing: -0.02em; }
.section__text { color: var(--muted); max-width: 680px; margin: 0; }

/* App grid */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; padding: 0; list-style: none; }
.app {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
}
.app__name { font: 700 20px "Outfit", sans-serif; margin: 0; }
.app__tag { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.app__platforms { margin: 0; font-size: 13px; color: var(--muted); }
.app__actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.app__actions .btn { padding: 8px 14px; font-size: 14px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.service { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.service h3 { font: 700 18px "Outfit", sans-serif; margin: 0 0 6px; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.contact a { font-weight: 600; }
.contact p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* Legal pages */
.doc { max-width: 760px; padding: 32px 0 64px; }
.doc h1 { font: 700 clamp(32px, 5vw, 44px)/1.1 "Outfit", sans-serif; letter-spacing: -0.02em; margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font: 700 22px "Outfit", sans-serif; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc .muted { color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  .nav__links { gap: 14px; font-size: 14px; }
  .hero { padding: 48px 0 40px; }
}
