/* BEHOLD — site. Apple-style product page: system type, black ground, product first,
   ivory text, amber only as a small accent (links, the moment of sync). */
:root {
  --bg: #000;
  --tile: #111113;
  --tile-2: #19191c;
  --hair: #26262a;
  --text: #f5f1e8;          /* warm ivory, close to BEHOLD #F1E8D5 */
  --muted: #8f8b84;         /* warm gray, ~6:1 on black */
  --amber: #c69a53;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sf); font-size: 19px; line-height: 1.47; letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--amber); color: #000; }
.wrap { width: min(var(--max), 100% - 44px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Type (Apple-like display tracking) ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--text); }
h1 { font-size: clamp(46px, 7.2vw, 96px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.sub { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.3; color: var(--muted); font-weight: 500; letter-spacing: -0.02em; margin: 18px auto 0; max-width: 760px; }
.sub strong, .tile strong { color: var(--text); font-weight: 600; }
.copy { color: var(--muted); max-width: 660px; margin: 22px auto 0; }
.accent { color: var(--amber); }
.label { font-size: 17px; font-weight: 600; color: var(--amber); letter-spacing: -0.01em; margin-bottom: 10px; }

/* ---------- Nav (thin, translucent) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 52px;
  background: rgba(0, 0, 0, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--hair); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand svg, .brand img { width: 22px; height: 22px; }
.wordmark { font-family: "Jost", var(--sf); font-weight: 500; font-size: 13px; letter-spacing: 0.34em; margin-right: -0.34em; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 13px; color: #cfcac0; letter-spacing: -0.005em; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .nav-links a:not(.btn):not(.lang) { display: none; } }
/* Language switch (PT · EN · ES): one small pill, always visible, also on phones. */
.langs { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--hair); border-radius: 999px; }
.nav-links .langs a.lang { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); border-radius: 999px; padding: 3px 7px; }
.nav-links .langs a.lang:hover { color: var(--text); text-decoration: none; }
.nav-links .langs a.lang.on { color: var(--text); background: var(--tile-2); }
/* Small phones: logo symbol only, so the language pill and the Download button always fit. */
@media (max-width: 400px) { .brand .wordmark { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; will-change: transform;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform .2s ease, background .2s; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--text); color: #000; }
.btn-primary:hover { background: #fff; color: #000; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #000; }
.btn svg { width: 17px; height: 17px; }
.btn-primary::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); }
.btn-primary:hover::after { transition: transform .8s ease; transform: translateX(120%) skewX(-20deg); }
.link { font-size: 19px; display: inline-flex; align-items: center; gap: 4px; }
.link::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; margin-top: 34px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 18px; }
/* Footnote marker in a headline and the note it points to at the end of the section. */
h2 .ast { font-size: .45em; vertical-align: super; color: var(--amber); margin-left: .05em; }
.fine.note { margin-top: 48px; text-align: center; }

/* ---------- Sections ---------- */
section { padding: 140px 0; position: relative; }
@media (max-width: 760px) { section { padding: 96px 0; } }
.head { text-align: center; margin-bottom: 70px; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 40px; text-align: center; overflow: hidden; }
.hero .spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(245,241,232,.05), transparent 60%); }
.hero:hover .spot { opacity: 1; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.hero h1.in .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: .12s; }

/* Product stage: Mac in the back, iPhone in front */
.stage { position: relative; margin: 80px auto 0; width: min(1000px, 100%); height: 640px; transform-style: preserve-3d;
  transition: transform .25s ease-out; will-change: transform; }
.stage .mac { position: absolute; left: 0; top: 110px; width: 74%; border-radius: 14px; overflow: hidden;
  box-shadow: 0 50px 120px rgba(0,0,0,.9), 0 0 0 1px var(--hair); }
.stage .phone-slot { position: absolute; right: 6%; top: 0; width: 290px; }
.signal { position: absolute; left: 60%; top: 76%; width: 14%; height: 54px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.signal span { display: block; width: 4px; border-radius: 4px; background: var(--amber); height: 10%; animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 14%; opacity: .4; } 50% { height: 100%; opacity: 1; } }
@media (max-width: 820px) {
  /* The phone (9:19.5) is ~1.17× the stage width tall at 54%, so the stage is 1.3× tall and the phone
     sits on its bottom edge: nothing is cut off and the Mac window peeks out above and to the left. */
  .stage { height: auto; aspect-ratio: 1 / 1.3; margin-top: 56px; }
  .stage .mac { width: 90%; top: 0; }
  .stage .phone-slot { width: 54%; right: 3%; top: auto; bottom: 0; }
  .signal { display: none; }
}

