/* Auto Motion 3D — shared stylesheet. Dark UI, orange primary, violet secondary. */

:root {
  --bg: #0a0c11;
  --bg-2: #0e1016;
  --surface: #141720;
  --surface-2: #1a1e29;
  --border: #252a37;
  --border-strong: #343a4a;
  --text: #f4f5f8;
  --text-2: #c3c8d4;
  --muted: #8b92a3;
  --orange: #ff6a00;
  --orange-2: #ff8a2b;
  --orange-soft: rgba(255, 106, 0, .14);
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --violet-soft: rgba(139, 92, 246, .16);
  --green: #22c55e;
  --red: #f43f5e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --glow: 0 0 0 1px rgba(255, 106, 0, .55), 0 10px 40px -10px rgba(255, 106, 0, .45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--orange); }
.violet { color: var(--violet-2); }
.muted { color: var(--muted); }
.eyebrow { font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }
.eyebrow.orange { color: var(--orange); }
.display { font-size: clamp(40px, 6.2vw, 76px); font-weight: 800; letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.h3 { font-size: 22px; font-weight: 700; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; display: grid; gap: 12px; }
.section-head.left { text-align: left; margin: 0 0 28px; max-width: none; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .15s ease, background .2s, border-color .2s, box-shadow .2s, opacity .2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 24px -8px rgba(255, 106, 0, .7); }
.btn-primary:hover { background: var(--orange-2); }
.btn-outline { border-color: var(--border-strong); background: rgba(255, 255, 255, .02); }
.btn-outline:hover { border-color: var(--muted); background: rgba(255, 255, 255, .05); }
.btn-outline-orange { border-color: var(--orange); }
.btn-outline-orange:hover { background: var(--orange-soft); }
.btn-ghost { background: none; padding: 0 12px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--border-strong); background: var(--surface-2); transition: .2s;
}
.icon-btn:hover { border-color: var(--orange); color: var(--orange-2); }
.link { color: var(--violet-2); font-weight: 500; }
.link:hover { text-decoration: underline; }
.link-orange { color: var(--orange); font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(10, 12, 17, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--orange); font-weight: 800; }
.nav { display: flex; gap: 6px; margin: 0 auto; }
.nav a { padding: 8px 14px; color: var(--text-2); font-size: 15px; position: relative; border-radius: 8px; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; }
.nav .m-only { display: none; }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 2px; background: var(--orange); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.credit-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); font-weight: 600;
}
.credit-pill .icon { color: var(--orange); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--orange), var(--violet)); font: 700 15px var(--display); color: #fff;
}
.user-menu { position: relative; }
.user-menu > button { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .18s;
}
.user-menu.open .dropdown { opacity: 1; transform: none; pointer-events: auto; }
.dropdown .who { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.dropdown .who small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.dropdown a, .dropdown button {
  display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
  background: none; border: 0; color: var(--text-2); font-size: 14px; text-align: left;
}
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; }
.menu-toggle .icon { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 40px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid .brand { font-size: 20px; }
.footer-grid .tag { color: var(--muted); margin-top: 10px; font-size: 15px; }
.footer-col h4 { font: 600 14px var(--font); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 3px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.status.degraded i { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }

/* ---------------------------------------------------------------- cards & generic surfaces */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.card.glow { border-color: var(--orange); box-shadow: var(--glow); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; border: 1px solid var(--violet); color: var(--violet-2); background: var(--violet-soft);
}
.badge.orange { border-color: var(--orange); color: #fff; background: var(--orange); }
.badge.green { border-color: rgba(34, 197, 94, .5); color: #4ade80; background: rgba(34, 197, 94, .12); }
.badge.gray { border-color: var(--border-strong); color: var(--muted); background: transparent; }
.icon-chip {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--violet-soft); color: var(--violet-2); border: 1px solid rgba(139, 92, 246, .35);
}
.icon-chip.orange { background: var(--orange-soft); color: var(--orange-2); border-color: rgba(255, 106, 0, .45); }
.icon-chip .icon { width: 22px; height: 22px; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #2a2150; color: #fff; font-weight: 600; font-size: 15px; border: 1px solid rgba(139, 92, 246, .45);
}
.step-num.orange { background: var(--orange); border-color: var(--orange); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.check-list li::before {
  content: ""; width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--violet)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list.plain li::before { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-size: 16px; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > label, .label { font-size: 14px; font-weight: 600; color: var(--text); }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap > .icon ~ .input { padding-left: 44px; }
.input-wrap .toggle-pw { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: 6px; }
.input-wrap .toggle-pw:hover { color: #fff; }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #6b7284; }
.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.input[readonly] { color: var(--text-2); background: var(--surface); }
textarea.input { min-height: 120px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3c8d4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.checkbox { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-2); user-select: none; }
.checkbox input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--border-strong); background: var(--bg-2); display: grid; place-items: center; flex: none; margin: 0; }
.checkbox input:checked { background: var(--orange); border-color: var(--orange); }
.checkbox input:checked::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border-strong); }
.form-msg { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.form-msg.error { border-color: rgba(244, 63, 94, .45); background: rgba(244, 63, 94, .1); color: #fda4af; }
.form-msg.success { border-color: rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .1); color: #86efac; }
.form-msg.info { border-color: rgba(139, 92, 246, .45); background: var(--violet-soft); color: #ddd6fe; }
.hint { font-size: 13px; color: var(--muted); }
.pw-meter { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--red); transition: width .25s, background .25s; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* PIN entry */
.pin-inputs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.pin-inputs input {
  width: 100%; aspect-ratio: 1 / 1.15; text-align: center; font: 700 26px var(--display);
  border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border-strong); color: #fff; transition: .15s;
}
.pin-inputs input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.pin-inputs.shake { animation: shake .4s; }

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; overflow: hidden; min-height: min(760px, 92vh); display: flex; align-items: center; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(255, 106, 0, .22), transparent 70%),
    radial-gradient(40% 50% at 15% 85%, rgba(139, 92, 246, .14), transparent 70%),
    linear-gradient(180deg, #0c0e14 0%, var(--bg) 100%);
}
.hero-bg .streak { position: absolute; width: 3px; border-radius: 3px; background: linear-gradient(180deg, transparent, var(--orange), transparent); filter: blur(.5px); opacity: .55; animation: streak 6s ease-in-out infinite; }
.hero-figure { position: absolute; right: max(-60px, calc((100vw - var(--container)) / 2 - 80px)); top: 50%; width: min(62vw, 820px); transform: translateY(-46%); z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%); }
.hero-figure img { width: 100%; animation: float 7s ease-in-out infinite; }
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 560px; display: grid; gap: 22px; padding: 60px 0; }
.hero-copy .display span { display: block; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1; background: linear-gradient(180deg, transparent, var(--bg)); }

/* workflow steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.step-card { position: relative; display: grid; grid-template-columns: 1fr 44%; min-height: 180px; padding: 0; overflow: hidden; transition: transform .3s, border-color .3s; }
.step-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-card .body { padding: 22px 0 22px 22px; display: grid; align-content: start; gap: 12px; position: relative; z-index: 1; }
.step-card .title { display: flex; align-items: center; gap: 12px; font: 600 19px var(--display); }
.step-card p { color: var(--text-2); font-size: 15px; }
.step-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.steps .step-card:not(:last-child)::after { content: "›"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--violet-2); font-size: 30px; }
.steps .step-card { overflow: visible; }
.steps .step-card .media { overflow: hidden; border-radius: 0 var(--radius) var(--radius) 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 16 / 10; background: var(--surface); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.08) translateY(-2%); }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); }
.tile figcaption b { display: block; font-size: 15px; }
.tile figcaption span { font-size: 13px; color: var(--text-2); }
.tile .play { position: absolute; left: 50%; top: 45%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 106, 0, .9); opacity: 0; transform: scale(.8); transition: .3s; }
.tile:hover .play { opacity: 1; transform: none; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { display: flex; gap: 18px; align-items: flex-start; transition: transform .3s, border-color .3s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .5); }
.feature h3 { font: 600 18px var(--display); margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 15px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(139, 92, 246, .35);
  background: radial-gradient(80% 140% at 85% 50%, rgba(255, 106, 0, .3), transparent 60%), linear-gradient(90deg, #1b1438, #241a3c 50%, #2b1a2a); padding: 48px; min-height: 220px; display: flex; align-items: center; }
.cta-band .copy { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; max-width: 520px; }
.cta-band img { position: absolute; right: 0; top: 0; height: 100%; width: 55%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.cta-band.slim { padding: 22px 28px; min-height: 0; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band.slim .copy { display: flex; align-items: center; gap: 18px; max-width: none; }

/* ---------------------------------------------------------------- auth (login, register, forgot) */
.auth { position: relative; overflow: hidden; padding: 48px 0 64px; }
.auth-grid { display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: center; position: relative; z-index: 1; }
.auth-art { position: relative; min-height: 560px; display: flex; align-items: center; }
.auth-art img { position: absolute; right: -110px; top: 50%; height: 115%; max-height: 760px; transform: translateY(-50%); -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 50%, transparent); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 50%, transparent); animation: float 8s ease-in-out infinite; }
.auth-art .copy { position: relative; z-index: 1; display: grid; gap: 22px; max-width: 470px; text-shadow: 0 2px 28px rgba(0, 0, 0, .85); }
.auth-art .kicker { font-size: 13px; letter-spacing: .4em; color: var(--text-2); text-transform: uppercase; }
.auth-glow { position: absolute; inset: 0; background: radial-gradient(45% 60% at 35% 50%, rgba(255, 106, 0, .16), transparent 70%), radial-gradient(30% 40% at 10% 90%, rgba(139, 92, 246, .14), transparent 70%); }
.auth-card { padding: 40px 44px; background: rgba(20, 23, 32, .88); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 38px; font-weight: 800; margin-bottom: 10px; }
.auth-card .lead { font-size: 16px; margin-bottom: 26px; }
.auth-card .foot { text-align: center; border-top: 1px solid var(--border); padding-top: 20px; color: var(--text-2); font-size: 15px; }
.auth-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.auth-steps i { height: 4px; flex: 1; border-radius: 4px; background: var(--border-strong); transition: background .3s; }
.auth-steps i.on { background: var(--orange); }
.resend { font-size: 14px; color: var(--muted); text-align: center; }
.resend button { background: none; border: 0; color: var(--violet-2); font-weight: 500; padding: 0; }
.resend button[disabled] { color: var(--muted); cursor: default; }

