:root {
  --bg: #f6f6f4;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #151515;
  --muted: #6b6b6b;
  --line: rgba(21, 21, 21, 0.10);
  --accent: #151515;
  --accent-soft: #ececea;
  --success: #2f6f54;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.07);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 255, 255, 0.95), transparent 34rem),
    linear-gradient(180deg, #fafaf8 0%, var(--bg) 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(246, 246, 244, 0.78);
  border-bottom: 1px solid rgba(21, 21, 21, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #141414;
  color: white;
  font-size: 16px;
  font-weight: 760;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 520;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.84);
  color: #151515;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font: inherit;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}

main {
  overflow: clip;
}

.hero {
  padding: 118px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #636363;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #151515;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 710;
}

.hero-copy,
.page-hero p {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 620;
  font-size: 15px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
}

.studio-object {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
}

.studio-object::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 21, 21, 0.07), transparent 67%);
  filter: blur(2px);
}

.object-card {
  width: min(100%, 380px);
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(145deg, #1d1d1d 0%, #090909 100%);
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.22);
  transform: rotate(3deg);
}

.object-card::before,
.object-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
}

.object-card::before {
  inset: 27px;
}

.object-card::after {
  width: 44%;
  height: 30%;
  right: 46px;
  bottom: 48px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.object-letter {
  position: absolute;
  left: 48px;
  top: 44px;
  color: white;
  font-size: 92px;
  line-height: 1;
  font-weight: 730;
  letter-spacing: -0.08em;
}

.object-meta {
  position: absolute;
  left: 48px;
  bottom: 54px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.product-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -54px;
  bottom: -68px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 21, 21, 0.07), transparent 70%);
  z-index: -1;
}

.product-card.is-coming {
  box-shadow: none;
  border: 1px dashed rgba(21, 21, 21, 0.14);
  background: rgba(255, 255, 255, 0.42);
}

.product-badge {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #515151;
  font-size: 12px;
  font-weight: 650;
}

.product-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 30px 0 50px;
  border-radius: 24px;
  background: #151515;
  color: white;
  font-size: 31px;
  font-weight: 720;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.product-card p {
  margin: 0;
  max-width: 500px;
  color: var(--muted);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-weight: 650;
  font-size: 14px;
}

.card-link span {
  transition: transform 150ms ease;
}

.card-link:hover span {
  transform: translateX(3px);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle {
  padding: 28px;
  border-top: 1px solid var(--line);
}

.principle strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.page-hero {
  padding: 110px 0 64px;
}

.page-hero.compact {
  padding-bottom: 36px;
}

.page-hero h1 {
  font-size: clamp(46px, 6vw, 76px);
}

.product-showcase {
  margin: 30px auto 0;
  max-width: 980px;
  padding: 38px;
  border-radius: 36px;
  background: #101010;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.19);
}

.player-demo {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.demo-copy {
  color: white;
}

.demo-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.demo-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.demo-device {
  width: min(100%, 260px);
  justify-self: center;
  aspect-ratio: 9 / 16;
  border-radius: 25px;
  padding: 11px;
  background: #2b2b2b;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.demo-screen {
  height: 100%;
  position: relative;
  border-radius: 17px;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 25%, #575757 0 9%, transparent 10%),
    linear-gradient(150deg, #242424, #050505 66%);
}

.demo-screen::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: #111;
  background: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.content-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 70px;
  align-items: start;
  padding-bottom: 110px;
}

.content-nav {
  position: sticky;
  top: 100px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.content-nav strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.content-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.prose {
  min-width: 0;
}

.prose h2 {
  margin: 56px 0 16px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 34px 0 12px;
  font-size: 20px;
}

.prose p,
.prose li {
  color: #565656;
  font-size: 16px;
  line-height: 1.75;
}

.prose ul {
  padding-left: 20px;
}

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.notice strong {
  display: block;
  margin-bottom: 5px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 110px;
}

.support-card {
  padding: 30px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--line);
}

.support-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.support-card .button {
  margin-top: 22px;
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.error-page {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  font-size: clamp(76px, 14vw, 150px);
  letter-spacing: -0.08em;
}

.error-page p {
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 900px) {
  .hero-grid,
  .section-heading,
  .player-demo,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 82px;
  }

  .studio-object {
    min-height: 430px;
  }

  .object-card {
    max-width: 320px;
  }

  .section-heading {
    gap: 18px;
  }

  .content-nav {
    position: static;
  }

  .feature-grid,
  .principles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 6px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .hero {
    padding: 68px 0 44px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.055em;
  }

  .studio-object {
    min-height: 370px;
  }

  .object-card {
    max-width: 270px;
    border-radius: 30px;
  }

  .object-letter {
    left: 38px;
    top: 34px;
    font-size: 72px;
  }

  .object-meta {
    left: 38px;
    bottom: 40px;
  }

  .section {
    padding: 68px 0;
  }

  .product-grid,
  .feature-grid,
  .principles,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 390px;
    padding: 26px;
  }

  .product-showcase {
    padding: 24px;
    border-radius: 26px;
  }

  .player-demo {
    min-height: 0;
  }

  .demo-device {
    margin-top: 22px;
  }

  .page-hero {
    padding: 76px 0 46px;
  }

  .content-layout {
    gap: 34px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
