/* chordfier.com. Values come from the app's theme (ui/theme/ChordfierPalette.kt light palette, Shapes.kt, Type.kt):
   Hanken Grotesk, white paper with grey surfaces, ink text, brand green only as a fill, 30/25/21/14 radii.
   The site is always light. */

@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/hanken-grotesk-400.woff") format("woff"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/hanken-grotesk-500.woff") format("woff"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/hanken-grotesk-700.woff") format("woff"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/hanken-grotesk-800.woff") format("woff"); }

:root {
  color-scheme: light;
  --papel: #ffffff;
  --superficie: #f1f3f1;
  --superficie2: #e7eae7;
  --linha: #dce0db;
  --ink1: #131613;
  --ink2: #41473f;
  --ink3: #676e66;
  --verde-marca: #2bd17e;
  --verde-texto: #0b6b41;
  --verde-tingido: rgb(43 209 126 / 13%);
  --verde-chip: #dff3e7;
  --r-panel: 30px;
  --r-card: 25px;
  --r-tile: 21px;
  --r-control: 14px;
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papel);
  color: var(--ink1);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: var(--verde-texto); text-underline-offset: 0.18em; }
a:focus-visible, video:focus-visible { outline: 3px solid var(--verde-marca); outline-offset: 3px; border-radius: 8px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

h1, h2, h3 { margin: 0; color: var(--ink1); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(46px, 8.4vw, 82px); line-height: 0.96; letter-spacing: -0.04em; }
h2 { font-size: clamp(32px, 4.8vw, 48px); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; color: var(--ink2); }

/* ---------- header ---------- */
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { display: block; height: 26px; width: auto; }
.lang { display: flex; gap: 4px; font-size: 15px; font-weight: 700; }
.lang a { padding: 6px 10px; border-radius: 999px; color: var(--ink3); text-decoration: none; }
.lang a[aria-current="true"] { color: var(--ink1); background: var(--superficie); }

/* ---------- store badge (official artwork, unmodified) ---------- */
.badge { display: inline-block; line-height: 0; border-radius: 10px; }
.badge img { height: 58px; width: auto; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cta-note { font-size: 15px; color: var(--ink3); }
.cta-note strong { color: var(--ink1); font-weight: 700; }

/* ---------- hero ---------- */
.hero { padding: 24px 0 64px; }
.hero .wrap { display: grid; gap: 44px; }
.hero .copy { display: grid; gap: 22px; align-content: center; }
.kicker { font-size: 16px; font-weight: 700; color: var(--verde-texto); }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink2); max-width: 34ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink3); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--verde-marca); }

.scene { position: relative; display: flex; justify-content: center; padding: 28px 0 0; }
.scene::before { content: ""; position: absolute; inset: 0 0 64px; border-radius: var(--r-panel); background: var(--superficie); }

