*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:root {
  --yellow: #FFE500;
  --ink: #111111;
  --ink-soft: rgba(17, 17, 17, 0.72);
  --white: #ffffff;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --step-num: 40px;
  --step-gap: 20px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--yellow);
  color: var(--ink);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.content {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-inline: 24px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: max(48px, env(safe-area-inset-top)) 24px max(64px, env(safe-area-inset-bottom));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
}

/* ── Email mock ── */
.email-mock {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 28px;
  background: var(--white);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: left;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease-out) 0.05s forwards;
}

.email-mock-header {
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.email-mock-from-block {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 13px;
  line-height: 1.4;
}

.email-mock-from-body {
  min-width: 0;
}

.email-mock-from-line {
  margin: 0;
  color: var(--ink);
}

.email-mock-sender {
  font-weight: 700;
}

.email-mock-address {
  color: var(--ink-soft);
}

.email-mock-to-line {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(17, 17, 17, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-mock-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.4;
}

.email-mock-row + .email-mock-row,
.email-mock-from-block + .email-mock-row {
  margin-top: 10px;
}

.email-mock-label {
  color: rgba(17, 17, 17, 0.45);
  font-weight: 500;
}

.email-mock-value {
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}

.email-mock-subject .email-mock-value {
  font-weight: 600;
}

.email-mock-body {
  padding: 16px;
}

.calendar-invite {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(17, 17, 17, 0.03);
  border-radius: 8px;
  border-left: 3px solid #4285f4;
}

.calendar-invite-date {
  flex: 0 0 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0 4px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 6px;
  line-height: 1;
}

.calendar-invite-month {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d93025;
}

.calendar-invite-day {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.calendar-invite-details {
  flex: 1;
  min-width: 0;
}

.calendar-invite-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.calendar-invite-when,
.calendar-invite-where {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.logo {
  font-family: 'Oregano', cursive;
  font-size: clamp(112px, 28vw, 220px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  padding-top: 0.06em;
  letter-spacing: -0.03em;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  animation: hero-title 1s var(--ease-out) 0.15s forwards;
}

@keyframes hero-title {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.tagline {
  max-width: 340px;
  margin: 20px auto 0;
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.45s forwards;
}

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

.scroll-arrow-wrap {
  position: absolute;
  bottom: max(28px, env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: rise 0.8s var(--ease-out) 0.9s forwards;
}

.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  opacity: 0.55;
  text-decoration: none;
  animation: arrow-bob 2s ease-in-out 1.7s infinite;
  transition: opacity 0.2s;
}

.scroll-arrow:hover {
  opacity: 0.85;
}

.scroll-arrow svg {
  width: 28px;
  height: 28px;
}

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

/* ── How it works ── */
.workflow {
  position: relative;
  padding-block: 64px 88px;
  scroll-margin-top: 24px;
}

.section-title {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 36px;
  color: var(--ink);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--step-gap);
  padding: 28px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.step:last-child {
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.step-num {
  flex: 0 0 var(--step-num);
  width: var(--step-num);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.step-body {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.step-body h3 {
  font-size: clamp(19px, 4.5vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}

.step-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ── Beta CTA ── */
.cta {
  padding-bottom: 80px;
}

.cta-inner {
  padding: 28px 28px 32px;
  background: var(--ink);
  border-radius: 20px;
  color: var(--white);
}

.cta-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--yellow);
  text-decoration: none;
  transition: gap 0.25s var(--ease-out);
}

.cta-link:hover {
  gap: 10px;
}

.cta-link svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.cta-link:hover svg {
  transform: translateX(3px);
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding-top: 28px;
  padding-bottom: max(36px, env(safe-area-inset-bottom));
  font-size: 14px;
  color: var(--ink-soft);
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.site-footer .content {
  padding-inline: 24px;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(17, 17, 17, 0.25);
  transition: border-color 0.2s;
}

.site-footer a:hover {
  border-color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 0;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 13px;
  font-weight: 500;
}

.footer-nav a:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  font-weight: 400;
  color: var(--ink-soft);
  border: none;
  pointer-events: none;
}

.footer-gig-types {
  margin-bottom: 20px;
  text-align: center;
}

.footer-gig-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.footer-gig-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-gig-list a {
  font-size: 13px;
  font-weight: 500;
  border-bottom: none;
  opacity: 0.85;
}

.footer-gig-list a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit {
  margin: 0;
  font-size: 14px;
}

/* ── Legal pages ── */
.legal-page {
  min-height: 100vh;
  padding: max(48px, env(safe-area-inset-top)) 0 0;
}

.legal-header {
  text-align: center;
  margin-bottom: 32px;
}

.legal-logo {
  font-family: 'Oregano', cursive;
  font-size: clamp(36px, 8vw, 48px);
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.legal-logo a {
  color: var(--ink);
  text-decoration: none;
  border: none;
}

.legal-logo a:hover {
  opacity: 0.75;
}

.legal-title {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.legal-prose {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.legal-prose h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 8px;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p {
  margin: 0 0 12px;
}

.legal-prose ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal-prose a {
  color: var(--ink);
  font-weight: 600;
}

.legal-prose-cta {
  text-align: center;
}

.legal-prose-cta .btn-primary {
  color: var(--white);
}

.beta-confirm-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.05);
}

.beta-confirm-status-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 600;
}

.beta-confirm-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.14);
  overflow: hidden;
}

.beta-confirm-progress span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  animation: betaConfirmProgress 1s ease-in-out infinite;
}

.venue-finding-inner {
  text-align: center;
}

.venue-finding-progress {
  width: min(280px, 100%);
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.14);
  overflow: hidden;
}

.venue-finding-progress span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  animation: betaConfirmProgress 1.4s ease-in-out infinite;
}

.beta-confirm-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  background: rgba(17, 17, 17, 0.05);
}

.beta-confirm-error p {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

@keyframes betaConfirmProgress {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(260%);
  }
}

/* ── Signup flow ── */
.signup-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding:
    max(32px, env(safe-area-inset-top))
    0
    max(24px, env(safe-area-inset-bottom));
}

.signup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.signup-header {
  text-align: center;
  margin-bottom: 24px;
}

.signup-logo {
  font-family: 'Oregano', cursive;
  font-size: clamp(40px, 9vw, 52px);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.02em;
}

.signup-logo a {
  color: var(--ink);
  text-decoration: none;
}

.signup-logo a:hover {
  opacity: 0.75;
}

.signup-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.signup-progress-seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.12);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.signup-progress-seg.is-active {
  background: var(--ink);
}