/* ---------------------------------------------------------------- page heads */
.page-head { position: relative; padding: 56px 0 32px; overflow: hidden; }
.page-head .container { position: relative; z-index: 1; display: grid; gap: 14px; }
.page-head .art { position: absolute; right: max(0px, calc((100vw - var(--container)) / 2)); top: 0; height: 100%; max-height: 360px; z-index: 0; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 50%, transparent); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 50%, transparent); }
.page-head h1 { max-width: 760px; }
.page-head .art img { height: 100%; width: auto; animation: float 8s ease-in-out infinite; }
.breadcrumb { color: var(--text-2); font-size: 15px; display: flex; gap: 10px; }
.breadcrumb span { color: var(--muted); }

/* ---------------------------------------------------------------- pricing */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); }
.toggle button { border: 0; background: none; padding: 8px 24px; border-radius: 999px; color: var(--text-2); font-weight: 500; transition: .2s; }
.toggle button.active { background: var(--orange); color: #fff; }
.save-tag { font-size: 12px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--violet); color: var(--violet-2); background: var(--violet-soft); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 20px; transition: transform .3s; }
.price-card:hover { transform: translateY(-4px); }
.price-card .top { display: flex; gap: 14px; align-items: center; }
.price-card .top h3 { font: 700 21px var(--display); }
.price-card .top p { color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 800 46px/1 var(--display); letter-spacing: -.03em; }
.price span { color: var(--text-2); }
.price-card .check-list { flex: 1; }
.price-card .popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.pack-card .amount { display: flex; align-items: baseline; gap: 8px; }
.pack-card .amount b { font: 800 40px/1 var(--display); }
.pack-card .amount span { color: var(--text-2); font-size: 18px; }
.pack-card .cost-row { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.pack-card .cost b { font: 800 30px/1 var(--display); display: block; }
.pack-card .cost small { color: var(--muted); }
.pack-card .popular { position: absolute; top: 18px; right: 18px; left: auto; transform: none; }
.pricing-note { text-align: right; color: var(--muted); font-size: 13px; margin-top: 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: center; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font: 600 17px var(--display); }
.compare th small { display: block; font: 400 13px var(--font); color: var(--muted); }
.compare td:first-child, .compare th:first-child { text-align: left; border-right: 1px solid var(--border); }
.compare td:first-child { display: flex; gap: 12px; align-items: center; color: var(--text-2); }
.compare .yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--violet); }
.compare .yes .icon { width: 13px; height: 13px; stroke: #fff; stroke-width: 3; }
.compare .no { color: var(--muted); }

.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; background: var(--surface); }
.seg a { display: flex; align-items: center; gap: 12px; padding: 10px 26px 10px 18px; color: var(--text-2); }
.seg a small { display: block; color: var(--muted); font-size: 12px; }
.seg a.active { background: var(--violet-soft); outline: 1px solid var(--violet); outline-offset: -1px; border-radius: 12px; color: #fff; }

.balance-card { display: flex; align-items: center; gap: 18px; padding: 22px 26px; }
.balance-card .coin { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); border: 1px solid rgba(255, 106, 0, .4); color: var(--orange); }
.balance-card .coin .icon { width: 32px; height: 32px; }
.balance-card b { font: 800 34px/1.1 var(--display); }

