/* FontStudio site: the app icon's palette (indigo to violet, gold sparkle), system fonts only, no scripts.
   Mobile first: one column from 320 px; the grids add columns as they fit; the safe areas are kept on notched phones. */
:root {
  --indigo-deep: #1c1650;
  --indigo: #33299a;
  --violet: #6a45dc;
  --gold: #f5b13d;
  --gold-soft: #ffe1a6;
  --ink: #1b1840;
  --muted: #5b5780;
  --link: #4b34c9;
  --bg: #f7f6fc;
  --card: #ffffff;
  --line: #e2def3;
  --gutter: clamp(1rem, 4vw, 1.5rem);
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover, a:focus { color: var(--violet); }
h1 { font-size: clamp(1.8rem, 6vw, 2.3rem); line-height: 1.2; margin: 0.2rem 0 0.4rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2.2rem 0 0.5rem; color: var(--indigo); }
h3 { font-size: 1.05rem; line-height: 1.35; margin: 0 0 0.35rem; color: var(--indigo); }
p, li { overflow-wrap: break-word; }
ul { padding-left: 1.3rem; }
li { margin: 0.25rem 0; }
.email { overflow-wrap: anywhere; }

/* the bar: the brand, the section links and the language switch; on a phone the links drop under the brand as a row
   that scrolls sideways, so every section stays one tap away */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem;
  padding: max(0.4rem, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 0.4rem max(var(--gutter), env(safe-area-inset-left));
  background: rgba(247, 246, 252, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.55rem; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.brand img { border-radius: 8px; }
.bar nav {
  display: flex; align-items: center; gap: 1.1rem; max-width: 100%; margin-left: auto;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.bar nav::-webkit-scrollbar { display: none; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 0.92rem; white-space: nowrap; }
.bar nav a:hover, .bar nav a:focus { color: var(--violet); }
.bar nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
/* the language switch sits outside the scrolling row, so it is always in view */
.bar .lang {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 0.8rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--indigo); background: var(--card);
  font-size: 0.9rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.bar .lang:hover, .bar .lang:focus { border-color: var(--violet); color: var(--violet); }

/* the hero: the icon's gradient, the title in the middle */
.hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(2.5rem, 9vw, 5rem) max(var(--gutter), env(safe-area-inset-right)) clamp(2.5rem, 8vw, 4.5rem) max(var(--gutter), env(safe-area-inset-left));
  background:
    radial-gradient(ellipse at 80% 10%, rgba(245, 177, 61, 0.22), transparent 45%),
    linear-gradient(160deg, var(--indigo-deep), var(--indigo) 55%, var(--violet));
}
.hero-icon { width: clamp(80px, 20vw, 128px); height: auto; border-radius: 22%; box-shadow: 0 16px 50px rgba(10, 6, 40, 0.45); }
.hero h1 { font-size: clamp(2.2rem, 10vw, 4.2rem); letter-spacing: 0.01em; margin: 1rem 0 0.4rem; color: #fff; }
.tagline { font-size: clamp(1.05rem, 2.8vw, 1.4rem); max-width: 34rem; margin: 0 auto; color: #fff; }
.platforms { color: var(--gold-soft); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; margin: 0.9rem 0 1.5rem; }
.soon {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%;
  padding: 0.55rem 1.2rem; border-radius: 999px; border: 1px solid rgba(255, 225, 166, 0.6);
  color: #fff; font-weight: 600; background: rgba(255, 255, 255, 0.08);
}

/* the pages */
main {
  max-width: 44rem; margin: 0 auto;
  padding: 2.5rem max(var(--gutter), env(safe-area-inset-right)) 4rem max(var(--gutter), env(safe-area-inset-left));
}
.home main { max-width: 72rem; padding-top: 0; }
.home h2 { font-size: clamp(1.4rem, 4.2vw, 1.75rem); margin: 0 0 1.1rem; }
.lead { font-size: 1.1rem; border-left: 3px solid var(--gold); padding-left: 0.9rem; }
.intro { padding: clamp(2rem, 7vw, 3.2rem) 0 0.5rem; max-width: 46rem; margin: 0 auto; }
.intro .lead { font-size: clamp(1.05rem, 2.4vw, 1.2rem); margin: 0; }
.band { padding: clamp(2rem, 6vw, 3rem) 0; scroll-margin-top: 6.5rem; }
.band + .band { border-top: 1px solid var(--line); }
.note, .meta, .crumb { color: var(--muted); font-size: 0.92rem; }
.meta { margin: 0; }
.crumb { margin: 0; }
.crumb a { color: var(--muted); text-decoration: none; }

/* the grids: 1, 2 or 3 cards a row */
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card { padding: 1.15rem 1.25rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.card p { margin: 0; }

.shots { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.shot img { display: block; width: 100%; aspect-ratio: 1600 / 490; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 0.8rem 1.1rem 1rem; color: var(--muted); font-size: 0.95rem; }

.price { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.price .amount { font-size: 1.6rem; font-weight: 700; color: var(--ink); margin: 0 0 0.2rem; }

/* the FAQ: details/summary, so it opens without a script */
.faq { display: grid; gap: 0.6rem; margin-top: 1.2rem; }
.faq details { border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 0.85rem 2.6rem 0.85rem 1.1rem; position: relative;
  font-weight: 600; color: var(--ink); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 0.75rem; font-size: 1.2rem; color: var(--violet); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 1.1rem 1rem; }

.foot {
  text-align: center; border-top: 1px solid var(--line);
  padding: 2rem max(var(--gutter), env(safe-area-inset-right)) max(3rem, calc(env(safe-area-inset-bottom) + 1.5rem)) max(var(--gutter), env(safe-area-inset-left));
}
.foot p { color: var(--muted); font-size: 0.88rem; margin: 0.3rem 0; }
.foot a { color: var(--muted); }

/* tablets and up */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .price { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
}
/* phones */
@media (max-width: 720px) {
  .bar .lang { order: 1; margin-left: auto; }
  .bar nav { order: 2; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); width: calc(100% + 2 * var(--gutter)); max-width: none; }
  .bar nav a { min-height: 40px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .platforms { letter-spacing: 0.08em; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1effb; --muted: #b4afd3; --link: #b7a6ff; --bg: #120f2e; --card: #1c1844; --line: #2f2a62;
  }
  h2, h3 { color: #cfc4ff; }
  .bar { background: rgba(18, 15, 46, 0.9); }
  .bar .lang { color: #cfc4ff; }
  a:hover, a:focus, .bar nav a:hover, .bar nav a:focus { color: var(--gold-soft); }
  .shot img { background: #fff; }
}