.signup-progress-seg.is-current {
  transform: scaleY(1.35);
}

.signup-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.signup-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.signup-step {
  display: none;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.signup-step.is-active {
  display: flex;
}

.signup-step.is-entering .signup-step-inner {
  animation: signupEnter 0.45s var(--ease-out) forwards;
}

.signup-step-inner {
  flex: 1;
  padding: 28px 24px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.signup-title {
  font-size: clamp(22px, 5.5vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.signup-step-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(17, 17, 17, 0.06);
}

.signup-lead {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.signup-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(255, 229, 0, 0.35);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.signup-note p {
  margin: 0;
}

.signup-note p + p {
  margin-top: 8px;
}

.signup-note--compact {
  margin-top: 0;
  margin-bottom: 20px;
}

.signup-legal {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.signup-legal a {
  color: var(--ink);
  font-weight: 600;
}

.field {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field-optional {
  font-weight: 400;
  color: var(--ink-soft);
}

.field-input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(17, 17, 17, 0.14);
  border-radius: 12px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.field-input::placeholder {
  color: rgba(17, 17, 17, 0.38);
}

#signup-city-widget {
  color-scheme: light;
}

.field-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.field-input.is-invalid {
  border-color: #c62828;
}

.field-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23111111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field-textarea {
  resize: vertical;
  min-height: 88px;
}

.field-error {
  margin: 6px 0 0;
  font-size: 13px;
  color: #c62828;
}

.signup-submit-error {
  margin-top: 12px;
}

.signup-actions {
  display: flex;
  gap: 12px;
  padding: 16px 24px max(20px, env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.signup-actions--split .btn-primary {
  flex: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 20px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    transform 0.15s var(--ease-out),
    opacity 0.2s var(--ease-out);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  width: 100%;
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #2a2a2a;
}

.btn-primary svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding-inline: 12px;
}

.btn-ghost:hover {
  color: var(--ink);
}

.btn-google {
  width: 100%;
  margin-top: 8px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}

.btn-google:hover {
  background: rgba(17, 17, 17, 0.02);
}

.btn-google:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 4px;
  color: rgba(17, 17, 17, 0.45);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.08);
}

.login-divider span {
  flex: 0 0 auto;
}

.signup-success {
  padding: 48px 28px;
  text-align: center;
}

.signup-success.is-entering {
  animation: signupEnter 0.5s var(--ease-out) forwards;
}

.signup-success-inner {
  max-width: 320px;
  margin: 0 auto;
}

.signup-success-emoji {
  font-size: 40px;
  margin: 0 0 12px;
  line-height: 1;
}

.signup-success-cta {
  display: inline-flex;
  margin-top: 24px;
  text-decoration: none;
  width: auto;
  padding-inline: 28px;
}

@keyframes signupEnter {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Venue selection mock ── */
.venue-page {
  min-height: 100svh;
  padding:
    max(32px, env(safe-area-inset-top))
    0
    max(24px, env(safe-area-inset-bottom));
}

.venue-header {
  position: relative;
  margin-bottom: 30px;
  padding-right: 148px;
}

.venue-header-actions {
  position: absolute;
  top: 2px;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.venue-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.venue-lead {
  margin: 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.venue-section {
  margin-bottom: 34px;
}

.venue-selected-section {
  margin-bottom: 28px;
}

.venue-selected-item {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.venue-selected-item + .venue-selected-item {
  margin-top: 10px;
}

.venue-selected-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
}

.venue-selected-summary::-webkit-details-marker {
  display: none;
}

.venue-selected-main {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.venue-selected-event {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.venue-selected-venue {
  font-size: 13px;
  color: rgba(17, 17, 17, 0.68);
}

.venue-selected-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  flex-shrink: 0;
}

.venue-selected-time {
  font-size: 12px;
  color: rgba(17, 17, 17, 0.72);
}

.venue-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.venue-status-pending {
  background: rgba(216, 170, 0, 0.18);
  color: #6a4a00;
}

.venue-status-inprogress {
  background: rgba(36, 119, 200, 0.18);
  color: #0f4e8f;
}

.venue-status-booked {
  background: rgba(33, 139, 75, 0.18);
  color: #145c32;
}

.venue-status-cancelled {
  background: rgba(173, 38, 38, 0.16);
  color: #7a1919;
}

.venue-status-neutral {
  background: rgba(17, 17, 17, 0.1);
  color: rgba(17, 17, 17, 0.84);
}

.venue-selected-details {
  padding: 0 14px 14px;
}

.venue-cancel-button {
  margin-top: 10px;
  width: auto;
  color: #7a1919;
  background: rgba(173, 38, 38, 0.12);
  border-radius: 10px;
}

.venue-cancel-button:hover {
  background: rgba(173, 38, 38, 0.2);
}

.venue-section-title {
  margin: 0;
  font-size: clamp(20px, 5.2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.venue-section-note {
  margin: 6px 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.62);
}

.admin-back-link {
  color: inherit;
  text-decoration: none;
}

.admin-back-link:hover {
  color: var(--ink);
}

.admin-tools {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.admin-tool-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.admin-tool-card:hover {
  border-color: rgba(17, 17, 17, 0.22);
  background: #fffef5;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.admin-tool-card:active {
  transform: scale(0.99);
}

.admin-tool-card:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.2);
  outline-offset: 2px;
}

.admin-tool-copy {
  min-width: 0;
}

.admin-tool-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-tool-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.62);
}

.admin-tool-arrow {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.45);
  transition: transform 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.admin-tool-card:hover .admin-tool-arrow {
  transform: translateX(3px);
  color: var(--ink);
}

.admin-scout-steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-scout-step {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  color: rgba(17, 17, 17, 0.55);
}

.admin-scout-step.is-active {
  border-color: rgba(17, 17, 17, 0.2);
  background: #fffef5;
  color: var(--ink);
  font-weight: 600;
}

.admin-scout-step.is-done {
  color: rgba(17, 17, 17, 0.72);
}

.admin-scout-step.is-failed {
  border-color: rgba(180, 40, 40, 0.35);
  background: #fff5f5;
  color: #8b1f1f;
  font-weight: 600;
}

.admin-scout-step.is-pending {
  color: rgba(17, 17, 17, 0.45);
}

.admin-scout-step.is-skipped {
  color: rgba(17, 17, 17, 0.55);
  font-style: italic;
}

.admin-scout-result {
  margin-top: 20px;
}

.admin-scout-result-actions {
  margin-top: 4px;
}

.admin-scout-result-textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.45;
}

.venue-card {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  padding: 18px 16px;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.venue-card:hover {
  border-color: rgba(17, 17, 17, 0.22);
}

.venue-card.is-readonly {
  cursor: default;
}

.venue-card.is-readonly:hover {
  border-color: rgba(17, 17, 17, 0.1);
}

.venue-card:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.2);
  outline-offset: 2px;
}

.venue-card.is-selected {
  border-color: rgba(17, 17, 17, 0.4);
  box-shadow:
    0 0 0 2px rgba(17, 17, 17, 0.14),
    0 12px 24px rgba(0, 0, 0, 0.08);
  background: #fffef5;
}

.venue-card + .venue-card {
  margin-top: 14px;
}

.venue-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.venue-pick {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.72);
  flex-shrink: 0;
  order: 2;
}

.venue-pick input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #111111;
  pointer-events: none;
}

.venue-card.is-selected .venue-pick {
  background: rgba(17, 17, 17, 0.12);
  color: rgba(17, 17, 17, 0.9);
}

.venue-name {
  margin: 0;
  font-size: clamp(21px, 5.2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  order: 1;
  min-width: 0;
}

.venue-event {
  margin: 9px 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.42;
  color: rgba(17, 17, 17, 0.9);
}

.venue-date {
  margin: 0 0 13px;
  font-size: clamp(18px, 5.2vw, 22px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

.venue-rows {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding-top: 10px;
}

.venue-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.52;
}

.venue-row + .venue-row {
  margin-top: 7px;
}

.venue-label {
  font-size: 13px;
  color: rgba(17, 17, 17, 0.56);
}

.venue-value {
  min-width: 0;
  color: rgba(17, 17, 17, 0.86);
}

.venue-row a,
.venue-name a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.24);
}

.venue-row a:hover,
.venue-name a:hover {
  border-color: var(--ink);
}

.venue-status {
  font-weight: 600;
}

.venue-status-yes {
  color: #1d6f42;
}

.venue-status-no {
  color: #8d2f2f;
}

.venue-status-unclear {
  color: #7a5b00;
}

.venue-status-cost {
  color: #5d3f96;
}

.venue-contact-details {
  margin-top: 12px;
  border-top: 1px dashed rgba(17, 17, 17, 0.14);
  padding-top: 8px;
}

.venue-contact-details summary {
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.76);
  list-style: none;
}

.venue-contact-details summary::-webkit-details-marker {
  display: none;
}

.venue-contact-details summary::after {
  content: "Show";
  margin-left: 8px;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.54);
}

