:root {
  --bg: #08090b;
  --panel: #101114;
  --panel-2: #15161a;
  --line: #22242b;
  --text: #ececf1;
  --muted: #9aa0aa;
  --brand: #ef4444;
  --brand-soft: rgba(239, 68, 68, 0.12);
  --ok: #22c55e;
  --warn: #f59e0b;
  --radius: 14px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(239, 68, 68, 0.1), transparent 60%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8, 9, 11, 0.78);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wordmark .dot,
.hero h1 span {
  color: var(--brand);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #0a0a0c;
  font: inherit;
  font-weight: 620;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: #f87171;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 2px solid #ffb4b4;
  outline-offset: 2px;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--panel-2);
  border-color: #33363f;
}

.btn-small {
  padding: 9px 15px;
  font-size: 0.86rem;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 24px 72px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -40% 20% auto;
  height: 520px;
  background: radial-gradient(closest-side, rgba(239, 68, 68, 0.16), transparent);
  filter: blur(10px);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  max-width: 18ch;
  margin: 0 auto 20px;
}

.lede {
  max-width: 56ch;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.chips li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- sections ---------- */
.section {
  padding: 72px 24px;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: #3a3d46;
  transform: translateY(-2px);
}

.card-group {
  color: var(--brand);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.16rem;
}

.card-desc {
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  margin-top: auto;
  font-size: 1.9rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.card-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.card-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.card-quiet {
  background: transparent;
  border-style: dashed;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.steps h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- payments ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.pay-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.pay-card h3 {
  margin: 6px 0 8px;
  font-size: 1.06rem;
}

.pay-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pay-card-warn {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.05);
}

.pay-card-warn .tag {
  color: var(--warn);
}

/* ---------- order ---------- */
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.order-form,
.order-out {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

label {
  font-size: 0.84rem;
  color: #c9ccd4;
}

.optional {
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0b0c0f;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  resize: vertical;
  min-height: 84px;
}

input::placeholder,
textarea::placeholder {
  color: #5f646d;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.field.bad input,
.field.bad select {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error {
  min-height: 0;
  color: #f87171;
  font-size: 0.78rem;
}

.error:empty {
  display: none;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fineprint {
  color: var(--muted);
  font-size: 0.8rem;
  max-width: 46ch;
}

.order-out h3 {
  font-size: 1.5rem;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.summary {
  margin: 16px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.summary li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.summary span:first-child {
  color: var(--muted);
}

.summary span:last-child {
  text-align: right;
}

.paste {
  margin: 0 0 16px;
  padding: 14px;
  max-height: 200px;
  overflow: auto;
  border: 1px dashed var(--line);
  border-radius: 9px;
  background: #0b0c0f;
  color: #c9ccd4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  white-space: pre-wrap;
}

.out-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 800px;
}

details {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
}

details[open] {
  border-color: #33363f;
}

summary {
  cursor: pointer;
  font-size: 0.95rem;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "+";
  display: inline-block;
  width: 16px;
  color: var(--brand);
  font-weight: 700;
}

details[open] summary::before {
  content: "–";
}

details p {
  margin: 10px 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer .btn {
  margin-left: auto;
}

.small {
  font-size: 0.95rem;
}

.mark {
  color: var(--brand);
}

.nav a[aria-current="page"] {
  color: var(--text);
}

.section-first {
  border-top: 0;
  padding-top: 56px;
}

.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.section-foot p {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-foot-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pay-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.pay-note {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
}

.pay-note h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.pay-note p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- vip ---------- */
.vip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding: 18px 22px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(115deg, rgba(239, 68, 68, 0.16), rgba(239, 68, 68, 0.04) 55%, rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 26px rgba(239, 68, 68, 0.18);
  overflow: hidden;
  animation: vip-pulse 3.8s ease-in-out infinite;
}

.vip::after {
  content: "";
  position: absolute;
  inset: -70% -25%;
  background: radial-gradient(closest-side, rgba(239, 68, 68, 0.3), transparent 70%);
  animation: vip-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.vip > * {
  position: relative;
  z-index: 1;
}

.vip-badge {
  padding: 6px 12px;
  border: 1px solid rgba(254, 202, 202, 0.5);
  border-radius: 999px;
  color: #fff1f1;
  background: rgba(239, 68, 68, 0.35);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.45);
}

.vip-copy h3 {
  margin-bottom: 4px;
  font-size: 1.06rem;
}

.vip-copy p {
  color: #f3d7d7;
  font-size: 0.88rem;
}

.vip .btn {
  margin-left: auto;
}

.hero-vip {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: left;
}

.chips li.hot {
  border-color: rgba(239, 68, 68, 0.5);
  color: #ffe4e4;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

@keyframes vip-pulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.14);
  }
  50% {
    box-shadow: 0 0 46px rgba(239, 68, 68, 0.34);
  }
}

@keyframes vip-sheen {
  0%,
  100% {
    transform: translate3d(-8%, 0, 0);
  }
  50% {
    transform: translate3d(8%, 0, 0);
  }
}

/* ---------- order result state ---------- */
.api-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0b0c0f;
  font-size: 0.84rem;
  max-width: 52ch;
}

.api-note.ok {
  border-color: rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
}

.api-note.warn {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fde68a;
}

.order-out[data-mode="sent"] .paste,
.order-out[data-mode="sent"] #copy-btn {
  display: none;
}

.order-out[data-mode="error"] .summary,
.order-out[data-mode="error"] .paste,
.order-out[data-mode="error"] #copy-btn,
.order-out[data-mode="error"] #out-help {
  display: none;
}

.order-out[data-mode="error"] h3 {
  color: #f87171;
  font-size: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) .vip,
  html:not(.motion-on) .vip::after {
    animation: none;
  }

  html:not(.motion-on) .vip::after {
    opacity: 0.35;
  }
}

/* ---------- live chat ---------- */
.chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
}

.chat-toggle {
  padding: 12px 20px;
  border: 1px solid rgba(254, 202, 202, 0.5);
  border-radius: 999px;
  background: var(--brand);
  color: #0a0a0c;
  font: inherit;
  font-weight: 650;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.45);
}

.chat-toggle:hover {
  background: #f87171;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(360px, calc(100vw - 40px));
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d0e12;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(239, 68, 68, 0.14);
  overflow: hidden;
}

.chat-panel[hidden] {
  display: none;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.chat-title {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chat-close {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.chat-note {
  color: var(--muted);
  font-size: 0.84rem;
}

.chat-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.chat-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0b0c0f;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
}

.chat-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 14px;
  min-height: 190px;
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
}

.chat-log[hidden] {
  display: none;
}

.chat-log li {
  max-width: 86%;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel-2);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.chat-log li.site {
  align-self: flex-end;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.16);
}

.chat-log li.discord {
  align-self: flex-start;
}

.chat-log li.sys {
  align-self: center;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.chat-log .who {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
}

.chat-form[hidden] {
  display: none;
}

.chat-form .btn {
  flex-shrink: 0;
}

.chat-error {
  margin: 0;
  padding: 0 14px 12px;
  color: #fca5a5;
  font-size: 0.78rem;
}

.chat-error[hidden] {
  display: none;
}

@media (max-width: 480px) {
  .chat {
    right: 12px;
    bottom: 12px;
  }

  .chat-panel {
    width: calc(100vw - 24px);
  }
}

/* ---------- motion + small screens ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) {
    scroll-behavior: auto;
  }

  html:not(.motion-on) *,
  html:not(.motion-on) *::before,
  html:not(.motion-on) *::after {
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .topbar-inner {
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 64px;
  }

  .order-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 20px;
  }

  .footer .btn {
    margin-left: 0;
  }
}

/* ---------- order chat ---------- */
#order-chat-host {
  margin-top: 26px;
}

.order-chat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
}

