:root {
  --ink: #0d0d0f;
  --paper: #f5f3ee;
  --cream: #ede9e0;
  --line: rgba(13,13,15,0.1);
  --accent: #1a1a2e;
  --lime: #c8f55a;
  --muted: #7a7870;
  --danger: #e84040;
  --success: #2ecc71;
  --head: 'Bebas Neue', sans-serif;
  --body: 'Instrument Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.listenly-body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.6; min-height: 100vh; }

.ll-flash-wrap { position: fixed; top: 16px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.ll-flash { padding: 10px 18px; background: var(--ink); color: var(--paper); font-size: 13px; }
.ll-flash--notice { background: var(--ink); color: var(--lime); }
.ll-flash--alert { background: var(--danger); color: white; }

.ll-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--ink); display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.ll-topbar-logo { font-family: var(--head); font-size: 22px; letter-spacing: 2px; color: var(--paper); text-decoration: none; }
.ll-topbar a { color: rgba(255,255,255,0.6); font-size: 12px; text-decoration: none; letter-spacing: 0.05em; }
.ll-topbar a:hover { color: var(--lime); }

.view { padding-top: 56px; min-height: 100vh; }

.client-hero { background: var(--ink); color: var(--paper); padding: 72px 48px 56px; position: relative; overflow: hidden; }
.client-hero::before { content: 'LISTEN'; font-family: var(--head); font-size: 280px; position: absolute; right: -20px; top: -40px; opacity: 0.04; line-height: 1; pointer-events: none; }
.hero-tag { display: inline-block; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 2px; margin-bottom: 20px; text-transform: uppercase; }
.hero-h1 { font-family: var(--head); font-size: clamp(48px, 6vw, 80px); letter-spacing: 2px; line-height: 0.95; margin-bottom: 20px; }
.hero-sub { font-size: 16px; color: rgba(245,243,238,0.6); max-width: 480px; line-height: 1.7; }

.usecases-section { padding: 56px 48px; background: var(--ink); }
.uc-label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(200,245,90,0.6); margin-bottom: 32px; display: flex; align-items: center; gap: 12px; }
.uc-label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.uc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1px; background: rgba(255,255,255,0.06); }
.uc-card { background: var(--ink); padding: 32px 28px; display: flex; flex-direction: column; transition: background 0.2s; }
.uc-card:hover { background: #13131a; }
.uc-card-accent { background: #0d1a00; }
.uc-card-accent:hover { background: #111f00; }
.uc-num { font-family: var(--head); font-size: 13px; letter-spacing: 3px; color: rgba(255,255,255,0.15); margin-bottom: 20px; }
.uc-card-accent .uc-num { color: rgba(200,245,90,0.3); }
.uc-icon { color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.uc-card-accent .uc-icon { color: var(--lime); }
.uc-title { font-family: var(--head); font-size: 22px; letter-spacing: 1px; color: var(--paper); margin-bottom: 8px; line-height: 1.1; }
.uc-card-accent .uc-title { color: var(--lime); }
.uc-question { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 14px; font-style: italic; line-height: 1.4; }
.uc-card-accent .uc-question { color: rgba(200,245,90,0.5); }
.uc-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; flex: 1; margin-bottom: 20px; }
.uc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.uc-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); }
.uc-card-accent .uc-tag { background: rgba(200,245,90,0.1); color: rgba(200,245,90,0.6); }

.plans-section { padding: 56px 48px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2px; background: var(--line); }
.plan-card { background: var(--paper); padding: 28px 24px; cursor: pointer; transition: all 0.2s; border: 2px solid transparent; position: relative; }
.plan-card:hover { background: var(--cream); }
.plan-card.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan-card.selected .plan-price { color: var(--lime); }
.plan-card.selected .plan-period, .plan-card.selected .plan-desc { color: rgba(245,243,238,0.6); }
.plan-name { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; color: var(--muted); }
.plan-card.selected .plan-name { color: var(--lime); }
.plan-price { font-family: var(--head); font-size: 52px; letter-spacing: 1px; line-height: 1; }
.plan-period { font-size: 12px; color: var(--muted); margin-top: 4px; }
.plan-desc { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.plan-cta { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 16px; color: var(--muted); }
.plan-card.selected .plan-cta { color: var(--lime); }
.plan-featured { position: absolute; top: 12px; right: 12px; background: var(--lime); color: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; padding: 2px 8px; border-radius: 2px; text-transform: uppercase; }

.client-form-section { padding: 0 48px 56px; }
.form-panel { background: var(--cream); border: 1px solid var(--line); padding: 36px; max-width: 760px; }
.form-title { font-family: var(--head); font-size: 28px; letter-spacing: 1px; margin-bottom: 6px; line-height: 1.05; }
.form-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: var(--paper); border: 1px solid var(--line); padding: 12px 14px; font-family: var(--body); font-size: 14px; color: var(--ink); outline: none; transition: border 0.15s; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237a7870' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

.keyword-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border: 1px solid var(--line); background: var(--paper); min-height: 48px; cursor: text; }
.keyword-tags:focus-within { border-color: var(--ink); }
.kw-tag { background: var(--ink); color: var(--paper); padding: 3px 10px 3px 12px; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.kw-remove { cursor: pointer; opacity: 0.5; font-size: 14px; line-height: 1; background: none; border: none; color: inherit; }
.kw-remove:hover { opacity: 1; }
.kw-input { border: none; outline: none; font-family: var(--body); font-size: 13px; background: transparent; min-width: 120px; flex: 1; }

.btn-submit { width: 100%; background: var(--ink); color: var(--lime); font-family: var(--head); font-size: 20px; letter-spacing: 3px; padding: 18px; border: none; cursor: pointer; transition: all 0.2s; margin-top: 8px; }
.btn-submit:hover { background: var(--accent); }
.btn-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.step-indicator { display: flex; gap: 6px; margin-bottom: 28px; }
.step-pip { width: 24px; height: 3px; background: var(--line); transition: all 0.3s; }
.step-pip.active { background: var(--ink); width: 40px; }
.step-pip.done { background: var(--lime); }

.divider { height: 1px; background: var(--line); margin: 24px 0; }
.text-link { background: none; border: none; font-size: 13px; color: var(--muted); cursor: pointer; text-decoration: underline; }

.pay-plans-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--line); margin-bottom: 20px; }
.pay-plan { background: var(--paper); padding: 22px 18px; cursor: pointer; transition: all 0.2s; border: 2px solid transparent; position: relative; display: flex; flex-direction: column; }
.pay-plan:hover { background: var(--cream); }
.pay-plan.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pay-plan.selected .pay-plan-price { color: var(--lime); }
.pay-plan.selected .pay-plan-window, .pay-plan.selected .pay-plan-tag { color: rgba(255,255,255,0.4); }
.pay-plan.selected .pay-feat { color: rgba(255,255,255,0.75); }
.pay-plan.selected .pay-feat.muted { color: rgba(255,255,255,0.3); }
.pay-plan-featured { border-top: 3px solid var(--lime) !important; }
.pay-plan-frst { background: var(--ink); color: var(--paper); }
.pay-plan-frst:hover { background: #111; }
.pay-plan-badge { position: absolute; top: 10px; right: 10px; background: var(--lime); color: var(--ink); font-size: 8px; font-weight: 800; letter-spacing: 0.1em; padding: 2px 7px; }
.pay-plan-name { font-family: var(--head); font-size: 18px; letter-spacing: 1px; margin-bottom: 6px; }
.pay-plan-price { font-family: var(--head); font-size: 32px; letter-spacing: 1px; line-height: 1; margin-bottom: 4px; }
.pay-plan-price span { font-family: var(--body); font-size: 12px; font-weight: 400; opacity: 0.5; }
.pay-plan-window { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pay-plan-features { display: flex; flex-direction: column; gap: 5px; flex: 1; margin-bottom: 14px; }
.pay-feat { font-size: 12px; color: var(--muted); }
.pay-feat.muted { opacity: 0.45; }
.pay-plan.selected .pay-plan-name { color: var(--lime); }
.pay-plan-tag { font-size: 10px; font-weight: 600; color: var(--muted); font-style: italic; }
.pay-summary { background: var(--cream); border: 1px solid var(--line); padding: 16px 20px; margin-bottom: 16px; }
.pay-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pay-summary-row:last-child { border-bottom: none; }
.pay-summary-row span:first-child { color: var(--muted); }
.pay-summary-row span:last-child { font-weight: 600; }
.pay-summary-total { font-weight: 700; }
.pay-summary-total span:last-child { font-family: var(--head); font-size: 20px; letter-spacing: 1px; }

.confirm-screen { padding: 80px 48px; text-align: center; }
.confirm-icon { width: 72px; height: 72px; background: var(--lime); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 24px; }
.confirm-h { font-family: var(--head); font-size: 40px; letter-spacing: 1px; margin-bottom: 12px; }
.confirm-sub { color: var(--muted); max-width: 460px; margin: 0 auto; line-height: 1.7; }
.confirm-ref { display: inline-block; margin-top: 20px; background: var(--cream); border: 1px solid var(--line); padding: 8px 20px; font-size: 13px; }
.confirm-ref strong { font-weight: 700; }

.status-page { padding: 60px 48px; max-width: 760px; margin: 0 auto; }
.status-card { background: var(--cream); border: 1px solid var(--line); padding: 32px; margin-bottom: 16px; }
.status-h { font-family: var(--head); font-size: 32px; letter-spacing: 1px; margin-bottom: 6px; }
.status-meta { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.status-bar { background: var(--paper); height: 8px; position: relative; overflow: hidden; margin-bottom: 24px; border: 1px solid var(--line); }
.status-bar-fill { background: var(--lime); height: 100%; transition: width 0.5s; }
.status-steps { display: flex; flex-direction: column; gap: 14px; }
.status-step { display: flex; gap: 14px; align-items: flex-start; }
.status-step-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--line); flex-shrink: 0; margin-top: 5px; }
.status-step.done .status-step-dot { background: var(--lime); }
.status-step.current .status-step-dot { background: var(--ink); box-shadow: 0 0 0 4px rgba(13,13,15,0.1); }
.status-step-text { font-size: 14px; }
.status-step-label { font-weight: 600; }
.status-step.muted .status-step-label { color: var(--muted); font-weight: 500; }
.status-step-detail { font-size: 12px; color: var(--muted); margin-top: 2px; }

@media(max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .plans-section, .client-form-section, .usecases-section, .client-hero { padding-left: 20px; padding-right: 20px; }
  .uc-grid { grid-template-columns: 1fr; }
  .pay-plans-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .status-page { padding: 32px 20px; }
}