.venue-contact-details[open] summary::after {
  content: "Hide";
}

.venue-rows-contact {
  border-top: 0;
  padding-top: 8px;
}

.venue-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 14px 0 max(14px, env(safe-area-inset-bottom));
  margin-top: 8px;
  background: linear-gradient(to bottom, rgba(255, 229, 0, 0), rgba(255, 229, 0, 0.9) 30%, rgba(255, 229, 0, 1) 62%);
}

.venue-actions .btn-primary {
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.11);
}

.venue-actions .btn-primary:disabled {
  opacity: 1;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(17, 17, 17, 0.58);
  box-shadow: none;
}

.venue-actions-static {
  position: static;
  margin-top: 20px;
  padding: 0;
  background: transparent;
}

.venue-account-menu-wrap {
  position: relative;
}

.venue-account-toggle {
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.venue-account-toggle:hover {
  background: rgba(17, 17, 17, 0.14);
}

.venue-account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin-top: 0;
  margin-left: 0;
  min-width: 220px;
  max-width: min(280px, calc(100vw - 48px));
  padding: 12px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.venue-feedback-wrap {
  position: relative;
}

.venue-feedback-toggle {
  padding: 8px 14px;
  min-height: 38px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(17, 17, 17, 0.08);
  border: 0;
}

.venue-feedback-toggle:hover {
  background: rgba(17, 17, 17, 0.14);
}

.venue-feedback-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(300px, calc(100vw - 48px));
  padding: 12px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.venue-feedback-input {
  display: block;
  width: 100%;
  min-height: 96px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
}

.venue-feedback-input:focus {
  outline: 2px solid rgba(17, 17, 17, 0.2);
  outline-offset: 1px;
}

.venue-feedback-submit {
  width: 100%;
  border-radius: 10px;
}

.venue-feedback-status {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(17, 17, 17, 0.68);
}

.venue-form-soon-note {
  margin: 4px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(17, 17, 17, 0.72);
  background: rgba(216, 170, 0, 0.14);
}

.venue-account-menu .venue-note {
  margin: 0 0 8px;
  padding: 10px 12px;
  background: rgba(17, 17, 17, 0.04);
}

.venue-account-menu .btn-ghost {
  width: 100%;
  justify-content: flex-start;
  padding: 10px 12px;
}

.venue-empty-state {
  margin-bottom: 20px;
}

/* ── Knowledge base ── */
.kb-content {
  max-width: 640px;
}

.kb-page {
  min-height: 100vh;
  padding: max(48px, env(safe-area-inset-top)) 0 0;
}

.kb-header {
  text-align: center;
  margin-bottom: 28px;
}

.kb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

.kb-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
}

