/* Draft home page. Shapesound's own look (brand black, Ripple logo, Manrope, each product in its accent)
   with the clarity of a store: big type, lots of space, the products as the pictures, and one colour,
   brand teal, kept for buying. */
:root {
  --bg: #07090c;
  --panel: #0e1217;
  --panel-2: #141a22;
  --line: #1d252f;
  --line-hi: #2b3644;
  --text: #f4f6f9;
  --text-2: #b9c3cf;
  --muted: #7d8a99;
  --buy: #4fd1c5;
  --buy-hi: #74e4d9;
  --ink: #07090c;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --label: 'Outfit', 'Manrope', sans-serif;
  --r-xl: 36px;
  --r-lg: 28px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1344px, calc(100% - 96px)); margin: 0 auto; }
.nb { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons: teal means buy ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 700 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s, color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-buy { background: var(--buy); color: var(--ink); }
.btn-buy:hover { background: var(--buy-hi); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--line-hi); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-2); }
.btn-ink { background: var(--ink); color: var(--text); }
.btn-lg { height: 54px; padding: 0 26px; border-radius: 14px; font-size: 16px; }

/* ---------- Announcement and navigation ---------- */
.announce {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 11px 16px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
}
.announce strong { color: var(--text); font-weight: 700; }
.announce a { color: var(--buy); font-weight: 700; text-decoration: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 9, 12, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(29, 37, 47, 0.7);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--text-2); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 40px; }
.display {
  margin: 0;
  font-size: clamp(64px, 10.4vw, 168px);
  font-weight: 800;
  letter-spacing: -0.058em;
  line-height: 0.86;
}
.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 40px;
}
.lead { max-width: 580px; margin: 0; font-size: 21px; line-height: 1.45; color: var(--text-2); }
.hero-actions { display: flex; gap: 12px; flex-shrink: 0; }

.stage {
  position: relative;
  display: block;
  margin-top: 56px;
  height: clamp(360px, 46vw, 680px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 90% at 50% 110%, #111821 0%, #07090c 72%);
  border: 1px solid var(--line);
  text-decoration: none;
}
.stage-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 85% at 50% 45%, #000 30%, transparent 100%);
}
.stage-glow {
  position: absolute;
  bottom: -14%;
  width: 52%;
  height: 46%;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}
