@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/eb-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
}

:root {
  --canvas: #f5f5f5;
  --canvas-soft: #fafafa;
  --surface-card: #ffffff;
  --surface-strong: #f0efed;
  --primary: #292524;
  --primary-active: #0c0a09;
  --ink: #0c0a09;
  --body: #4e4e4e;
  --body-strong: #292524;
  --muted: #625d57;
  --muted-soft: #78716c;
  --hairline: #e7e5e4;
  --hairline-strong: #d6d3d1;
  --sky: #80bfff;
  --coral: #ff8f82;
  --gold: #f4cc68;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-xxl: 24px;
  --r-pill: 9999px;
  --section: 96px;
  --container: 1200px;
  font-family: "Inter", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--canvas); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin-top: 0; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}
.skip-link:focus { transform: translateY(0); }

h1, h2, .display {
  font-family: "EB Garamond", "Times New Roman", serif;
  font-weight: 300;
  color: var(--ink);
}
h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h3 {
  margin-bottom: 8px;
  color: var(--body-strong);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--hairline);
  background: rgba(245, 245, 245, 0.92);
  backdrop-filter: blur(18px);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: "EB Garamond", serif;
  font-size: 19px;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; flex: 1; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color 150ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; }

.lang-switcher { position: relative; margin-left: auto; }
.lang-switcher summary {
  min-width: 64px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  background: var(--canvas);
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.lang-switcher[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.lang-switcher summary:hover, .lang-switcher[open] summary { border-color: var(--ink); background: var(--surface-card); color: var(--ink); }
.lang-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 200; min-width: 170px; display: grid; padding: 8px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface-card); box-shadow: 0 16px 40px rgba(12, 10, 9, 0.12); }
.lang-options a { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.lang-options a:hover, .lang-options a:focus-visible { background: var(--surface-strong); color: var(--ink); outline: none; }
.lang-options a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.lang-options a[aria-current="true"]::after { content: "✓"; }
.lang-switcher + .nav-cta { margin-left: 0; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 0;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-active); }
.btn-outline { border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--surface-strong); }
.app-store-link { display: inline-flex; width: 160px; border-radius: 10px; }
.app-store-link:focus-visible, .btn:focus-visible, .text-action:focus-visible, .nav a:focus-visible, .footer a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.orb-wrap { position: relative; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(86px); opacity: 0.48; pointer-events: none; }
.orb-sky { background: var(--sky); }
.orb-coral { background: var(--coral); }
.orb-gold { background: var(--gold); }
.orb-hero-one { width: 520px; height: 520px; top: -160px; right: -100px; }
.orb-hero-two { width: 320px; height: 320px; bottom: 30px; left: -100px; }

.hero {
  position: relative;
  max-width: var(--container);
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  margin: 0 auto;
  padding: var(--section) clamp(20px, 4vw, 48px) calc(var(--section) * 1.1);
}
.hero-content, .hero-art { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.text-action { color: var(--body-strong); font-size: 15px; font-weight: 500; }
.text-action span { display: inline-block; margin-left: 5px; }
.availability { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero-art { justify-self: center; width: min(100%, 380px); margin: 0; }
.hero-screenshot {
  width: 100%;
  filter: drop-shadow(0 40px 45px rgba(20, 34, 58, 0.2));
  transform: rotate(2deg);
}

.section { max-width: var(--container); margin: 0 auto; padding: var(--section) clamp(20px, 4vw, 48px); }
.band { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--canvas-soft); }
.band-inner { max-width: var(--container); margin: 0 auto; padding: var(--section) clamp(20px, 4vw, 48px); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.card {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--surface-card);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(12, 10, 9, 0.07); }
.card-num {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.card p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }

.shot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.shot {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0;
  padding: 28px 24px 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--surface-card);
}
.screenshot-image { width: 100%; filter: drop-shadow(0 18px 22px rgba(20, 34, 58, 0.14)); }
.shot figcaption { max-width: 270px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; text-align: center; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); }
.detail-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.detail-list article { padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.detail-list span { display: block; margin-bottom: 7px; color: var(--body-strong); font-size: 15px; font-weight: 600; }
.detail-list p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }

