:root {
  --bg: #e7eef3;
  --bg-deep: #d5e2ea;
  --ink: #152027;
  --ink-soft: #3d4f5c;
  --line: rgba(21, 32, 39, 0.12);
  --accent: #e4572e;
  --accent-2: #ff8a3d;
  --steel: #2f3e48;
  --sky-top: #8ec0d8;
  --sky-mid: #c5dbe6;
  --sky-bot: #eef3f6;
  --white: #f7fafc;
  --shadow: 0 24px 60px rgba(21, 32, 39, 0.14);
  --radius: 18px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--bg);
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(255, 138, 61, 0.18), transparent 60%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-bot) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  color: #f4f8fb;
}

.site-header .nav {
  color: rgba(244, 248, 251, 0.78);
}

.site-header .nav a:hover {
  color: #fff;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.logo-mark {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 3px rgba(228, 87, 46, 0.18);
}

.nav {
  display: none;
  gap: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 28px rgba(228, 87, 46, 0.28);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(21, 32, 39, 0.18);
  box-shadow: none;
}

.btn-ghost:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.45);
}

.btn-small {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-ghost-light {
  color: #f4f8fb;
  border-color: rgba(244, 248, 251, 0.35);
}

.btn-ghost-light:hover {
  background: rgba(244, 248, 251, 0.12);
}

/* Full-bleed hero */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding:
    calc(var(--header-h) + clamp(1.5rem, 5vw, 3.5rem))
    clamp(1rem, 3vw, 2.5rem)
    clamp(2.5rem, 7vw, 4.5rem);
  color: #f4f8fb;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  animation: hero-ken 18s ease-in-out infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 24, 0.78) 0%, rgba(10, 18, 24, 0.42) 48%, rgba(10, 18, 24, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 18, 24, 0.35) 0%, transparent 28%, rgba(10, 18, 24, 0.55) 100%);
}

.hero-swing {
  position: absolute;
  top: 12%;
  right: 18%;
  width: 140px;
  transform-origin: top center;
  animation: swing 3.2s ease-in-out infinite;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.hero-cable {
  display: block;
  width: 2px;
  height: 70px;
  margin: 0 auto;
  background: rgba(244, 248, 251, 0.75);
}

.hero-block {
  display: block;
  width: 132px;
  height: 42px;
  margin: 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff9a4d, #e4572e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-copy {
  max-width: 36rem;
  animation: rise 0.9s ease both;
}

.brand-lockup {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 11vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 14ch;
}

.lede {
  margin: 0 0 1.5rem;
  color: rgba(244, 248, 251, 0.82);
  font-size: 1.1rem;
  max-width: 34ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes hero-ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: -1.25rem clamp(1rem, 3vw, 2.5rem) 1rem;
  position: relative;
  z-index: 2;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.strip-item {
  background: rgba(247, 250, 252, 0.72);
  padding: 1.1rem 1.15rem;
}

.strip-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.strip-item strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 3vw, 2.5rem);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2,
.design-copy h2,
.demo-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-head p,
.design-copy p,
.demo-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

.feature h3,
.steps h3,
.mode-list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}

.feature p,
.steps p,
.mode-list p {
  margin: 0;
  color: var(--ink-soft);
}

.feature {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.panel-shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.panel-shot figcaption,
.shot figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(247, 250, 252, 0.7);
  border: 1px solid var(--line);
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #d5e2ea;
}

.mode-list {
  display: grid;
  gap: 1rem;
}

.mode-list article {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.design {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.checklist {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.design-visual {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 138, 61, 0.25), transparent 45%),
    linear-gradient(160deg, #b7d3e1, #eef3f6);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.orbit {
  position: absolute;
  inset: 18%;
}

.orbit span {
  position: absolute;
  left: 50%;
  width: 92px;
  height: 34px;
  margin-left: -46px;
  border-radius: 8px;
  background: var(--steel);
  animation: float-stack 3.6s ease-in-out infinite;
}

.orbit span:nth-child(1) { top: 18%; width: 110px; margin-left: -55px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); animation-delay: 0s; }
.orbit span:nth-child(2) { top: 42%; animation-delay: 0.25s; }
.orbit span:nth-child(3) { top: 66%; width: 126px; margin-left: -63px; animation-delay: 0.5s; }

.demo-panel {
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 138, 61, 0.16), rgba(228, 87, 46, 0.08)),
    rgba(247, 250, 252, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.demo-panel .btn {
  margin-top: 1.25rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
}

details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--ink);
}

