@import url("fonts.css");

:root {
  --bg: #F5EAD8;
  --surface: #F9F4ED;
  --surface-2: #EEE7DB;
  --ink: #201E1D;
  --ink-2: #474238;
  --muted: #645C50;
  --accent: #C67139;
  --accent-ink: #8C491A;
  --on-accent: #FBF6EE;
  --peach: #FFE1D0;
  --peach-ink: #643312;
  --sage: #7A8A5E;
  --sage-soft: #E1EECC;
  --sage-ink: #3D472B;
  --line: #E4D9C6;
  --shadow: 0 18px 40px rgba(100, 60, 20, .12);
  --radius: 28px;
  --display: "Nunito", "Onest", Arial, sans-serif;
  --body: "Onest", "Nunito", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1A18;
    --surface: #262320;
    --surface-2: #2F2B27;
    --ink: #F3EADC;
    --ink-2: #D6CCBC;
    --muted: #A99F90;
    --accent: #D9824A;
    --accent-ink: #F2A574;
    --on-accent: #1C1A18;
    --peach: #3A2A20;
    --peach-ink: #F6C7A8;
    --sage: #95A676;
    --sage-soft: #2A3122;
    --sage-ink: #CFE0B3;
    --line: #3A352F;
    --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
b { font-weight: 600; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -0.01em; color: var(--ink); }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; max-width: 24ch; }
h3 { font-size: 22px; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 60ch; }
.eyebrow {
  font-family: var(--display); font-weight: 800; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
}
section { padding: 96px 0; }
.section-head { display: grid; gap: 18px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 18px; white-space: nowrap;
  text-decoration: none; border-radius: 999px; padding: 16px 28px;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), background-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: block; width: 156px; height: 45px; flex: none; }
.nav { display: flex; gap: 28px; font-weight: 500; color: var(--ink-2); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--accent-ink); }
.top .btn { padding: 11px 20px; font-size: 16px; }

/* Hero */
.hero { padding: 56px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.02; margin: 18px 0 22px; }
.hero h1 span { color: var(--accent); }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Chat preview */
.chat {
  background: var(--surface-2); border-radius: 36px; padding: 22px 18px 24px;
  display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.45;
  box-shadow: var(--shadow); max-width: 460px; justify-self: end; width: 100%;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 4px 8px 10px; }
.chat-head .ava { width: 44px; height: 44px; border-radius: 999px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 22px; }
.chat-head b { font-family: var(--display); font-weight: 900; display: block; }
.chat-head small { color: var(--sage); font-size: 14px; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 22px; }
.msg.me { align-self: flex-end; background: var(--peach); color: var(--peach-ink); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--surface); color: var(--ink); border-bottom-left-radius: 6px; }
.msg .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { font-family: var(--display); font-weight: 800; font-size: 14px; border-radius: 999px; padding: 7px 14px; background: var(--surface-2); color: var(--ink); }
.chip.on { background: var(--accent); color: var(--on-accent); }
.seats { display: grid; gap: 5px; margin: 10px 0 4px; padding: 12px; background: var(--bg); border-radius: 16px; }
.seats .stage { justify-self: center; font-size: 11px; font-weight: 700; letter-spacing: .2em; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 2px 40px; margin-bottom: 4px; }
.seats .row { height: 12px; background-image: radial-gradient(circle, var(--c) 5px, transparent 5.5px); background-size: 16px 12px; background-repeat: round no-repeat; }
.chat-note { text-align: center; font-size: 13px; color: var(--muted); }