/* ---------- iPhone (rebuilt from the app's real UI) ---------- */
.phone { position: relative; aspect-ratio: 9 / 19.5; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #2c2c30, #0a0a0b 42%, #26262a);
  box-shadow: 0 60px 120px rgba(0,0,0,.9), inset 0 0 0 1.5px #3b3b40; }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #050506;
  container-type: inline-size; font-family: var(--sf); text-align: left; }
.screen .scene { position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 30% at 50% 8%, rgba(255, 236, 200, .55), transparent 70%),
    radial-gradient(ellipse 70% 45% at 50% 38%, rgba(198, 154, 83, .30), transparent 72%),
    radial-gradient(ellipse 120% 60% at 50% 100%, #000 30%, transparent 70%),
    linear-gradient(#1b1610, #0b0a09 70%); }
.screen .scene::before, .screen .scene::after { content: ""; position: absolute; bottom: 24%; background: #050505;
  border-radius: 50% 50% 8% 8% / 30% 30% 8% 8%; }
.screen .scene::before { left: 38%; width: 24%; height: 38%; }
.screen .scene::after { left: 14%; width: 16%; height: 24%; opacity: .85; }
.island { position: absolute; top: 3.2%; left: 50%; transform: translateX(-50%); width: 30%; height: 3.6%; background: #000; border-radius: 20px; z-index: 3; }
.ui { position: absolute; inset: 0; color: #fff; z-index: 2; }
.meters b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 70%; background: #8fd18a; border-radius: 9px; animation: level 1.3s ease-in-out infinite alternate; }
.meters b:nth-child(2)::after { animation-delay: .25s; }
@keyframes level { from { width: 52%; } to { width: 82%; } }
.focus { position: absolute; left: 34%; top: 33%; width: 22cqw; height: 22cqw; border: 1.5px solid #f7d24b;
  animation: focus-in 2.6s cubic-bezier(.2,.8,.2,1) 2s both; }
.focus::after { content: "☀"; position: absolute; right: -8cqw; top: 30%; color: #f7d24b; font-size: 4.6cqw; }
@keyframes focus-in { 0% { transform: scale(1.5); opacity: 0; } 18% { transform: scale(.94); opacity: 1; } 26% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: .55; } }
.bottom { position: absolute; left: 0; right: 0; bottom: 14%; display: flex; flex-direction: column; align-items: center; gap: 3.6cqw; }
.info { position: absolute; right: 5cqw; top: 11.5cqw; width: 9cqw; height: 9cqw; border-radius: 50%; background: rgba(0,0,0,.45);
  display: grid; place-items: center; font: 600 4.6cqw/1 Georgia, serif; font-style: italic; box-shadow: inset 0 0 0 .5cqw #fff; }
/* The camera's control row: settings, connection status with level bars, flip camera (on black, below the picture). */
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 13%; background: #000; display: flex; align-items: center; gap: 2cqw; padding: 0 4.5cqw 1cqw; }
.bar > div { background: #26262a; border-radius: 999px; height: 12.5cqw; display: flex; align-items: center; }
.gear { gap: 1.8cqw; padding: 0 3.6cqw; font-size: 4.2cqw; font-weight: 700; color: #cfcfd2; flex: none; }
.gear svg { width: 4.4cqw; height: 4.4cqw; fill: #cfcfd2; }
.conn { flex: 1; min-width: 0; gap: 2.4cqw; padding: 0 3.6cqw; }
.conn > i { width: 3cqw; height: 3cqw; border-radius: 50%; background: #34c759; flex: none; }
.conn b { display: block; font-size: 4.4cqw; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.conn small { display: block; font-size: 3.1cqw; color: #a3a3a8; white-space: nowrap; }
.conn > div:nth-child(2) { background: none; height: auto; display: block; min-width: 0; }
.meters { display: grid !important; gap: 1cqw; width: 8cqw; margin-left: auto; background: none !important; height: auto !important; flex: none; }
.meters b { height: 1.8cqw; border-radius: 9px; background: rgba(255,255,255,.22); position: relative; overflow: hidden; display: block; }
.flip { width: 12.5cqw; flex: none; justify-content: center; }
.flip svg { width: 6cqw; height: 6cqw; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.timer { background: #e5484d; border-radius: 999px; padding: 1cqw 3.4cqw; font-size: 4.6cqw; font-weight: 600; font-variant-numeric: tabular-nums; }
.timer::before { content: ""; display: inline-block; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #fff; margin-right: 1.6cqw; vertical-align: .35cqw; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.lenses { display: flex; gap: 2cqw; }
.lenses span { width: 10cqw; height: 10cqw; border-radius: 50%; background: rgba(0,0,0,.6); display: grid; place-items: center; font-size: 3.2cqw; font-weight: 700; }
.lenses span.on { color: #f7d24b; }
.rec { width: 20cqw; height: 20cqw; border-radius: 50%; border: 1.3cqw solid #fff; display: grid; place-items: center; animation: rec-pulse 1.6s ease-in-out infinite; }
.rec::after { content: ""; width: 8cqw; height: 8cqw; border-radius: 1.6cqw; background: #e5484d; }
@keyframes rec-pulse { 50% { box-shadow: 0 0 0 2.4cqw rgba(229,72,77,.18); } }

/* ---------- Tiles (bento) ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile {
  --cx: 50%; --cy: 50%;
  position: relative; overflow: hidden; background: var(--tile); border-radius: 28px; padding: 44px 40px;
  grid-column: span 2; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
}
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--cx) var(--cy), rgba(245,241,232,.06), transparent 60%); }
.tile:hover::before { opacity: 1; }
.tile.w3 { grid-column: span 3; }
/* Pricing tiles: product name above the big number, launch price pill under the text. */
.tile .label { margin: 0 0 18px; font-size: 15px; }
.tile .launch-tag { display: inline-block; align-self: flex-start; margin: 4px 0 0; padding: 5px 12px; border-radius: 14px; background: var(--amber); color: #111; font-size: 13px; font-weight: 600; }
.fine.center-note { text-align: center; margin-top: 32px; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; }
.tile p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.4; }
.tile .big { font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -0.045em; line-height: .95; color: var(--text); }
.tile .big small { font-size: .42em; letter-spacing: -0.02em; color: var(--muted); font-weight: 600; margin-left: .15em; }
.tile h3 { font-size: 28px; }
@media (max-width: 900px) { .tile, .tile.w3, .tile.w4 { grid-column: span 3; } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: auto; min-height: 0; } }

/* Problem tiles: waveforms */
.wavebox { height: 110px; display: flex; align-items: center; gap: 3px; }
.wavebox i { flex: 1; border-radius: 3px; display: block; transform-origin: 50% 50%; }
.wavebox.noisy i { background: #55534e; animation: jitter .5s steps(3) infinite; animation-delay: calc(var(--i) * -23ms); }
.wavebox.clean i { background: var(--text); animation: breathe 1.8s ease-in-out infinite; animation-delay: calc(var(--i) * -37ms); }
@keyframes breathe { 50% { transform: scaleY(.62); } }
@keyframes jitter { 33% { transform: scaleY(.8); } 66% { transform: scaleY(1.08); } }

/* Steps */
.tile .appicon { width: 72px; height: 72px; border-radius: 17px; }
.step-n { font-size: 15px; color: var(--muted); font-weight: 600; }

/* Mac screenshot */
.shot { margin: 0 auto; width: min(980px, 100%); border-radius: 16px; overflow: hidden; box-shadow: 0 50px 120px rgba(0,0,0,.9), 0 0 0 1px var(--hair); }

/* Sync timeline (scroll-driven) */
.timeline { background: var(--tile); border-radius: 28px; padding: 46px 48px; }
.track { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: center; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.lane { height: 52px; border-radius: 12px; background: var(--tile-2); position: relative; overflow: hidden; }
/* Filmstrip: the hero photo repeated as frames (78px each, 2px gaps), like a video editor timeline. */
.lane.video { background: repeating-linear-gradient(90deg, transparent 0 76px, #0b0b0c 76px 78px), linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url(../img/stage-singer.jpg) 0 32% / 78px auto repeat-x #1c1c1f; }
.lane.audio .bars { display: flex; align-items: center; gap: 2px; width: 100%; height: 100%; padding: 0 6px;
  transform: translateX(calc(var(--off, 1) * 26%)); transition: transform .12s linear; }
.lane.audio .bars i { flex: 1; background: var(--text); opacity: .85; border-radius: 2px; display: block; }
.marker { position: absolute; top: 0; bottom: 0; width: 2px; left: 48%; background: var(--amber); opacity: .45; transition: box-shadow .4s, opacity .4s; }
.timeline.synced .marker { opacity: 1; box-shadow: 0 0 22px 2px var(--amber); }
.sync-state { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 15px; color: var(--muted); font-weight: 500; }
.sync-state i { width: 8px; height: 8px; border-radius: 50%; background: #55534e; transition: background .4s, box-shadow .4s; }
.timeline.synced .sync-state { color: var(--text); }
.timeline.synced .sync-state i { background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.offset { margin-left: auto; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.cols h3 { font-size: 21px; margin-bottom: 8px; }
.cols p { margin: 0; color: var(--muted); font-size: 17px; }
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; gap: 28px; } }

/* Audiences */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.people div { border-top: 1px solid var(--hair); padding-top: 24px; }
.people h3 { font-size: 21px; margin-bottom: 8px; }
.people p { margin: 0; color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }
/* Requirements: six short items, three per row. */
.people.three { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
@media (max-width: 900px) { .people.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people.three { grid-template-columns: 1fr; } }

/* Privacy */
#baixar svg.big { width: 96px; height: 96px; margin: 0 auto 40px; display: block; }
.symbol-spin { animation: spin 90s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Download */
/* Download: one card per app, so it's clear the button downloads BEHOLD Link and the iPhone app is separate. */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 820px; margin: 44px auto 0; text-align: center; }
.product { background: var(--tile); border-radius: 28px; padding: 40px 32px; box-shadow: 0 0 0 1px var(--hair); display: flex; flex-direction: column; align-items: center; }
.product img { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 18px 44px rgba(0,0,0,.55), 0 0 0 1px var(--hair); margin-bottom: 22px;
  animation: float 6s ease-in-out infinite; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.product + .product img { animation-delay: -3s; }
.product img:hover { transform: translateY(-6px) scale(1.06) rotate(-3deg); }
@keyframes float { 50% { translate: 0 -10px; } }
.product h3 { margin: 0; font-size: 24px; }
.product .kind { margin: 4px 0 0; color: var(--amber); font-size: 15px; font-weight: 500; }
.product > p:not(.kind):not(.fine):not(.launch) { color: var(--muted); margin: 14px 0 26px; flex: 1; }
.product .fine { margin-top: 14px; }
/* Launch price pill (baixar.html). Remove it together with the "Lançamento" label in index.html when the price goes up. */
.product .launch { display: inline-block; margin: 14px 0 0; padding: 5px 12px; border-radius: 999px; background: var(--amber); color: #111; font-size: 13px; font-weight: 600; }
.btn-soon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair); cursor: default; }
@media (max-width: 760px) { .products { grid-template-columns: minmax(0, 1fr); } .product { padding: 36px 20px; } .product .btn { white-space: normal; text-align: center; } }
/* Downloads page (baixar.html): one row of platform cards per app. */
.downloads .wrap { max-width: 820px; }
.downloads h2 span { color: var(--muted); font-weight: 500; }
.downloads .products { margin: 18px 0 0; }
.downloads .product .kind { margin-bottom: 24px; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--hair); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 21px; font-weight: 500; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
/* A square box, so rotating the narrow, tall "›" stays inside it (otherwise it pokes past the screen edge on phones). */
.faq summary::after { content: "›"; color: var(--muted); font-size: 28px; line-height: 1; width: 1em; height: 1em; flex: none; display: grid; place-items: center; transform: rotate(90deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-90deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; font-size: 17px; }

/* Footer */
footer { padding: 40px 0 50px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 12px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
footer nav { display: flex; gap: 24px; }
footer a { color: #b6b1a8; }

/* ---------- Motion ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--amber); }
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #000; pointer-events: none;
  animation: intro-out 1.25s cubic-bezier(.7,0,.2,1) .85s forwards; }
.intro svg { width: min(30vmin, 220px); height: min(30vmin, 220px); animation: intro-iris 1.9s cubic-bezier(.65,0,.25,1) forwards; }
@keyframes intro-iris { 0% { transform: scale(.6) rotate(-120deg); opacity: 0; } 35% { transform: scale(1) rotate(0); opacity: 1; } 60% { transform: scale(1) rotate(30deg); } 100% { transform: scale(9) rotate(120deg); opacity: 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.no-intro .intro { display: none; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Legal pages */
.doc { padding: 140px 0 100px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 14px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; letter-spacing: -0.02em; }
.doc p, .doc li { color: #c9c4ba; }
.doc .eyebrow { color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
  .hero h1 .line > span { transform: none; }
  .lane.audio .bars { transform: none; }
}
img.appicon { box-shadow: 0 0 0 1px var(--hair); }

/* Real stage photo behind the app UI (own photo, bass shot from behind the keyboard; not stock).
   Gradients keep the top/bottom controls legible like the real camera view. */
.screen .scene {
  background:
    linear-gradient(rgba(0,0,0,.45), transparent 22%, transparent 70%, rgba(0,0,0,.6)),
    url("../img/stage-basscam.jpg") 25% 40% / cover no-repeat, #0b0a09;
  bottom: 13%;
}
.screen .scene::before, .screen .scene::after { display: none; }
.focus { left: 30%; top: 21%; }

/* Hero badges: who it's for */
.badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px auto 0; padding: 0; max-width: 760px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 12px; border-radius: 999px;
  border: 1px solid rgba(245, 241, 232, .18); background: rgba(255, 255, 255, .04);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.badges svg { width: 18px; height: 18px; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Cable tile: USB-C plugs in, the bolt lights up and the battery fills (loops while visible). */
@property --pct { syntax: "<integer>"; inherits: true; initial-value: 23; }
.charge { --green: #34c759; display: flex; align-items: center; height: clamp(56px, 7vw, 96px); }
.charge .usb { position: relative; width: 64px; height: 22px; margin-right: 10px; flex: none; }
.charge .usb::before { content: ""; position: absolute; right: 18px; top: 50%; width: 46px; height: 3px; margin-top: -1.5px;
  background: linear-gradient(90deg, transparent, var(--muted)); border-radius: 2px; }
.charge .usb i { position: absolute; right: 0; top: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--text); }
.charge .usb i::after { content: ""; position: absolute; right: -7px; top: 6px; width: 7px; height: 10px; border-radius: 0 3px 3px 0; background: var(--muted); }
.charge .battery { position: relative; width: 150px; height: 70px; border: 4px solid var(--text); border-radius: 18px; padding: 5px; flex: none; }
.charge .battery::after { content: ""; position: absolute; right: -13px; top: 50%; width: 7px; height: 22px; margin-top: -11px;
  border-radius: 0 5px 5px 0; background: var(--text); }
.charge .level { position: absolute; left: 5px; top: 5px; bottom: 5px; width: calc((100% - 10px) * var(--pct) / 100);
  border-radius: 11px; background: var(--green); }
.charge .pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45); counter-reset: pct var(--pct); }
.charge .pct::after { content: counter(pct) "%"; }
.charge .bolt { position: absolute; left: 50%; top: -30px; width: 22px; height: 22px; margin-left: -11px; fill: var(--amber); opacity: 0; }

/* Plays when the tile scrolls into view: plug in (0–14%), charge 23→100% (14–78%), hold full (78–100%). */
.tile.in .charge .usb i { animation: plug 6s cubic-bezier(.3,.7,.3,1) infinite; }
.tile.in .charge .usb::before { animation: plug 6s cubic-bezier(.3,.7,.3,1) infinite; }
.tile.in .charge .battery { animation: fill 6s ease-in-out infinite; }
.tile.in .charge .bolt { animation: bolt 6s ease-out infinite; }
@keyframes plug { 0% { transform: translateX(-26px); opacity: .35; } 12%, 92% { transform: none; opacity: 1; } 100% { transform: translateX(-26px); opacity: .35; } }
@keyframes fill { 0%, 14% { --pct: 23; } 78%, 100% { --pct: 100; } }
@keyframes bolt { 0%, 12% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1.15); } 24%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .charge .battery { --pct: 86; }
  .charge .bolt { opacity: 1; }
  .tile.in .charge .usb i, .tile.in .charge .usb::before, .tile.in .charge .battery, .tile.in .charge .bolt { animation: none; }
}

/* ---------- New: the Mac as a monitor (preview side panel + remote record) ---------- */
.new { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #111; background: var(--amber);
  border-radius: 999px; padding: 2px 8px; margin-right: 8px; vertical-align: 2px; }
.desk { width: min(1000px, 100%); margin: 0 auto; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 120% at 70% 0%, #2a2218 0%, #121214 55%, #0b0b0c 100%);
  box-shadow: 0 60px 140px rgba(0,0,0,.85), 0 0 0 1px var(--hair); padding: 0 0 46px; }
.menubar { display: flex; align-items: center; gap: 18px; height: 30px; padding: 0 16px; font-size: 12.5px;
  background: rgba(30,30,32,.75); backdrop-filter: blur(10px); color: #e9e5dc; }
.menubar .mb-apple { width: 11px; height: 13px; border-radius: 50% 50% 45% 45%; background: #e9e5dc; opacity: .9; }
.menubar span { opacity: .75; }
.mb-rec { margin-left: auto; opacity: 1 !important; display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
  background: rgba(229,72,77,.18); border-radius: 6px; padding: 2px 8px; }
.mb-rec i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: blink 1.2s steps(2) infinite; }
.mb-rec em { font-style: normal; font-weight: 500; opacity: .8; font-variant-numeric: tabular-nums; }
.app { position: relative; display: grid; grid-template-columns: 1fr 36%; margin: 40px 6% 0; border-radius: 14px; overflow: hidden;
  background: #131315; box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px #2c2c30; min-height: 470px; }
.app .dots { position: absolute; left: 14px; top: 13px; display: flex; gap: 7px; }
.app .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.app .dots i:nth-child(2) { background: #febc2e; } .app .dots i:nth-child(3) { background: #28c840; }
.app-main { padding: 46px 26px 26px; display: grid; gap: 14px; align-content: start; }
.app-brand { font-size: 13px; font-weight: 600; letter-spacing: .32em; display: flex; align-items: center; gap: 8px; }
.app-brand span { font-weight: 400; color: var(--muted); letter-spacing: .4em; font-size: 10px; }
.app-state { margin-left: auto; border: 1px solid #34363c; border-radius: 999px; padding: 4px 10px; color: var(--text) !important; }
.app-state i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 6px; vertical-align: 1px; }
.app-card { background: #1b1c21; border: 1px solid #2a2b30; border-radius: 12px; padding: 14px 16px; display: grid; gap: 10px; }
.app-step { margin: 0; font-size: 10px; letter-spacing: .18em; color: var(--muted); font-weight: 600; }
.app-source { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; background: #26272d; border-radius: 9px; padding: 10px 12px; }
.app-source .ic { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, #c69a53, #8a6a35); display: grid; place-items: center; color: #111; font-size: 13px; }
.app-source small { margin-left: auto; color: var(--amber); font-weight: 500; font-size: 11px; }
.app-meter { height: 6px; border-radius: 3px; background: #2c2d33; overflow: hidden; }
.app-meter b { display: block; height: 100%; width: 70%; border-radius: 3px; background: linear-gradient(90deg, #f5f1e8 70%, var(--amber));
  transform-origin: left; animation: lvl 1.1s ease-in-out infinite alternate; }
.app-meter.r b { animation-duration: .9s; animation-delay: -.3s; }
@keyframes lvl { 0% { transform: scaleX(.55); } 40% { transform: scaleX(.9); } 70% { transform: scaleX(.68); } 100% { transform: scaleX(.97); } }
.app-row { display: flex; align-items: center; gap: 10px; background: #26272d; border-radius: 9px; padding: 9px 12px; font-size: 13px; }
.app-row .cam { font-weight: 600; }
.app-row .meta { color: var(--muted); font-size: 11px; }
.app-row .bolt { color: #34c759; }
.btn-view { margin-left: auto; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 10px; background: var(--amber); color: #111; }
.btn-view.light { background: var(--text); }
.dot-rec { width: 9px; height: 9px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.2); }
.app-panel { border-left: 1px solid #2c2c30; background: rgba(27,28,33,.55); padding: 16px 16px 18px; display: grid; gap: 12px; align-content: start;
  animation: panel-in 1s cubic-bezier(.2,.8,.2,1) both; animation-play-state: paused; }
.desk.in .app-panel { animation-play-state: running; animation-delay: .5s; }
@keyframes panel-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; align-items: center; font-size: 14px; }
.panel-head .pop { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: #2a2b31; position: relative; }
.panel-head .pop::after { content: ""; position: absolute; inset: 7px 6px; border: 1.5px solid #cfcac0; border-radius: 2px; }
.panel-cam { position: relative; aspect-ratio: 9 / 13; border-radius: 12px; overflow: hidden;
  background: linear-gradient(rgba(0,0,0,.35), transparent 25%, transparent 75%, rgba(0,0,0,.5)), url("../img/stage-bass-live.jpg") center 30% / cover no-repeat, #0b0a09; }
.panel-rec { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: rgba(229,72,77,.92); color: #fff;
  border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; }
.panel-rec i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
.panel-stop { display: flex; align-items: center; justify-content: center; gap: 8px; background: #e5484d; color: #fff; border-radius: 10px;
  padding: 10px; font-size: 13px; font-weight: 600; }
.panel-stop i { width: 10px; height: 10px; border-radius: 2px; background: #fff; }
.panel-mix { display: grid; gap: 8px; background: #1b1c21; border-radius: 10px; padding: 10px 12px; }
.mix-line { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.slider { height: 4px; border-radius: 2px; background: #34363c; position: relative; }
.slider b { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 2px; background: var(--amber); }
.slider b::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #f5f1e8; }

/* ---------- New: room sound mixer ---------- */
.mixer { width: min(820px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr auto 1.15fr; align-items: center; gap: 22px;
  background: var(--tile); border-radius: 28px; padding: 44px 46px; box-shadow: 0 0 0 1px var(--hair); }
.ch { display: grid; grid-template-columns: auto auto; grid-template-rows: 220px auto; column-gap: 18px; justify-content: center; }
.ch p { grid-column: 1 / -1; margin: 18px 0 0; text-align: center; font-weight: 600; font-size: 19px; }
.ch p small { display: block; color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 2px; }
.ch-meter { width: 10px; border-radius: 5px; background: #222226; overflow: hidden; display: flex; align-items: flex-end; }
/* The gradient spans the full meter height, so amber/red only show when the level is really high. */
.ch-meter b { width: 100%; height: 60%; border-radius: 5px;
  background: linear-gradient(0deg, #f5f1e8 0%, #f5f1e8 62%, var(--amber) 82%, #e5484d 100%) bottom / 100% 220px no-repeat;
  animation: vu 1s ease-in-out infinite alternate; }
.ch-meter .m2 { animation-duration: 1.4s; animation-delay: -.4s; }
@keyframes vu { 0% { height: 35%; } 30% { height: 72%; } 55% { height: 50%; } 80% { height: 80%; } 100% { height: 60%; } }
.ch-meter .m2 { animation-name: vu-low; }
@keyframes vu-low { 0% { height: 18%; } 40% { height: 42%; } 70% { height: 26%; } 100% { height: 36%; } }
.fader { width: 6px; border-radius: 3px; background: #2c2d33; position: relative; }
.fader i { position: absolute; left: 50%; bottom: calc(var(--v) * 100%); width: 34px; height: 16px; margin: 0 0 -8px -17px; border-radius: 5px;
  background: linear-gradient(#f5f1e8, #cfc9bd); box-shadow: 0 4px 12px rgba(0,0,0,.6); }
.fader i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 7px; height: 2px; background: #6b665d; }
/* Same height as the 220px channel row, so + and = line up with the faders and the wave, not the labels. */
.plus { font-size: 34px; font-weight: 300; color: var(--muted); align-self: start; height: 220px; display: flex; align-items: center; }
.ch.out { grid-template-columns: 1fr; }
/* Shorter than the 220px channel row (centered in it) so the crests stay low. */
.out-wave { height: 76px; align-self: center; display: flex; align-items: center; gap: 3px; min-width: 140px; }
.out-wave i { flex: 1; background: var(--text); border-radius: 2px; opacity: .9; transform-origin: 50% 50%;
  animation: breathe 1.8s ease-in-out infinite; animation-delay: calc(var(--i) * -37ms); }

@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; margin: 30px 4% 0; }
  .app-panel { border-left: 0; border-top: 1px solid #2c2c30; }
  .panel-cam { aspect-ratio: 4 / 5; }
  .menubar span:not(.mb-rec) { display: none; }
  .menubar b { display: none; }
  .mixer { grid-template-columns: 1fr 1fr; padding: 32px 22px; }
  .plus { display: none; }
  .ch.out { grid-column: 1 / -1; margin-top: 24px; grid-template-rows: auto auto; }   /* no 220px fader row under the wave */
}

/* ---------- New: MIDI keyboard on the video ---------- */
.kb-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 40px); width: min(740px, 100%); margin: 0 auto; align-items: center; }
.kb-stage figure { margin: 0; }
.kb-phone { border-radius: clamp(16px, 3vw, 32px); overflow: hidden; background: #000; box-shadow: 0 50px 120px rgba(0,0,0,.9), 0 0 0 1px var(--hair); }
/* Cropped from the bottom: the top of each screenshot is the status bar. */
.kb-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.kb-live { aspect-ratio: 720 / 1247; }
.kb-set { aspect-ratio: 720 / 1457; }
.kb-mac { width: min(468px, 100%); margin: 56px auto 0; }
.kb-mac img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px var(--hair); }
.kb-mac figcaption, .kb-stage figcaption { margin-top: 18px; text-align: center; color: var(--muted); font-size: 15px; }

/* The BEHOLD Link icon follows the macOS icon grid: ~9% transparent margin around the shape. A box
   shadow/ring/radius on the image box draws a dark frame in that margin, so shade the shape itself and
   scale it up so it looks the same size as the full-bleed BEHOLD Camera icon. */
img.mac-icon, .tile img.mac-icon, .product img.mac-icon { border-radius: 0; box-shadow: none; filter: drop-shadow(0 12px 24px rgba(0,0,0,.55)); scale: 1.23; }

/* Support form (suporte.html, en/, es/) */
.sform { margin: 28px 0 8px; padding: 20px; background: var(--tile); border: 1px solid var(--hair); border-radius: 16px; display: grid; gap: 14px; }
.sform label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.sform input, .sform select, .sform textarea { width: 100%; background: #0a0a0b; color: var(--text); border: 1px solid var(--hair); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 16px; }
.sform textarea { min-height: 130px; resize: vertical; }
.sform input:focus, .sform select:focus, .sform textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.sform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sform button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; background: var(--text); color: #000; border-radius: 99px; padding: 12px 26px; }
.sform button:disabled { opacity: .5; cursor: default; }
.sform .err { color: #e0705f; min-height: 1.3em; margin: 0; font-size: 14px; }
.sform .note { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Media teams: one sound, every angle ---------- */
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.team-photo { margin: 0; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 50px 120px rgba(0,0,0,.9), 0 0 0 1px var(--hair); aspect-ratio: 4 / 5; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.team-copy .head { margin: 0 0 36px; text-align: left; }
.team-diagram { margin: 0; padding: 28px 22px 22px; background: var(--tile); border: 1px solid var(--hair); border-radius: 18px; }
.team-diagram svg { display: block; width: 100%; height: auto; }
.team-diagram figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 15px; }
.team-diagram .ln { stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 3 6; fill: none; opacity: .8; }
.team-diagram .dev { fill: #0a0a0b; stroke: #3a3a40; stroke-width: 1.5; }
.team-diagram .scr { fill: var(--tile-2); }
.team-diagram .dot { fill: var(--amber); }
.team-diagram .wave { stroke: var(--amber); stroke-width: 2; stroke-linecap: round; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } .team-photo { aspect-ratio: 4 / 3.4; max-height: 520px; } }