.kb-breadcrumb a:hover {
  border-color: var(--ink);
}

.kb-breadcrumb span[aria-current] {
  color: var(--ink-soft);
  font-weight: 500;
}

.kb-title {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.kb-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin-inline: auto;
}

.kb-article h2 {
  font-size: 18px;
  margin-top: 32px;
}

.kb-article h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 20px 0 8px;
}

.kb-article li {
  margin-bottom: 6px;
}

.kb-article strong {
  color: var(--ink);
  font-weight: 600;
}

.kb-template {
  margin: 20px 0;
  padding: 16px 18px;
  background: rgba(17, 17, 17, 0.04);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 10px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-x: auto;
  color: var(--ink);
}

.kb-cta {
  margin: 24px 0;
}

.kb-cta--top {
  margin-top: 0;
}

.kb-cta--bottom {
  margin-bottom: 48px;
}

.kb-cta .cta-inner {
  padding: 22px 24px 26px;
}

.kb-related {
  margin: 36px 0 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.kb-related h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}

.kb-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kb-related li {
  margin-bottom: 8px;
}

.kb-related a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.25);
}

.kb-related a:hover {
  border-color: var(--ink);
}

.kb-index-section {
  margin-bottom: 36px;
  text-align: left;
}

.kb-index-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.kb-index-section h2 a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: none;
}

