/* NineSounds: the app's own look. Warm paper, nine pastels, pads with a
   tad of depth that sink when pressed. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #FAF7F2; --bg2: #F2EEE7; --pad: #E9E6E1; --border: rgba(28,28,30,0.08);
  --text: #1C1C1E; --muted: #6B6862; --accent: #E2554B; --rec: #FF3B30;
  --c0:#FFA69E; --c1:#FFC78F; --c2:#FFE98A; --c3:#C9E8A0; --c4:#93DEC3;
  --c5:#9AD2F5; --c6:#AAB6F8; --c7:#D1ABF2; --c8:#F7ABD3;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1C1C1E; --bg2: #232326; --pad: #2C2C2E; --border: rgba(255,255,255,0.08);
          --text: #F4F1EC; --muted: #A19D96; --accent: #FF8A80; }
}
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
       font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }

nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
      padding: 14px 32px; background: color-mix(in srgb, var(--bg) 85%, transparent);
      backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; letter-spacing: -0.4px; text-decoration: none; }
.logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* The pads: raised, lit from above; pressed, they sink. */
.pad { aspect-ratio: 1; border-radius: 24%; background: var(--pad); position: relative;
       box-shadow: 0 3px 6px rgba(0,0,0,0.12), inset 0 1.5px 0 rgba(255,255,255,0.55), inset 0 -10px 18px rgba(0,0,0,0.05);
       background-image: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 50%, rgba(0,0,0,0.06));
       transition: transform .08s ease-out, box-shadow .08s ease-out; }
.pad:active, .pad.down { transform: translateY(2px) scale(0.98);
       box-shadow: 0 1px 1px rgba(0,0,0,0.06), inset 0 2.5px 5px rgba(0,0,0,0.14);
       background-image: linear-gradient(180deg, rgba(0,0,0,0.10), transparent 50%, rgba(255,255,255,0.06)); }
.pad.rec { background-color: var(--rec); }
.pad.empty::after { content: ''; position: absolute; inset: 0; margin: auto; width: 22%; height: 30%;
       background: currentColor; color: var(--muted); opacity: .55;
       -webkit-mask: url(mic.svg) center / contain no-repeat; mask: url(mic.svg) center / contain no-repeat; }
@media (prefers-color-scheme: dark) { .pad { box-shadow: 0 3px 6px rgba(0,0,0,0.3), inset 0 1.5px 0 rgba(255,255,255,0.18); } }

/* HERO */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
        max-width: 1100px; margin: 0 auto; padding: 96px 24px 80px; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 100px; background: var(--bg2); border: 1px solid var(--border);
         color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 26px; }
h1 { font-size: clamp(48px, 7vw, 84px); font-weight: 800; letter-spacing: -2.5px; line-height: 1.02; margin-bottom: 22px; }
h1 .tint { background: linear-gradient(100deg, var(--c0), var(--c2) 30%, var(--c4) 55%, var(--c6) 80%, var(--c8));
           -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 500px; margin-bottom: 36px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px; text-decoration: none;
       font-weight: 650; font-size: 15px; background: var(--text); color: var(--bg); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn svg { width: 20px; height: 20px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(360px, 80vw); justify-self: center;
         padding: 22px; border-radius: 34px; background: var(--bg2); border: 1px solid var(--border); }

/* SECTIONS */
.section { max-width: 1100px; margin: 0 auto; padding: 96px 24px; }
.label { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -1.3px; line-height: 1.1; margin-bottom: 18px; }
.body { color: var(--muted); font-size: 18px; max-width: 600px; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px; border-radius: 22px; background: var(--bg2); border: 1px solid var(--border); }
.step .pad { width: 54px; margin-bottom: 20px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2px; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.feature { padding: 30px; background: var(--bg2); }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature h3 i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 10px; vertical-align: middle; }
.feature p { color: var(--muted); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shots figure { text-align: center; }
.shots img { width: 100%; border-radius: 30px; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,0.12); }
.shots figcaption { color: var(--muted); font-size: 15px; margin-top: 14px; }
.cta { text-align: center; } .cta .body { margin: 0 auto 32px; }

/* PAGES */
main.page { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
.page h1 { font-size: 40px; letter-spacing: -1.4px; margin-bottom: 8px; }
.page .updated { color: var(--muted); font-size: 15px; margin-bottom: 48px; }
.page h2 { font-size: 22px; letter-spacing: -0.3px; margin: 40px 0 10px; }
.page p, .page li { color: var(--muted); }
.page p { margin-bottom: 14px; } .page ul { padding-left: 22px; margin-bottom: 14px; } .page li { margin-bottom: 6px; }
.page a { color: var(--accent); text-decoration: none; } .page a:hover { text-decoration: underline; }
.page a.btn { color: var(--bg); } .page a.btn:hover { text-decoration: none; }
.page dt { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; margin-top: 26px; }
.page dd { margin-top: 4px; }
details { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; background: var(--bg2); }
summary { padding: 16px 20px; font-weight: 650; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
details p { padding: 0 20px 16px; margin: 0; font-size: 15px; }
.contact { margin-top: 44px; padding: 32px; border-radius: 20px; background: var(--bg2); border: 1px solid var(--border); }
.contact h2 { margin-top: 0; }
.contact .btn { margin-top: 10px; }

footer { border-top: 1px solid var(--border); padding: 36px 32px; max-width: 1100px; margin: 0 auto;
         display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.copy { color: var(--muted); font-size: 13px; width: 100%; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 48px; padding-top: 64px; }
  .sub { margin-left: auto; margin-right: auto; }
  .steps, .shots { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 600px) { nav { padding: 12px 16px; } .nav-links { gap: 14px; } footer { padding: 28px 16px; } .section { padding: 72px 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pad { transition: none; } }
