@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-variable.ttf') format('truetype');
}

:root {
  color-scheme: dark;
  --bg: #101114;
  --surface: #1a1c20;
  --card: #22252a;
  --steel: #34373d;
  --orange: #ff7518;
  --amber: #ffaa55;
  --text: #f5f5f5;
  --muted: #a0a4ab;
  --line: #ffffff14;
  --header-height: 96px;
  --diamond: polygon(49% 0, 100% 44%, 51% 100%, 0 47%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); background: var(--bg); color: var(--text); font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
button { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }
img { max-width: 100%; object-fit: contain; }
svg { width: 26px; height: 26px; }
p { color: var(--muted); margin: 0 0 20px; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 600; letter-spacing: -.045em; }
h1 { font-size: clamp(48px, 5.5vw, 82px); }
h2 { font-size: clamp(34px, 3.4vw, 49px); }
h1, h2 { letter-spacing: -.055em; }
h3 { font-size: 23px; letter-spacing: -.025em; }
small { font-size: 12px; color: var(--muted); }
h1, h2, h3, .brand, .eyebrow, .footer-brand, .button, .social-name { font-family: 'Space Grotesk', ui-sans-serif, sans-serif; }
.container { max-width: 1240px; margin: auto; width: calc(100% - 96px); }

/* The same directional sticky bar used on Secret Santa. */
.header { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); background: var(--bg); border-bottom: 1px solid var(--steel); transition: transform .45s ease-in-out; }
.header.is-hidden { transform: translateY(-100%); pointer-events: none; }
.header:focus-within { transform: translateY(0); pointer-events: auto; }
.header-inner { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.025em; font-size: 18px; white-space: nowrap; isolation: isolate; background: var(--bg); }
.brand img { width: 44px; height: 44px; mix-blend-mode: screen; mask-image: radial-gradient(ellipse at center, #000 52%, transparent 74%); -webkit-mask-image: radial-gradient(ellipse at center, #000 52%, transparent 74%); }
.brand-light { font-weight: 400; color: #b8bbc1; }
.desktop-nav { display: flex; gap: 32px; font-size: 13px; }
.desktop-nav a { padding: 10px 0; color: #c7c9ce; }
.desktop-nav a:hover, .text-link:hover { color: var(--amber); }
.mobile-menu { display: none; }
.skip { position: fixed; top: -100px; left: max(20px, env(safe-area-inset-left, 0px)); z-index: 40; background: var(--orange); color: var(--bg); padding: 12px; }
.skip:focus { top: 12px; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 20px; padding-top: 65px; padding-bottom: 72px; }
.eyebrow { font-size: 10px; letter-spacing: .18em; font-weight: 700; color: var(--amber); margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 6px; height: 9px; flex-shrink: 0; background: var(--orange); clip-path: var(--diamond); }
.hero h1 { margin-bottom: 26px; }
.hero-copy > p { max-width: 470px; font-size: 16px; line-height: 1.8; }
.button-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.button { min-height: 48px; border-radius: 3px; padding: 13px 21px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.primary { background: var(--orange); color: var(--bg); }
.primary:hover:not(:disabled) { background: var(--amber); }
.secondary { border-color: var(--steel); color: var(--text); background: var(--surface); }
.secondary:hover { border-color: var(--orange); }
.button:disabled { cursor: default; background: #463021; color: #e6c5ae; border-color: #765038; }
.hero-art { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-width: 0; aspect-ratio: 1; background: var(--bg); }
.hero-art::before { content: ''; position: absolute; inset: 12%; background: radial-gradient(ellipse, #ff751810, transparent 68%); z-index: -1; }
.hero-art img { position: relative; width: 84%; height: auto; mix-blend-mode: screen; mask-image: radial-gradient(ellipse at center, #000 55%, transparent 74%); -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 74%); }
.spark { position: absolute; width: 4px; height: 6px; background: var(--orange); clip-path: var(--diamond); animation: ember 7s ease-in-out infinite; }
.spark-one { top: 25%; left: 12%; }
.spark-two { top: 65%; right: 12%; animation-delay: 3s; }
@keyframes ember { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: .8; transform: translateY(-12px); } }

.section { padding-block: 95px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.section .eyebrow { margin-bottom: 15px; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.app-card { display: flex; flex-direction: column; background: linear-gradient(135deg, var(--card), var(--surface)); border: 1px solid var(--steel); border-radius: 4px; padding: 28px; transition: border-color .2s; }
.app-card:hover { border-color: #ff751866; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.app-icon { width: 56px; height: 56px; border-radius: 4px; flex-shrink: 0; }
.placeholder-icon { display: grid; place-items: center; background: #ff751814; border: 1px solid #ff751833; color: var(--amber); font-size: 30px; }
.badge { font-size: 10px; border: 1px solid var(--steel); border-radius: 2px; padding: 4px 10px; color: #c0c3c9; }
.example-label { font-size: 8px; letter-spacing: .12em; color: var(--amber); margin-bottom: 12px; }
.app-card h3 { margin-bottom: 14px; }
.app-card > p:not(.example-label) { font-size: 13px; }
.card-actions { border-top: 1px solid var(--line); padding-top: 20px; display: flex; gap: 15px; flex-wrap: wrap; font-size: 12px; margin-top: auto; }
.muted { color: var(--muted); }
.text-link { font-size: 12px; display: inline-flex; gap: 16px; align-items: center; min-height: 44px; }

/* Keep the gift icon while using the same forged-metal palette as the other apps. */
.app-card--christmas { position: relative; overflow: hidden; }
.app-card--christmas::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--orange), var(--steel) 75%); }
.christmas-icon { display: grid; place-items: center; background: #ff75180d; border: 1px solid #ff751833; color: var(--orange); }
.christmas-icon svg { width: 36px; height: 36px; }
.app-card--christmas .badge { font-size: 9px; text-align: center; }
.app-card--christmas > p.christmas-label { color: var(--amber); font-size: 9px; font-weight: 700; letter-spacing: .16em; margin-bottom: 12px; }
.app-card--christmas h3 { font-size: 25px; line-height: 1.2; }
.platforms { color: #b8bbc1; }

.support-panel { position: relative; overflow: hidden; display: flex; gap: 32px; border: 1px solid var(--steel); background: linear-gradient(120deg, var(--surface), #202022); border-radius: 4px; padding: 54px; }
.support-emblem { background: #ff75180d; border: 1px solid #ff751833; border-radius: 3px; min-width: 58px; height: 58px; display: grid; place-items: center; color: var(--orange); }
.support-copy { position: relative; z-index: 1; max-width: 750px; }
.support-copy h2 { font-size: clamp(30px, 3vw, 43px); margin-bottom: 24px; }
.support-copy > p:not(.eyebrow) { font-size: 14px; max-width: 660px; margin-bottom: 12px; }
.support-copy small { display: block; margin-top: 17px; font-size: 10px; }
.follow-section { padding-top: 5px; }
.section-description { max-width: 510px; font-size: 14px; margin-top: 20px; }
.social-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.social-card { position: relative; background: var(--surface); border: 1px solid var(--steel); border-radius: 4px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s; }
.social-card svg { margin-bottom: 15px; color: var(--orange); }
.social-name { font-size: 14px; font-weight: 600; }
.social-card small { font-size: 10px; overflow-wrap: anywhere; }
.social-card > span:last-child { position: absolute; right: 20px; top: 20px; color: #797e87; }
.social-card:is(a):hover { border-color: var(--orange); }
.unconfigured > span:last-child { display: none; }
.screenshot { width: 100%; height: auto; border-radius: 4px; margin-bottom: 20px; }

.forge-footer { display: flex; justify-content: center; border-top: 1px solid var(--steel); padding: 28px 20px calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; color: #c7c9ce; font-size: 14px; letter-spacing: .12em; }
.forge-diamond { width: 9px; height: 13px; flex-shrink: 0; background: var(--orange); clip-path: var(--diamond); }

@media (min-width: 1500px) {
  .hero { min-height: 720px; }
}
@media (max-width: 1024px) {
  .container { width: calc(100% - 56px); }
  .desktop-nav { gap: 20px; }
  .hero { min-height: 560px; }
  .hero h1 { font-size: 60px; }
  .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .support-panel { padding: 36px; }
}
@media (max-width: 767px) {
  :root { --header-height: 76px; }
  .container { width: calc(100% - 40px); }
  .header-inner { height: 76px; }
  .brand { font-size: 15px; }
  .brand img { width: 36px; height: 36px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 70px; display: flex; align-items: center; gap: 14px; font-size: 12px; }
  .mobile-menu summary::marker { content: ''; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { color: var(--orange); display: inline-block; transition: transform .18s ease-out; }
  .mobile-menu[open] summary span { transform: rotate(45deg); }
  .mobile-menu nav { position: absolute; right: 20px; left: 20px; top: calc(70px + env(safe-area-inset-top, 0px)); padding: 12px; background: var(--surface); border: 1px solid var(--steel); border-top-color: var(--orange); border-radius: 3px; display: flex; flex-direction: column; max-height: calc(100dvh - 100px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; box-shadow: 0 8px 18px #00000030; }
  .mobile-menu[open] nav { animation: menu-reveal .18s ease-out; }
  .mobile-menu nav a { padding: 12px; }
  .mobile-menu nav a:hover { color: var(--amber); }
  .hero { grid-template-columns: 1fr; padding-top: 55px; padding-bottom: 30px; gap: 15px; min-height: auto; }
  .hero h1 { font-size: clamp(45px, 9vw, 67px); }
  .hero-copy > p { font-size: 14px; max-width: 440px; }
  .hero .eyebrow { font-size: 9px; }
  .hero-art { width: 100%; max-width: 390px; justify-self: center; }
  .button-row { gap: 12px; }
  .button { padding: 12px 17px; gap: 14px; }
  .section { padding-block: 60px; }
  .section-top { display: block; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { padding: 24px; }
  .support-panel { padding: 26px; display: block; }
  .support-emblem { width: 48px; min-width: 48px; height: 48px; margin-bottom: 25px; }
  .support-copy .eyebrow { font-size: 8px; }
  .support-copy h2 { font-size: 34px; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .social-card { padding: 20px; }
  .follow-section { padding-top: 0; }
}
@keyframes menu-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
