/* Creestion marketing site — follows the studio's own color grading:
   neutral grays + App Store blue. No neon, no glow, no gradients. */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f2;
  --ink: #232323;
  --muted: #737373;
  --line: #e3e3e0;
  --brand: #007aff;
  --brand-dark: #0066d6;
  --brand-soft: rgba(0, 122, 255, 0.08);
  --card: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.92);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --wrap: 1120px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #242424;
  --bg-soft: #2c2c2c;
  --ink: #fafafa;
  --muted: #a6a6a6;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #0a84ff;
  --brand-dark: #409cff;
  --brand-soft: rgba(10, 132, 255, 0.12);
  --card: #2e2e2e;
  --header-bg: rgba(36, 36, 36, 0.92);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased; transition: background 0.25s ease, color 0.25s ease;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 0.5rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 1rem; height: 66px; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; margin-left: 2rem; }
.site-nav a, .nav-drop > button { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; background: none; border: 0; cursor: pointer; padding: 0.4rem 0; font-family: inherit; display: inline-flex; align-items: center; gap: 0.3rem; }
.site-nav a:hover, .nav-drop > button:hover, .site-nav a.on { color: var(--ink); }
.nav-drop { position: relative; }
.drop-menu { display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 0.5rem; min-width: 210px; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0.8rem; border-radius: 9px; color: var(--ink); }
.drop-menu a:hover { background: var(--bg-soft); }
.drop-menu a span { color: var(--muted); font-size: 0.8rem; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.icon-btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
[data-theme="dark"] .only-light { display: none; }
[data-theme="light"] .only-dark, :root:not([data-theme]) .only-dark { display: none; }
.menu-btn { display: none; }
.mobile-menu { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease; }
.btn-primary { background: var(--brand); color: #fff; padding: 0.8rem 1.7rem; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); padding: 0.8rem 1.7rem; background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.cta-row.center { justify-content: center; }

/* ---------- Hero: output-first, professional ----------
   Compact pitch on top, then the finished work: real screenshot
   designs in device frames for all five stores. */
.hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.hero-top { text-align: center; padding: 4.5rem 1.25rem 0; max-width: 760px; }
.badge { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; font-weight: 600; color: var(--brand-dark); background: var(--brand-soft); border: 1px solid var(--line); padding: 0.35rem 0.95rem; border-radius: 999px; margin-bottom: 1.25rem; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.hero h1 { margin-bottom: 1rem; color: var(--ink); }
/* Rotating word: the headline is alive, not static. */
.rw-words { position: relative; display: inline-block; vertical-align: bottom; height: 1.18em; overflow: hidden; transition: width 0.45s ease; }
.rw-w { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--brand); opacity: 0; transform: translateY(75%); transition: opacity 0.45s ease, transform 0.45s ease; }
.rw-w.is-on { opacity: 1; transform: none; }
.rw-w.is-off { opacity: 0; transform: translateY(-75%); }
/* Staggered entrance: badge -> headline -> sub -> CTAs -> trust -> showcase. */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-top > * { animation: rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero-top > *:nth-child(2) { animation-delay: 0.08s; }
.hero-top > *:nth-child(3) { animation-delay: 0.16s; }
.hero-top > *:nth-child(4) { animation-delay: 0.24s; }
.hero-top > *:nth-child(5) { animation-delay: 0.32s; }
.hero-showcase { animation: rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s both; }
/* Showcase interactivity: gentle lift on hover (pointer devices only). */
@media (hover: hover) {
  .shot { transition: transform 0.25s ease; }
  .shot:hover { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-top > *, .hero-showcase { animation: none; }
  .rw-w { transition: none; }
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin: 0 auto; }
.micro { font-size: 0.88rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.micro svg { width: 15px; height: 15px; color: #22c55e; }

/* Showcase band: the finished screenshots, like a store preview. */
.hero-showcase { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: 3.25rem; padding: 3rem 0 3.25rem; overflow: hidden; }
.showcase-row { display: flex; align-items: flex-end; justify-content: center; gap: 1.75rem; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.shot { margin: 0; text-align: center; flex-shrink: 0; }
.shot figcaption { margin-top: 0.8rem; font-size: 0.8rem; color: var(--muted); font-weight: 500; line-height: 1.45; }
.shot figcaption strong { display: block; color: var(--ink); font-size: 0.88rem; font-weight: 600; }
.frame-phone, .frame-tablet { background: #0b0b0c; padding: 9px; box-shadow: var(--shadow-lg); }
.frame-phone { width: 148px; aspect-ratio: 1320 / 2868; border-radius: 30px; }
.frame-tablet { width: 178px; aspect-ratio: 2064 / 2752; border-radius: 22px; }
.frame-phone .scr, .frame-tablet .scr { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #000; }
.frame-tablet .scr { border-radius: 14px; }
.frame-phone .scr img, .frame-tablet .scr img, .frame-desk img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame-phone .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 58px; height: 18px; background: #0b0b0c; border-radius: 0 0 11px 11px; z-index: 2; }
.frame-desk { border-radius: 10px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.frame-desk.r1610 { width: 262px; aspect-ratio: 16 / 10; }
.frame-desk.r169 { width: 284px; aspect-ratio: 16 / 9; }

/* ---------- Content sections (unchanged areas, theme-aware) ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--card); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 1.75rem 1.25rem; }
.stats strong { display: block; font-size: 1.9rem; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 0.9rem; }
.section { padding: 4rem 1.25rem; }
.section .sub { color: var(--muted); max-width: 40rem; margin-bottom: 2rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--card); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.75rem; }
a.card.device { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 0.25rem; }
a.card.device .store { color: var(--muted); font-size: 0.9rem; }
a.card.device .size { font-weight: 700; font-size: 1.1rem; margin-top: 0.5rem; }
a.card.device .go { color: var(--brand); font-weight: 600; font-size: 0.9rem; margin-top: 0.5rem; }
.page-head { padding: 3.5rem 1.25rem 1rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.prose { max-width: 44rem; padding-bottom: 4rem; }
.prose h2 { margin-top: 2.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--brand); }
.specs { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { background: var(--bg-soft); width: 40%; font-weight: 600; }
.specs td { font-weight: 500; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery img { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 9 / 16; object-fit: cover; width: 100%; background: var(--bg-soft); }
.faq { display: flex; flex-direction: column; gap: 0.75rem; max-width: 48rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; background: var(--card); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq summary::marker { color: var(--brand); }
.faq p { color: var(--muted); margin: 0.6rem 0 0; }
.related { font-size: 1.05rem; }
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 4.5rem 1.25rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.75rem; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f2f2f2; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 2rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
.foot-brand p { color: var(--muted); font-size: 0.92rem; max-width: 22rem; }
.site-footer h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer ul a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.site-footer ul a:hover { color: var(--brand); }
.foot-base { border-top: 1px solid var(--line); padding: 1.25rem; color: var(--muted); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .f-left { left: -40px; width: 170px; }
  .f-right { right: -50px; width: 260px; }
}
@media (max-width: 900px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .showcase-row { justify-content: flex-start; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
  .shot { scroll-snap-align: center; }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .mobile-menu { display: block; position: fixed; inset: 66px 0 auto 0; z-index: 49; background: var(--card); border-bottom: 1px solid var(--line); padding: 0.75rem 1.25rem 1.25rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease; box-shadow: var(--shadow-lg); }
  .mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a.m-link { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0.25rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .mobile-menu a.m-link:last-of-type { border-bottom: 0; }
  .mobile-menu .m-cta { margin-top: 0.75rem; }
  .mobile-menu .m-cta .btn { width: 100%; }
  .hero-top { padding-top: 3.25rem; }
  .grid3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .section { padding: 2.75rem 1.25rem; }
  .header-in .btn-sm { display: none; }
}
