:root {
  --cream: #FBF3E7;
  --surface: #FFFDF9;
  --orange: #FF7A33;
  --orange-dark: #E8621A;
  --text: #3D3229;
  --muted: #7A6E64;
  --border: #EDE1D0;
  --soft: #FFF1E6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 900; font-size: 26px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; display: block; flex: none; }

/* Buttons */
.btn {
  display: inline-block; background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 800; border-radius: 999px; padding: 14px 28px; border: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 122, 51, .35); transition: transform .12s, background .12s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.btn.small { padding: 10px 20px; font-size: 16px; box-shadow: none; }
.btn.big { font-size: 22px; padding: 18px 40px; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--border); }
.btn.ghost:hover { background: var(--surface); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 36px 0 64px; }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; margin: 0 0 18px; font-weight: 900; letter-spacing: -.5px; }
h1 em { font-style: normal; color: var(--orange); }
.lead { font-size: 21px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.free { display: inline-block; margin-left: 16px; background: var(--soft); color: var(--orange-dark); font-weight: 800; border-radius: 999px; padding: 8px 18px; border: 2px solid #FFC9A3; font-size: 16px; vertical-align: middle; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 0; }

/* Piano picture, drawn with plain boxes */
.piano { position: relative; display: flex; gap: 8px; height: 250px; max-width: 360px; margin: 0 auto; width: 100%; }
.piano .w { flex: 1; background: var(--surface); border: 2px solid var(--border); border-radius: 0 0 16px 16px; }
.piano .w.on { background: var(--soft); border-color: #FFC9A3; }
.piano .b { position: absolute; top: 0; width: 15%; height: 58%; background: var(--text); border-radius: 0 0 10px 10px; }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 12px; font-weight: 900; letter-spacing: -.3px; }
.sub { color: var(--muted); margin: 0 0 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.steps li { background: var(--surface); border: 2px solid var(--border); border-radius: 22px; padding: 26px; }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; font-size: 22px; margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.steps p { margin: 0; color: var(--muted); font-size: 17px; }

.learn { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; padding: 0; margin: 0; list-style: none; }
.learn li { padding-left: 34px; position: relative; }
.learn li::before { content: ''; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); }
.learn li::after { content: ''; position: absolute; left: 6px; top: 11px; width: 6px; height: 10px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }

.band { background: var(--surface); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.phones { text-align: center; }
.phones .badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.badge { display: inline-flex; flex-direction: column; text-align: left; background: var(--text); color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 22px; line-height: 1.2; min-width: 190px; }
.badge small { font-size: 12px; font-weight: 600; opacity: .85; }
.badge b { font-size: 21px; font-weight: 800; }
.launching { display: inline-block; background: var(--soft); border: 2px solid #FFC9A3; color: var(--orange-dark); font-weight: 800; border-radius: 999px; padding: 12px 28px; margin: 12px 0 0; }
[hidden] { display: none !important; }

/* FAQ */
details { background: var(--surface); border: 2px solid var(--border); border-radius: 18px; padding: 4px 22px; margin: 0 0 12px; }
summary { cursor: pointer; font-weight: 800; font-size: 19px; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 26px; color: var(--orange); font-weight: 800; }
details[open] summary::after { content: '\2212'; }
details p { margin: 0 0 16px; color: var(--muted); }

.final { text-align: center; }
footer { padding: 36px 0 48px; color: var(--muted); font-size: 16px; text-align: center; border-top: 2px solid var(--border); margin-top: 24px; }
footer a { color: var(--muted); margin: 0 10px; }
footer p { margin: 6px 0; }
footer nav { margin-bottom: 14px; font-weight: 800; }

/* Contact details (the Contact page) */
.contact { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; background: var(--surface); border: 2px solid var(--border); border-radius: 22px; padding: 24px 28px; margin: 24px 0; }
.contact dt { font-weight: 800; }
.contact dd { margin: 0; overflow-wrap: anywhere; }
/* Only ever seen in a preview, when a detail is still empty. */
.missing { background: #FFE9B8; color: #7A4B00; border-radius: 6px; padding: 0 6px; font-weight: 700; }

/* Plain pages (privacy, terms) */
.doc { padding: 24px 0 64px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 26px; margin-top: 36px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.draft { background: var(--soft); border: 2px solid #FFC9A3; border-radius: 16px; padding: 14px 20px; font-weight: 700; margin: 0 0 24px; }
.updated { color: var(--muted); }

@media (max-width: 800px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; padding-top: 12px; }
  .piano { height: 170px; max-width: 280px; order: -1; }
  .steps { grid-template-columns: 1fr; }
  .learn { grid-template-columns: 1fr; }
  .free { margin-left: 0; }
  .btn.big { width: 100%; text-align: center; }
  .top { flex-wrap: wrap; gap: 12px; }
  .contact { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 12px; }
  section { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
