/* Hiree Music - shared styles. Black and baby blue, matching Tune Me Up. */

/* Fonts are hosted here (not loaded from Google) so visitors' data stays private. */
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --black: #000000;
  --panel: #0f1216;
  --line: #222831;
  --blue: #44c8f4;
  --blue-deep: #1a9fd1;
  --ink: #eaf4fa;
  --soft: #b9c6d1;
  --muted: #8796a4;
  --on-blue: #03202c;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 58px; }
.brand-name span { color: var(--blue); }
.site-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-nav a { color: var(--soft); text-decoration: none; font-size: 16px; padding: 10px 0; }
.site-nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: 17px; text-decoration: none;
  border: 1.5px solid var(--blue); transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--on-blue); }
.btn-ghost { color: var(--blue); background: transparent; }
.btn-ghost:hover { background: rgba(68, 200, 244, .14); color: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 11vw, 128px);
  line-height: .92;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
}
.hero .lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--soft); max-width: 34em; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .fine { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* The pitch line: sung (grey, wobbly) vs. tuned (blue, on the note lanes) */
.pitch {
  margin-top: clamp(40px, 7vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pitch svg { width: 100%; height: auto; display: block; }
.pitch .lane { stroke: #161b22; stroke-width: 1; }
.pitch .lane.inkey { stroke: #1f2a35; }
.pitch .sung { fill: none; stroke: #59636e; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pitch .tuned { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pitch .legend { display: flex; gap: 8px 28px; flex-wrap: wrap; padding: 14px 0; color: var(--muted); font-size: 15px; }
.pitch .legend i { display: inline-block; width: 26px; height: 0; border-top: 3px solid; vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.pitch .legend .k-sung i { border-color: #59636e; }
.pitch .legend .k-tuned i { border-color: var(--blue); }

@media (prefers-reduced-motion: no-preference) {
  .pitch .tuned { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.2s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* Sections */
section { padding: clamp(56px, 9vw, 112px) 0; }
h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em;
  margin: 0 0 20px; max-width: 16em;
}
h3 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 10px; }
.intro { color: var(--soft); max-width: 36em; margin: 0 0 48px; }

/* Modes: screenshot + words, alternating */
.mode { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.mode:last-child { margin-bottom: 0; }
.mode.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.mode.flip figure { order: 2; }
.mode figure { margin: 0; }
.mode img { border-radius: 14px; border: 1px solid var(--line); }
.mode p { color: var(--soft); margin: 0 0 16px; }
.mode ul { margin: 0; padding-left: 20px; color: var(--soft); }
.mode li { margin-bottom: 8px; }
.mode li::marker { color: var(--blue); }
@media (max-width: 820px) {
  .mode, .mode.flip { grid-template-columns: 1fr; }
  .mode.flip figure { order: 0; }
}

/* Extras: a plain definition list, not cards */
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 72px); margin: 0; }
.extras div { padding: 22px 0; border-top: 1px solid var(--line); }
.extras dt { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.extras dd { margin: 0; color: var(--soft); }
@media (max-width: 700px) { .extras { grid-template-columns: 1fr; } }

/* Works with */
.daws { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; padding: 0; margin: 0 0 28px; }
.daws li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink); font-size: 16px; }
.reqs { color: var(--muted); font-size: 16px; max-width: 46em; }

/* Pricing */
.price-block { border: 1.5px solid var(--blue); border-radius: 22px; padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.price { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 12vw, 120px); line-height: 1; letter-spacing: -0.05em; margin: 0; }
.price-note { color: var(--soft); margin: 10px 0 24px; }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; }
.price-block ul { margin: 0; padding-left: 20px; color: var(--soft); }
.price-block li { margin-bottom: 10px; }
.price-block li::marker { color: var(--blue); }
@media (max-width: 760px) { .price-block { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 19px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 28px; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--soft); margin: 0 0 20px; max-width: 46em; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot a { color: var(--soft); }

/* Policy pages */
.doc { padding: clamp(40px, 7vw, 88px) 0; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 12px; }
.doc .updated { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--soft); }
