/* ==========================================================================
   Virals — main site styles (index, terms, privacy)
   Playlist Transfer pages use style2.css and are not affected by this file.
   ========================================================================== */

:root {
  --bg: #0e0e0e;
  --white: #ffffff;
  --title: #f5f5f7;
  --text: #7c7c7c;
  --lead: #8e8e8e;
  --line: #212121;
  --card: #1a1a1a;
  --card-2: #232323;
  --blue: #4053ff;
  --lime: #cdf564;
  --font: "Montserrat", sans-serif;
  --ui: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; outline: none; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--white); font-family: var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px;
  background: var(--blue); color: var(--white); border-radius: 42px; font-size: 14px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Header */
.header { padding-block: 30px; position: relative; z-index: 4; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; color: var(--white); padding-left: 44px; }
.logo svg { height: 30px; width: auto; display: block; }
.navigation { display: flex; align-items: center; }
.navigation-link { font-size: 17px; line-height: 22px; font-weight: 400; color: var(--white); margin-right: 122px; }
.navigation-link:last-of-type { margin-right: 70px; }
.navigation-link:hover { opacity: .8; }
.navigation-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; text-decoration-color: var(--blue); }
.contact-us-button {
  font-family: var(--font); font-size: 17px; line-height: 22px; font-weight: 590; color: var(--white);
  background: var(--blue); padding: 15px 28px; border-radius: 42px; border: 0; cursor: pointer; margin-right: 34px; white-space: nowrap;
}
.contact-us-button:hover { filter: brightness(1.08); }
.menu-btn { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.mobile-menu { display: none; }

/* Hero */
.hero-content { margin: 60px 20px 0; text-align: center; }
.hero-content h1 { font-size: 87px; line-height: 90px; font-weight: 700; color: var(--white); text-wrap: balance; }
.hero-content p { font-size: 24px; line-height: 24px; font-weight: 500; color: var(--lead); max-width: 670px; margin: 50px auto 70px; text-wrap: balance; }
.hero-button {
  display: inline-block; font-family: var(--font); font-size: 20px; font-weight: 590; color: var(--white); background: var(--blue);
  border: 0; border-radius: 42px; padding: 24px 66px; cursor: pointer;
}
.hero-button:hover { filter: brightness(1.08); }
.orbit { display: block; width: 100%; max-width: 820px; height: auto; margin: 30px auto 0; }

/* Middle sections */
.middle-text { max-width: 960px; margin: 0 auto; text-align: center; }
.middle-text p.eyebrow { font-size: 13px; line-height: 15px; font-weight: 400; color: var(--lime); padding-top: 160px; margin-bottom: 40px; text-transform: uppercase; }
.middle-text h2.title { font-size: 87px; line-height: 90px; font-weight: 700; color: var(--white); margin-bottom: 70px; text-wrap: balance; }
.middle-text p { font-size: 24px; line-height: 32px; font-weight: 400; color: var(--lead); margin: 0 auto 60px; max-width: 670px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 584px)); justify-content: center; gap: 32px; }
.product { background: #151515; border: 1px solid #1f1f1f; border-radius: 32px; padding: 12px; display: flex; flex-direction: column; font-family: var(--ui); min-width: 0; }
.product-shot { display: block; width: 100%; height: auto; aspect-ratio: 560 / 624; object-fit: cover; border-radius: 22px; background: #0b0f1f; }
.product-info { display: flex; align-items: center; gap: 16px; padding: 28px 16px 0; }
.product-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; display: block; }
.product-info h3 { font-size: 20px; line-height: 26px; font-weight: 600; color: var(--white); }
.product-info p { font-size: 15px; line-height: 20px; color: var(--lead); margin-top: 2px; }
.product-info p.stars { font-size: 15px; line-height: 18px; letter-spacing: 3px; color: #ff9f0a; margin-top: 4px; }
.store-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 28px 16px 16px; margin-top: auto; }
.store-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 12px; border-radius: 10px;
  background: var(--white); color: #000; font-family: var(--font); font-size: 18px; line-height: 20px; font-weight: 600; white-space: nowrap;
  transition: opacity .15s ease, transform .15s ease;
}
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn span { display: grid; text-align: left; }
.store-btn small { font-size: 10.5px; line-height: 12px; font-weight: 500; }
a.store-btn:hover { opacity: .88; }
a.store-btn:active { transform: scale(.98); }
.store-btn[aria-disabled="true"] { background: #1f1f1f; color: #555; cursor: default; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Legal */
.text-terms-container { border: 2px solid var(--line); border-radius: 24px; margin: 80px 80px 0; padding: 0 80px 0 30px; }
.text-terms { margin-left: 30px; padding-bottom: 50px; color: var(--text); font-size: 16px; line-height: 20px; font-weight: 450; max-width: 1208px; }
.text-terms h1 { font-size: 16px; line-height: 20px; font-weight: 500; color: var(--title); padding-top: 30px; margin-bottom: 50px; }
.text-terms h2 { font-size: 16px; line-height: 20px; font-weight: 450; color: var(--text); margin: 15px 0 11px; text-transform: uppercase; }
.text-terms .updated { text-transform: none; margin: 15px 0 11px; }
.text-terms h3 { font-size: 16px; line-height: 20px; font-weight: 600; color: #a3a3a3; margin: 14px 0 8px; }
.text-terms p { margin: 0 0 15px; }
.text-terms ul { list-style: disc; padding-left: 22px; margin: 0 0 15px; display: grid; gap: 6px; }
.text-terms b { color: #a3a3a3; font-weight: 600; }
.text-terms a { color: var(--white); text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 4px 0 15px; border: 1px solid var(--line); border-radius: 14px; }
.text-terms table { border-collapse: collapse; width: 100%; min-width: 460px; }
.text-terms th, .text-terms td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.text-terms th { color: var(--title); font-weight: 500; }
.text-terms tr:last-child td { border-bottom: 0; }

/* Footer */
footer { margin-top: 225px; position: relative; overflow: hidden; }
.footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
.footer h2 { font-size: 18.72px; font-weight: 500; color: var(--title); margin-top: 30px; }
.footer-first-content { font-size: 16px; font-weight: 450; color: var(--text); margin-top: 11px; max-width: 475px; line-height: 19px; }
.feedback-btn { display: inline-block; font-family: var(--font); font-size: 14px; line-height: 20px; font-weight: 450; color: var(--white); background: rgba(136,136,136,.15); border: 0; border-radius: 36px; padding: 10px 45px; margin-top: 30px; cursor: pointer; }
.feedback-btn:hover { background: rgba(136,136,136,.25); }
.contact-list { margin: 12px 0 0; display: grid; gap: 10px; }
.contact-list dt { font-size: 16px; font-weight: 700; color: var(--white); }
.contact-list dd { margin: 4px 0 0; font-size: 16px; font-weight: 450; color: var(--text); line-height: 19px; }
.contact-list a:hover { color: var(--white); }
.copyright { text-align: right; font-size: 16px; font-weight: 450; color: var(--text); margin-top: 32px; }
.wordmark { display: block; width: 100%; height: auto; margin-top: 150px; }

/* Responsive */
@media (max-width: 1200px) {
  .hero-content h1, .middle-text h2.title { font-size: 64px; line-height: 68px; }
  .navigation-link { margin-right: 48px; }
  .navigation-link:last-of-type { margin-right: 32px; }
  .store-btn { font-size: 16px; gap: 10px; }
  .store-btn svg { width: 22px; height: 22px; }
}
@media (max-width: 768px) {
  .header { padding-block: 22px; }
  .logo { padding-left: 4px; }
  .logo svg { height: 26px; }
  .navigation { display: none; }
  .menu-btn { display: block; }
  .mobile-menu { position: absolute; left: 16px; right: 16px; top: 74px; background: #161616; border: 1px solid var(--line); border-radius: 18px; padding: 10px; display: grid; gap: 2px; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 14px 14px; border-radius: 12px; font-size: 16px; }
  .mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: #1f1f1f; }
  .hero-content { margin-top: 40px; }
  .hero-content h1, .middle-text h2.title { font-size: 40px; line-height: 44px; }
  .hero-content p { font-size: 18px; line-height: 24px; margin: 28px auto 40px; }
  .hero-button { font-size: 17px; padding: 18px 44px; }
  .middle-text p.eyebrow { padding-top: 100px; margin-bottom: 24px; }
  .middle-text h2.title { margin-bottom: 32px; }
  .middle-text p { font-size: 18px; line-height: 26px; margin-bottom: 40px; }
  .products { grid-template-columns: minmax(0, 1fr); max-width: 584px; margin: 0 auto; gap: 20px; }
  .product { border-radius: 26px; padding: 10px; }
  .product-shot { border-radius: 18px; }
  .product-info { padding: 20px 8px 0; gap: 14px; }
  .product-icon { width: 56px; height: 56px; border-radius: 13px; }
  .product-info h3 { font-size: 18px; line-height: 24px; }
  .product-info p { font-size: 14px; }
  .store-buttons { gap: 10px; padding: 20px 8px 8px; }
  .store-btn { height: 50px; gap: 8px; padding: 0 8px; font-size: 15px; }
  .store-btn svg { width: 20px; height: 20px; }
  .store-btn small { font-size: 9.5px; }
  .text-terms-container { margin: 30px 0 0; padding: 0 18px; }
  .text-terms { margin-left: 0; }
  footer { margin-top: 140px; }
  .footer { grid-template-columns: minmax(0, 1fr); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .copyright { text-align: left; }
  .wordmark { margin-top: 70px; }
}
