:root {
  --navy-950: #050a12;
  --navy-900: #07111f;
  --navy-850: #0b1727;
  --navy-800: #102137;
  --navy-700: #18314f;
  --ink: #0d1b2a;
  --muted: #66758a;
  --line: rgba(21, 49, 78, .13);
  --paper: #f5f7fa;
  --white: #fff;
  --teal: #19d3b0;
  --teal-dark: #08a88a;
  --magenta: #df3fff;
  --gold: #f6c453;
  --danger: #d64f66;
  --shadow: 0 24px 70px rgba(4, 15, 29, .12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --speed: 220ms;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(25, 211, 176, .45); outline-offset: 3px; }

.boot-screen {
  min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 16px;
  background: var(--navy-950); color: #c7d5e8;
}
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 13px; color: var(--navy-950); background: linear-gradient(135deg, var(--teal), #78f2dc);
  font-weight: 900; letter-spacing: -.08em; box-shadow: 0 0 40px rgba(25, 211, 176, .25);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-size: 15px; letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: #75859a; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.button {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 20px; border: 1px solid transparent; border-radius: 12px; background: transparent;
  font-weight: 750; transition: transform var(--speed), box-shadow var(--speed), background var(--speed), border var(--speed);
}
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button--primary { color: var(--navy-950); background: var(--teal); box-shadow: 0 12px 28px rgba(25, 211, 176, .2); }
.button--primary:hover { background: #30e1c1; box-shadow: 0 16px 36px rgba(25, 211, 176, .28); }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,.04); }
.button--quiet { color: #c9d6e7; border-color: rgba(255,255,255,.14); }
.button--large { min-height: 54px; padding-inline: 25px; border-radius: 15px; }
.button--full { width: 100%; }
.text-button { padding: 12px; border: 0; background: none; color: var(--teal-dark); font-weight: 750; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark);
  font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 16px var(--teal); }

/* Public product website */
.public-page { min-height: 100vh; background: var(--navy-950); color: var(--white); overflow: hidden; }
.public-header {
  position: relative; z-index: 20; height: 82px; max-width: 1320px; margin: auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.public-header nav { display: flex; align-items: center; gap: 28px; color: #b9c5d4; font-size: 14px; font-weight: 650; }
.public-header nav > a:not(.button) { transition: color var(--speed); }
.public-header nav > a:not(.button):hover { color: var(--white); }
.public-header .button--ghost { border-color: rgba(255,255,255,.16); color: var(--white); }
.public-header .brand strong { color: var(--white); }

.landing-hero {
  position: relative; max-width: 1320px; min-height: 680px; margin: auto; padding: 78px 32px 84px;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr); align-items: center; gap: 72px;
}
.landing-hero::before {
  content: ""; position: absolute; top: -260px; right: -240px; width: 730px; height: 730px; border-radius: 50%;
  background: radial-gradient(circle, rgba(223,63,255,.14), rgba(25,211,176,.08) 34%, transparent 68%); filter: blur(4px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 720px; margin: 24px 0; font-size: clamp(48px, 5.4vw, 78px); line-height: .99; letter-spacing: -.065em; }
.hero-copy h1 em { display: block; color: var(--teal); font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 0 0 34px; color: #aebcce; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-line { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 18px; color: #75869d; font-size: 12px; }

.studio-preview {
  position: relative; z-index: 2; min-height: 495px; padding: 22px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 30px; background: linear-gradient(160deg, rgba(23,43,68,.96), rgba(8,18,31,.95));
  box-shadow: 0 45px 100px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.08);
}
.preview-glow { position: absolute; inset: auto 5% -18% 5%; height: 55%; background: rgba(25,211,176,.12); filter: blur(70px); }
.preview-top { position: relative; display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.09); }
.preview-top small { flex: 1; color: #c9d5e4; }
.live-pill { padding: 6px 10px; border-radius: 99px; color: var(--teal); background: rgba(25,211,176,.1); font-size: 10px; font-weight: 800; }
.preview-progress { height: 4px; margin: 20px 0 28px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.preview-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--magenta)); }
.preview-body { position: relative; }
.preview-agent { display: flex; gap: 14px; padding: 18px; border: 1px solid rgba(223,63,255,.18); border-radius: 18px; background: rgba(223,63,255,.06); }
.preview-agent > span, .alexia-avatar {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
  color: white; background: linear-gradient(135deg, var(--magenta), #743cff); font-weight: 900; box-shadow: 0 8px 24px rgba(223,63,255,.25);
}
.preview-agent div { display: grid; gap: 7px; }
.preview-agent small { color: #b99cc6; }
.preview-agent strong { font-size: 14px; line-height: 1.45; }
.preview-assets { display: grid; gap: 12px; margin-top: 16px; }
.preview-assets article { position: relative; padding: 17px 68px 17px 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.035); }
.preview-assets small, .preview-assets strong { display: block; }
.preview-assets small { margin-bottom: 7px; color: #71839b; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.preview-assets strong { font-size: 13px; color: #dce5f1; }
.preview-assets span { position: absolute; right: 15px; top: 17px; color: var(--teal); font-size: 10px; }

.proof-strip { border-block: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); }
.proof-strip p { max-width: 1000px; margin: 0 auto; padding: 24px 32px; color: #7f8fa5; text-align: center; font-size: 13px; letter-spacing: .02em; }
.proof-strip strong { color: #c3cede; }
.section { max-width: 1260px; margin: auto; padding: 120px 32px; }
.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading h2, .outcome-section h2, .final-cta h2 { margin: 16px 0; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -.05em; }
.section-heading p { color: #8fa0b5; font-size: 18px; line-height: 1.65; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-grid article { min-height: 265px; padding: 28px; border: 1px solid rgba(255,255,255,.075); border-radius: 22px; background: rgba(255,255,255,.025); transition: transform var(--speed), border var(--speed), background var(--speed); }
.process-grid article:hover { transform: translateY(-8px); border-color: rgba(25,211,176,.3); background: rgba(25,211,176,.045); }
.process-grid article > span { color: var(--teal); font-weight: 900; font-size: 12px; }
.process-grid h3 { margin: 70px 0 12px; font-size: 24px; letter-spacing: -.03em; }
.process-grid p { color: #8292a8; line-height: 1.55; }
.outcome-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.outcome-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.outcome-cloud span { padding: 16px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: linear-gradient(140deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); color: #c8d4e3; }
.outcome-cloud span:nth-child(3n+1) { color: var(--teal); border-color: rgba(25,211,176,.28); }
.outcome-cloud span:nth-child(3n+2) { transform: translateY(14px); }
.final-cta { max-width: 1120px; margin-bottom: 90px; border: 1px solid rgba(25,211,176,.18); border-radius: 34px; text-align: center; background: radial-gradient(circle at top, rgba(25,211,176,.1), transparent 65%); }
.final-cta h2 { max-width: 850px; margin: 18px auto 35px; }
.public-footer { max-width: 1320px; margin: auto; padding: 28px 32px 45px; display: flex; justify-content: space-between; color: #65768d; font-size: 12px; }

/* Pricing */
.pricing-page { min-height: calc(100vh - 82px); padding: 75px 32px 100px; }
.pricing-heading { max-width: 820px; margin: 0 auto 50px; text-align: center; }
.pricing-heading h1 { margin: 16px 0; font-size: clamp(44px, 5vw, 68px); letter-spacing: -.06em; }
.currency-toggle { width: fit-content; margin: 28px auto 0; padding: 4px; border: 1px solid rgba(255,255,255,.1); border-radius: 99px; background: rgba(255,255,255,.04); }
.currency-toggle button { padding: 9px 18px; border: 0; border-radius: 99px; color: #8fa0b5; background: transparent; font-weight: 800; }
.currency-toggle button.active { color: var(--navy-950); background: var(--teal); }
.pricing-grid { max-width: 1110px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; }
.price-card { position: relative; padding: 34px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.1); border-radius: 25px; background: rgba(255,255,255,.035); }
.price-card--featured { transform: translateY(-12px); border-color: rgba(25,211,176,.45); background: linear-gradient(180deg, rgba(25,211,176,.09), rgba(255,255,255,.035)); box-shadow: 0 30px 80px rgba(25,211,176,.09); }
.recommended { position: absolute; top: 18px; right: 18px; padding: 6px 9px; border-radius: 99px; color: var(--navy-950); background: var(--teal); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.price-card h2 { margin: 0 0 24px; font-size: 26px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.price strong { font-size: 37px; letter-spacing: -.045em; }
.price span, .credits { color: #8394aa; }
.credits { min-height: 24px; font-size: 13px; }
.price-card ul { margin: 28px 0 35px; padding: 25px 0 0; display: grid; gap: 15px; border-top: 1px solid rgba(255,255,255,.08); list-style: none; color: #bdc9d8; font-size: 14px; }
.price-card li::first-letter { color: var(--teal); }
.price-card .button { width: 100%; margin-top: auto; color: white; border-color: rgba(255,255,255,.15); }
.price-card .button--primary { color: var(--navy-950); }
.pricing-note { max-width: 780px; margin: 34px auto; color: #687a92; text-align: center; font-size: 12px; line-height: 1.6; }
.catalog-notice { max-width: 720px; margin: 20px auto; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; color: #c7d3e1; text-align: center; background: rgba(255,255,255,.035); }
.catalog-notice p { margin-bottom: 0; color: #7f90a6; line-height: 1.55; }

/* Authentication */
.auth-page { min-height: 100vh; padding: 32px; display: grid; grid-template-columns: minmax(420px, 570px) minmax(350px, 1fr); align-items: center; justify-content: center; gap: 90px; background: var(--navy-950); color: white; }
.auth-brand { position: absolute; top: 30px; left: 36px; }
.auth-card { padding: 44px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: rgba(255,255,255,.045); box-shadow: 0 35px 90px rgba(0,0,0,.3); }
.auth-intro h1 { margin: 15px 0 12px; font-size: 39px; letter-spacing: -.045em; }
.auth-intro p { margin-bottom: 30px; color: #899ab0; line-height: 1.55; }
.auth-card form { display: grid; gap: 17px; }
.field { display: grid; gap: 8px; }
.field > span, .duration-field legend { color: #405066; font-size: 12px; font-weight: 800; }
.auth-card .field > span { color: #aebbc9; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; outline: 0; transition: border var(--speed), box-shadow var(--speed);
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(25,211,176,.1); }
.auth-card .field input { color: white; border-color: rgba(255,255,255,.12); background: rgba(0,0,0,.18); }
.check-field { display: flex; gap: 10px; color: #8d9caf; font-size: 12px; line-height: 1.5; }
.check-field input { margin-top: 3px; accent-color: var(--teal); }
.form-hint { color: #899ab0; font-size: 13px; }
.status-message, .error-message { margin: 15px 0 0; padding: 12px 14px; border-radius: 11px; font-size: 13px; }
.status-message { color: #137a68; background: rgba(25,211,176,.1); }
.error-message { color: #ff9cab; background: rgba(214,79,102,.12); }
.auth-switch { margin: 25px 0 0; color: #7f90a6; text-align: center; font-size: 13px; }
.auth-switch a { color: var(--teal); font-weight: 800; }
.auth-aside { max-width: 480px; }
.auth-aside blockquote { margin: 30px 0 20px; font-size: clamp(27px, 3vw, 43px); line-height: 1.22; letter-spacing: -.04em; }
.auth-aside > strong, .auth-aside > small { display: block; }
.auth-aside > small { margin-top: 6px; color: #75869c; }

/* Authenticated application */
.app-frame { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); background: var(--paper); }
.app-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; display: flex; flex-direction: column; background: var(--navy-950); color: #c9d5e4; }
.app-sidebar > .brand { padding: 0 10px 28px; }
.app-sidebar nav { display: grid; gap: 6px; }
.app-sidebar nav a { min-height: 46px; padding: 0 13px; display: flex; align-items: center; gap: 12px; border-radius: 12px; color: #8293a9; font-size: 14px; font-weight: 700; transition: color var(--speed), background var(--speed); }
.app-sidebar nav a:hover, .app-sidebar nav a.router-link-exact-active { color: white; background: rgba(255,255,255,.07); }
.app-sidebar nav a.router-link-exact-active span { color: var(--teal); }
.sidebar-user { margin-top: auto; padding: 12px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.user-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-950); background: var(--teal); font-weight: 900; }
.sidebar-user > span:nth-child(2) { display: grid; min-width: 0; }
.sidebar-user strong, .sidebar-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user strong { font-size: 12px; }
.sidebar-user small { margin-top: 4px; color: #65778d; font-size: 10px; }
.sidebar-user button { border: 0; color: #708198; background: none; }
.app-content { min-width: 0; }
.mobile-appbar, .mobile-nav { display: none; }
.dashboard, .studio, .kit-page, .checkout-page { max-width: 1280px; margin: auto; padding: 42px; }
.dashboard-hero, .workspace-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.dashboard-hero h1, .workspace-header h1 { margin: 12px 0 8px; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.05em; }
.dashboard-hero p, .workspace-header p { margin: 0; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.dashboard-grid > article { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: 0 12px 35px rgba(10,31,55,.05); }
.next-action-card { grid-row: span 2; min-height: 330px; display: flex; flex-direction: column; background: linear-gradient(145deg, var(--navy-900), var(--navy-800)) !important; color: white; }
.card-kicker { color: var(--teal); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.next-action-card h2 { max-width: 500px; margin: 55px 0 12px; font-size: 31px; line-height: 1.12; letter-spacing: -.04em; }
.next-action-card p { color: #91a2b8; }
.next-action-card a { margin-top: auto; color: var(--teal); font-weight: 800; }
.mini-progress { height: 4px; margin: 30px 0; border-radius: 99px; background: rgba(255,255,255,.1); }
.mini-progress span { display: block; height: 100%; background: var(--teal); }
.metric-card { display: grid; gap: 8px; }
.metric-card > span { color: var(--muted); font-size: 12px; }
.metric-card strong { font-size: 32px; letter-spacing: -.04em; }
.metric-card small { color: #94a0ae; }
.alexia-pulse { grid-column: 1/-1; display: flex; align-items: center; gap: 17px; }
.alexia-pulse p { margin: 5px 0 0; color: var(--muted); }

.progress-orb { --progress: 0; width: 84px; height: 84px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: radial-gradient(closest-side, var(--paper) 77%, transparent 78%), conic-gradient(var(--teal) calc(var(--progress)*1%), #dce3eb 0); }
.progress-orb strong { font-size: 19px; }
.progress-orb small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.stepper { margin-bottom: 20px; padding: 8px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.stepper button { min-height: 46px; padding: 6px 10px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; color: #76869a; background: transparent; font-weight: 750; }
.stepper button span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #edf1f5; font-size: 11px; }
.stepper button.active { color: var(--ink); background: #f0faf8; }
.stepper button.active span, .stepper button.complete span { color: var(--navy-950); background: var(--teal); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 325px; align-items: start; gap: 18px; }
.work-card, .alexia-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: 0 12px 36px rgba(10,31,55,.05); }
.work-card { padding: 30px; }
.work-card > header > span { color: var(--teal-dark); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.work-card > header h2 { margin: 10px 0 27px; font-size: 30px; letter-spacing: -.04em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--full { grid-column: 1/-1; }
.duration-field { margin: 0; padding: 15px; display: flex; gap: 24px; border: 1px solid var(--line); border-radius: 12px; }
.duration-field label { display: flex; gap: 7px; font-weight: 700; }
.duration-field input { accent-color: var(--teal-dark); }
.form-actions { grid-column: 1/-1; margin-top: 8px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.alexia-card { position: sticky; top: 22px; overflow: hidden; }
.alexia-card > header { padding: 18px; display: flex; align-items: center; gap: 12px; color: white; background: var(--navy-900); }
.alexia-card > header > div { display: grid; flex: 1; }
.alexia-card > header small { margin-top: 3px; color: #7f91a7; }
.alexia-card > header i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.alexia-card > div { padding: 25px; }
.alexia-card h3 { margin: 16px 0 10px; font-size: 22px; letter-spacing: -.035em; }
.alexia-card p { color: var(--muted); line-height: 1.6; }
.alexia-card footer { padding: 14px 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #8d99a8; font-size: 9px; text-transform: uppercase; }
.kit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kit-grid article { min-height: 210px; padding: 23px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: white; }
.kit-grid article > span { color: var(--teal-dark); font-size: 11px; font-weight: 900; }
.kit-grid h2 { margin: 34px 0 8px; font-size: 18px; }
.kit-grid p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.kit-grid small { margin-top: auto; color: #9ca7b4; text-transform: uppercase; }
.workspace-loading { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: white; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: start; gap: 18px; }
.checkout-selector, .checkout-confirm { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: 0 12px 36px rgba(10,31,55,.05); }
.checkout-selector { display: grid; gap: 20px; }
.checkout-summary { padding-top: 25px; border-top: 1px solid var(--line); }
.checkout-summary > span { color: var(--teal-dark); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.checkout-summary > strong { margin: 12px 0 5px; display: block; font-size: 38px; letter-spacing: -.04em; }
.checkout-summary > strong small { color: var(--muted); font-size: 14px; letter-spacing: 0; }
.checkout-summary p { color: var(--muted); }
.checkout-summary ul { margin: 22px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); list-style: none; }
.checkout-confirm { position: sticky; top: 22px; color: white; background: linear-gradient(145deg, var(--navy-900), var(--navy-800)); }
.checkout-confirm h2 { margin: 18px 0 14px; font-size: 27px; line-height: 1.18; letter-spacing: -.035em; }
.checkout-confirm > p { color: #91a2b8; line-height: 1.6; }
.checkout-confirm .button { margin-top: 20px; }

/* Motion communicates hierarchy and state */
.motion-rise { animation: rise-in 650ms cubic-bezier(.2,.8,.2,1) both; }
.motion-float { animation: float-in 800ms cubic-bezier(.2,.8,.2,1) 120ms both, gentle-float 6s ease-in-out 1s infinite; }
.page-enter { animation: page-enter 330ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float-in { from { opacity: 0; transform: translate(32px, 28px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes gentle-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes page-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .public-header nav > a:not(.button), .public-header nav .button--ghost { display: none; }
  .landing-hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { max-width: 820px; }
  .studio-preview { max-width: 680px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .outcome-section { grid-template-columns: 1fr; gap: 35px; }
  .pricing-grid { max-width: 720px; grid-template-columns: 1fr; }
  .price-card--featured { transform: none; }
  .auth-page { grid-template-columns: minmax(400px, 600px); }
  .auth-aside { display: none; }
  .kit-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .app-frame { display: block; padding-bottom: 68px; }
  .app-sidebar { display: none; }
  .mobile-appbar { height: 66px; padding: 0 20px; display: flex; align-items: center; color: white; background: var(--navy-950); }
  .mobile-nav { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 10px; height: 58px; padding: 5px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(5,10,18,.94); backdrop-filter: blur(18px); box-shadow: 0 16px 45px rgba(0,0,0,.3); }
  .mobile-nav a { display: grid; place-items: center; border-radius: 11px; color: #7f90a6; font-size: 11px; font-weight: 800; }
  .mobile-nav a.router-link-exact-active { color: var(--navy-950); background: var(--teal); }
  .dashboard, .studio, .kit-page, .checkout-page { padding: 26px 20px; }
  .dashboard-hero, .workspace-header { align-items: flex-start; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .next-action-card { grid-row: auto; }
  .alexia-pulse { grid-column: auto; }
  .studio-grid { grid-template-columns: 1fr; }
  .alexia-card { position: static; }
  .stepper { overflow-x: auto; grid-template-columns: repeat(5, minmax(115px, 1fr)); }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-confirm { position: static; }
}

@media (max-width: 620px) {
  .public-header { height: 72px; padding: 0 18px; }
  .public-header nav { gap: 0; }
  .public-header nav .button--primary { min-height: 42px; padding-inline: 15px; }
  .landing-hero { min-height: auto; padding: 48px 20px 70px; gap: 50px; }
  .hero-copy h1 { font-size: 47px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .trust-line { display: grid; gap: 9px; }
  .studio-preview { min-height: 440px; padding: 15px; border-radius: 22px; }
  .section { padding: 85px 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 225px; }
  .public-footer { padding-inline: 20px; display: grid; gap: 8px; }
  .pricing-page { padding: 55px 18px 80px; }
  .price-card { padding: 27px; }
  .auth-page { padding: 85px 16px 25px; display: block; }
  .auth-brand { top: 18px; left: 18px; }
  .auth-card { padding: 27px 20px; border-radius: 21px; }
  .auth-intro h1 { font-size: 32px; }
  .dashboard-hero, .workspace-header { display: grid; }
  .dashboard-hero .button { width: 100%; }
  .progress-orb { display: none; }
  .work-card { padding: 22px 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full, .form-actions { grid-column: auto; }
  .kit-grid { grid-template-columns: 1fr; }
  .checkout-selector, .checkout-confirm { padding: 22px 18px; }
  .checkout-summary ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