.usage-row { display: grid; grid-template-columns: 44px 120px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--border); }
.usage-row .ico { width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 10px; display: grid; place-items: center; }
.usage-row .cost { border-left: 1px solid var(--border); padding-left: 16px; min-width: 130px; }
.usage-row .cost b { display: block; font-size: 15px; }
.usage-row .cost small, .usage-row p { color: var(--muted); font-size: 14px; }

.activity { display: grid; }
.activity-row { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.activity-row .ico { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-2); }
.activity-row b { display: block; font-size: 15px; font-weight: 600; }
.activity-row small { color: var(--muted); font-size: 13px; }
.delta { font-weight: 700; }
.delta.minus { color: var(--orange); }
.delta.plus { color: #4ade80; }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: 12px; }

/* ---------------------------------------------------------------- checkout */
.checkout-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.co-section { display: grid; gap: 18px; }
.co-section + .co-section { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 26px; }
.co-head { display: flex; gap: 14px; align-items: flex-start; }
.co-head .step-num { background: var(--violet); width: 38px; height: 38px; }
.co-head h2 { font: 700 21px var(--display); }
.co-head p { color: var(--text-2); font-size: 15px; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pay-method { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--bg-2); font-weight: 600; font-size: 15px; }
.pay-method.active { border-color: var(--orange); background: rgba(255, 106, 0, .08); }
.pay-method .icon { color: var(--orange); }
.secure-note { display: flex; gap: 14px; padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
.secure-note .icon { color: var(--violet-2); width: 24px; height: 24px; }
.summary-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.summary-item img { width: 120px; height: 112px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border-strong); }
.summary-item h3 { font: 700 18px var(--display); }
.summary-item .credits { font-size: 17px; margin: 6px 0; }
.summary-item p { color: var(--text-2); font-size: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: var(--text-2); }
.sum-row.total { color: #fff; font-weight: 700; font-size: 18px; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 12px 0 20px; }
.sum-row.discount { color: #4ade80; }
.promo-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

/* ---------------------------------------------------------------- support */
.search-box { position: relative; max-width: 620px; }
.search-box .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--text-2); }
.search-box input { width: 100%; height: 56px; padding: 0 20px 0 56px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(20, 23, 32, .85); font-size: 17px; }
.search-box input:focus { outline: none; border-color: var(--orange); }
.topic-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic-card { display: flex; align-items: center; gap: 18px; transition: transform .3s, border-color .3s; }
.topic-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.topic-card .icon-chip { width: 64px; height: 64px; }
.topic-card .icon-chip .icon { width: 28px; height: 28px; }
.topic-card h3 { font: 600 18px var(--display); margin-bottom: 4px; }
.topic-card p { color: var(--muted); font-size: 14px; }
.topic-card .icon-btn { margin-left: auto; }
.support-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.guide-list { display: grid; gap: 12px; }
.guide { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2); text-align: left; width: 100%; transition: .2s; }
.guide:hover { border-color: var(--border-strong); background: var(--surface-2); }
.guide .ico { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: #1f1b33; color: var(--violet-2); flex: none; }
.guide b { display: block; font-size: 16px; margin-bottom: 2px; }
.guide small { color: var(--muted); font-size: 14px; }
.guide .icon-btn { margin-left: auto; flex: none; }
.contact-card { border-color: var(--orange); box-shadow: var(--glow); }
.attach { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.attach label { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 13px; cursor: pointer; max-width: 70%; }
.attach label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach small { color: var(--muted); font-size: 12px; }

/* FAQ accordion */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--border-strong); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: none; border: 0; text-align: left; font-weight: 600; font-size: 16px; }
.faq-q .icon { transition: transform .25s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 18px; color: var(--text-2); }
.faq-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.faq-tabs button { border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.faq-tabs button.active { border-color: var(--orange); color: #fff; background: var(--orange-soft); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }

/* ---------------------------------------------------------------- dashboard */
.app { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - var(--header-h)); }
.sidebar { border-right: 1px solid var(--border); padding: 20px 12px; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; }
.sidebar a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 10px; color: var(--text-2); margin-bottom: 4px; transition: .2s; }
.sidebar a .icon { color: var(--violet-2); width: 22px; height: 22px; }
.sidebar a:hover { background: var(--surface); color: #fff; }
.sidebar a.active { background: linear-gradient(90deg, rgba(255, 106, 0, .28), rgba(255, 106, 0, .08)); color: #fff; box-shadow: inset 3px 0 0 var(--orange); }
.sidebar a.active .icon { color: var(--orange-2); }
.app-main { padding: 28px 32px 48px; min-width: 0; }
.app-title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.035em; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 18px; }
.stepper button { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); text-align: left; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); transition: .2s; }
.stepper button b { display: block; font-size: 16px; }
.stepper button small { color: var(--muted); font-size: 13px; }
.stepper button.active { border-color: var(--orange); background: linear-gradient(90deg, rgba(255, 106, 0, .25), rgba(255, 106, 0, .06)); }
.stepper button.active .step-num { background: var(--orange); border-color: var(--orange); }
.stepper button.done .step-num { background: var(--green); border-color: var(--green); }
.work-grid { display: grid; grid-template-columns: 300px 1fr 330px; gap: 16px; }
.model-box { display: grid; grid-template-columns: 130px 1fr; gap: 16px; margin: 16px 0; }
.model-thumb { aspect-ratio: 2 / 3; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg-2) center/cover; display: grid; place-items: center; color: var(--muted); }
.model-meta { display: grid; gap: 8px; align-content: start; font-size: 13px; color: var(--text-2); min-width: 0; }
.model-meta b { font-size: 17px; color: #fff; overflow-wrap: anywhere; }
.model-meta span { display: flex; align-items: center; gap: 8px; }
.model-meta .icon { width: 15px; height: 15px; }
.viewport { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 380px;
  background: radial-gradient(60% 60% at 50% 40%, #1d2230, #0c0e13 70%); }
.viewport canvas, .viewport > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewport .grid-floor { position: absolute; inset: 55% -20% -10%; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 40px 40px; transform: perspective(500px) rotateX(60deg); pointer-events: none; }
.vp-tools { position: absolute; left: 14px; top: 14px; display: grid; gap: 4px; padding: 6px; border-radius: 10px; background: rgba(20, 23, 32, .85); border: 1px solid var(--border); z-index: 2; }
.vp-tools button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--text-2); }
.vp-tools button:hover, .vp-tools button.active { border-color: var(--orange); color: var(--orange-2); background: var(--orange-soft); }
.vp-label { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 8px; background: rgba(20, 23, 32, .85); border: 1px solid var(--border-strong); font-size: 13px; }
.vp-status { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; font-size: 13px; color: var(--text-2); background: rgba(10, 12, 17, .8); padding: 6px 12px; border-radius: 8px; }
.dropzone { border: 1.5px dashed var(--violet); border-radius: 12px; padding: 16px; display: grid; gap: 12px; background: rgba(139, 92, 246, .05); transition: .2s; cursor: pointer; }
.dropzone.drag { background: var(--violet-soft); border-color: var(--violet-2); }
.dropzone .dz-head { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: left; }
.dropzone .dz-head .icon { width: 32px; height: 32px; color: var(--violet-2); }
.dropzone .dz-head small { display: block; color: var(--muted); font-size: 13px; }
.file-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-2); font-size: 14px; }
.file-chip span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip small { color: var(--muted); }
.file-chip button { background: none; border: 0; color: var(--muted); padding: 2px; }
.progress { height: 6px; border-radius: 6px; background: var(--border); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transition: width .2s; }
.prompt-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 16px; padding: 16px 20px; }
.prompt-bar .lbl { display: flex; gap: 14px; align-items: center; }
.prompt-bar .lbl b { display: block; }
.prompt-bar .lbl small { color: var(--text-2); }
.prompt-field { position: relative; }
.prompt-field textarea { min-height: 56px; height: 56px; padding-bottom: 22px; resize: none; }
.prompt-field .count { position: absolute; right: 12px; bottom: 8px; font-size: 12px; color: var(--muted); }
.prompt-bar .gen { display: grid; gap: 6px; justify-items: center; text-align: center; }
.prompt-bar .gen small { color: var(--muted); font-size: 12px; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 6px; align-items: center; }
.project .thumb { aspect-ratio: 16 / 10; border-radius: 10px; background: var(--bg-2) center/cover; }
.project b { display: block; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project .meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; margin-top: 8px; }
.panel { display: none; }
.panel.active { display: block; animation: fade .3s ease; }
.list-table { width: 100%; border-collapse: collapse; }
.list-table th, .list-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.list-table th { color: var(--muted); font-weight: 500; font-size: 13px; }
.list-table td:last-child, .list-table th:last-child { text-align: right; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.stat b { font: 800 30px/1.1 var(--display); display: block; margin-top: 6px; }
.stat small { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.two-col.wide-left { grid-template-columns: 1.1fr 1fr; }

/* ---------------------------------------------------------------- modal & toast */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(5, 6, 10, .75); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; transform: translateY(12px) scale(.98); transition: transform .25s; position: relative; }
.modal.open .modal-box { transform: none; }
.modal-box.wide { max-width: 960px; padding: 0; overflow: hidden; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 2; }
.modal ol { padding-left: 20px; display: grid; gap: 10px; color: var(--text-2); margin: 18px 0 0; }
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 40px)); }
.toast { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; animation: toastIn .3s ease; }
.toast.success { border-color: rgba(34, 197, 94, .5); }
.toast.error { border-color: rgba(244, 63, 94, .5); }
.toast .icon { margin-top: 1px; }
.toast.success .icon { color: #4ade80; }
.toast.error .icon { color: #fb7185; }

.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 120px; }

.legal { max-width: 780px; padding: 56px 24px 24px; margin: 0 auto; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }

/* ---------------------------------------------------------------- motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.auth-art img { animation-name: floatY; }
@keyframes floatY { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 14px)); } }
@keyframes streak { 0%, 100% { opacity: .15; transform: scaleY(.6); } 50% { opacity: .7; transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1200px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid .viewport { grid-column: 1 / -1; grid-row: 1; }
  .projects { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .auth-grid { grid-template-columns: 1fr 460px; gap: 24px; }
  .steps, .features, .topic-cards { grid-template-columns: 1fr; gap: 16px; }
  .steps .step-card:not(:last-child)::after { display: none; }
  .step-card { grid-template-columns: 1fr 40%; }
  .support-grid, .checkout-grid, .faq-layout { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .price-card.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .prompt-bar { grid-template-columns: 1fr; }
  .prompt-bar .gen { justify-items: stretch; }
}
@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .nav, .header-actions .hide-m { display: none; }
  .menu-toggle { display: block; }
  .site-header .container { gap: 12px; }
  .header-actions { margin-left: auto; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    padding: 12px 16px 20px; background: rgba(10, 12, 17, .98); border-bottom: 1px solid var(--border); gap: 2px;
  }
  .site-header.menu-open .nav a { padding: 14px 12px; font-size: 17px; }
  .site-header.menu-open .nav a.active::after { display: none; }
  .site-header.menu-open .nav .m-only { display: block; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero-figure { position: relative; right: auto; top: auto; transform: none; width: min(100%, 560px); margin: 0 auto; }
  .hero > .container { margin-top: -90px; }
  .hero-copy { padding: 0 0 48px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-art { min-height: 0; display: none; }
  .auth-card { max-width: 520px; width: 100%; margin: 0 auto; }
  .page-head .art { opacity: .45; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: var(--header-h); z-index: 10; height: auto; display: flex; gap: 4px; overflow-x: auto; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--border); background: rgba(10, 12, 17, .95); scrollbar-width: none; }
  .sidebar::-webkit-scrollbar { display: none; }
  .sidebar a { margin: 0; white-space: nowrap; padding: 10px 14px; }
  .sidebar a.active { box-shadow: inset 0 -2px 0 var(--orange); }
  .app-main { padding: 22px 16px 40px; }
  .work-grid, .two-col, .two-col.wide-left, .stat-row { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr; }
  .stepper button { clip-path: none; }
  .projects { grid-template-columns: 1fr; }
  .usage-row { grid-template-columns: 44px 1fr; }
  .usage-row p { grid-column: 2; }
  .usage-row .cost { grid-column: 2; border-left: 0; padding-left: 0; }
  .cta-band { padding: 32px 24px; }
  .cta-band img { opacity: .4; width: 100%; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-primary { display: none; }
  .avatar { width: 34px; height: 34px; font-size: 13px; }
  .menu-toggle { padding: 4px; }
  .header-actions .btn { padding: 0 14px; min-height: 40px; font-size: 14px; }
  .credit-pill { padding: 0 10px; height: 36px; font-size: 14px; }
  .gallery { grid-template-columns: 1fr; }
  .step-card { grid-template-columns: 1fr 38%; }
  .card { padding: 20px; }
  .auth { padding: 24px 0 40px; }
  .auth-card { padding: 28px 20px; }
  .auth-card h1 { font-size: 30px; }
  .pin-inputs { gap: 6px; }
  .pin-inputs input { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .pay-methods { grid-template-columns: 1fr; }
  .summary-item { grid-template-columns: 80px 1fr; }
  .summary-item img { width: 80px; height: 80px; }
  .summary-item > :last-child { grid-column: 2; }
  .pack-card .cost-row { grid-template-columns: 1fr; gap: 16px; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg a { padding: 10px 12px; }
  .activity-row { grid-template-columns: 36px 1fr auto; }
  .activity-row .when { display: none; }
  .project { grid-template-columns: 110px 1fr; }
  .model-box { grid-template-columns: 100px 1fr; }
  .toggle button { padding: 8px 18px; }
  .cta-band.slim .copy { flex-direction: column; align-items: flex-start; }
  .list-table .hide-s { display: none; }
}
