/* umber.kineto-soft.com: the app's own colors (src/theme.ts) and font. Mobile first. */
:root {
  --bg: #000000;
  --s1: #100D0B;
  --s2: #1B1613;
  --line: rgba(243, 236, 230, 0.09);
  --text: #F3ECE6;
  --muted: #A89C92;
  --accent: #E8A56F;
  --on-accent: #1C0F06;
  --radius: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}
a { color: var(--accent); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

header.site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 21px; letter-spacing: 0.01em; }
.brand .orb { width: 24px; --blur: 10px; }
nav.site { display: flex; gap: 18px; }
nav.site a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 0; }
nav.site a:hover { color: var(--text); }

h1, h2 { font-weight: 300; letter-spacing: -0.02em; }
h1 { font-size: clamp(56px, 16vw, 104px); line-height: 1; margin: 0 0 12px; }
h2 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; margin: 0 0 12px; }
h3 { font-size: 20px; font-weight: 500; margin: 0 0 6px; }
.tagline { font-size: clamp(24px, 5vw, 32px); font-weight: 300; line-height: 1.25; margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 36ch; }
.sub { color: var(--muted); margin: 0; max-width: 60ch; }
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }

.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; font-size: 17px; }
.cta:hover { color: var(--on-accent); filter: brightness(1.08); }

/* The noise orb: a lit sphere with film grain on top, the picture of the sound. */
.orb {
  --a: #E0A576; --b: #8F5535; --c: #24120A; --glow: rgba(186, 110, 64, 0.42);
  --blur: 40px;
  position: relative;
  display: block;
  flex: none;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, var(--a) 0%, var(--b) 46%, var(--c) 100%);
  box-shadow: 0 0 var(--blur) calc(var(--blur) * 0.24) var(--glow);
}
.orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.orb.white { --a: #F4F1EC; --b: #B9B3AA; --c: #3E3B37; --glow: rgba(214, 208, 199, 0.3); }
.orb.pink { --a: #F6C1C8; --b: #C9788A; --c: #3F1A22; --glow: rgba(214, 128, 146, 0.32); }
.orb.brown { --a: #E0A576; --b: #8F5535; --c: #24120A; --glow: rgba(186, 110, 64, 0.42); }
.orb.green { --a: #C2DDB0; --b: #6D9A62; --c: #18291A; --glow: rgba(118, 160, 104, 0.32); }
.orb.big { width: min(300px, 70vw); --blur: 90px; }

@media (prefers-reduced-motion: no-preference) {
  .orb.playing { animation: breathe 7s ease-in-out infinite; }
  .orb.playing::after { animation: grain 0.5s steps(1) infinite; }
}
@keyframes breathe { 50% { transform: scale(1.03); } }
@keyframes grain {
  0% { background-position: 0 0; }
  25% { background-position: -47px 31px; }
  50% { background-position: 23px -61px; }
  75% { background-position: -71px -17px; }
}

.hero { display: grid; gap: 40px; justify-items: center; text-align: center; padding: 24px 0 56px; }
.hero .lead { margin-left: auto; margin-right: auto; }

section { padding: 48px 0; }
.grid { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--s2); display: grid; place-items: center; margin-bottom: 16px; color: var(--accent); }

/* Color cards: one link per noise color. */
.colors { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
a.color { display: block; color: var(--text); text-decoration: none; }
a.color:hover { background: var(--s2); color: var(--text); }
a.color .orb { width: 72px; --blur: 24px; margin-bottom: 20px; }
a.color .go { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 500; font-size: 15px; }

/* Room Match: text, then a sample result card. */
.split { display: grid; gap: 32px; align-items: center; margin-top: 28px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding: 8px 0 8px 32px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 16px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.match { background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px 24px; text-align: center; max-width: 380px; width: 100%; justify-self: center; }
.match .orb { width: 112px; --blur: 40px; margin: 0 auto 24px; }
.match p { margin: 0; color: var(--muted); }
.match .room { font-size: 36px; font-weight: 300; color: var(--text); line-height: 1.2; margin-bottom: 24px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.bars span { flex: 1; height: calc(var(--h) * 100%); background: var(--accent); border-radius: 4px; }
.axis { display: flex; justify-content: space-between; font-size: 13px; margin-top: 8px; }

/* Free vs Pro. */
.plan { padding: 28px; }
.plan.pro { border: 2px solid var(--accent); }
.price { font-size: 32px; font-weight: 300; margin: 4px 0 0; }
.price small { font-size: 15px; color: var(--muted); font-weight: 400; }

details { background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 500; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Color pages: orb, player, copy. */
.listen { display: grid; gap: 40px; justify-items: center; text-align: center; padding: 24px 0 40px; }
.listen h1 { font-size: clamp(48px, 13vw, 88px); }
.listen .lead { margin: 0 auto 32px; }
.player { display: grid; gap: 20px; justify-items: center; width: 100%; max-width: 340px; margin: 0 auto; }
.play { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 220px; min-height: 60px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: inherit; font-size: 18px; font-weight: 600; cursor: pointer; }
.play:hover { filter: brightness(1.08); }
.play:disabled { opacity: 0.5; cursor: default; filter: none; }
.play::before { content: ''; width: 14px; height: 16px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.play.on::before { height: 14px; clip-path: none; border-radius: 2px; }
.volume { display: grid; gap: 6px; width: 100%; text-align: left; }
.volume label { color: var(--muted); font-size: 15px; font-weight: 500; }
.volume input { width: 100%; margin: 0; accent-color: var(--accent); }
.player .small { margin: 0; text-align: center; }
.copy { max-width: 680px; }
.copy h2 { font-size: clamp(26px, 5vw, 34px); margin-top: 40px; }
.copy p { margin: 0 0 16px; }
.others { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.others a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; background: var(--s1); border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; }
.others a:hover { background: var(--s2); }
.others .orb { width: 32px; --blur: 12px; }
.get { text-align: center; padding: 40px 24px; margin-top: 56px; }
.get .sub { margin: 0 auto 28px; }

footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; margin-top: 32px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site nav { flex-basis: 100%; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }

/* Privacy and terms. */
.doc h1 { font-size: clamp(36px, 8vw, 52px); margin: 24px 0 8px; line-height: 1.1; }
.doc h2 { font-size: 26px; margin: 40px 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

@media (min-width: 820px) {
  .wrap { padding: 0 32px; }
  header.site { padding: 28px 0; }
  .hero { grid-template-columns: 1.1fr 0.9fr; justify-items: start; text-align: left; padding: 48px 0 72px; }
  .hero .lead { margin-left: 0; }
  .hero .orb { order: 2; justify-self: center; width: min(340px, 34vw); }
  .split { grid-template-columns: 1.2fr 1fr; }
  section { padding: 64px 0; }
}
