@font-face{font-family:"Lexend Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/lexend-vietnamese-wght-normal.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"Lexend Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/lexend-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Music site (music.ai-agent.io.vn). Same family as the root site: warm paper, plum ink, with dusk violet leading. */
:root {
  --paper: #fff7ec;
  --paper-2: #ffeeda;
  --ink: #1d1033;
  --ink-2: #4a3d63;
  --pink: #ff2e7e;
  --orange: #ff7a1a;
  --gold: #ffc21a;
  --violet: #6a3bff;
  --teal: #00897d;
  --line: #e6d9c6;
  --sunrise: linear-gradient(100deg, var(--pink), var(--orange) 55%, var(--gold));
  --dusk: linear-gradient(135deg, var(--violet), #c03bff 60%, var(--pink));
  --font: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Lexend Variable", var(--font);
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  --r: 20px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 19px/1.6 var(--font); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; border-radius: 10px; z-index: 30; }
.skip:focus { left: 8px; }

/* header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); color: #fff; }
.brand { font: 700 18px/1 var(--display); letter-spacing: -.01em; text-decoration: none; padding: 13px 0; white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: 4px; }
.nav-link, .nav-lang { text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px; border-radius: 999px; }
.nav-link:hover, .nav-lang:hover { background: rgb(255 255 255 / .18); }
.nav-link { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--sunrise); color: #fff; font: 600 20px/1.1 var(--display); text-decoration: none; text-align: center; cursor: pointer; box-shadow: 0 10px 30px rgb(255 80 60 / .38); transition: transform .15s ease, box-shadow .15s ease; text-shadow: 0 1px 2px rgb(120 20 0 / .35); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgb(255 80 60 / .48); }
.btn:disabled { background: #d9cfc0; color: #7a6f63; box-shadow: none; text-shadow: none; cursor: not-allowed; transform: none; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn-ghost { background: rgb(255 255 255 / .16); border: 1.5px solid rgb(255 255 255 / .7); box-shadow: none; text-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgb(255 255 255 / .28); box-shadow: none; }
.btn-dark { background: var(--ink); box-shadow: 0 10px 30px rgb(29 16 51 / .3); text-shadow: none; }
.btn-dark:hover { box-shadow: 0 14px 36px rgb(29 16 51 / .4); }
.btn-small.btn-dark { box-shadow: none; }
.btn-line { background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; text-shadow: none; }
.btn-line:hover { box-shadow: 0 8px 22px rgb(29 16 51 / .18); }
.btn-line:disabled { border-color: #d9cfc0; background: #f4ece0; }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; text-shadow: none; min-height: 52px; font-size: 17px; padding: 0 22px; }
.link { background: none; border: 0; padding: 12px 0; text-decoration: underline; cursor: pointer; }

/* hero */
.hero { position: relative; min-height: min(78svh, 720px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #2a1257; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media video { opacity: 0; transition: opacity .6s ease; }
.hero-media video.on { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgb(29 16 51 / .6) 0%, rgb(29 16 51 / 0) 26%),
  linear-gradient(0deg, rgb(29 16 51 / .92) 0%, rgb(74 30 160 / .62) 42%, rgb(192 59 255 / .12) 78%); }
.hero-text { width: 100%; max-width: 1180px; margin: 0 auto; padding: 120px var(--gutter) clamp(36px, 7vw, 72px); }
.kicker { display: flex; align-items: center; gap: 12px; font: 600 14px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #ffe08a; text-shadow: 0 1px 8px rgb(29 16 51 / .7); }
h1 { font: 800 clamp(40px, 8.4vw, 92px)/1.02 var(--display); letter-spacing: -.03em; margin-top: 14px; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(100deg, #ffd84a, #ff9a3c 45%, #ff8fbf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 30em; margin-top: 18px; font-size: clamp(20px, 2.2vw, 24px); color: rgb(255 255 255 / .94); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* waveform bars */
.bars { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.bars i { width: 4px; border-radius: 99px; background: currentColor; height: 40%; animation: beat 1.5s ease-in-out infinite alternate; }
.bars i:nth-child(3n) { height: 90%; animation-delay: -.4s; }
.bars i:nth-child(4n+1) { height: 60%; animation-delay: -.9s; }
.bars i:nth-child(5n+2) { height: 100%; animation-delay: -1.3s; }
.bars i:nth-child(7n) { height: 30%; animation-delay: -.2s; }
@keyframes beat { to { transform: scaleY(.4); } }

/* bands */
.band { padding: clamp(52px, 8vw, 100px) 0; }
h2 { font: 800 clamp(30px, 5vw, 52px)/1.08 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.band-lead { margin-top: 12px; color: var(--ink-2); max-width: 36em; }
.occasions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 5vw, 48px); }
.occasions li { font: 600 16px/1 var(--display); padding: 12px 16px; border-radius: 999px; color: #fff; background: #e0202f; }
.occasions li:nth-child(2) { background: #d9560a; }
.occasions li:nth-child(3) { background: #d81b7f; }
.occasions li:nth-child(4) { background: var(--violet); }
.occasions li:nth-child(5) { background: #a87400; }
.occasions li:nth-child(6) { background: var(--teal); }

/* the maker */
.band-create { padding-top: clamp(28px, 5vw, 52px); }
.studio { display: grid; gap: 20px; margin-top: clamp(24px, 4vw, 40px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.panel { border-radius: 28px; padding: clamp(18px, 3vw, 32px); border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--dusk) border-box; box-shadow: 0 26px 60px -28px rgb(106 59 255 / .55); display: grid; gap: 28px; }
.panel-step { display: flex; align-items: center; gap: 12px; font: 800 24px/1.2 var(--display); letter-spacing: -.015em; }
.panel-step span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dusk); color: #fff; font-size: 19px; }
.label { display: block; margin-top: 18px; margin-bottom: 8px; font: 600 18px/1.3 var(--display); }
.label.small { font-size: 16px; color: var(--ink-2); font-weight: 500; }
input[type=password], textarea { width: 100%; border: 2px solid #b9a98f; border-radius: 16px; background: #fffdf9; padding: 16px 18px; font-size: 19px; line-height: 1.5; }
textarea { resize: vertical; min-height: 150px; }
input[type=password]:focus, textarea:focus { outline: 3px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }
::placeholder { color: #7b6f86; opacity: 1; }
.key-row { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.help { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.help-links { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; font-size: 17px; font-weight: 600; }
.help-links a { display: inline-block; padding: 12px 0; color: #4a22c9; }
.status { margin-top: 12px; font-weight: 600; font-size: 18px; }
.status:empty { display: none; }
.status[data-tone=ok] { color: #006b5f; }
.status[data-tone=warn] { color: #8a4b00; }
.status[data-tone=bad] { color: #b3122d; }
.status[data-tone]:not([data-tone=""]) { padding: 12px 16px; border-radius: 14px; background: #f3edff; }
.status[data-tone=ok] { background: #e2f6f1; }
.status[data-tone=warn] { background: #fff1cf; }
.status[data-tone=bad] { background: #ffe5e9; }
.segs, .pills { display: flex; flex-wrap: wrap; gap: 10px; }
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 2px solid #b9a98f; background: #fffdf9; font: 600 18px/1 var(--display); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.pill { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: #efe7ff; color: #3d1cab; font: 600 16px/1 var(--display); cursor: pointer; }
.pill:hover { background: #e2d5ff; }
.make-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
.working { margin-top: 14px; height: 64px; border-radius: 16px; background: var(--dusk); color: #fff; display: flex; align-items: center; justify-content: center; }
.working .bars { height: 38px; gap: 5px; }
.working .bars i { width: 5px; }

.results { border-radius: 28px; background: var(--ink); color: #fff; padding: clamp(18px, 3vw, 28px); }
.results > h3 { font: 800 24px/1.2 var(--display); }
.results-empty { margin-top: 10px; color: rgb(255 255 255 / .78); }
#results { display: grid; gap: 14px; margin-top: 14px; }
#results:empty { display: none; }
#results li { background: #fff; color: var(--ink); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.result-head { font: 700 16px/1.2 var(--display); color: #4a22c9; }
.result-text { font-size: 16px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#results audio { width: 100%; height: 48px; }
#results .btn { justify-self: start; }
.soon-card { margin-top: 20px; padding: 18px; border-radius: 18px; background: rgb(255 255 255 / .1); border: 1.5px dashed rgb(255 255 255 / .4); }
.soon-card h4 { font: 700 20px/1.2 var(--display); margin-top: 10px; }
.soon-card p { margin-top: 6px; font-size: 17px; color: rgb(255 255 255 / .84); }
.chip { display: inline-block; font: 600 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--gold); color: var(--ink); }

/* get a key */
.band-key { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.key-steps { display: grid; gap: 16px; margin-top: clamp(24px, 4vw, 40px); grid-template-columns: minmax(0, 1fr); }
.key-steps li { display: flex; gap: 16px; background: #fff; border-radius: var(--r); padding: 22px; box-shadow: 0 18px 40px -22px rgb(255 122 26 / .4); }
.num { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sunrise); color: #fff; font: 800 22px/1 var(--display); text-shadow: 0 1px 2px rgb(120 20 0 / .35); }
.key-steps h3, .tips h3 { font: 700 21px/1.25 var(--display); letter-spacing: -.01em; }
.key-steps p, .tips p { margin-top: 6px; color: var(--ink-2); font-size: 18px; }
.key-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.key-foot span { flex: 1 1 260px; color: var(--ink-2); font-size: 17px; }

/* guide */
.tips { display: grid; gap: 16px; margin-top: clamp(24px, 4vw, 40px); grid-template-columns: minmax(0, 1fr); counter-reset: tip; }
.tips li { counter-increment: tip; background: #fff; border-radius: var(--r); padding: 22px; border-top: 6px solid var(--pink); box-shadow: 0 1px 0 rgb(29 16 51 / .04), 0 18px 40px -24px rgb(29 16 51 / .35); }
.tips li:nth-child(2) { border-color: var(--orange); }
.tips li:nth-child(3) { border-color: #e0a800; }
.tips li:nth-child(4) { border-color: var(--teal); }
.tips li:nth-child(5) { border-color: var(--violet); }
.tips li:nth-child(6) { border-color: #c03bff; }
.tips h3::before { content: counter(tip) ". "; color: var(--ink-2); }
.sub { font: 800 clamp(24px, 3.2vw, 32px)/1.15 var(--display); letter-spacing: -.02em; margin-top: clamp(36px, 6vw, 56px); }
.compare { display: grid; gap: 16px; margin-top: 18px; grid-template-columns: minmax(0, 1fr); }
.compare > div { border-radius: var(--r); padding: 22px; background: #fff; border: 2px solid var(--line); }
.compare .strong { border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--sunrise) border-box; }
.tag { display: inline-block; font: 700 13px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: #eee6da; color: var(--ink-2); margin-bottom: 12px; }
.strong .tag { background: #ffe1ec; color: #b3124f; }
.guide-foot { margin-top: 22px; max-width: 40em; }
.source { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* agents */
.band-agent { background: var(--ink); color: #fff; }
.band-agent .band-lead { color: rgb(255 255 255 / .82); }
.agent-grid { display: grid; gap: 20px; margin-top: clamp(24px, 4vw, 40px); grid-template-columns: minmax(0, 1fr); }
.agent-side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.code-card { background: #120a22; border: 1px solid rgb(255 255 255 / .16); border-radius: var(--r); padding: 18px; min-width: 0; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.code-head h3 { font: 700 19px/1.2 var(--display); }
.copy { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .5); background: none; color: #fff; font: 600 15px/1 var(--display); cursor: pointer; }
.copy:hover { background: rgb(255 255 255 / .14); }
pre { margin: 14px 0 0; padding: 14px; border-radius: 12px; background: #000; overflow-x: auto; font: 400 14px/1.6 var(--mono); color: #e9defc; white-space: pre; }
.code-card p { margin-top: 12px; font-size: 16px; color: rgb(255 255 255 / .84); }
.facts { display: grid; gap: 10px; font-size: 16px; color: rgb(255 255 255 / .88); }
.facts li { padding-left: 18px; position: relative; overflow-wrap: anywhere; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.agent-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.text-link { display: inline-block; padding: 12px 0; font: 600 17px/1 var(--display); color: var(--gold); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* close + footer */
.close { background: var(--sunrise); padding: clamp(52px, 8vw, 96px) 0; text-align: center; }
.close h2 { color: #fff; text-shadow: 0 2px 14px rgb(140 30 0 / .35); margin-bottom: 26px; }
.foot { background: var(--ink); color: rgb(255 255 255 / .78); font-size: 15px; padding: 22px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.foot a { display: inline-block; padding: 12px 0; margin-right: 20px; text-decoration: none; }
.foot a:last-child { margin-right: 0; }
.foot a:hover { color: #fff; text-decoration: underline; }

@media (min-width: 560px) {
  .key-row { grid-template-columns: minmax(0, 1fr) auto; }
  .make-row { grid-template-columns: auto minmax(0, 1fr); }
}
@media (min-width: 720px) {
  .nav-link { display: inline-block; }
  .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
@media (min-width: 1000px) {
  .studio { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; }
  .results { position: sticky; top: 20px; }
  .key-steps, .tips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .key-steps li { flex-direction: column; }
  .agent-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .nav-lang { padding: 12px 8px; }
  .btn-small { padding: 0 14px; }
  .actions .btn { flex: 1 1 100%; }
  .brand { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bars i { animation: none; }
  .btn { transition: none; }
}