.kb-index-section h2 a:hover {
  opacity: 0.75;
}

.kb-index-section > p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.kb-index-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kb-index-section li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.kb-index-section li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.kb-index-section li a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
}

.kb-index-section li a:hover {
  border-color: var(--ink);
}

.kb-index-section li span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.45;
}

.kb-index-page .kb-cta--bottom {
  margin-bottom: 32px;
}

.kb-category-index {
  margin-bottom: 8px;
}

.kb-category-index ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kb-category-index li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.kb-category-index li:last-child {
  border-bottom: none;
}

.kb-category-index li a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
}

.kb-category-index li span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── Scroll reveals ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.step.reveal:nth-child(1) { transition-delay: 0s; }
.step.reveal:nth-child(2) { transition-delay: 0.08s; }
.step.reveal:nth-child(3) { transition-delay: 0.16s; }

@media (min-width: 640px) {
  :root {
    --step-num: 48px;
    --step-gap: 24px;
  }

  .hero {
    padding-top: 64px;
  }

  .email-mock {
    margin-bottom: 36px;
    border-radius: 14px;
  }

  .email-mock-header {
    padding: 16px 20px 14px;
  }

  .email-mock-row {
    grid-template-columns: 56px 1fr;
    font-size: 14px;
  }

  .email-mock-from-block {
    grid-template-columns: 56px 1fr;
    font-size: 14px;
  }

  .email-mock-to-line {
    font-size: 12px;
  }

  .email-mock-body {
    padding: 18px 20px 20px;
  }

  .calendar-invite {
    gap: 16px;
    padding: 14px 16px;
  }

  .calendar-invite-title {
    font-size: 16px;
  }

  .step {
    padding: 36px 0;
  }

  .step-num {
    font-size: 48px;
  }

  .step-body {
    padding-top: 6px;
  }

  .cta-inner {
    padding: 36px 40px 40px;
    border-radius: 24px;
  }

  .cta-text {
    font-size: 17px;
  }

  .signup-step-inner {
    padding: 32px 32px 20px;
  }

  .signup-actions {
    padding: 20px 32px max(24px, env(safe-area-inset-bottom));
  }

  .signup-card {
    border-radius: 24px;
  }

  .venue-card {
    padding: 20px;
    border-radius: 20px;
  }

  .venue-date {
    font-size: 24px;
  }

  .venue-actions {
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }

  .venue-row {
    grid-template-columns: 130px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .email-mock,
  .logo,
  .tagline,
  .scroll-arrow-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .scroll-arrow {
    animation: none;
  }

  .step-num {
    transform: none;
  }

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

  .signup-step.is-entering .signup-step-inner,
  .signup-success.is-entering {
    animation: none;
  }
}