.fine {
  margin-top: 1rem;
  opacity: 0.75;
}

.byline {
  margin: 0.25rem clamp(1rem, 3vw, 2.5rem) 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.byline a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 250, 252, 0.75);
}

.mode-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.98rem;
}

.mode-table th,
.mode-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.mode-table thead th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
}

.mode-table tbody th {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.mode-table tbody tr:last-child th,
.mode-table tbody tr:last-child td {
  border-bottom: 0;
}

.playfeel-stage {
  position: relative;
  min-height: 420px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #8ebfd6, #e8eef2);
}

.playfeel-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 215, 160, 0.45), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 40%);
}

.playfeel-crane {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
}

.playfeel-arm {
  height: 8px;
  border-radius: 999px;
  background: #24333d;
}

.playfeel-swing {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 120px;
  margin-left: -60px;
  transform-origin: top center;
  animation: swing 2.6s ease-in-out infinite;
}

.playfeel-cable {
  display: block;
  width: 2px;
  height: 64px;
  margin: 0 auto;
  background: #24333d;
}

.playfeel-block {
  display: block;
  width: 120px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 24px rgba(228, 87, 46, 0.3);
}

.playfeel-tower {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  transition: transform 0.25s ease;
}

.playfeel-tower.is-hit {
  transform: translateX(-50%) translateY(-4px);
}

.playfeel-tower.is-miss {
  transform: translateX(-50%) rotate(-2deg);
}

.playfeel-floor {
  display: block;
  height: 30px;
  border-radius: 6px;
  background: #2f3e48;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.playfeel-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: rgba(247, 250, 252, 0.88);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

.playfeel-status {
  margin: 0;
  margin-right: auto;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.playfeel-note {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.cookie-inner {
  display: grid;
  gap: 0.9rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(21, 32, 39, 0.94);
  color: #f4f8fb;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.cookie-inner a {
  color: #ffb089;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie .btn-ghost {
  color: #f4f8fb;
  border-color: rgba(244, 248, 251, 0.28);
}

.site-header--solid {
  position: sticky;
  color: var(--ink);
  background: rgba(231, 238, 243, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header--solid .nav {
  color: var(--ink-soft);
}

.site-header--solid .nav a:hover,
.site-header--solid .nav a[aria-current="page"] {
  color: var(--ink);
}

.site-header--solid .logo-img {
  box-shadow: 0 0 0 2px rgba(21, 32, 39, 0.08);
}

.page-inner .legal-wrap {
  padding: calc(var(--header-h) + 1.5rem) clamp(1rem, 3vw, 2.5rem) 3rem;
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.legal-wrap h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.lede-ink {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.prose h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.15rem;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(247, 250, 252, 0.8);
  margin-bottom: 1.5rem;
}

.contact-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}

.contact-mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.contact-note {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.error-wrap .cta-row {
  margin-top: 0.5rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes swing {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(16deg); }
}

@keyframes float-stack {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease var(--delay, 0s), transform 0.55s ease var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 760px) {
  .nav { display: flex; }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .feature { border-top: 0; padding: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mode-list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
  .design { grid-template-columns: 1.1fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .cookie-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .hero {
    align-items: end;
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-swing {
    right: 22%;
    top: 10%;
    width: 170px;
  }

  .hero-block {
    width: 158px;
    height: 48px;
  }

  .playfeel-stage {
    min-height: 480px;
  }
}

@media (max-width: 640px) {
  .hero-swing {
    opacity: 0.55;
    right: 6%;
    top: 16%;
    width: 96px;
  }

  .hero-cable { height: 48px; }
  .hero-block { width: 92px; height: 30px; }

  .hero-bg {
    object-position: 72% center;
  }
}
