/* ── Landing page sections ── */

/* Hero: asymmetric split */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--clay-ink); }
.hero-sub { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.hero-ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.price-foot { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* Phone mock: a live, functional chat component (not a static fake) */
.phone {
  width: 340px; margin: 0 auto; justify-self: center;
  background: #101613; border-radius: 36px; padding: 10px;
  box-shadow: var(--shadow-pop);
}
.phone-screen { border-radius: 28px; overflow: hidden; background: var(--wa-chat-bg); display: flex; flex-direction: column; height: 560px; }
.phone-top { background: #0f6b4c; color: #fff; padding: 14px 16px 12px; display: flex; align-items: center; gap: 10px; }
.phone-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0f6b4c; display: grid; place-items: center; font-weight: 650; font-size: 14px; flex: none; }
.phone-top .name { font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.phone-top .status { font-size: 11.5px; opacity: 0.85; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.42; box-shadow: 0 1px 1px rgba(0,0,0,0.06); position: relative; }
.msg.in { background: var(--wa-bubble-in); align-self: flex-start; border-top-left-radius: 4px; }
.msg.out { background: var(--wa-bubble-out); align-self: flex-end; border-top-right-radius: 4px; }
.msg .time { display: block; font-size: 10px; color: rgba(0,0,0,0.4); text-align: right; margin-top: 3px; }
.msg-enter { animation: msgIn 0.4s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa39c; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.booking-chip {
  align-self: center; background: var(--surface); border: 1px solid var(--accent-tint-2);
  border-radius: 12px; padding: 10px 14px; font-size: 12.5px; display: flex; gap: 8px; align-items: center;
  color: var(--accent-ink); font-weight: 550; box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* Beta band */
.beta-band { border-block: 1px solid var(--line); background: var(--surface); padding: 18px 0; }
.beta-band .container { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.beta-band p { font-size: 14px; color: var(--ink-2); }

/* Sections */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.028em; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Problem: 3 columns, no cards */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.problem-grid .col { border-top: 2px solid var(--ink); padding-top: 22px; }
.problem-grid h3 { font-size: 19px; }
.problem-grid p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* How it works: horizontal steps with connecting line */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; row-gap: 0; counter-reset: step; align-items: stretch; }
/* Subgrid keeps kicker, heading, copy and panel on the same rows across the three columns, so the panels line up */
.how-step { position: relative; padding-top: 18px; display: grid; grid-template-rows: subgrid; grid-row: span 4; align-content: start; }
.how-step .kicker { align-self: end; }
.how-step h3 { align-self: end; }
.how-step p { align-self: start; }
.how-visual { align-self: stretch; }
.how-step .kicker { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); font-weight: 600; }
.how-step h3 { font-size: 20px; margin-top: 8px; }
.how-step p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.how-visual { margin-top: 22px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--bg); padding: 18px; min-height: 150px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }

/* mini visuals inside how-steps */
.mini-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--ink-2); }
.mini-row .ok { color: var(--accent-ink); }
.mini-connect { width: 84px; height: 84px; margin: 0 auto; }

/* Live demo */
.demo { background: linear-gradient(180deg, var(--bg), var(--accent-tint) 140%); }
.demo-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.demo-copy h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.028em; }
.demo-copy p { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 42ch; }
.demo-suggestions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.suggestion {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
  border-radius: 999px; padding: 10px 18px; font-size: 14px; transition: border-color 0.15s, color 0.15s, transform 0.15s var(--ease);
}
.suggestion:hover { border-color: var(--accent); color: var(--accent-ink); }
.suggestion:active { transform: scale(0.98); }
.demo-chat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; height: 520px; overflow: hidden; }
.demo-chat-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.demo-chat-head .dot-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 650; font-size: 13px; }
.demo-chat-head .who { font-size: 14px; font-weight: 600; }
.demo-chat-head .sub { font-size: 12px; color: var(--ink-3); }
.demo-msgs { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.demo-msg { max-width: 85%; padding: 11px 15px; font-size: 14.5px; line-height: 1.45; border-radius: 16px; }
.demo-msg.bot { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; white-space: pre-line; }
.demo-msg.user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.demo-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.demo-input input { flex: 1; }
.demo-input button { flex: none; }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .cell { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.bento .cell h3 { font-size: 17.5px; display: flex; align-items: center; gap: 9px; }
.bento .cell h3 i { font-size: 20px; color: var(--accent-ink); }
.bento .cell p { font-size: 14.5px; color: var(--ink-2); }
.cell-a { grid-column: span 4; background: linear-gradient(135deg, var(--accent-tint), var(--surface) 65%); }
.cell-b { grid-column: span 2; }
.cell-c { grid-column: span 2; }
.cell-d { grid-column: span 2; background: #1E3128; border-color: #1E3128; color: #F3F1EA; }
.cell-d h3 { color: #FBFAF6; }
.cell-d h3 i { color: #97B0A0; }
.cell-d p { color: #BCCEC2; }
.cell-e { grid-column: span 2; }
.cell-f { grid-column: span 3; }
.cell-g { grid-column: span 3; background: linear-gradient(160deg, var(--surface), var(--accent-tint)); }
.kb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.kb-tags span { font-size: 12.5px; font-family: var(--mono); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; color: var(--ink-2); }
.cal-strip { display: flex; gap: 8px; margin-top: 8px; }
.cal-strip .slot { flex: 1; text-align: center; font-size: 12.5px; font-family: var(--mono); border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 8px 4px; color: var(--ink-2); }
.cal-strip .slot.taken { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Use cases */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tab { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 9px 18px; font-size: 14px; color: var(--ink-2); transition: 0.15s; }
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.usecase-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.usecase-panel h3 { font-size: 24px; letter-spacing: -0.02em; }
.usecase-panel .desc { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }
.usecase-msgs { display: flex; flex-direction: column; gap: 8px; }
.uc-msg { max-width: 88%; padding: 10px 14px; font-size: 13.5px; line-height: 1.45; border-radius: 14px; }
.uc-msg.in { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.uc-msg.out { background: var(--accent-tint); color: var(--accent-ink); align-self: flex-end; border-bottom-right-radius: 4px; }

/* Comparison */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; font-size: 14.5px; }
.compare thead th { font-size: 13.5px; color: var(--ink-2); font-weight: 550; border-bottom: 1px solid var(--line); }
.compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare td:first-child { color: var(--ink-2); }
.compare .hl { background: var(--accent-tint); font-weight: 550; color: var(--accent-ink); }
.compare thead .hl { color: var(--accent-ink); }

/* Pricing */
.price-toggle { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; margin: 0 auto 44px; gap: 2px; }
.price-toggle button { border: none; background: transparent; border-radius: 999px; padding: 9px 20px; font-size: 14px; font-weight: 550; color: var(--ink-2); }
.price-toggle button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(19,26,22,0.1); }
.price-toggle .save { color: var(--accent-ink); font-weight: 600; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; display: flex; flex-direction: column; }
.price-card.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-card); position: relative; }
.popular-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 5px 14px; }
.price-card .plan-name { font-size: 17px; font-weight: 600; }
.price-card .plan-for { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.price-card .amount { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.price-card .amount strong { font-size: 44px; font-weight: 650; letter-spacing: -0.03em; font-family: var(--mono); }
.price-card .amount span { font-size: 14px; color: var(--ink-3); }
.price-card ul { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card li { font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.price-card li i { color: var(--accent-ink); font-size: 16px; margin-top: 1px; flex: none; }
.credits-note { text-align: center; margin-top: 28px; font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-size: 16.5px; font-weight: 550; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform 0.25s var(--ease); color: var(--ink-3); flex: none; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item .answer { padding: 0 4px 24px; font-size: 15px; color: var(--ink-2); max-width: 64ch; }

/* Final CTA */
.final-cta { background: #131F19; color: #F3F1EA; text-align: center; padding: 110px 0; }
.final-cta h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; color: #FBFAF6; }
.final-cta p { margin: 18px auto 0; font-size: 17px; color: #97B0A0; max-width: 46ch; }
.final-cta .btn-primary { margin-top: 34px; background: #5A7565; }
.final-cta .btn-primary:hover { background: #74907F; }
.final-cta .risk { margin-top: 18px; font-size: 13.5px; color: #74907F; }

/* Product panels: CSS-drawn views of the inbox, bookings and leads */
.panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.panel-mock { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-card); font-size: 13.5px; display: flex; flex-direction: column; gap: 10px; }
.pm-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pm-title { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.pm-title .ph { color: var(--accent-ink); }
.pm-tabs { display: inline-flex; gap: 8px; font-size: 12px; color: var(--ink-3); }
.pm-tabs b { color: var(--ink); font-weight: 600; }
.pm-row, .pm-slot, .pm-lead { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; }
.pm-row:hover, .pm-slot:hover, .pm-lead:hover { background: var(--surface-2); }
.pm-row > div, .pm-slot > div, .pm-lead > div { flex: 1; min-width: 0; }
.pm-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-tint-2); color: var(--accent-ink); font-size: 11.5px; font-weight: 600; display: grid; place-items: center; flex: none; }
.pm-name { font-weight: 600; color: var(--ink); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pm-name .pill { font-size: 10.5px; padding: 1px 7px; }
.pm-sub { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-time { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); }
.pm-day { width: 36px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); flex: none; }
.pm-open { border: 1px dashed var(--line-strong); }
.pm-lead .pill { font-size: 11px; flex: none; }
.pm-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 1280px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .panels { grid-template-columns: 1fr; } }

/* Offer stack (pricing) */
.offer-stack { max-width: 860px; margin: 26px auto 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px 22px; box-shadow: var(--shadow-card); }
.offer-item { display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.offer-item .ph { color: var(--accent-ink); font-size: 22px; margin-top: 1px; }
.offer-item b { display: block; font-size: 15.5px; letter-spacing: -0.01em; }
.offer-item span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.5; }
.offer-item em { font-style: normal; font-size: 12px; color: var(--ink-3); white-space: nowrap; padding: 4px 10px; border: 1px dashed var(--line-strong); border-radius: 999px; margin-top: 2px; }
.offer-total { padding: 18px 0 14px; font-size: 15px; }
.offer-total b { color: var(--ink); }
.offer-rule { margin-top: 8px; font-size: 13.5px; color: var(--clay-ink); }
.pm-chat { display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; }
.pm-bub { max-width: 88%; padding: 7px 10px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; }
.pm-bub.in { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.pm-bub.out { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
@media (max-width: 720px) { .offer-item { grid-template-columns: 24px 1fr; } .offer-item em { grid-column: 2; justify-self: start; } }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .demo-shell, .usecase-panel { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
  .problem-grid, .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .how-grid { row-gap: 36px; }
  .how-step { display: block; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .cell { grid-column: span 2 !important; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .phone { width: 100%; max-width: 320px; }
  .usecase-panel { padding: 24px; }
}