/* Problem */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--line); }
.pain { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.pain + .pain { padding-left: 28px; border-left: 2px solid var(--line); }
.pain .num { font-family: var(--display); font-weight: 900; font-size: 44px; color: var(--accent); line-height: 1; }
.pain p { color: var(--ink-2); }
.verdict { margin-top: 44px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; max-width: 34ch; }

/* How it works */
.how .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.how .chat { justify-self: start; }
.steps { list-style: none; display: grid; gap: 20px; counter-reset: s; margin-top: 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline; color: var(--ink-2); font-size: 19px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--accent-ink); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cell { border-radius: var(--radius); padding: 30px; display: grid; gap: 10px; align-content: start; background: var(--surface); }
.cell p { color: var(--ink-2); }
.cell.c-hall { grid-column: span 3; grid-row: span 2; background: var(--peach); }
.cell.c-hall h3, .cell.c-hall p { color: var(--peach-ink); }
.cell.c-event { grid-column: span 3; }
.cell.c-price { grid-column: span 3; background: var(--sage-soft); }
.cell.c-price h3, .cell.c-price p { color: var(--sage-ink); }
.cell.c-tix { grid-column: span 2; }
.cell.c-rep { grid-column: span 2; background: var(--sage-soft); }
.cell.c-rep h3, .cell.c-rep p { color: var(--sage-ink); }
.cell.c-ans { grid-column: span 2; }
.hall-mini { display: grid; gap: 6px; margin-top: 14px; padding: 18px; background: var(--bg); border-radius: 20px; }
.hall-mini .row { height: 14px; background-image: radial-gradient(circle, var(--c) 6px, transparent 6.5px); background-size: 19px 14px; background-repeat: round no-repeat; }

/* Messenger */
.sell { background: var(--surface); }
.sell .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.sell .chat { background: var(--bg); }
.status { margin-top: 26px; display: grid; gap: 12px; }
.status div { display: flex; gap: 14px; align-items: baseline; color: var(--ink-2); }
.status b { font-family: var(--display); font-weight: 900; min-width: 128px; color: var(--ink); }

/* Entry */
.entry-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.ticket { grid-column: span 5; background: var(--surface); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); align-self: start; }
.ticket-top { background: var(--accent); padding: 24px 26px; color: var(--on-accent); }
.ticket-top strong { font-family: var(--display); font-weight: 900; font-size: 38px; display: block; line-height: 1.05; color: #201E1D; }
.ticket-top small { font-weight: 600; color: #201E1D; }
.ticket-body { padding: 22px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 14px; color: var(--muted); }
.ticket-body b { display: block; font-size: 18px; color: var(--ink); }
.ticket-cut { border-top: 3px dotted var(--line); margin: 0 26px; }
.ticket-foot { padding: 20px 26px 24px; display: flex; gap: 18px; align-items: center; font-size: 14px; color: var(--muted); }
.qr { width: 84px; height: 84px; border-radius: 14px; flex: none; background:
  conic-gradient(from 90deg at 30% 30%, var(--ink) 25%, transparent 0) 0 0 / 14px 14px,
  var(--surface-2); opacity: .85; }
.entry-points { grid-column: 7 / span 6; display: grid; gap: 26px; align-content: center; }
.entry-points div { display: grid; gap: 6px; padding-left: 22px; border-left: 4px solid var(--sage); }
.entry-points p { color: var(--ink-2); }

/* Channels */
.channels { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.hub { width: 300px; height: 300px; border-radius: 999px; background: var(--peach); display: grid; place-items: center; text-align: center; padding: 40px; color: var(--peach-ink); font-weight: 600; }
.hub .logo { width: 200px; height: 58px; margin: 0 auto 14px; }
.pills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pill { background: var(--surface); border-radius: 999px; padding: 18px 26px; display: grid; gap: 2px; }
.pill b { font-family: var(--display); font-weight: 900; font-size: 19px; }
.pill span { color: var(--muted); font-size: 15px; }
.pill.hi { background: var(--sage-soft); }
.pill.hi b, .pill.hi span { color: var(--sage-ink); }
.channels-note { margin-top: 36px; max-width: 70ch; color: var(--ink-2); }

/* Reports */
.reports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; }
.rep { padding: 32px; display: grid; gap: 14px; align-content: start; }
.rep:nth-child(1) { background: var(--surface); }
.rep:nth-child(2) { background: var(--sage-soft); }
.rep:nth-child(3) { background: var(--peach); }
.rep:nth-child(2) h3, .rep:nth-child(2) li { color: var(--sage-ink); }
.rep:nth-child(3) h3, .rep:nth-child(3) li { color: var(--peach-ink); }
.rep ul { list-style: none; display: grid; gap: 10px; }
.rep li { color: var(--ink-2); padding-left: 18px; position: relative; }
.rep li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: currentColor; }

/* Results */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.num-card { border-radius: var(--radius); padding: 32px; display: grid; gap: 8px; align-content: end; min-height: 230px; }
.num-card:nth-child(1) { background: var(--accent); }
.num-card:nth-child(1) * { color: #201E1D; }
.num-card:nth-child(2) { background: var(--sage-soft); }
.num-card:nth-child(2) * { color: var(--sage-ink); }
.num-card:nth-child(3) { background: var(--surface); }
.num-card small { font-weight: 600; font-size: 15px; }
.num-card strong { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 4vw, 54px); line-height: 1; white-space: nowrap; }
.fine { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { border-radius: 32px; padding: 34px; display: grid; gap: 16px; align-content: start; background: var(--surface); }
.plan .pct { font-family: var(--display); font-weight: 900; font-size: 72px; line-height: 1; }
.plan .name { font-family: var(--display); font-weight: 900; font-size: 26px; }
.plan .sub { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; display: grid; gap: 9px; color: var(--ink-2); }
.plan li::before { content: "+ "; font-weight: 700; color: var(--accent-ink); }
.plan.main { background: var(--accent); }
.plan.main *, .plan.main li::before { color: #201E1D; }
.plan.main .sub { color: #3a2412; }

/* Pilot */
.pilot { background: var(--ink); color: var(--bg); border-radius: 40px; padding: 64px; }
.pilot h2 { color: var(--bg); max-width: 22ch; }
.pilot .lead { color: color-mix(in srgb, var(--bg) 82%, transparent); margin-top: 18px; }
.pilot-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 48px 0; }
.pilot-steps div { display: grid; gap: 8px; }
.pilot-steps strong { font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--bg); }
.pilot-steps span { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.pilot-steps i { font-style: normal; font-family: var(--display); font-weight: 900; font-size: 56px; line-height: 1; color: var(--accent); }
.pilot .btn-primary { background: var(--accent); color: #201E1D; }
.pilot .contacts { margin-top: 26px; color: color-mix(in srgb, var(--bg) 78%, transparent); }
.pilot .contacts a { color: var(--bg); }
@media (prefers-color-scheme: dark) {
  .pilot { background: #2F2B27; color: #F3EADC; }
  .pilot h2, .pilot-steps strong, .pilot .contacts a { color: #F3EADC; }
}

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero .wrap, .how .wrap, .sell .wrap { grid-template-columns: 1fr; gap: 40px; }
  .chat, .how .chat { justify-self: stretch; max-width: none; }
  .how .chat { order: 2; }
  .channels { grid-template-columns: 1fr; justify-items: center; }
  .numbers { grid-template-columns: 1fr; }
  .num-card { min-height: 0; }
  .plans, .reports { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr; }
  .ticket, .entry-points { grid-column: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell.c-hall { grid-column: span 2; grid-row: auto; }
  .cell.c-event, .cell.c-price, .cell.c-tix, .cell.c-rep, .cell.c-ans { grid-column: span 1; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 32px 0 64px; }
  .top .btn { display: none; }
  .pains { grid-template-columns: 1fr; }
  .pain, .pain + .pain { padding: 22px 0 6px; border-left: 0; }
  .pain + .pain { border-top: 2px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .cell.c-hall, .cell.c-event, .cell.c-price, .cell.c-tix, .cell.c-rep, .cell.c-ans { grid-column: auto; }
  .pills { grid-template-columns: 1fr; width: 100%; }
  .pill { border-radius: 24px; }
  .hub { width: 240px; height: 240px; padding: 28px; }
  .pilot { padding: 36px 22px; border-radius: 28px; }
  .pilot-steps { grid-template-columns: 1fr; margin: 32px 0; }
  .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
}
.hub .logo { --notch: var(--peach); }