.phone { position: relative; width: 100%; max-width: 290px; aspect-ratio: 1264 / 2780; padding: 9px; border-radius: 46px; background: #111311; box-shadow: 0 50px 90px -40px rgb(19 22 19 / 50%), inset 0 0 0 1.5px #2c302d; }
.phone .screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 38px; background: #ffffff; }
.phone .screen video, .phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .cam { position: absolute; top: 14px; left: 50%; z-index: 2; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #0b0b0b; box-shadow: inset 0 0 0 1.5px #232523; }
.phone .still { display: none; }
@media (prefers-reduced-motion: reduce) { .phone .screen video { display: none; } .phone .still { display: block; } }

/* the result card, drawn with the app's own chips */
.result {
  position: absolute; left: 50%; bottom: 24px; width: min(330px, 92%); transform: translateX(-50%);
  padding: 18px 18px 16px; border-radius: var(--r-card); background: var(--papel);
  box-shadow: 0 24px 50px -24px rgb(19 22 19 / 35%), 0 0 0 1px var(--linha);
}
.result .song { font-size: 13px; font-weight: 700; color: var(--ink3); }
.result .meta { margin-top: 2px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.chords { display: flex; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chords li { flex: 1; min-width: 0; padding: 14px 0 14px 14px; border-radius: var(--r-control); background: var(--superficie2); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; transition: background-color 0.2s ease; }
.chords li[aria-current="true"] { background: var(--verde-chip); }
@media (prefers-reduced-motion: reduce) { .chords li { transition: none; } }

@media (min-width: 960px) {
  .hero { padding: 36px 0 96px; }
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
  .scene { padding: 36px 0 0; justify-content: flex-end; }
  .scene::before { inset: 0 0 72px 40px; }
  .scene .phone { margin-right: 56px; }
  .result { left: 0; transform: none; bottom: 40px; }
}

/* ---------- two ways to get the chords ---------- */
section { padding: 72px 0; }
.intro { display: grid; gap: 14px; max-width: 660px; margin-bottom: 40px; }
.intro p { font-size: 19px; }
.ways { display: grid; gap: 24px; }
.way { display: grid; gap: 22px; padding: 28px 24px 0; border-radius: var(--r-panel); background: var(--superficie); overflow: hidden; }
.way .text { display: grid; gap: 10px; max-width: 46ch; }
.way .phone { max-width: 250px; justify-self: center; margin-bottom: -170px; }
.way .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.way .tags li { padding: 6px 12px; border-radius: 999px; background: var(--papel); font-size: 14px; font-weight: 700; color: var(--ink2); }
.way .shot { overflow: hidden; height: 480px; display: flex; justify-content: center; align-items: flex-start; }
@media (min-width: 860px) { .ways { grid-template-columns: 1fr 1fr; } .way { padding: 36px 36px 0; } }

/* ---------- one song, everything you need ---------- */
.proof .panel { display: grid; gap: 28px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-panel); background: var(--superficie); }
.proof p { max-width: 58ch; }
.stats { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.stats li { display: grid; gap: 8px; padding: 22px 24px; border-radius: var(--r-tile); background: var(--papel); box-shadow: 0 0 0 1px var(--linha); }
.stats .label { font-size: 14px; font-weight: 700; color: var(--ink3); }
.stats .value { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink1); }
.stats .value .unit { font-size: 0.45em; letter-spacing: 0; color: var(--ink3); margin-left: 6px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }

/* ---------- demo ---------- */
.demo .wrap { display: grid; gap: 32px; align-items: center; }
.demo video { width: 100%; max-width: 340px; height: auto; aspect-ratio: 9 / 16; align-self: center; border-radius: var(--r-card); background: #07110d; justify-self: center; box-shadow: 0 40px 80px -40px rgb(19 22 19 / 50%); }
.demo .intro { margin-bottom: 0; }
@media (min-width: 900px) { .demo .wrap { grid-template-columns: 1.1fr 0.9fr; } .demo video { justify-self: end; } }

/* ---------- more in the app ---------- */
.more { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.more li { padding: 12px 18px; border-radius: 999px; background: var(--superficie); font-weight: 700; color: var(--ink1); }
.more li span { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--verde-tingido); color: var(--verde-texto); font-size: 12px; font-weight: 800; vertical-align: 2px; }

/* ---------- private + maker ---------- */
.pair { display: grid; gap: 24px; }
.pair > * { display: grid; gap: 14px; align-content: start; margin: 0; padding: clamp(26px, 4vw, 40px); border-radius: var(--r-panel); }
.private { background: var(--verde-tingido); }
.maker { background: var(--superficie); }
.maker blockquote { margin: 0; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.45; font-weight: 500; color: var(--ink1); }
.maker cite { font-style: normal; font-size: 15px; color: var(--ink3); }
@media (min-width: 860px) { .pair { grid-template-columns: 1fr 1fr; } }

/* ---------- price ---------- */
.price .wrap { display: grid; gap: 18px; }
.plans { display: grid; gap: 0; border-top: 1px solid var(--linha); }
.plans > div { display: grid; gap: 6px; align-content: start; padding: 22px 0; border-bottom: 1px solid var(--linha); }
.plans h3 { font-size: 20px; }
.plans .fine { font-size: 15px; color: var(--ink3); }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* ---------- questions: visible answers ---------- */
.qa { display: grid; gap: 0; border-top: 1px solid var(--linha); }
.qa > div { padding: 22px 0; border-bottom: 1px solid var(--linha); display: grid; gap: 8px; align-content: start; }
.qa h3 { font-size: 19px; }
@media (min-width: 860px) { .qa { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* ---------- closing ---------- */
.closing .wrap { display: grid; gap: 24px; justify-items: start; padding-top: 24px; }

/* ---------- footer ---------- */
footer { padding: 36px 0 48px; border-top: 1px solid var(--linha); }
footer .wrap { display: grid; gap: 16px; }
footer .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer .links a { color: var(--ink2); font-weight: 500; }
footer small { color: var(--ink3); font-size: 13px; }
footer .wordmark { height: 22px; }

/* ---------- phones: the store button stays reachable ---------- */
.sticky-cta { display: none; }
@media (max-width: 759px) {
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgb(255 255 255 / 96%); box-shadow: 0 -1px 0 var(--linha), 0 -12px 30px -18px rgb(19 22 19 / 30%);
    transform: translateY(110%); transition: transform 0.25s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .badge img { height: 44px; }
  .sticky-cta span { font-size: 14px; font-weight: 700; color: var(--ink2); }
  footer { padding-bottom: 110px; }
}
@media (max-width: 759px) and (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- every section ends with the way to the store ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--ink1); color: #ffffff; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.pill:focus-visible { outline: 3px solid var(--verde-marca); outline-offset: 3px; }
.next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 32px; }
.next .cta-note { font-size: 15px; }

/* ---------- the AI band ---------- */
.ai .panel { display: grid; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-panel); background: var(--superficie); }
.ai p { max-width: 56ch; font-size: 19px; }
.beats { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; max-width: 520px; }
.beats li { flex: 1; padding: 16px 0 16px 16px; border-radius: var(--r-control); background: var(--superficie2); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.beats li:first-child { background: var(--verde-chip); }
.private-band { display: grid; gap: 14px; padding: clamp(28px, 5vw, 48px); border-radius: var(--r-panel); background: var(--verde-tingido); }
.private-band p { max-width: 56ch; font-size: 19px; }

/* Portuguese headline is longer: keep it on two lines on wide screens */
@media (min-width: 960px) { html[lang="pt-BR"] h1 { font-size: clamp(46px, 5.2vw, 64px); } }