.order-chat .oc-head .tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-chat .oc-head h3 {
  margin-top: 2px;
  font-size: 1.05rem;
}

.order-chat .oc-status {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

.order-chat .oc-status.claimed {
  color: var(--ok);
}

.order-chat .oc-log {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  font-size: 0.92rem;
}

.order-chat .oc-log:empty {
  display: none;
}

.order-chat .oc-log li .who {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-chat .oc-log li.discord {
  border-left: 2px solid var(--line);
  padding-left: 10px;
}

.order-chat .oc-log li.site {
  text-align: right;
}

.order-chat .oc-form {
  display: flex;
  gap: 8px;
}

.order-chat .oc-form .chat-input {
  flex: 1;
}

.order-chat .oc-form .chat-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.order-chat .chat-error {
  margin-top: 10px;
}

/* ---------- first visit invite ---------- */
.invite {
  inset: 0;
  width: min(460px, calc(100vw - 40px));
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.invite::backdrop {
  background: rgba(8, 9, 11, 0.74);
  backdrop-filter: blur(6px);
}

.invite-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.invite h2 {
  margin-top: 6px;
  font-size: 1.4rem;
}

.invite-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ---------- polish: motion, logo, light ---------- */
:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

::selection {
  background: rgba(239, 68, 68, 0.35);
  color: #fff;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #2c2f37 transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: #2c2f37;
  border: 2px solid var(--bg);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b3f49;
}

body.is-ready > main {
  animation: page-in 0.6s var(--ease) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* top bar reacts to scrolling */
.topbar {
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.topbar.scrolled {
  background: rgba(8, 9, 11, 0.93);
  border-bottom-color: #2b2e37;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), #fda4af);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* logo */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.wordmark-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 6px 18px rgba(239, 68, 68, 0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.wordmark:hover .wordmark-logo {
  transform: rotate(-7deg) scale(1.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 26px rgba(239, 68, 68, 0.42);
}

.wordmark.small .wordmark-logo {
  width: 24px;
  height: 24px;
}

.hero-logo {
  display: block;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 24px 60px rgba(239, 68, 68, 0.3);
  animation: logo-float 7s ease-in-out infinite;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.hero-glow {
  animation: glow-breathe 9s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* hero entrance */
.hero > .eyebrow,
.hero > h1,
.hero > .lede,
.hero > .hero-actions,
.hero > .chips {
  animation: rise-in 0.85s var(--ease) both;
}

.hero > .eyebrow {
  animation-delay: 0.12s;
}

.hero > h1 {
  animation-delay: 0.2s;
}

.hero > .lede {
  animation-delay: 0.3s;
}

.hero > .hero-actions {
  animation-delay: 0.38s;
}

.hero > .chips {
  animation-delay: 0.46s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* nav underline */
.nav a {
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.32s var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* buttons */
.btn {
  --bx: 0px;
  --by: 0px;
  --lift: 0px;
  --press: 1;
  position: relative;
  overflow: hidden;
  transform: translate3d(var(--bx), calc(var(--by) + var(--lift)), 0) scale(var(--press));
  transition: transform 0.28s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.28s var(--ease);
  will-change: transform;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.32) 46%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn:hover {
  --lift: -1px;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.28);
}

.btn-ghost:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.btn:active {
  --lift: 0px;
  --press: 0.985;
  transform: translate3d(var(--bx), var(--by), 0) scale(var(--press));
}

.card-btn {
  --bx: 0px;
  --by: 0px;
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform 0.25s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease),
    background 0.22s var(--ease);
  will-change: transform;
}

/* ---------- cross-page transitions ---------- */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.34s;
  animation-timing-function: var(--ease);
}

::view-transition-old(root) {
  animation-name: page-fade-out;
}

::view-transition-new(root) {
  animation-name: page-fade-in;
}

@keyframes page-fade-out {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.topbar {
  view-transition-name: topbar;
}

.footer {
  view-transition-name: footer;
}

/* fallback where cross-document view transitions are missing */
html.leaving main {
  animation: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* section headings get a red tick */
.section-head h2 {
  position: relative;
  padding-left: 16px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16em;
  bottom: 0.16em;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), rgba(239, 68, 68, 0.12));
}

/* cards: lift + pointer spotlight */
.card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* a soft highlight travels across the tiles with the cursor */
.card::before,
.pay-card::before,
.pay-note::before,
.vip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--gx, 50%) var(--gy, 0%),
    rgba(255, 96, 116, 0.2),
    transparent 68%
  );
  opacity: var(--glow, 0);
  transition: opacity 0.28s var(--ease);
  pointer-events: none;
}

.pay-card,
.pay-note {
  position: relative;
}

.pay-card > *,
.pay-note > * {
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.46);
}



.card > * {
  position: relative;
}

.card-btn {
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease), background 0.22s var(--ease);
}

.card-btn:hover {
  background: rgba(239, 68, 68, 0.08);
}

/* inputs */
input:hover,
select:hover,
textarea:hover {
  border-color: #33363f;
}

/* faq */
details {
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

details:hover {
  border-color: #31343d;
}

details[open] {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.06), var(--panel) 60%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

details[open] p {
  animation: faq-in 0.4s var(--ease) both;
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* overlays */
.chat-panel,
.order-chat {
  animation: panel-in 0.38s var(--ease) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chat-log li,
.oc-log li {
  animation: line-in 0.3s var(--ease) both;
}

@keyframes line-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chat-toggle {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease);
}

.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(239, 68, 68, 0.52);
}

.invite[open] {
  animation: dialog-in 0.4s var(--ease) both;
}

.invite::backdrop {
  animation: backdrop-in 0.3s ease both;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* footer line */
.footer {
  background: linear-gradient(180deg, transparent, rgba(239, 68, 68, 0.035));
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) *,
  html:not(.motion-on) *::before,
  html:not(.motion-on) *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html:not(.motion-on) .reveal {
    opacity: 1;
    transform: none;
  }

  html:not(.motion-on) .hero-logo {
    animation: none;
  }
}

html {
  scroll-padding-top: 100px;
}

@media (max-width: 900px) {
  .topbar-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 24px;
    row-gap: 8px;
  }

  .nav {
    order: 3;
    display: flex;
    width: 100%;
    margin-left: 0;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    white-space: nowrap;
  }

  .topbar .btn {
    margin-left: auto;
  }
}

/* ---------- depth: shards, sweeps, cursor, tilt ---------- */
.hero {
  isolation: isolate;
}

.hero .shard {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 84px;
  opacity: 0.8;
  will-change: transform;
}

.shard-a {
  width: 360px;
  height: 540px;
  left: -140px;
  top: -20px;
  rotate: -18deg;
  background: linear-gradient(158deg, rgba(239, 68, 68, 0.4), rgba(239, 68, 68, 0.06) 58%, transparent 76%);
  filter: blur(2px);
}

.shard-b {
  width: 300px;
  height: 440px;
  right: -110px;
  top: 110px;
  rotate: 16deg;
  background: linear-gradient(202deg, rgba(255, 42, 85, 0.34), rgba(239, 68, 68, 0.05) 60%, transparent 78%);
  filter: blur(3px);
}

.hero > :not(.shard):not(.hero-glow) {
  position: relative;
  z-index: 1;
}

/* each section carries a soft band that travels as you scroll */
.section {
  position: relative;
  overflow: clip;
}

.section::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -15%;
  right: -15%;
  top: 4%;
  height: 340px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(239, 68, 68, 0.13), transparent 72%);
  transform: translate3d(0, calc(var(--sy, 0) * 90px), 0);
  pointer-events: none;
}

.section > * {
  position: relative;
  z-index: 1;
}

/* cursor follower */
.cursor {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cursor.on {
  opacity: 1;
}

.cursor span {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--brand);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.85);
}

.cursor-ring {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid rgba(239, 68, 68, 0.55);
  transition: width 0.22s var(--ease), height 0.22s var(--ease), margin 0.22s var(--ease),
    background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.cursor.hot .cursor-ring {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.85);
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* section headings: a red wipe crosses the words as they scroll in */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .section-head h2 {
    background-image: linear-gradient(
      100deg,
      var(--text) 0 38%,
      #ff8a9b 44%,
      var(--brand) 50%,
      #ff8a9b 56%,
      var(--text) 62% 100%
    );
    background-size: 300% 100%;
    background-repeat: no-repeat;
    background-position-x: calc((1 - var(--wipe, 0)) * 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

}

/* tiles ride with the pointer as one body, on translate so the reveal
   animation's transform cannot cancel it */
.card,
.card:hover,
.pay-card,
.pay-note,
.vip {
  translate: var(--fx, 0px) var(--fy, 0px);
  transition: translate 0.32s var(--ease), transform 0.32s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  will-change: translate;
}

.card.card,
.card.card:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}

.card:hover {
  --lift: -4px;
}
