:root {
  --bg: #0c0b0a;
  --bg-alt: #13110e;
  --surface: #1a1712;
  --surface-2: #221e18;
  --border: #2e2921;
  --text: #f4efe6;
  --muted: #b3aa9c;
  --gold: #e0aa48;
  --gold-strong: #f0bd5c;
  --gold-soft: rgba(224, 170, 72, 0.12);
  --on-gold: #1a1307;
  --ok: #4ade80;
  --radius: 18px;
  --wrap: 1160px;
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
}

p {
  margin: 0;
}

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

.wrap--narrow {
  max-width: 820px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--on-gold);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  cursor: pointer;
}

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

.btn--primary {
  background: var(--gold);
  color: var(--on-gold);
}

.btn--primary:hover {
  background: var(--gold-strong);
}

.btn--ghost {
  border-color: var(--border);
  background: var(--surface);
}

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

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn--block {
  width: 100%;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 11, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.logo strong {
  color: var(--gold);
}

.logo__mark {
  border-radius: 10px;
}

.cta__mark {
  border-radius: 24px;
  margin-bottom: 8px;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav a,
.link-muted {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover,
.link-muted:hover {
  color: var(--text);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(224, 170, 72, 0.16), transparent 70%),
    radial-gradient(500px 300px at 0% 90%, rgba(224, 170, 72, 0.06), transparent 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
  margin-top: 20px;
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.pills li {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
}

/* Mockup */
.mock {
  position: relative;
  min-height: 700px;
}

.phone {
  width: 300px;
  margin-left: auto;
  margin-right: 0;
  background: #0f1512;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.phone__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 12px;
  border-bottom: 1px solid #1f2a24;
}

.phone__head strong {
  display: block;
  font-size: 0.92rem;
}

.phone__head small {
  color: var(--ok);
  font-size: 0.75rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 0.8rem;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 4px 6px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 14px;
}

.msg--in {
  align-self: flex-end;
  background: #1f5c46;
  border-bottom-right-radius: 4px;
}

.msg--out {
  align-self: flex-start;
  background: #1c2420;
  border-bottom-left-radius: 4px;
}

.card-today {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 290px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  font-size: 0.86rem;
}

.card-today__head,
.card-today__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.card-today__head span,
.card-today__foot span {
  color: var(--muted);
}

.card-today ul {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.card-today li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 8px;
  align-items: center;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 8px 10px;
}

.card-today time {
  font-weight: 700;
}

.card-today em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}

.card-today em.ok {
  color: var(--ok);
}

.card-today__foot strong {
  color: var(--gold);
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__intro {
  color: var(--muted);
  margin-top: 14px;
  max-width: 640px;
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease;
}

.feature:hover {
  border-color: rgba(224, 170, 72, 0.5);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.feature p,
.role p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.timeline li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.timeline time {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 8px;
}

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

.timeline b {
  color: var(--text);
}

/* Roles */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.role {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.role h3 {
  color: var(--gold);
}

.note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Pricing */
.billing {
  display: inline-flex;
  gap: 4px;
  margin-top: 32px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.billing__opt {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.billing__opt.is-active {
  background: var(--gold);
  color: var(--on-gold);
}

.tag {
  font-size: 0.72rem;
  background: var(--gold-soft);
  color: var(--gold-strong);
  padding: 2px 8px;
  border-radius: 999px;
}

.billing__opt.is-active .tag {
  background: rgba(26, 19, 7, 0.15);
  color: var(--on-gold);
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 16px;
  margin-top: 28px;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    border-color 0.15s ease,
    opacity 0.15s ease;
}

.plan.is-dim {
  opacity: 0.55;
}

.plan--featured,
.plan.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold) inset;
}

.plan__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.plan__price {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.plan__price span {
  font-size: 1.1rem;
  color: var(--muted);
  vertical-align: 0.9em;
}

.plan__price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.plan__sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  min-height: 3em;
}

.plan .btn {
  margin-top: auto;
}

.included {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 736px;
}

.included ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.included li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

/* FAQ */
.faq {
  margin-top: 36px;
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 22px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

.faq summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  color: var(--muted);
  padding-bottom: 18px;
}

/* CTA */
.cta {
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(224, 170, 72, 0.18), transparent 70%), var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta p {
  color: var(--muted);
  font-size: 1.1rem;
}

.cta__mail {
  font-size: 0.95rem !important;
}

.cta__mail a {
  color: var(--gold);
}

/* Signup dialog */
.signup {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.signup::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.signup__form {
  position: relative;
  padding: 28px;
}

.signup__body,
.signup__done {
  display: grid;
  gap: 14px;
}

.signup__body[hidden],
.signup__done[hidden],
.signup__error[hidden] {
  display: none;
}

.signup h2 {
  font-size: 1.5rem;
  padding-right: 32px;
}

.signup__lead,
.signup__done p {
  color: var(--muted);
  font-size: 0.95rem;
}

.signup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.signup__plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}

.signup__plans legend {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.signup__plans label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.9rem;
}

.signup__plans label:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.signup__plans input {
  accent-color: var(--gold);
}

.signup__plans span b {
  display: block;
}

.signup__field {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.signup__field input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.signup__field input:focus {
  outline: none;
  border-color: var(--gold);
}

.signup__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup__error {
  color: #f87171;
  font-size: 0.9rem;
}

.signup__legal {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__tag {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.92rem;
}

.footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer nav a:hover {
  color: var(--text);
}

.footer__copy {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 24px;
}

/* Responsive */
@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .topbar__actions {
    margin-left: auto;
  }
  .hero {
    padding: 48px 0 64px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mock {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .phone {
    margin: 0;
    width: min(320px, 100%);
  }
  .card-today {
    position: static;
    width: min(320px, 100%);
  }
  .roles {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 72px 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .grid,
  .timeline,
  .included ul {
    grid-template-columns: 1fr;
  }
  .billing__opt {
    padding: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .plan,
  .feature {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
