:root {
  color-scheme: dark;
  --bg: #0c0a11;
  --panel: #14101c;
  --line: #2b2337;
  --text: #f7f4fb;
  --muted: #b3a9bf;
  --purple: #c3a0ff;
  --accent: #a677ff;
  font-family: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
p { line-height: 1.65; }
h1, h2, h3 { margin: 0; line-height: 1.07; letter-spacing: -.04em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.75rem); }
h3 { font-size: 1.3rem; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 5px; }
.wrap { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; z-index: 10; left: 10px; top: 10px; background: var(--panel); padding: 10px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.brand { font-weight: 850; font-size: 1.05rem; white-space: nowrap; letter-spacing: -.045em; }
.brand-icon { color: var(--accent); margin-right: 5px; font-size: 1.45em; vertical-align: -.09em; }
.muted, .lede, .card p, .card-bottom, .steps p, .footer { color: var(--muted); }
.header nav { display: flex; gap: clamp(15px, 4vw, 44px); align-items: center; }
.header nav a { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.header nav a:hover, .header nav a[aria-current] { color: var(--text); }
.count { color: var(--purple); }
.button, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-weight: 680; border: 1px solid transparent; border-radius: 9px; min-height: 48px; padding: 11px 19px; transition: background .2s, border-color .2s, transform .2s; }
.button:hover, .icon-button:hover { transform: translateY(-2px); }
.button.small { min-height: 38px; padding: 7px 13px; font-size: .88rem; }
.primary { color: #140c24; background: #b18aff; }
.primary:hover { background: #c4a6ff; }
.secondary, .icon-button { color: var(--text); background: #1b1425; border-color: #3a2c4b; }
.secondary:hover, .icon-button:hover { border-color: var(--accent); }
.hero { position: relative; min-height: 580px; display: grid; align-items: center; isolation: isolate; }
.hero-copy { padding: 65px 0; max-width: 650px; animation: appear .65s ease-out both; }
.hero-art { position: absolute; z-index: -1; inset: 0 -22px 0 41%; overflow: hidden; pointer-events: none; mask-image: radial-gradient(ellipse 68% 65% at 54% 49%, #000 47%, transparent 87%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.eyebrow { margin: 0 0 24px; color: #ded2ed; font-size: .77rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.dot { display: inline-block; margin-right: 9px; width: 7px; height: 7px; background: var(--purple); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
.hero h1 { font-size: clamp(3rem, 6.7vw, 6.25rem); line-height: .99; letter-spacing: -.075em; }
.hero em { color: var(--purple); font-style: normal; }
.lede { font-size: clamp(1rem, 2vw, 1.18rem); max-width: 530px; margin: 22px 0 28px; }
.hero .lede { max-width: 410px; }
.section { padding: 26px 0 72px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-bottom: 20px; }
.text-link { color: var(--purple); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.home-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card, .panel { border: 1px solid var(--line); background: var(--panel); border-radius: 13px; padding: 22px; overflow-wrap: anywhere; }
.card { display: flex; flex-direction: column; transition: border-color .22s, background .22s; }
.card:hover { border-color: #5f4382; background: #1a1325; }
.glyph { color: var(--purple); font-size: 1.4rem; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #463157; background: #241632; border-radius: 9px; margin-bottom: 20px; }
.card p { font-size: .9rem; margin-bottom: 22px; }
.card-bottom { display: flex; flex-wrap: wrap; gap: 5px; justify-content: space-between; align-items: center; margin-top: auto; font-size: .75rem; }
.icon-button { color: var(--purple); font-size: 1.25rem; padding: 0; width: 38px; min-height: 38px; }
.process { border-top: 1px solid var(--line); padding-top: 34px; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-left: 22px; margin-top: 24px; }
.steps li::marker { color: var(--purple); }
.page { padding-block: 55px 86px; animation: appear .35s ease-out both; }
.page h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); margin: 12px 0 25px; }
.page h2 { font-size: 1.5rem; margin-bottom: 16px; }
.narrow { max-width: 555px; }
.filters, .account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; align-items: center; }
.filters a, .status { padding: 8px 13px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); font-size: .87rem; }
.filters a[aria-current], .status { color: var(--purple); background: #21162e; border-color: #48315f; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; gap: 16px; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.stack label { display: block; margin-bottom: 6px; }
.stack input:not([type=hidden]), .stack textarea { width: 100%; padding: 12px; border: 1px solid #483a55; background: #0e0b14; color: var(--text); border-radius: 8px; }
.stack textarea { resize: vertical; }
.helptext, .stack ul { display: block; color: var(--muted); font-size: .88rem; margin-top: 7px; line-height: 1.5; }
.errorlist, .stack .errorlist, .messages .error { color: #ffb5c4; }
.messages p { background: #21162e; padding: 10px 15px; border-radius: 8px; }
.footer { border-top: 1px solid var(--line); font-size: .86rem; }
.footer-inner { min-height: 86px; flex-wrap: wrap; }
.order-id { overflow-wrap: anywhere; }
.brief { white-space: pre-wrap; }
.price { font-size: 1.6rem; color: var(--purple); }
@keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1040px) { .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 730px) {
  .wrap { width: calc(100% - 36px); }
  .hero { min-height: 0; }
  .hero-art { inset: -5px -18px 30px 20%; opacity: .54; mask-image: radial-gradient(ellipse 75% 60% at 67% 40%, black 30%, transparent 88%); }
  .hero-copy { padding: 65px 0 53px; }
  .grid, .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .split { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .header-inner { flex-wrap: wrap; gap: 0 10px; padding: 10px 0 12px; }
  .header nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
  .grid, .home-grid { grid-template-columns: 1fr; }
  .footer-inner { padding: 22px 0; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
