:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #101011;
  --surface-soft: #151516;
  --surface-hover: #1a1a1c;
  --line: #29292d;
  --line-soft: #1b1b1e;
  --text: #f7f7f8;
  --text-soft: #c6c6cd;
  --muted: #8f8f99;
  --muted-dark: #676770;
  --accent: #7e51fb;
  --accent-hover: #9069fd;
  --accent-glint: #b399ff;
  --success: #59d293;
  --shell: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body {
  min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden;
  background: radial-gradient(circle at 73% 16%, rgba(126,81,251,.08), transparent 29rem), radial-gradient(circle at 22% 39%, rgba(126,81,251,.035), transparent 23rem), var(--bg);
  color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 750; text-decoration: none; transform: translateY(-150%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(5,5,5,.82); backdrop-filter: blur(18px); }
.nav { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { width: max-content; color: #fff; font-size: 18px; font-weight: 900; letter-spacing: .17em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 31px; }
.nav-links a, .site-footer a { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; transition: color 220ms ease; }
.nav-links a:hover, .site-footer a:hover { color: var(--text); }
.nav-cta { justify-self: end; }

.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 18px; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 13px; font-weight: 780; line-height: 1; text-decoration: none; transition: transform 240ms var(--ease), border-color 240ms ease, background 240ms ease, box-shadow 240ms ease; }
.button:focus-visible, .nav-links a:focus-visible, .site-footer a:focus-visible, .brand:focus-visible { outline: 2px solid var(--accent-glint); outline-offset: 4px; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: linear-gradient(110deg,#6d3df0 0%,var(--accent) 33%,#a37cff 52%,var(--accent) 71%,#6d3df0 100%); background-size: 250% 100%; color: #fff; box-shadow: 0 10px 30px rgba(126,81,251,.18); animation: button-shimmer 7s ease-in-out infinite; }
.button-primary::after { position: absolute; inset: 0; content: ""; background: linear-gradient(110deg,transparent 20%,rgba(255,255,255,.22) 48%,transparent 73%); transform: translateX(-130%); animation: button-sweep 7s ease-in-out infinite; }
.button-primary > * { position: relative; z-index: 1; }
.button-primary:hover { box-shadow: 0 13px 34px rgba(126,81,251,.3); }
.button-large { min-height: 52px; padding-inline: 23px; font-size: 14px; }
.button-tiktok { border-color: var(--line); background: rgba(17,17,18,.76); color: var(--text-soft); }
.button-tiktok:hover { border-color: #414147; background: var(--surface-hover); color: var(--text); }
.button-tiktok svg { width: 17px; height: 17px; fill: currentColor; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0,.93fr) minmax(490px,.9fr); align-items: center; gap: clamp(54px,7vw,108px); min-height: 790px; padding-block: 98px 116px; }
.hero::before { position: absolute; top: 7%; left: 47%; width: 1px; height: 86%; content: ""; background: linear-gradient(transparent,rgba(255,255,255,.08),transparent); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0; color: var(--accent-glint); font-size: 10px; font-weight: 850; letter-spacing: .19em; }
.hero h1 { max-width: 720px; margin: 24px 0 27px; font-size: clamp(54px,5.45vw,82px); font-weight: 840; line-height: .98; letter-spacing: -.063em; }
.hero h1 span { display: block; margin-top: .13em; background: linear-gradient(102deg,#a783ff 0%,var(--accent) 34%,#d4c5ff 51%,var(--accent-hover) 70%,#a783ff 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: headline-shimmer 9s ease-in-out infinite; }
.hero-description { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.hero-note { margin: 18px 0 0; color: var(--muted-dark); font-size: 12px; }

.product-stage { position: relative; z-index: 1; width: 100%; perspective: 1200px; animation: product-float 9s ease-in-out infinite; }
.product-glow { position: absolute; z-index: -1; inset: 7% 0 -4%; border-radius: 50%; background: rgba(126,81,251,.18); filter: blur(78px); opacity: .55; animation: glow-breathe 8s ease-in-out infinite; }
.product-window { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: rgba(12,12,13,.96); box-shadow: 0 35px 85px rgba(0,0,0,.56), 0 0 0 1px rgba(126,81,251,.045) inset; }
.window-bar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--line-soft); background: #0d0d0e; }
.window-brand { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.window-logo, .response-avatar { display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #303034; background: #1c1c1e; color: #c9c9ce; font-weight: 850; }
.window-logo { width: 27px; height: 27px; border-radius: 8px; font-size: 11px; }
.studio-status { color: var(--muted); font-size: 10px; font-weight: 650; white-space: nowrap; }
.studio-status i, .verified-badge i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px rgba(89,210,147,.35); }
.conversation { padding: 24px 22px 18px; }
.user-message { width: 82%; margin-left: auto; padding: 15px 17px; border-radius: 16px 16px 5px 16px; background: var(--accent); color: #fff; font-size: 13px; line-height: 1.55; }
.crake-response { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; }
.response-avatar { width: 28px; height: 28px; border-radius: 8px; font-size: 10px; }
.crake-response strong { display: block; margin-top: 1px; color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.crake-response p { margin: 7px 0 0; color: var(--text-soft); font-size: 12px; line-height: 1.58; }
.activity-card { margin-top: 21px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #111112; }
.activity-heading { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); color: var(--text-soft); font-size: 10px; font-weight: 750; }
.verified-badge { color: var(--success); font-size: 9px; white-space: nowrap; }
.activity-card ul { margin: 0; padding: 6px 0; list-style: none; }
.activity-card li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 7px; padding: 8px 14px; color: #b8b8bf; font-size: 10px; }
.activity-card small { color: var(--muted-dark); font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.activity-check { color: var(--success); font-size: 12px; }
.composer-preview { margin: 0 22px 22px; padding: 14px 14px 11px; border: 1px solid #303035; border-radius: 15px; background: var(--surface-soft); color: var(--muted-dark); font-size: 11px; }
.composer-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 18px; }
.model-pill { color: var(--muted); font-size: 9px; }
.model-pill b { padding-left: 3px; font-size: 10px; }
.send-button { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 800; }

.features-section, .workflow-section, .closing-section { padding-block: 110px; }
.features-section { border-top: 1px solid var(--line-soft); }
.section-intro { max-width: 720px; margin-bottom: 45px; }
.section-intro h2, .workflow-copy h2, .closing-panel h2 { margin: 17px 0 0; font-size: clamp(38px,5vw,65px); line-height: 1.03; letter-spacing: -.052em; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card { min-height: 300px; padding: 26px; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: linear-gradient(150deg,rgba(21,21,22,.9),rgba(11,11,12,.82)); transition: transform 300ms var(--ease), border-color 300ms ease, background 300ms ease; }
.feature-card:hover { transform: translateY(-5px); border-color: #343439; background: linear-gradient(150deg,rgba(25,25,27,.96),rgba(12,12,13,.9)); }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(126,81,251,.25); border-radius: 12px; background: rgba(126,81,251,.09); color: var(--accent-glint); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.feature-card h3 { margin: 69px 0 14px; font-size: 20px; letter-spacing: -.028em; }
.feature-card p, .workflow-copy > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.workflow-section { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(70px,12vw,180px); align-items: start; border-top: 1px solid var(--line-soft); }
.workflow-copy > p:last-child { max-width: 470px; margin-top: 24px; }
.workflow-list { margin: 0; padding: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.workflow-list li:first-child { padding-top: 0; }
.workflow-list > li > span { color: var(--accent-glint); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.workflow-list strong { font-size: 16px; }
.workflow-list p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.closing-section { padding-top: 25px; }
.closing-panel { display: flex; min-height: 320px; flex-direction: column; align-items: center; justify-content: center; padding: 50px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 110%,rgba(126,81,251,.18),transparent 48%),#0e0e0f; text-align: center; }
.closing-panel h2 { margin-bottom: 31px; }
.site-footer { margin-top: 55px; border-top: 1px solid var(--line-soft); }
.footer-inner { min-height: 105px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: var(--muted-dark); font-size: 12px; }
.footer-inner > div { display: flex; align-items: center; gap: 15px; }
.footer-inner strong { color: var(--text-soft); font-size: 13px; letter-spacing: .14em; }
.footer-inner p { margin: 0; }
.footer-inner > a { justify-self: end; }

@keyframes headline-shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes button-shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes button-sweep { 0%,52%,100% { transform: translateX(-130%); } 64% { transform: translateX(130%); } }
@keyframes product-float { 0%,100% { transform: translateY(0) rotate(.15deg); } 50% { transform: translateY(-9px) rotate(-.15deg); } }
@keyframes glow-breathe { 0%,100% { opacity: .35; transform: scale(.96); } 50% { opacity: .62; transform: scale(1.04); } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0,1fr) minmax(420px,.86fr); gap: 44px; }
  .hero h1 { font-size: clamp(50px,5.8vw,68px); }
  .hero::before { display: none; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 82px 96px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: clamp(54px,9vw,78px); }
  .product-stage { width: min(650px,100%); margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .feature-card h3 { margin-top: 44px; }
  .workflow-section { grid-template-columns: 1fr; gap: 58px; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 32px,var(--shell)); }
  .nav { min-height: 68px; }
  .nav-cta { min-height: 40px; padding-inline: 14px; font-size: 12px; }
  .hero { gap: 58px; padding-block: 66px 78px; }
  .hero h1 { margin-top: 20px; font-size: clamp(44px,13vw,64px); letter-spacing: -.058em; }
  .hero-description { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .window-bar { padding-inline: 15px; }
  .studio-status { font-size: 9px; }
  .conversation { padding: 18px 15px 15px; }
  .user-message { width: 92%; font-size: 11px; }
  .crake-response p { font-size: 11px; }
  .activity-heading { align-items: flex-start; flex-direction: column; gap: 5px; padding-block: 10px; }
  .activity-card li { grid-template-columns: 18px 1fr; }
  .activity-card small { display: none; }
  .composer-preview { margin: 0 15px 15px; }
  .features-section, .workflow-section, .closing-section { padding-block: 78px; }
  .closing-section { padding-top: 8px; }
  .feature-card { padding: 23px; }
  .section-intro h2, .workflow-copy h2, .closing-panel h2 { font-size: clamp(36px,11vw,52px); }
  .footer-inner { min-height: 145px; grid-template-columns: 1fr auto; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