.gold-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 48px;
  padding: clamp(40px, 7vw, 84px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xxl);
  background: var(--surface-card);
}
.gold-copy { position: relative; z-index: 1; max-width: 620px; }
.gold-copy p:not(.eyebrow) { max-width: 570px; margin: 0 0 28px; color: var(--body); font-size: 16px; line-height: 1.65; }
.orb-gold-panel { width: 420px; height: 420px; top: -100px; right: -60px; }
.gold-badge {
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid rgba(12, 10, 9, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 25px 70px rgba(104, 74, 9, 0.12);
  backdrop-filter: blur(14px);
}
.gold-badge span { color: #a56f00; font-size: 34px; }
.gold-badge strong { margin-top: 8px; font-family: "EB Garamond", serif; font-size: 32px; font-weight: 300; }
.gold-badge small { color: var(--muted); font-size: 13px; }

.panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--surface-card);
}
.panel h2 { margin-bottom: 8px; }
.panel p:not(.eyebrow) { max-width: 540px; margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }
.cta-band { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cta-band h2 { max-width: 600px; margin-bottom: 0; }
.cta-band p:not(.eyebrow) { max-width: 560px; margin: 0; color: var(--body); font-size: 16px; line-height: 1.6; }

.page-hero { max-width: var(--container); margin: 0 auto; padding: 72px clamp(20px, 4vw, 48px) 52px; border-bottom: 1px solid var(--hairline); }
.back-link { display: inline-flex; margin-bottom: 30px; color: var(--muted); font-size: 14px; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.prose { max-width: 760px; }
.prose h2 { margin: 44px 0 13px; font-size: clamp(24px, 3vw, 32px); }
.prose p, .prose li { margin: 0 0 14px; color: var(--body); font-size: 15px; line-height: 1.7; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--body-strong); text-decoration: underline; text-underline-offset: 3px; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.support-card { padding: 26px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--surface-card); }
.support-card p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }
.faq { display: grid; gap: 1px; overflow: hidden; margin-top: 40px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--hairline); }
.faq details { background: var(--surface-card); }
.faq summary { min-height: 58px; padding: 19px 24px; color: var(--ink); cursor: pointer; font-size: 15px; font-weight: 500; }
.faq summary:hover { background: var(--canvas-soft); }
.faq p { padding: 0 24px 22px; margin: 0; color: var(--body); font-size: 15px; line-height: 1.65; }

.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.blog-card { min-height: 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--surface-card); }
.blog-card h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.blog-card p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }
.post-meta { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.post-byline { margin: -10px 0 0; color: var(--muted); font-size: 14px; }
.text-link { margin-top: auto; color: var(--body-strong); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-copy { display: grid; gap: 18px; }
.article-copy > h2 { margin: 28px 0 0; }
.article-copy > p, .article-copy > ul { margin-bottom: 0; }
.article-cta { margin-top: 36px; padding: 36px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--surface-card); }
.article-cta h2 { margin-top: 0; }
.related-reading { margin-top: 12px; padding: 28px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--canvas-soft); }
.related-reading h2 { margin-top: 0; }
.related-reading li { margin-bottom: 8px; }

.footer { padding: 48px clamp(20px, 4vw, 48px); border-top: 1px solid var(--hairline); background: var(--canvas); }
.footer-inner { max-width: var(--container); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 0 auto; }
.footer-brand { color: var(--muted); font-family: "EB Garamond", serif; font-size: 17px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { margin: 0; color: var(--muted-soft); font-size: 13px; }
.fan-notice { max-width: var(--container); margin: 30px auto 0; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--muted-soft); font-size: 12px; line-height: 1.6; }

@media (max-width: 900px) {
  :root { --section: 68px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-art { width: min(70vw, 340px); }
  .card-grid, .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .gold-panel { grid-template-columns: 1fr; }
  .gold-badge { width: 230px; justify-self: center; }
}

@media (max-width: 680px) {
  :root { --section: 52px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .nav { gap: 10px; padding: 0 14px; }
  .nav-links { display: none; }
  .nav-brand { flex: 1; }
  .lang-switcher { margin-left: 0; }
  .nav-cta { min-height: 40px; padding: 10px 17px; }
  .hero { padding-top: 64px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .card-grid, .shot-grid, .support-grid { grid-template-columns: 1fr; }
  .panel { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
  .gold-panel { padding: 42px 24px; }
  .gold-badge { width: min(76vw, 220px); }
}

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