/* Aomiba site (brand landing + Player microsite) — palette and geometry sampled from the app
   artwork: flat comic-outlined headphones over diagonal colour wedges.
   Self-contained: no webfonts, no external requests. */

:root {
  --ink: #1c2333;
  --ink-soft: #3a4358;
  --green: #43a047;
  --teal: #12a5a5;
  --purple: #8e44ad;
  --orange: #e67822;
  --surface: #fdfcfa;
  --card: #ffffff;
  --line: rgba(28, 35, 51, 0.14);
  --text: var(--ink);
  --text-soft: #4c5568;
  --wedge-opacity: 1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #171c29;
    --card: #1f2637;
    --line: rgba(255, 255, 255, 0.12);
    --text: #eef0f4;
    --text-soft: #aab2c2;
    --ink-soft: #c6cddc;
    --wedge-opacity: 0.85;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ---- Header ---- */

header.site {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  max-width: 68rem;
  margin: 0 auto;
}

header.site img {
  width: 34px;
  height: 34px;
}

header.site .wordmark {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 1.25rem;
}

header.site nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

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

/* ---- Hero: the artwork's diagonal wedges, rebuilt in CSS ---- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 9vw, 6rem) 1.5rem clamp(3.5rem, 10vw, 7rem);
  color: #ffffff;
}

.hero .wedges {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: var(--wedge-opacity);
  background:
    conic-gradient(
      from 118deg at 50% 34%,
      var(--purple) 0deg 74deg,
      var(--green) 74deg 156deg,
      var(--teal) 156deg 238deg,
      var(--purple) 238deg 360deg
    );
}

.hero img.app-icon {
  width: clamp(120px, 22vw, 176px);
  height: auto;
  border-radius: 22.5%;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.92),
    0 18px 36px rgba(28, 35, 51, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
  .hero img.app-icon {
    animation: settle 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
  @keyframes settle {
    from { transform: translateY(14px) scale(0.97); opacity: 0; }
    to   { transform: none; opacity: 1; }
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin: 1.25rem 0 0.25rem;
  text-shadow: 0 2px 14px rgba(28, 35, 51, 0.35);
}

.hero p.tagline {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  margin: 0 auto;
  max-width: 34ch;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(28, 35, 51, 0.35);
}

.hero .store-note {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: rgba(28, 35, 51, 0.55);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ---- Brand landing: the three-colour wedge field, brand arrangement.
   Each product page gets its own wedge order/proportions for
   differentiation; this is the brand's own. ---- */

.brand-hero {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 1.5rem clamp(3.5rem, 10vw, 7rem);
  overflow: hidden;
}

.brand-wedges {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: var(--wedge-opacity);
  background:
    conic-gradient(
      from 26deg at 62% 26%,
      var(--green) 0deg 118deg,
      var(--teal) 118deg 212deg,
      var(--purple) 212deg 360deg
    );
}

.brand-wordmark {
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  font-weight: 900;
  margin: 0;
  paint-order: stroke fill;
  -webkit-text-stroke: 0.045em #ffffff;
  text-shadow: 0 6px 22px rgba(28, 35, 51, 0.35);
}

.brand-wordmark .ao-t { color: var(--teal); }
.brand-wordmark .mi-t { color: var(--green); }
.brand-wordmark .ba-t { color: var(--purple); }

@media (prefers-reduced-motion: no-preference) {
  .brand-wordmark {
    animation: settle 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
}

.brand-promise {
  color: #ffffff;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  max-width: 40ch;
  margin: 1rem auto 0;
  text-shadow: 0 1px 10px rgba(28, 35, 51, 0.4);
}

.product-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  max-width: 40rem;
}

.product-card:hover { border-color: var(--teal); }

.product-card img {
  width: 96px;
  height: 96px;
  border-radius: 22.5%;
  flex-shrink: 0;
}

.product-card .product-text { display: flex; flex-direction: column; gap: 0.35rem; }
.product-card strong { font-size: 1.25rem; }
.product-card .product-text > span { color: var(--text-soft); font-size: 0.95rem; }
.product-card .go { color: #0c7d7d; font-weight: 700; }

@media (prefers-color-scheme: dark) {
  .product-card .go { color: #4fd0c7; }
}

@media (max-width: 480px) {
  .product-card { flex-direction: column; text-align: center; align-items: center; }
}

/* ---- Sections ---- */

main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 3rem;
}

section.block { padding-top: clamp(2.5rem, 6vw, 4rem); }

main a {
  color: #0c7d7d;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
  main a { color: #4fd0c7; }
}

section.block > h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 1rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.features li {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.features li:nth-child(4n + 2) { border-left-color: var(--green); }
.features li:nth-child(4n + 3) { border-left-color: var(--purple); }
.features li:nth-child(4n + 4) { border-left-color: var(--orange); }

.features strong {
  display: block;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.features span { color: var(--text-soft); font-size: 0.95rem; }

/* ---- Prose pages (support, privacy) ---- */

article.prose {
  max-width: 44rem;
  margin: 0 auto;
  padding-top: clamp(2rem, 5vw, 3rem);
}

article.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.25rem; }

article.prose p.lede { color: var(--text-soft); font-size: 1.1rem; margin-top: 0; }

article.prose h2 {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}

article.prose ul { padding-left: 1.2rem; }
article.prose li { margin-bottom: 0.5rem; }

.contact-cta {
  display: inline-block;
  margin-top: 0.75rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
}

@media (prefers-color-scheme: dark) {
  .contact-cta { background: var(--teal); color: #0c1120; }
}

.contact-cta:hover { opacity: 0.9; }

/* ---- Footer ---- */

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
}

footer.site .inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}

footer.site a { color: var(--text-soft); }

a:focus-visible, .contact-cta:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
