/* Brava Piano — app site. The studio frame (global bar, footer) comes from /css/studio-frame.css;
   this file is the app's own look: lacquer black, brass and ivory, the stage curtain from the app. */
:root {
  --app-accent: #e8c07a;
  --app-accent-ink: #15110c;
  --bg: #0b0a09;
  --bg-2: #13100d;
  --panel: #17130f;
  --ink: #f4efe6;
  --muted: rgba(244, 239, 230, 0.72);
  --faint: rgba(244, 239, 230, 0.5);
  --brass: #e8c07a;
  --brass-2: #c49248;
  --line: rgba(232, 192, 122, 0.18);
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1180px;
  --pad: clamp(16px, 4vw, 44px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--brass); color: #111; padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- product bar in the app's colours ---------- */
.iq-local { background: rgba(13, 11, 9, 0.9); border-top-color: rgba(255,255,255,.06); border-bottom-color: var(--line); }
.iq-local .iq-app-id span { font-family: var(--serif); font-weight: 600; letter-spacing: 0; font-size: 1.125rem; }
.iq-local-links a[aria-current="page"] { color: var(--brass); }
.iq-btn--soon { background: rgba(232, 192, 122, 0.12); color: var(--brass); }
@media (max-width: 900px) {
  .iq-local-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(13, 11, 9, 0.98); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 14px; }
  .iq-local-links a { padding: 12px 4px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  body:not(.menu-open) .iq-local-links { display: none; }
  body.menu-open .iq-local-links { display: flex; }
}

/* ---------- type ---------- */
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass);
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--brass-2), #f0d19a); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 500; padding-right: .04em;
  background: linear-gradient(180deg, #f6dda8 0%, #e8c07a 45%, #b98a44 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
h3 { font-size: 22px; line-height: 1.2; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; margin: 20px 0 0; max-width: 34em; text-wrap: pretty; }

/* ---------- device frame for real app captures ---------- */
.device { position: relative; border-radius: clamp(18px, 3.4vw, 46px); padding: clamp(5px, .7vw, 11px);
  background: linear-gradient(145deg, #4a423a 0%, #1b1815 18%, #0d0c0b 50%, #1b1815 82%, #4a423a 100%);
  box-shadow: 0 0 0 1.5px rgba(240, 209, 154, 0.22), inset 0 0 0 1.5px rgba(255,255,255,.07), 0 30px 60px rgba(0,0,0,.45), 0 60px 120px rgba(0,0,0,.4); }
.device img { width: 100%; border-radius: calc(clamp(18px, 3.4vw, 46px) - clamp(5px, .7vw, 11px)); }
.device.pad { border-radius: clamp(14px, 2vw, 30px); padding: clamp(7px, 1.1vw, 16px); }
.device.pad img { border-radius: clamp(8px, 1vw, 16px); }

/* ---------- hero: the stage ---------- */
.stage { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 13vw, 190px) 0 0;
  background:
    radial-gradient(ellipse 55% 60% at 50% 72%, rgba(232, 192, 122, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(120, 40, 30, 0.25), transparent 70%),
    linear-gradient(180deg, #15110d 0%, #0c0b0a 60%, var(--bg) 100%); }
.valance { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: clamp(60px, 8.4vw, 150px);
  background: url(../assets/valance.webp) center top / 100% 100% no-repeat; filter: drop-shadow(0 14px 22px rgba(0,0,0,.6)); }
.drape { position: absolute; z-index: 2; top: 0; bottom: 18%; width: clamp(56px, 11vw, 200px);
  background: url(../assets/drapeL.webp) right top / cover no-repeat; filter: brightness(.85) drop-shadow(0 0 40px rgba(0,0,0,.8)); }
.drape.r { right: 0; background-image: url(../assets/drapeR.webp); background-position: left top; }
.drape.l { left: 0; }
@media (prefers-reduced-motion: no-preference) {
  .drape.l { animation: open-l 1.6s cubic-bezier(.2,.8,.2,1) both; }
  .drape.r { animation: open-r 1.6s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes open-l { from { transform: translateX(60%) scaleX(1.6); transform-origin: left; } }
  @keyframes open-r { from { transform: translateX(-60%) scaleX(1.6); transform-origin: right; } }
  .hero-copy > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-shot { animation: rise 1.2s .25s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
}
.hero-copy { position: relative; z-index: 4; text-align: center; padding: 0 var(--pad); }
.brand-line { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.brand-line img { width: 54px; height: 54px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.6), 0 0 0 1px rgba(240,209,154,.25); }
.brand-line span { font: 600 22px/1 var(--serif); background: linear-gradient(180deg, #f6dda8, #c49248); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy h1 { font-size: clamp(42px, 7.4vw, 104px); line-height: 1.0; }
.hero-copy .lead { margin: 22px auto 0; text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 34px; }
.soon { display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px 13px 18px; border-radius: 16px; background: #000; color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22); font: 500 13px/1.1 var(--sans); text-align: left; }
.soon svg { width: 26px; height: 26px; flex: none; }
.soon b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.trial { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; color: #15110c; text-decoration: none;
  background: linear-gradient(180deg, #f6dda8, #e8c07a 50%, #c49248); box-shadow: 0 16px 40px rgba(232,192,122,.22), inset 0 1px 0 rgba(255,255,255,.5);
  font: 600 16px/1 var(--sans); }
.hero-shot { position: relative; z-index: 1; width: min(1240px, 92vw); margin: clamp(50px, 6vw, 80px) auto 0; transform: translateY(8%); margin-bottom: -2%; }
.hero-shot .device { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- facts strip ---------- */
.facts { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts ul { list-style: none; margin: 0 auto; padding: 28px var(--pad); max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts li { text-align: center; }
.facts b { display: block; font: 600 clamp(30px, 3.6vw, 44px)/1.05 var(--serif); color: var(--ink); }
.facts span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 640px) { .facts ul { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }

/* ---------- feature sections ---------- */
.feature { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.feature + .feature { border-top: 1px solid rgba(232,192,122,.08); }
.feature .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature.flip .grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .copy { order: 2; }
.feature .media { position: relative; }
.feature .media .device { width: 112%; }
.feature.flip .media .device { margin-left: -12%; }
.feature .glow::before { content: ""; position: absolute; inset: -12% -8%; z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(232,192,122,.14), transparent 70%); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--muted); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 14px; height: 7px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: translateY(-60%) rotate(-45deg); }
@media (max-width: 900px) {
  .feature .grid, .feature.flip .grid { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
  .feature .media .device, .feature.flip .media .device { width: 100%; margin: 0; }
}
.wide { text-align: center; }
.wide .lead { margin-left: auto; margin-right: auto; }
.wide .media { margin-top: clamp(40px, 6vw, 70px); }
.pages { display: flex; justify-content: center; gap: clamp(14px, 3vw, 40px); margin-top: clamp(40px, 6vw, 70px); }
.pages img { width: min(380px, 42vw); border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1); background: #fff; }
.pages img:first-child { transform: rotate(-3.5deg) translateY(10px); }
.pages img:last-child { transform: rotate(3deg) translateY(24px); }
.devices-pair { position: relative; margin-top: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: 1fr; justify-items: center; }
.devices-pair .pad { width: min(860px, 88%); }
.devices-pair .phone { position: absolute; right: 2%; bottom: -6%; width: min(520px, 48%); }
@media (max-width: 640px) { .devices-pair .phone { position: relative; right: auto; bottom: auto; width: 86%; margin-top: -10%; } }

/* scroll reveal where supported */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(48px) scale(.97); } }
  }
}

/* ---------- pricing ---------- */
.pricing { padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232,192,122,.08), transparent 70%), var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 50px; align-items: stretch; }
.plan { position: relative; border-radius: 24px; padding: 30px 28px 28px; background: linear-gradient(180deg, #1c1712, #120f0c); border: 1px solid rgba(255,255,255,.08); text-align: left; display: flex; flex-direction: column; }
.plan.best { border-color: rgba(232,192,122,.6); box-shadow: 0 0 0 1px rgba(232,192,122,.25), 0 30px 70px rgba(232,192,122,.10); }
.plan .tag { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 99px; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(180deg, #f6dda8, #c49248); color: #15110c; }
.plan h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan .price { font: 600 46px/1 var(--serif); margin-top: 16px; }
.plan .price small { font: 400 16px var(--sans); color: var(--faint); margin-left: 4px; }
.plan p { color: var(--muted); margin: 14px 0 0; font-size: 15px; }
.fine { color: var(--faint); font-size: 13.5px; margin: 28px auto 0; max-width: 60em; text-align: center; line-height: 1.6; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* ---------- privacy promise ---------- */
.promise { padding: clamp(70px, 9vw, 120px) 0; text-align: center; }
.promise ul { list-style: none; padding: 0; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.promise li { padding: 12px 20px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); font-size: 15px; background: rgba(232,192,122,.04); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 9vw, 120px) 0; border-top: 1px solid rgba(232,192,122,.08); }
.faq-list { max-width: 820px; margin: 40px auto 0; }
details { border-bottom: 1px solid rgba(255,255,255,.08); }
summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 600 19px/1.35 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details > div { color: var(--muted); padding: 0 0 22px; }
details > div p { margin: 0 0 10px; }

/* ---------- closing ---------- */
.encore { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 12vw, 180px) var(--pad) clamp(90px, 10vw, 140px);
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(232,192,122,.16), transparent 70%), linear-gradient(180deg, var(--bg), #0e0b09); }
.encore .valance { height: clamp(50px, 6vw, 110px); }
.encore .drape { bottom: 0; width: clamp(40px, 8vw, 150px); animation: none; }
.encore > h2, .encore > .lead, .encore > .cta-row { position: relative; z-index: 4; padding-left: clamp(40px, 8vw, 150px); padding-right: clamp(40px, 8vw, 150px); }
@media (max-width: 640px) { .encore .drape { width: 34px; } .encore > h2, .encore > .lead, .encore > .cta-row { padding-left: 30px; padding-right: 30px; } }

/* ---------- inner pages (support, privacy, terms) ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(100px, 11vw, 150px) var(--pad) clamp(40px, 6vw, 70px); text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(120,40,30,.22), transparent 70%), linear-gradient(180deg, #15110d, var(--bg)); }
.page-head .valance { height: clamp(46px, 5.4vw, 96px); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; }
.page-head .lead { margin: 18px auto 0; }
.prose { max-width: 760px; margin: 0 auto; padding: 10px var(--pad) clamp(80px, 9vw, 120px); color: var(--muted); }
.prose h2 { font-size: clamp(26px, 3vw, 32px); color: var(--ink); margin: 54px 0 14px; }
.prose h3 { color: var(--ink); margin: 30px 0 8px; font-size: 20px; }
.prose p, .prose li { font-size: 17px; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.updated { color: var(--faint); font-size: 14px; margin-top: 14px; }
.short { border: 1px solid var(--line); background: rgba(232,192,122,.05); border-radius: 20px; padding: 22px 26px; color: var(--ink); margin-top: 20px; }
.short p { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 30px 0 10px; }
.cards a { display: block; padding: 20px 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: #15110d; color: var(--ink); text-decoration: none; }
.cards a:hover { border-color: var(--line); }
.cards b { display: block; font: 600 18px/1.2 var(--serif); margin-bottom: 6px; }
.cards span { color: var(--faint); font-size: 14.5px; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }
.prose .faq-list { margin-top: 10px; }


/* =====================================================================
   2026-11-17 design fixes (Brava Piano)
   ===================================================================== */
/* Device mocks never bleed past the screen edge (was ~12px at 1024/768/390/375) */
.device { max-width: 100%; }
main { overflow-x: clip; }
/* Studio frame: app name in the shared frame type (the page keeps its serif display headings) */
.iq-local .iq-app-id span { font-family: var(--iq-sans); font-weight: 600; letter-spacing: -0.03em; font-size: 1.0625rem; }
