/* Atlas Studio Lite — landing. The look of the program: graphite, white text, one red (#ff0033). */
@font-face { font-family: 'Unbounded'; src: url('assets/fonts/unbounded.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Golos'; src: url('assets/fonts/golos.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #0b0b0c;
  --panel: #141416;
  --panel-2: #1b1b1e;
  --line: #26262a;
  --text: #f2f2f2;
  --dim: #a7a7ad;
  --muted: #6d6d74;
  --red: #ff0033;
  --red-2: #ff335c;
  --radius: 16px;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 'Golos', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Unbounded', 'Golos', sans-serif; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.05; font-weight: 800; }
h1 em { font-style: normal; color: var(--red); }
h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; margin-top: 10px; }
h3 { font-size: 17px; line-height: 1.25; font-weight: 600; margin: 12px 0 6px; }
p { margin: 0; color: var(--dim); }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px max(20px, calc((100vw - var(--wrap)) / 2));
  background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 15px 'Unbounded', sans-serif; white-space: nowrap; }
.brand img { border-radius: 8px; }
.brand b { color: var(--red); font-weight: 700; }
.top__nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--dim); }
.top__nav a:hover { color: var(--text); }
.top__end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; }
.lang button { border: 0; background: none; color: var(--dim); font: 600 12px 'Golos', sans-serif; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.lang button.is-on { background: var(--text); color: var(--bg); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 15px 'Golos', sans-serif;
  border: 1px solid var(--line); transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 30px rgba(255, 0, 51, .28); }
.btn--red:hover { background: var(--red-2); }
.btn--ghost { background: var(--panel-2); }
.btn--small { padding: 8px 16px; font-size: 14px; box-shadow: none; }
.tg { width: 18px; height: 18px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.9 4.3 18.7 19.4c-.2 1.1-.9 1.3-1.8.8l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.3-5 9.1-8.2c.4-.4-.1-.6-.6-.2L6.2 13 1.4 11.5c-1-.3-1.1-1 .2-1.5L20.5 2.8c.9-.3 1.7.2 1.4 1.5z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* hero */
main { overflow: hidden; }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 72px 20px 48px; position: relative; }
.hero::before { content: ''; position: absolute; inset: -200px -300px auto auto; width: 820px; height: 820px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 0, 51, .22), transparent 70%); }
.eyebrow { display: inline-block; font: 600 12px 'Golos', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.hero .eyebrow { padding: 6px 12px; border: 1px solid rgba(255, 0, 51, .4); border-radius: 999px; margin-bottom: 22px; }
.lead { font-size: 18px; margin: 22px 0 30px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.window { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3f; }
.window__bar i:first-child { background: #ff5f57; } .window__bar i:nth-child(2) { background: #febc2e; } .window__bar i:nth-child(3) { background: #28c840; }
.window__bar span { margin: 0 auto; }
.rec { color: var(--red); font-size: 11px; letter-spacing: .08em; }
.rec::before { content: '●'; margin-right: 5px; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.window video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.window__steps { display: flex; justify-content: space-between; gap: 6px; padding: 12px 16px; font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); }
.window__steps span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 7px; vertical-align: 1px; }

/* facts */
.facts { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; max-width: var(--wrap); margin: 8px auto 0; padding: 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--panel); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.facts b { font: 700 22px 'Unbounded', sans-serif; }
.facts span { color: var(--dim); font-size: 14px; }

/* sections */
.section { max-width: var(--wrap); margin: 0 auto; padding: 96px 20px 0; }
.section__lead { margin-top: 14px; max-width: 640px; font-size: 17px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 36px 0 0; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 0, 51, .14); color: var(--red); font: 700 14px 'Unbounded', sans-serif; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 22px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #3a3a40; transform: translateY(-2px); }
.card > h3, .card > p, .card > .tag { margin-left: 8px; margin-right: 8px; }
.card p { font-size: 15px; }
.card--wide { grid-column: 1 / -1; }
.card__media { position: relative; aspect-ratio: 16 / 10; border-radius: 11px; overflow: hidden; background: #000; margin-bottom: 16px; }
.card__media video, .card__media > img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.card__media--voice { background: radial-gradient(circle at 30% 20%, #2a0a12, #0d0d0f 70%); display: grid; place-content: center; gap: 22px; padding: 20px; }
.wave { height: 70px; display: flex; align-items: center; gap: 4px; justify-content: center; }
.wave::before { content: ''; }
.wave i { width: 5px; border-radius: 3px; background: var(--red); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 14%; } 50% { height: 100%; } }
.langs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 320px; }
.langs span { font: 600 12px 'Golos', sans-serif; padding: 4px 9px; border: 1px solid #3a3a40; border-radius: 999px; color: var(--dim); }

.card__media--covers { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--panel-2); }
.card__media--covers img { width: 100%; height: 100%; object-fit: cover; }

.card__media--ref { aspect-ratio: auto; display: grid; grid-template-columns: 1fr auto 1fr 1fr; gap: 12px; align-items: center; background: var(--panel-2); padding: 14px; }
.card__media--ref figure { margin: 0; }
.card__media--ref img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card__media--ref figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.arrow { font: 700 28px 'Unbounded', sans-serif; color: var(--red); }

.card__media--package { background: #0f0f0f; padding: 16px; display: flex; }
.yt { display: flex; flex-direction: column; gap: 8px; width: 100%; font-family: Roboto, 'Golos', sans-serif; overflow: hidden; }
.yt__title { font: 600 15px/1.3 'Golos', sans-serif; color: #f1f1f1; }
.yt__desc { font-size: 12.5px; line-height: 1.45; color: #aaa; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.yt__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.yt__tags span { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: #272727; color: #ddd; }
.yt__tags span.hash { background: none; color: #3ea6ff; padding: 3px 2px; }

.card__media--claude { background: #0d0d0f; padding: 20px; display: flex; align-items: center; }
.card__media--claude pre { margin: 0; font: 13px/1.9 ui-monospace, Consolas, monospace; color: var(--dim); white-space: pre-wrap; }
.c-you { color: var(--text); }
.c-ok { color: #2ba640; }

/* styles */
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.styles figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 9 / 13; border: 1px solid var(--line); }
.styles video { width: 100%; height: 100%; object-fit: cover; }
.styles figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(11, 11, 12, .78); backdrop-filter: blur(6px); }

/* gallery */
.wall { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.wall button { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 0; background: #000; cursor: pointer; aspect-ratio: 9 / 16; }
.wall button.is-long { grid-column: span 2; aspect-ratio: auto; }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.wall button:hover img { transform: scale(1.04); }
/* a Long cover is shown whole: its own blurred copy fills the tall tile */
.wall button.is-long img { position: relative; object-fit: contain; }
.wall button.is-long img.bg { position: absolute; inset: 0; object-fit: cover; filter: blur(22px) brightness(.55); transform: scale(1.15); }
.wall button.is-long:hover img.bg { transform: scale(1.15); }
.wall .meta { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.wall .meta span { font: 600 11px 'Golos', sans-serif; padding: 3px 7px; border-radius: 999px; background: rgba(11, 11, 12, .8); color: #fff; }
.wall .meta span:first-child { background: var(--red); }
.wall button::after { content: ''; position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 0, 51, .9)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50%/22px no-repeat;
  opacity: 0; transition: opacity .2s; }
.wall button:hover::after { opacity: 1; }

/* need + licence */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.split h2 { font-size: 26px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; color: var(--dim); }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; color: var(--red); background: rgba(255, 0, 51, .14); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--red); font: 600 20px 'Unbounded', sans-serif; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 10px; font-size: 15px; }

/* final */
.final { max-width: 900px; margin: 110px auto 0; padding: 64px 24px; text-align: center; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 0, rgba(255, 0, 51, .25), transparent 60%), var(--panel); }
.final p { margin: 14px auto 28px; max-width: 520px; font-size: 17px; }
.foot { display: flex; justify-content: space-between; max-width: var(--wrap); margin: 0 auto; padding: 40px 20px; color: var(--muted); font-size: 14px; }
.foot a:hover { color: var(--text); }

/* player */
.player { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.player::backdrop { background: rgba(0, 0, 0, .86); }
.player video { max-height: 88vh; max-width: 100%; border-radius: 12px; background: #000; }
.player__close { position: absolute; top: -44px; right: 0; border: 0; background: none; color: #fff; font-size: 34px; cursor: pointer; }

/* responsive */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps, .styles { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(6, 1fr); }
  .facts li { grid-column: span 2; }
  .facts li:nth-child(n+4) { grid-column: span 3; }
  .wall { grid-template-columns: repeat(4, 1fr); }
  .top__nav { display: none; }
  .top__end { margin-left: auto; }
}
@media (max-width: 640px) {
  .cards, .split, .faq { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card__media--ref { grid-template-columns: 1fr 1fr; }
  .card__media--ref .arrow { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li, .facts li:nth-child(n+4) { grid-column: auto; }
  .facts li:last-child { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 18px; }
  .steps li > * { grid-column: 2; }
  .steps li > b { grid-column: 1; grid-row: 1 / span 2; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .wall button.is-long { grid-column: span 2; }
  .brand span { display: none; }
  .section { padding-top: 72px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
