:root {
  color-scheme: light;
  --ink: #16132c;
  --ink-soft: #4c4962;
  --brand: #312780;
  --brand-2: #4a3da8;
  --lilac: #c0b9ee;
  --accent: #8777ec;
  --highlight: #8840ee;
  --paper: #f1f0f7;
  --paper-2: #e8e7ef;
  --line: rgba(22,19,44,.12);
  --white: #fcfaff;
  --shadow: 0 24px 70px rgba(19,14,53,.13);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #7735d4; outline-offset: 3px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 110; padding: 10px 14px; border-radius: 8px; background: white; color: var(--brand); font-size: 13px; font-weight: 800; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.topbar { height: 82px; width: min(1240px, calc(100% - 64px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 34px; position: relative; z-index: 20; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--brand); font: 800 21px "Outfit", sans-serif; letter-spacing: -.8px; white-space: nowrap; }
.brand > span:last-child > span { color: #6f6a90; font-weight: 500; }
.brand-logo { width: 34px; height: 34px; flex-shrink: 0; display: block; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); margin-left: auto; }
.main-nav a { position: relative; color: #646274; font-size: 13px; font-weight: 700; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--brand-2); }
.main-nav a.active::after { content: ""; height: 3px; width: 14px; border-radius: 8px; background: var(--highlight); position: absolute; left: 0; bottom: -10px; }
.site-shell:not(.side-nav) .main-nav a[data-landing="hide"] { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-user { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: var(--brand); background: #dad8ec; font: 700 13px "Outfit", sans-serif; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.mobile-menu { display: none; }
main { flex: 1; }
.site-footer { width: min(1240px, calc(100% - 64px)); min-height: 86px; margin: 0 auto; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #757382; font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer > span { font-weight: 600; }
.brand-small { font-size: 17px; }
.brand-small .brand-logo { width: 28px; height: 28px; }
.footer-spark { color: #8c54db; margin-left: 4px; }

/* Side navigation on every page except the landing page */
@media (min-width: 901px) {
  .site-shell.side-nav { padding-left: 268px; }
  .site-shell.side-nav .topbar { position: fixed; top: 0; left: 0; bottom: 0; z-index: 30; width: 268px; height: 100vh; margin: 0; padding: 24px 18px 20px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px; border-right: 1px solid var(--line); background: #f6f4fb; }
  .site-shell.side-nav .brand { padding: 0 8px; }
  .site-shell.side-nav .main-nav { flex: 1; min-height: 0; margin-left: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 3px; overflow-y: auto; }
  .site-shell.side-nav .main-nav a { padding: 10px 12px; border-radius: 10px; font-size: 13px; }
  .site-shell.side-nav .main-nav a:hover { background: #ece8f7; }
  .site-shell.side-nav .main-nav a.active { background: #e4e0f4; color: var(--brand); }
  .site-shell.side-nav .main-nav a.active::after { top: 50%; bottom: auto; left: 3px; width: 3px; height: 17px; border-radius: 4px; transform: translateY(-50%); }
  .site-shell.side-nav .nav-actions { position: static; margin-top: 0; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .site-shell.side-nav .nav-actions .button { justify-content: center; }
  .site-shell.side-nav .nav-user { padding: 2px 4px 0; }
  .site-shell.side-nav .nav-bell { position: absolute; top: 24px; right: 18px; }
  .site-shell.side-nav .app-page { width: min(1120px, calc(100% - 76px)); }
}

.button { border: 0; min-height: 46px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; background: var(--accent); color: #24213c; font-size: 13px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(22,15,64,.16); }
.button:disabled { opacity: .56; cursor: not-allowed; transform: none; box-shadow: none; }
.button-primary { background: var(--accent); color: #1d1937; }
.button-dark { background: var(--brand); color: white; }
.button-outline { border: 1px solid rgba(255,255,255,.55); background: transparent; color: white; }
.button-light { border: 1px solid var(--line); background: white; color: var(--brand); }
.button-danger { border: 1px solid #e8c1b9; background: #fff3f0; color: #963d32; }
.button-small { min-height: 38px; padding: 0 16px; font-size: 12px; }
.button-text { min-height: unset; padding: 0; background: none; color: var(--brand-2); font-weight: 800; }
.button-text:hover { box-shadow: none; transform: none; color: #6d26d0; }
.icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink-soft); }
.icon-button:hover { background: #e9e2f4; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--brand-2); font-size: 10px; font-weight: 800; letter-spacing: 1.65px; text-transform: uppercase; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #8742e7; box-shadow: 0 0 0 4px rgba(135,66,231,.13); }

/* Landing */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 610px; padding: 40px 32px 78px; color: white; background: var(--brand); }
.hero::before, .hero::after { content: ""; z-index: -1; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 720px; height: 720px; right: -130px; top: -220px; background: radial-gradient(circle, rgba(48,36,132,.44), transparent 68%); }
.hero::after { width: 480px; height: 480px; left: 36%; bottom: -410px; border: 1px solid rgba(255,255,255,.09); box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.02); }
.hero-inner { width: min(1120px, 100%); min-height: 485px; margin: auto; display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; gap: 24px; }
.hero-copy { max-width: 495px; position: relative; z-index: 2; padding-bottom: 8px; }
.hero .eyebrow { color: #bdb6e8; }
.hero h1 { margin: 0 0 18px; font: 800 clamp(52px, 7vw, 84px)/.93 "Outfit", sans-serif; letter-spacing: -4px; text-transform: uppercase; }
.hero h1 span { color: var(--accent); }
.hero-copy > p:not(.eyebrow) { max-width: 400px; margin: 0; color: rgba(248,247,255,.77); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 15px; margin-top: 29px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 28px; color: rgba(255,255,255,.55); font-size: 10px; }
.hero-note strong { color: rgba(255,255,255,.85); }
.hero-note svg { color: #a9a0e6; }
.hero-art { position: relative; min-height: 475px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(220,215,254,.14); border-radius: 50%; }
.orbit-one { width: 410px; height: 410px; background: radial-gradient(circle at 50% 40%, rgba(103,90,187,.28), rgba(10,5,44,.12) 65%); box-shadow: inset 0 0 55px rgba(146,135,216,.08), 0 0 0 28px rgba(135,119,236,.035); }
.orbit-two { width: 500px; height: 500px; border-style: dashed; opacity: .45; transform: rotate(26deg); }
.sound-card { width: min(350px, 82%); min-height: 390px; padding: 22px 24px; position: relative; z-index: 2; transform: rotate(5deg); border: 1px solid rgba(225,221,254,.38); border-radius: 18px 18px 24px 24px; background: linear-gradient(148deg, rgba(62,48,148,.95), rgba(28,18,84,.98) 66%); box-shadow: 0 26px 52px rgba(0,0,0,.32), inset 0 0 30px rgba(146,133,233,.1); }
.sound-card::before, .sound-card::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; border-block: 1px solid rgba(211,204,254,.33); opacity: .8; }
.sound-card::before { top: 10px; }
.sound-card::after { bottom: 10px; }
.sound-card-top { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 3px; color: rgba(237,235,254,.76); font-size: 9px; font-weight: 800; letter-spacing: 1.7px; }
.record-dot { width: 7px; height: 7px; border-radius: 50%; background: #8b4ce3; box-shadow: 0 0 0 4px rgba(139,76,227,.16); }
.sound-card h2 { margin: 0; text-align: center; color: #e6d5fe; font: 800 44px/1 "Outfit", sans-serif; letter-spacing: -2px; text-shadow: 0 2px rgba(0,0,0,.17); }
.sound-card-sub { margin: 6px 0 0; text-align: center; color: #bca8d7; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.audio-art-disc { width: 194px; height: 194px; margin: 26px auto 16px; display: grid; place-items: center; position: relative; overflow: hidden; border: 8px solid rgba(151,93,232,.85); border-radius: 50%; background: radial-gradient(circle at 36% 35%, #9d61f2, #7a39d4 48%, #392555 50%, #241779 51%, #190d65); box-shadow: 0 8px 22px rgba(0,0,0,.25), inset 0 0 25px rgba(195,154,252,.27); }
.audio-art-disc::before, .audio-art-disc::after { content: ""; position: absolute; border: 1px solid rgba(209,177,253,.35); border-radius: 50%; }
.audio-art-disc::before { inset: 14px; }
.audio-art-disc::after { inset: 28px; }
.disc-wave { width: 105px; height: 55px; display: flex; align-items: center; justify-content: center; gap: 4px; z-index: 1; }
.disc-wave i { display: block; width: 5px; border-radius: 10px; background: #d2b3fd; box-shadow: 0 0 8px rgba(189,144,252,.5); animation: soundwave 1.1s ease-in-out infinite alternate; }
.disc-wave i:nth-child(3n) { animation-delay: -.6s; }
.disc-wave i:nth-child(2n) { animation-delay: -.25s; }
.disc-wave i:nth-child(1), .disc-wave i:nth-child(13) { height: 15px; }
.disc-wave i:nth-child(2), .disc-wave i:nth-child(12) { height: 27px; }
.disc-wave i:nth-child(3), .disc-wave i:nth-child(11) { height: 39px; }
.disc-wave i:nth-child(4), .disc-wave i:nth-child(10) { height: 48px; }
.disc-wave i:nth-child(5), .disc-wave i:nth-child(9) { height: 34px; }
.disc-wave i:nth-child(6), .disc-wave i:nth-child(8) { height: 25px; }
.disc-wave i:nth-child(7) { height: 43px; }
@keyframes soundwave { to { transform: scaleY(.55); } }
.card-meta { display: flex; align-items: center; justify-content: space-between; color: rgba(230,227,251,.76); font-size: 9px; font-weight: 700; }
.card-meta strong { color: white; letter-spacing: .8px; }
.float-note { position: absolute; z-index: 3; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 18px 18px 18px 4px; background: rgba(135,119,236,.94); color: var(--brand); font-size: 23px; box-shadow: 0 12px 22px rgba(0,0,0,.18); }
.float-note.one { right: 9%; top: 19%; transform: rotate(14deg); }
.float-note.two { left: 7%; bottom: 20%; width: 43px; height: 43px; border-radius: 50%; background: #8e50e4; transform: rotate(-15deg); }
.float-caption { position: absolute; right: 4%; bottom: 16%; z-index: 3; padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(24,16,70,.8); color: #e2e0f5; font-size: 9px; font-weight: 700; letter-spacing: .7px; }
.section { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 88px 0; }
.section-heading { max-width: 560px; margin: 0 auto 43px; text-align: center; }
.section-heading h2, .page-heading h1 { margin: 0; font: 700 clamp(34px, 4vw, 49px)/1.08 "Outfit", sans-serif; letter-spacing: -1.7px; }
.section-heading p { max-width: 460px; margin: 14px auto 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { min-height: 215px; padding: 27px 25px; border: 1px solid var(--line); border-radius: 16px; background: #fcfaff; }
.step-number { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 21px; border-radius: 12px; background: #dcd9f0; color: var(--brand); font: 800 13px "Outfit", sans-serif; }
.step-card:nth-child(2) .step-number { background: #d5bdf6; }
.step-card:nth-child(3) .step-number { background: #dbd9ec; }
.step-card h3 { margin: 0 0 8px; font: 700 18px "Outfit", sans-serif; letter-spacing: -.4px; }
.step-card p { margin: 0; color: #727080; font-size: 12px; line-height: 1.7; }
.feature-band { padding: 0 32px 92px; }
.feature-inner { width: min(1120px, 100%); min-height: 246px; margin: 0 auto; padding: 38px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 20px; background: #e4e2ee; }
.feature-inner h2 { max-width: 510px; margin: 0; font: 700 clamp(28px, 4vw, 40px)/1.12 "Outfit", sans-serif; letter-spacing: -1.4px; }
.feature-inner p { margin: 11px 0 0; color: var(--ink-soft); font-size: 12px; }
.feature-stamp { min-width: 132px; min-height: 132px; display: grid; place-items: center; border: 1px dashed #807c9a; border-radius: 50%; color: var(--brand-2); text-align: center; font: 700 12px/1.35 "Outfit", sans-serif; transform: rotate(8deg); }
.feature-stamp strong { display: block; color: #8244d9; font-size: 26px; }

/* App surfaces */
.app-page { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 47px 0 76px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 29px; }
.page-heading .eyebrow { margin-bottom: 9px; }
.page-heading p { margin: 9px 0 0; color: #757381; font-size: 13px; }
.dashboard-hero { position: relative; overflow: hidden; min-height: 205px; padding: 31px 36px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 17px; color: white; background: linear-gradient(110deg, #312780, #4a3da8); }
.dashboard-hero::after { content: "♫"; position: absolute; right: 17%; top: -60px; color: rgba(255,255,255,.06); font: 240px "Outfit", sans-serif; transform: rotate(8deg); }
.dashboard-hero > div { position: relative; z-index: 1; }
.dashboard-hero h1 { max-width: 570px; margin: 0; font: 700 clamp(27px, 4vw, 39px)/1.1 "Outfit", sans-serif; letter-spacing: -1.1px; }
.dashboard-hero p { margin: 10px 0 0; color: rgba(255,255,255,.68); font-size: 12px; }
.dashboard-hero .button { flex-shrink: 0; position: relative; z-index: 2; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 19px 0 35px; }
.stat-card { min-height: 94px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 13px; background: #fcfaff; }
.stat-label { color: #868491; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.stat-value { display: block; margin-top: 8px; font: 700 24px "Outfit", sans-serif; }
.stat-value small { color: #7d7b8b; font: 500 11px "DM Sans", sans-serif; }
.content-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.content-heading h2 { margin: 0; font: 700 20px "Outfit", sans-serif; letter-spacing: -.5px; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(230px, .6fr); align-items: start; gap: 18px; }
.profile-form h2 { margin: 0 0 6px; font: 700 20px "Outfit", sans-serif; }
.profile-photo-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 16px; margin-bottom: 16px; }
.profile-photo-row .field { margin: 0; min-width: 0; }
.profile-photo-preview { width: 72px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #dad8ec; color: var(--brand); font: 700 21px "Outfit", sans-serif; }
.profile-photo-preview img, .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar { overflow: hidden; }
.profile-form-actions { display: flex; justify-content: flex-end; margin-top: 21px; }
.profile-error { margin: 0; color: #963d32; font-size: 11px; }
.profile-summary { padding: 24px; border-radius: 12px; background: #e4e2ee; }
.profile-avatar { width: 48px; height: 48px; font-size: 17px; }
.profile-summary h2 { margin: 16px 0 4px; font: 700 19px "Outfit", sans-serif; overflow-wrap: anywhere; }
.profile-summary > p { margin: 0; color: #676575; font-size: 11px; overflow-wrap: anywhere; }
.profile-credit { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(22,19,44,.13); }
.profile-credit span { color: #676575; font-size: 10px; font-weight: 700; }
.profile-credit strong { font: 700 23px "Outfit", sans-serif; }
.profile-credit a { grid-column: 1 / -1; color: var(--brand-2); font-size: 11px; font-weight: 800; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card { min-height: 185px; padding: 19px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 14px; background: #fcfaff; transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-card-top { display: flex; justify-content: space-between; align-items: center; }
.project-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #e1def1; color: var(--brand); font-size: 18px; }
.project-icon.gold { background: #dcc8f7; }
.project-icon.purple { background: #e9e4f2; color: #625180; }
.project-status { padding: 5px 9px; border-radius: 99px; background: #eae8f2; color: #67637f; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.project-status.draft { background: #e6dbf6; color: #5c2ba0; }
.project-card h3 { margin: 17px 0 6px; font: 700 16px "Outfit", sans-serif; }
.project-card p { margin: 0; color: #87918c; font-size: 10px; }
.project-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.project-card-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.project-duration { color: #8f8d99; font-size: 10px; }
.empty-state { min-height: 210px; padding: 35px; display: grid; place-items: center; align-content: center; border: 1px dashed rgba(22,19,44,.22); border-radius: 15px; color: #7a7887; text-align: center; }
.empty-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 15px; background: #e1def1; color: var(--brand-2); font-size: 20px; }
.empty-state h3 { margin: 0 0 6px; color: var(--ink); font: 700 17px "Outfit", sans-serif; }
.empty-state p { max-width: 350px; margin: 0 0 16px; font-size: 11px; line-height: 1.6; }
.search-field { width: min(270px, 100%); height: 40px; padding: 0 13px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.search-field span { color: #898793; }
.search-field input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 11px; }
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-chip { min-height: 33px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: #747281; font-size: 10px; font-weight: 700; }
.filter-chip.active { border-color: var(--brand); background: var(--brand); color: white; }
.voice-tabs { display: flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%; margin: 0 0 20px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #f0eff5; }
.voice-tab { min-height: 38px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #737181; font-size: 11px; font-weight: 700; white-space: nowrap; transition: background .18s, color .18s, box-shadow .18s; }
.voice-tab:hover { color: var(--brand); }
.voice-tab.active { border-color: #e2e1e9; background: #fcfaff; color: var(--brand); box-shadow: 0 2px 6px rgba(34,31,56,.07); }
.voice-tab > span { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 99px; background: rgba(22,19,44,.07); color: inherit; font-size: 9px; }
.voice-tab.active > span { background: #e4e2ef; }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.voice-card { min-height: 182px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fcfaff; }
.voice-card-top { display: flex; align-items: center; gap: 12px; }
.voice-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px 14px 14px 4px; background: #e0ddef; color: #403a67; font: 700 17px "Outfit", sans-serif; }
.voice-avatar.warm { background: #dcc8f7; color: #602da8; }
.voice-avatar.lilac { background: #e9e3f1; color: #77628c; }
.voice-card h3 { margin: 0 0 4px; font: 700 14px "Outfit", sans-serif; }
.voice-meta { color: #868491; font-size: 9px; }
.voice-card > p { min-height: 35px; margin: 16px 0; color: #737181; font-size: 10px; line-height: 1.6; }
.voice-card-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); color: #878592; font-size: 9px; }
.inline-actions { display: inline-flex; align-items: center; gap: 10px; }
.inline-actions .button-text { font-size: 10px; }
.voice-tag { color: #635f7f; font-weight: 700; }
.library-actions { display: flex; gap: 9px; }
.project-library-actions { min-width: 0; flex-wrap: nowrap; }
.project-library-actions .search-field { flex: 1 1 0; min-width: 0; }
.library-actions.project-library-actions > .button { flex: 0 0 auto; white-space: nowrap; }
.voice-library-actions { min-width: 0; align-items: center; }
.voice-library-actions .search-field { flex: 1 1 180px; min-width: 0; }
.voice-library-actions > .button { flex: 0 0 auto; white-space: nowrap; }
.character-search-actions { margin-bottom: 20px; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; }
.gallery-toolbar .filter-row { margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.gallery-card-art { min-height: 135px; display: flex; align-items: center; justify-content: center; gap: 7px; overflow: hidden; position: relative; background: radial-gradient(circle at 50% 50%, #4a3da8, #241a5e 72%); }
.gallery-card-art::before, .gallery-card-art::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(135,119,236,.22); border-radius: 50%; }
.gallery-card-art::after { width: 240px; height: 240px; border-style: dashed; }
.gallery-card-art > span { position: absolute; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(30,20,90,.7); color: var(--accent); font-size: 19px; }
.gallery-card-art > i { z-index: 1; width: 3px; border-radius: 4px; background: rgba(204,196,254,.8); }
.gallery-card-art > i:nth-of-type(1), .gallery-card-art > i:nth-of-type(6) { height: 16px; }
.gallery-card-art > i:nth-of-type(2), .gallery-card-art > i:nth-of-type(5) { height: 29px; }
.gallery-card-art > i:nth-of-type(3), .gallery-card-art > i:nth-of-type(4) { height: 39px; }
.gallery-card-copy { display: grid; justify-items: start; gap: 9px; padding: 18px; }
.gallery-card-copy h2 { margin: 0; font: 700 18px "Outfit", sans-serif; letter-spacing: -.4px; }
.gallery-card-copy p { min-height: 36px; margin: 0; color: #767483; font-size: 11px; line-height: 1.6; }
.gallery-card-copy audio { width: 100%; height: 38px; margin-top: 3px; }
.gallery-sample .gallery-card-art { background: radial-gradient(circle at 30% 20%, #4a437d, #39374b 75%); }
.gallery-more { display: flex; justify-content: center; margin: 24px 0; }
.gallery-note { margin: 20px 0 0; color: #858390; font-size: 10px; text-align: center; }
.gallery-admin { margin-top: 30px; }
.gallery-admin .content-heading { align-items: center; }
.gallery-admin .content-heading h3 { margin: 0; font: 700 17px "Outfit", sans-serif; }
.gallery-admin .content-heading p { max-width: 500px; margin: 5px 0 0; color: #7f7d8c; font-size: 10px; line-height: 1.5; }
.notice { padding: 14px 17px; display: flex; gap: 11px; border: 1px solid #ccb9e7; border-radius: 11px; background: #f0e8fc; color: #5b447b; font-size: 11px; line-height: 1.55; }
.notice strong { color: #442e63; }
.billing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.price-card { position: relative; min-height: 272px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fcfaff; }
.price-card.featured { border: 1px solid #1b1063; box-shadow: 0 9px 32px rgba(24,14,91,.1); }
.popular-label { position: absolute; top: -11px; right: 18px; padding: 5px 10px; border-radius: 99px; background: var(--accent); color: #2e2a46; font-size: 8px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.price-card h3 { margin: 0; font: 700 16px "Outfit", sans-serif; }
.price { margin: 18px 0 4px; font: 700 34px "Outfit", sans-serif; letter-spacing: -1px; }
.price small { color: #868491; font: 500 11px "DM Sans", sans-serif; letter-spacing: 0; }
.credits-amount { color: #716f7e; font-size: 11px; }
.price-card ul { min-height: 74px; padding: 0; margin: 17px 0; list-style: none; color: #676575; font-size: 10px; line-height: 2; }
.price-card li::before { content: "✓"; margin-right: 8px; color: #544b8e; font-weight: 800; }
.billing-footnote { margin: 20px 0; color: #848290; font-size: 10px; line-height: 1.6; }

/* Studio */
.studio-page { width: min(1060px, calc(100% - 64px)); }
.studio-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.studio-top h1 { margin: 0; font: 700 31px "Outfit", sans-serif; letter-spacing: -1px; }
.studio-top p { margin: 5px 0 0; color: #868491; font-size: 11px; }
.stepper { display: flex; align-items: center; margin-bottom: 23px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fcfaff; }
.stepper-item { flex: 1; display: flex; align-items: center; gap: 9px; color: #a2a0aa; font-size: 10px; font-weight: 700; }
.stepper-item:not(:last-child)::after { content: ""; height: 1px; flex: 1; margin: 0 14px; background: #dfdee5; }
.stepper-item.active { color: var(--brand); }
.stepper-item.done { color: #635d8c; }
.stepper-count { width: 26px; height: 26px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #dddce4; border-radius: 50%; font-size: 10px; }
.stepper-item.active .stepper-count { border-color: var(--brand); background: var(--brand); color: white; }
.stepper-item.done .stepper-count { border-color: #bcb8d4; background: #e1def1; color: #524b7f; }
.studio-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 19px; }
.form-panel, .side-panel { padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fcfaff; }
.form-panel h2 { margin: 0 0 6px; font: 700 20px "Outfit", sans-serif; letter-spacing: -.5px; }
.panel-intro { margin: 0 0 23px; color: #817f8e; font-size: 11px; line-height: 1.6; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { color: #504e61; font-size: 10px; font-weight: 800; }
.field label span { color: #9c9aa4; font-weight: 500; }
.field input, .field textarea, .field select, .turn-control input, .turn-control select { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #dedde5; border-radius: 8px; outline: 0; background: #ffffff; color: var(--ink); font-size: 11px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 91px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus, .turn-control input:focus, .turn-control select:focus { border-color: #766ea8; box-shadow: 0 0 0 3px rgba(79,69,142,.1); }
.field-hint { color: #9795a0; font-size: 9px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.template-row { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 20px; }
.template-pill { padding: 7px 10px; border: 1px solid #e2e1e8; border-radius: 99px; background: transparent; color: #737181; font-size: 9px; font-weight: 700; }
.template-pill:hover { border-color: #9b97b4; background: #edebf5; color: var(--brand); }
.turn-list { display: grid; gap: 12px; }
.turn-card { padding: 15px; border: 1px solid #e3e2e9; border-radius: 11px; background: #f9f8fc; }
.turn-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.turn-index { display: flex; align-items: center; gap: 8px; color: #6b6879; font-size: 10px; font-weight: 800; }
.turn-index b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: #dfdcef; color: #403a67; font: 700 10px "Outfit", sans-serif; }
.turn-card textarea { min-height: 76px; }
.turn-controls { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 9px; margin-top: 10px; }
.turn-control { display: grid; gap: 5px; }
.turn-control label { color: #848290; font-size: 9px; font-weight: 700; }
.turn-control input, .turn-control select { min-height: 36px; padding: 7px 9px; font-size: 10px; }
.turn-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.turn-tags > span { color: #848290; font-size: 9px; font-weight: 700; }
.tag-pill { min-height: 25px; padding: 0 9px; border: 1px solid #e0dee8; border-radius: 99px; background: white; color: #737181; font-size: 9px; }
.tag-pill.selected { border-color: #7b75a4; background: #e4e2f2; color: #413a6c; }
.add-turn { width: 100%; min-height: 39px; margin-top: 12px; border: 1px dashed #b9b6c8; border-radius: 9px; background: transparent; color: #605b81; font-size: 10px; font-weight: 800; }
.add-turn:hover { background: #f0eff7; }
.studio-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.side-panel h3 { margin: 0 0 14px; font: 700 14px "Outfit", sans-serif; }
.side-tip { display: flex; align-items: start; gap: 10px; padding: 13px 0; border-top: 1px solid #eae9f0; }
.side-tip > span { width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: #e7e5f4; color: #5e5981; font-size: 11px; }
.side-tip strong { display: block; margin-bottom: 3px; color: #504e61; font-size: 10px; }
.side-tip p { margin: 0; color: #898793; font-size: 9px; line-height: 1.5; }
.render-card { margin-top: 15px; padding: 15px; border-radius: 10px; background: #eae8f4; }
.render-card strong { display: block; color: #4a4666; font-size: 10px; }
.render-card p { margin: 6px 0 0; color: #747184; font-size: 9px; line-height: 1.55; }
.review-row { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid #eae9f0; color: #848290; font-size: 10px; }
.review-row strong { color: #35324a; text-align: right; }
.review-turn { padding: 12px 0; border-bottom: 1px solid #eae9f0; }
.review-turn strong { display: flex; justify-content: space-between; font: 700 11px "Outfit", sans-serif; }
.review-turn p { margin: 7px 0 0; color: #797787; font-size: 10px; line-height: 1.5; }

/* Authentication and dialogs */
.auth-page { width: min(930px, calc(100% - 48px)); min-height: 590px; margin: 25px auto 65px; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fcfaff; box-shadow: var(--shadow); }
.auth-aside { padding: 35px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: var(--brand); }
.auth-aside .brand { color: white; }
.auth-aside .brand > span:last-child > span { color: #bcb8d7; }
.auth-aside h2 { margin: 0; font: 700 36px/1.1 "Outfit", sans-serif; letter-spacing: -1.2px; }
.auth-aside p { max-width: 270px; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.7; }
.auth-quote { color: #cbc7e6; font: italic 12px/1.6 "DM Sans", sans-serif; }
.auth-form { padding: 47px clamp(25px, 6vw, 67px); align-self: center; }
.auth-form h1 { margin: 0 0 8px; font: 700 29px "Outfit", sans-serif; letter-spacing: -1px; }
.auth-form > p { margin: 0 0 25px; color: #807e8d; font-size: 11px; }
.google-button { width: 100%; min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #dddce4; border-radius: 9px; background: white; color: #373448; font-size: 11px; font-weight: 700; transition: background .2s, border-color .2s; }
.google-button:hover:not(:disabled) { border-color: #a2a0b5; background: #f7f6fa; }
.google-button:disabled { color: #9795a1; cursor: not-allowed; }
.google-button svg { width: 17px; height: 17px; flex: 0 0 17px; }
.google-hint { margin: 7px 0 0 !important; color: #8b8996 !important; font-size: 9px !important; text-align: center; }
.auth-divider { margin: 17px 0; display: flex; align-items: center; gap: 10px; color: #9a98a2; font-size: 9px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: #e5e4ea; }
.auth-form .field { margin-bottom: 15px; }
.auth-form .button { width: 100%; margin-top: 4px; }
.auth-switch { margin-top: 18px; color: #868491; text-align: center; font-size: 10px; }
.auth-switch a { color: var(--brand-2); font-weight: 800; }
.form-error { display: none; margin-bottom: 12px; padding: 10px 12px; border-radius: 8px; background: #fff0ec; color: #ab513c; font-size: 10px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(10,7,30,.61); backdrop-filter: blur(5px); }
.modal { width: min(490px, 100%); max-height: min(88vh, 760px); overflow: auto; padding: 25px; border: 1px solid rgba(255,255,255,.5); border-radius: 16px; background: #fcfaff; box-shadow: 0 24px 90px rgba(0,0,0,.25); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.modal-head h2 { margin: 0; font: 700 22px "Outfit", sans-serif; letter-spacing: -.5px; }
.modal-head p { margin: 6px 0 0; color: #848290; font-size: 10px; line-height: 1.5; }
.modal .field { margin-bottom: 13px; }
.modal-actions { display: flex; justify-content: end; gap: 9px; margin-top: 20px; }
.voice-workflow-modal { margin: -4px -2px 0; padding: 19px; border: 1px solid #e5e4eb; border-radius: 15px; background: linear-gradient(145deg, #f6f5fa 0%, #edecf5 100%); }
.voice-workflow-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.voice-workflow-card { min-width: 0; min-height: 208px; padding: 17px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; border: 1px solid #e0dee8; border-radius: 12px; background: #fcfaff; color: var(--ink); text-align: left; box-shadow: 0 4px 12px rgba(34,31,56,.035); transition: transform .18s, border-color .18s, box-shadow .18s; }
.voice-workflow-card:hover, .voice-workflow-card:focus-visible { transform: translateY(-2px); border-color: #9692b0; box-shadow: 0 10px 22px rgba(34,31,56,.1); outline: none; }
.voice-workflow-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px 13px 13px 4px; background: #e4e2f0; color: #463f75; font-size: 20px; }
.voice-workflow-upload .voice-workflow-icon { background: #e6daf7; color: #5a2e98; }
.voice-workflow-copy { display: grid; gap: 7px; }
.voice-workflow-copy strong { color: var(--ink); font: 700 15px "Outfit", sans-serif; }
.voice-workflow-copy > span { color: #737181; font-size: 10px; line-height: 1.6; }
.voice-workflow-cta { width: 100%; margin-top: auto; padding-top: 11px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #eae9f0; color: var(--brand); font-size: 10px; font-weight: 800; }
.voice-workflow-cta > span { font-size: 15px; transition: transform .18s; }
.voice-workflow-card:hover .voice-workflow-cta > span { transform: translateX(3px); }
.voice-workflow-back { margin: -10px 0 12px; padding-left: 0; }
.voice-upload-notice { margin-bottom: 14px; }
.checkbox-field { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 12px; }
.checkbox-field input { accent-color: var(--brand); }
.admin-page .content-heading { margin-top: 34px; }
.admin-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr)); gap: 24px; margin-top: 22px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { color: #737181; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td small, .admin-library-item small { display: block; margin-top: 4px; color: #7f7d8c; font-size: 10px; }
.admin-library { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.admin-library .content-heading { margin: 0 0 12px; }
.admin-library .content-heading h3 { margin: 0; font: 700 17px "Outfit", sans-serif; }
.admin-library-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 11px; }
.admin-library-item > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.admin-library-item .inline-actions { flex-shrink: 0; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 12px 17px; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; background: #241a5e; color: white; font-size: 11px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { padding: 40px; text-align: center; color: #797786; font-size: 12px; }
.account-gate { padding: 21px; border: 1px solid #d5d3e6; border-radius: 13px; background: #efedf8; }
.account-gate h3 { margin: 0 0 6px; font: 700 17px "Outfit", sans-serif; }
.account-gate p { margin: 0 0 15px; color: #777485; font-size: 10px; line-height: 1.6; }
.gate-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.file-input { display: block; width: 100%; padding: 13px; border: 1px dashed #bfbdcb; border-radius: 9px; background: #f6f5fa; color: #6d6a7c; font-size: 10px; }
.audio-preview { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 13px; border-radius: 10px; background: #ebe9f5; }
.audio-preview button { width: 35px; height: 35px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--brand); color: white; }
.audio-preview strong { display: block; color: #494562; font-size: 10px; }
.audio-preview span { display: block; margin-top: 3px; color: #848290; font-size: 9px; }
.beta-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.beta-list li { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.beta-list strong { display: block; margin-bottom: 3px; color: var(--brand); font: 800 10px "Outfit", sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.beta-list span { color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.waitlist-form { display: grid; gap: 8px; }
.waitlist-form > label { color: #504e61; font-size: 10px; font-weight: 800; }
.waitlist-row { display: flex; align-items: center; gap: 9px; }
.waitlist-row input { flex: 1; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid #dedde5; border-radius: 8px; background: #ffffff; color: var(--ink); font-size: 11px; transition: border-color .2s, box-shadow .2s; }
.waitlist-row input:focus { outline: 0; border-color: #766ea8; box-shadow: 0 0 0 3px rgba(79,69,142,.1); }
.waitlist-row .button { flex-shrink: 0; }
.waitlist-done { display: flex; align-items: center; gap: 9px; margin: 0; padding: 12px 14px; border: 1px solid var(--lilac); border-radius: 11px; background: #f3eefe; color: #574d8f; font-size: 11px; line-height: 1.5; }
.waitlist-done strong { color: var(--brand); font-weight: 800; }
.subscribe-section { padding-top: 0; }
.subscribe-card { padding: 34px 38px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); align-items: center; gap: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fcfaff; box-shadow: var(--shadow); }
.subscribe-copy .eyebrow { margin-bottom: 10px; }
.subscribe-copy h2 { margin: 0; font: 700 clamp(28px, 4vw, 39px)/1.1 "Outfit", sans-serif; letter-spacing: -1.4px; }
.subscribe-copy p { margin: 11px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.nav-bell { position: relative; font-size: 15px; }
.bell-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--highlight); color: white; font: 800 9px "Outfit", sans-serif; }
.inbox-list { display: grid; gap: 12px; max-height: 55vh; overflow: auto; }
.inbox-item { padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.inbox-item.unread { border-color: var(--lilac); background: #f3eefe; }
.inbox-item h3 { margin: 0; font: 700 13px "Outfit", sans-serif; }
.inbox-item p { margin: 5px 0 7px; color: var(--ink-soft); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.inbox-item span { color: #9795a0; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .topbar, .site-footer { width: min(100% - 40px, 1240px); }
  .topbar { height: 74px; gap: 14px; }
  .mobile-menu { width: 38px; height: 38px; display: grid; place-content: center; gap: 5px; order: 3; margin-left: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
  .mobile-menu span { width: 15px; height: 1.5px; background: var(--brand); }
  .main-nav { position: absolute; top: 65px; left: 0; right: 0; display: none; padding: 12px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: #fcfaff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; font-size: 12px; }
  .main-nav a.active::after { left: 8px; bottom: 5px; }
  .nav-actions { margin-left: auto; }
  .nav-actions .button { min-height: 38px; padding-inline: 14px; }
  .hero { padding-inline: 25px; }
  .hero-inner { grid-template-columns: .92fr 1.08fr; }
  .hero h1 { font-size: clamp(52px, 8vw, 72px); letter-spacing: -3px; }
  .hero-art { transform: scale(.88); }
  .section, .app-page, .studio-page { width: calc(100% - 48px); }
  .project-grid, .voice-grid, .billing-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 13px; }
  .form-panel, .side-panel { padding: 20px; }
}
@media (max-width: 680px) {
  .voice-workflow-options { grid-template-columns: minmax(0, 1fr); }
  .voice-workflow-card { min-height: 95px; }
  .topbar { height: 70px; width: calc(100% - 34px); gap: 13px; }
  .brand { font-size: 19px; }
  .main-nav { top: 61px; }
  .nav-actions .button { min-height: 36px; padding: 0 13px; font-size: 10px; }
  .nav-user span:last-child { display: none; }
  .hero { min-height: unset; padding: 39px 20px 31px; }
  .hero-inner { min-height: unset; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { padding: 0 4px; }
  .hero h1 { max-width: 420px; font-size: clamp(49px, 13vw, 72px); }
  .hero-copy > p:not(.eyebrow) { max-width: 370px; font-size: 12px; }
  .hero-actions { margin-top: 22px; }
  .hero-note { margin-top: 17px; }
  .hero-art { min-height: 380px; margin: -2px -10px -14px; transform: scale(.84); transform-origin: center; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 400px; height: 400px; }
  .sound-card { width: 285px; min-height: 335px; padding: 17px 20px; }
  .sound-card h2 { font-size: 37px; }
  .audio-art-disc { width: 163px; height: 163px; margin: 20px auto 12px; }
  .float-note.one { right: 5%; top: 16%; }
  .float-note.two { left: 1%; bottom: 18%; }
  .float-caption { right: -1%; bottom: 12%; }
  .section { width: calc(100% - 38px); padding: 58px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 34px; }
  .steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .step-card { min-height: unset; padding: 21px; }
  .step-number { margin-bottom: 13px; }
  .feature-band { padding: 0 19px 60px; }
  .subscribe-section { padding: 0 0 58px; }
  .subscribe-card { grid-template-columns: 1fr; gap: 21px; padding: 26px 22px; }
  .feature-inner { padding: 27px; }
  .feature-stamp { min-width: 91px; min-height: 91px; font-size: 9px; }
  .feature-stamp strong { font-size: 19px; }
  .site-footer { width: calc(100% - 38px); min-height: 78px; gap: 8px; flex-wrap: wrap; padding: 14px 0; }
  .site-footer p { display: none; }
  .site-footer > span { font-size: 9px; }
  .app-page, .studio-page { width: calc(100% - 36px); padding: 31px 0 56px; }
  .page-heading { align-items: start; flex-direction: column; gap: 14px; }
  .page-heading h1 { font-size: 35px; }
  .profile-layout { grid-template-columns: 1fr; }
  .dashboard-hero { min-height: unset; padding: 24px; align-items: start; flex-direction: column; }
  .dashboard-hero .button { align-self: start; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; gap: 8px; margin: 11px 0 27px; }
  .stat-card { min-height: 81px; padding: 15px; }
  .stat-card:last-child { grid-column: span 2; }
  .stat-value { font-size: 21px; }
  .project-grid, .voice-grid, .billing-grid, .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-toolbar { align-items: stretch; flex-direction: column; }
  .gallery-toolbar .search-field { width: 100%; }
  .project-card { min-height: 165px; }
  .project-card-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .project-card-actions { justify-content: flex-start; }
  .voice-card { min-height: 155px; }
  .billing-grid { gap: 18px; }
  .price-card { min-height: unset; }
  .price-card ul { min-height: unset; }
  .studio-top { align-items: start; flex-direction: column; }
  .studio-top .button { align-self: start; }
  .stepper { padding: 12px 10px; }
  .stepper-item { gap: 6px; font-size: 0; }
  .stepper-item::before { content: attr(data-label); font-size: 9px; }
  .stepper-item:not(:last-child)::after { margin: 0 7px; }
  .stepper-count { width: 23px; height: 23px; }
  .studio-layout { grid-template-columns: 1fr; }
  .side-panel { order: 2; }
  .form-panel { padding: 18px 15px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .turn-controls { grid-template-columns: 1fr 1fr; }
  .turn-controls .turn-control:last-child { grid-column: span 2; }
  .studio-footer { margin-top: 16px; }
  .auth-page { width: calc(100% - 32px); min-height: unset; margin: 18px auto 47px; grid-template-columns: 1fr; }
  .auth-aside { min-height: 190px; padding: 23px; }
  .auth-aside h2 { max-width: 360px; margin-top: 32px; font-size: 28px; }
  .auth-aside p, .auth-quote { display: none; }
  .auth-form { padding: 29px 23px 34px; }
  .library-actions { width: 100%; }
  .library-actions .button { flex: 1; }
  .content-heading { align-items: start; flex-direction: column; }
  .inline-actions { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
  .admin-table th, .admin-table td { padding: 9px; }
  .admin-table { min-width: 600px; }
  .studio-footer, .modal-actions { flex-wrap: wrap; }
  .studio-footer > .button, .modal-actions > .button { flex: 1; }
}
@media (max-width: 380px) {
  .topbar { width: calc(100% - 24px); gap: 8px; }
  .brand { gap: 6px; font-size: 17px; }
  .brand-logo { width: 28px; height: 28px; }
  .nav-actions { gap: 5px; }
  .nav-actions .button { min-height: 34px; padding-inline: 9px; font-size: 9px; }
  .mobile-menu { width: 34px; height: 34px; flex: 0 0 34px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .feature-inner { padding: 22px 18px; }
  .feature-stamp { min-width: 78px; min-height: 78px; }
  .feature-stamp strong { font-size: 16px; }
  .stepper-item::before { font-size: 8px; }
  .stepper-item:not(:last-child)::after { margin: 0 4px; }
  .modal-backdrop { padding: 10px; }
  .modal { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.auth-aside .brand-logo { filter: brightness(0) invert(1); }