.stage-glow-r { left: 8%; background: radial-gradient(closest-side, rgba(79, 209, 197, 0.34), transparent); }
.stage-glow-e { right: 2%; background: radial-gradient(closest-side, rgba(181, 146, 255, 0.28), transparent); }
.stage-shot {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.66), 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: transform .45s ease;
}
.stage-shot-r { width: 54%; left: 9%; top: 9%; z-index: 2; }
.stage-shot-e { width: 45%; right: 6%; top: 21%; z-index: 1; }
.stage:hover .stage-shot-r { transform: translateY(-6px); }
.stage:hover .stage-shot-e { transform: translateY(-3px); }
.stage-caption {
  position: absolute;
  left: 30px;
  bottom: 24px;
  z-index: 3;
  font-size: 14px;
  color: var(--text-2);
}
.stage-caption b { color: var(--text); font-weight: 700; }
.stage-caption i { font-style: normal; color: var(--muted); margin: 0 6px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-tight { padding: 64px 0; }
#plugins { padding-bottom: 40px; }
.title {
  margin: 0;
  font-size: clamp(44px, 6.6vw, 96px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
}
.center { text-align: center; }
.title-gap { margin-top: 150px; }
.sub { max-width: 660px; margin: 24px auto 0; font-size: 19px; line-height: 1.5; color: var(--text-2); }

/* ---------- Product cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card-wide { grid-column: 1 / -1; }
.plinth {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 11;
  border-radius: calc(var(--r-lg) - 6px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 102%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72%),
    linear-gradient(180deg, #161c25 0%, #0b0f14 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.plinth img {
  width: 76%;
  border-radius: 10px;
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: transform .4s ease;
}
.card:hover .plinth img { transform: translateY(-5px); }
.card-wide .plinth { aspect-ratio: auto; height: clamp(380px, 42vw, 620px); }
.card-wide .plinth img { width: 52%; }

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 22px 0;
}
.card-id { display: flex; align-items: center; gap: 14px; }
.card-tile { width: 46px; height: 46px; }
.card-name { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.card-wide .card-name { font-size: 38px; }
.pname-letter, .pname-all { color: var(--accent); }
.pill {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: color-mix(in srgb, var(--accent) 78%, white);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.card-tags { display: flex; align-items: center; gap: 8px; }
.pill-pro { color: var(--text); background: rgba(255, 255, 255, 0.07); border-color: var(--line-hi); letter-spacing: 0.04em; }
.card-price { display: block; padding: 14px 22px 0; font: 600 15px/1 var(--label); letter-spacing: 0.04em; color: var(--text); }
.card-price:empty { display: none; }
.card-copy {
  display: block;
  max-width: 780px;
  padding: 14px 22px 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ---------- Bundle ---------- */
.bundle {
  padding: 8px 8px 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.bundle-art {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  align-content: center;
  gap: 26px 34px;
  height: clamp(280px, 30vw, 460px);
  border-radius: calc(var(--r-xl) - 6px);
  background:
    radial-gradient(ellipse 60% 75% at 50% 50%, rgba(16, 23, 33, 0.35), rgba(7, 9, 12, 0.92) 80%),
    url("assets/imagery/wavefield.png") center / cover;
  overflow: hidden;
}
.bundle-art img {
  width: clamp(54px, 6.6vw, 98px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6));
}
.bundle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  padding: 44px 30px 0;
}
.bundle-title {
  margin: 0;
  font-size: clamp(40px, 4.8vw, 70px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.bundle-copy p { margin: 0 0 24px; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.bundle-copy strong { color: var(--text); }
.bundle-included { margin: 44px 30px 0; padding-top: 30px; border-top: 1px solid var(--line); }
.bundle-included h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; }
.included { display: grid; grid-template-columns: repeat(var(--n, 12), minmax(0, 1fr)); gap: 10px; }
.inc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 6px 14px;
  border-radius: 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color .18s, color .18s;
}
.inc img { width: 40px; height: 40px; }
.inc:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.why h3 { margin: 0 0 12px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.why p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }

/* ---------- Email signup ---------- */
.signup {
  padding: 76px 40px;
  border-radius: var(--r-xl);
  background: var(--buy);
  color: var(--ink);
  text-align: center;
}
.signup h2 { margin: 0; font-size: clamp(44px, 6vw, 88px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
.signup p { margin: 16px 0 30px; font-size: 19px; color: rgba(7, 9, 12, 0.72); }
.signup-row { display: flex; gap: 10px; max-width: 540px; margin: 0 auto; }
.signup input {
  flex: 1;
  height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font: 500 16px var(--sans);
}
.signup input::placeholder { color: rgba(7, 9, 12, 0.55); }
.signup .btn-ink { height: 54px; padding: 0 30px; border-radius: 14px; font-size: 16px; }

/* ---------- Footer ---------- */
.footer { padding: 100px 0 40px; background: #05070a; border-top: 1px solid var(--line); }
.footer-line { margin: 0 0 64px; font-size: clamp(44px, 6vw, 88px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-cols h4 {
  margin: 0 0 16px;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-cols a { display: block; padding: 5px 0; font-size: 15px; color: var(--text-2); text-decoration: none; }
.footer-cols a:hover { color: var(--text); }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-base img { height: 22px; width: auto; opacity: 0.8; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .bundle-row { grid-template-columns: minmax(0, 1fr); }
  .included { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .why { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .announce { font-size: 13px; }
  .announce a { white-space: nowrap; }
  .announce-more, .caption-e { display: none; }
  .nav-inner { height: 64px; }
  .nav-logo img { height: 24px; }
  .nav .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .hero { padding-top: 48px; }
  .lead { font-size: 18px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .stage { height: 300px; margin-top: 36px; border-radius: 24px; }
  .stage-shot-r { width: 84%; left: 8%; top: 11%; }
  .stage-shot-e { display: none; }
  .section { padding: 80px 0; }
  .title-gap { margin-top: 96px; }
  .card { border-radius: 22px; }
  .card-wide .plinth { height: auto; aspect-ratio: 16 / 11; }
  .card-wide .plinth img, .plinth img { width: 84%; }
  .card-name, .card-wide .card-name { font-size: 24px; }
  .card-meta { flex-wrap: wrap; padding: 20px 14px 0; }
  .card-copy { padding: 12px 14px 0; font-size: 16px; }
  .bundle-art { gap: 14px 16px; }
  .bundle-row { padding: 32px 14px 0; }
  .bundle-included { margin: 32px 14px 0; }
  .included { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signup { padding: 48px 20px; border-radius: 24px; }
  .bundle-row .btn-lg { width: 100%; padding: 0 12px; font-size: 15px; }
  .signup-row { flex-direction: column; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-base { flex-direction: column; gap: 14px; align-items: flex-start; }
}
