/* minicabli landing page. Tokens come from the Minicabli design system. */
:root {
  --graphite: #2e3138;
  --ink: #1e2025;
  --coral: #ff5a4f;
  --coral-display: #e0443a;
  --coral-deep: #c73228;
  --coral-light: #ff7f76;
  --coral-tint: #ffe7e4;
  --cream: #f6f0ee;
  --white: #ffffff;
  --road-grey: #6b6b6b;
  --hairline: #e3ddcf;
  --sand: #d9d2c1;
  --danger: #c62f2f;
  --font-logo: "Nunito", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--graphite);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
}
h1, h2, h3, h4, p, ul { margin: 0; }
a { color: var(--coral-deep); }
a:hover { color: var(--graphite); }
img { max-width: 100%; }
section[id], footer[id] { scroll-margin-top: 8px; }

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

/* Layout helpers */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stack { display: flex; flex-direction: column; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.gap-5 { gap: 24px; } .gap-6 { gap: 32px; } .gap-7 { gap: 48px; }
.row { display: flex; flex-wrap: wrap; }
.center { align-items: center; text-align: center; }

/* Type */
.display, .h2, .h3, .h4, .logo { font-family: var(--font-logo); font-weight: 800; }
.display { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.01em; }
.h2 { font-size: 36px; line-height: 1.15; }
.h3 { font-size: 21px; line-height: 1.2; }
.h4 { font-size: 19px; line-height: 1.2; }
.eyebrow {
  font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--coral-deep);
}
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--road-grey); }
.logo { font-size: 30px; line-height: 1; letter-spacing: -0.01em; color: var(--graphite); text-decoration: none; }
.logo span { color: var(--coral-display); }
.section-head { max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: var(--r-md);
  font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--dark { background: var(--graphite); color: var(--white); }
.btn--dark:hover { background: var(--ink); color: var(--white); }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: var(--coral-light); color: var(--ink); }
.btn--outline { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--outline:hover { background: var(--graphite); color: var(--white); }
.btn--white { background: var(--white); color: var(--graphite); }
.btn--white:hover { background: var(--cream); color: var(--graphite); }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--graphite); outline-offset: 2px;
}

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--hairline); }
.site-header .container { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--graphite); text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--coral-deep); }

/* Hero */
.hero .container { padding-top: 72px; padding-bottom: 80px; }
.hero-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero-lede { font-size: 19px; max-width: 560px; }
.trial-pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--hairline);
  box-shadow: 0 6px 16px rgba(46, 49, 56, 0.08); font-weight: 600; line-height: 1.3;
}
.trial-pill .tick { width: 36px; height: 36px; border-radius: 999px; background: var(--coral); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Value strip */
.value-strip { background: var(--graphite); color: var(--cream); }
.value-strip .container { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.value-strip .item { flex: 1 1 220px; min-width: 0; }
.value-strip .small { color: var(--sand); margin-top: 4px; }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.card { flex: 1 1 340px; min-width: 0; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card--tint { background: var(--cream); border: 0; padding: 28px; flex-basis: 320px; }
.icon-tile { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--coral-tint); display: flex; align-items: center; justify-content: center; }
.icon-circle { width: 52px; height: 52px; border-radius: 999px; background: var(--coral); display: flex; align-items: center; justify-content: center; }
.icon { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon--graphite { stroke: var(--graphite); stroke-width: 2; }
.icon--ink { stroke: var(--ink); stroke-width: 2; }
.card-text { font-size: 15px; }
.bullets { padding-left: 20px; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }

/* How it works */
.how-block { background: var(--cream); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 28px; }
.how-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.how-step { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }

/* App preview */
.shots { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.shot { flex: 1 1 480px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.shot-frame { background: var(--graphite); border-radius: var(--r-lg); padding: 12px; box-shadow: 0 16px 40px rgba(46, 49, 56, 0.18); }
.shot-frame img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); }

/* Pricing */
.offer-pill { display: inline-flex; align-self: flex-start; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: 14px; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 28px; display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 16px; text-align: center; }
.plan .bullets { text-align: left; }
.price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 12px; font-family: var(--font-logo); font-weight: 800; font-size: 40px; line-height: 1.05; }
.price s { color: var(--road-grey); }
.plan-offer { font-size: 14px; font-weight: 600; color: var(--coral-deep); }
.talk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--graphite); color: var(--cream); border-radius: var(--r-lg); padding: 24px 28px; }
.talk .h3 { color: var(--white); }

/* FAQ */
.faq .container { max-width: 880px; }
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); padding: 20px 0; }
.faq-item summary { cursor: pointer; list-style: none; font-family: var(--font-logo); font-weight: 800; font-size: 19px; line-height: 1.3; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--coral-deep); font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; }

/* Demo section + form */
.demo { background: var(--graphite); color: var(--cream); }
.demo .container { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.demo-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.demo-copy h2 { font-size: 44px; line-height: 1.05; color: var(--white); }
.demo-copy p { font-size: 17px; color: var(--sand); max-width: 520px; }
.demo-form { flex: 1 1 380px; max-width: 480px; min-width: 0; background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.demo-form h3 { font-size: 24px; color: var(--graphite); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--graphite); }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--white); font-family: inherit; font-size: 16px; font-weight: 500; color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; font-weight: 600; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--road-grey); }
.alert { border-radius: var(--r-md); padding: 12px 16px; font-size: 14px; font-weight: 600; }
.alert--success { background: #e3f3ec; color: #14573a; }
.alert--error { background: #fbe7e7; color: #8f2020; }

/* Footer */
.site-footer { background: var(--ink); color: var(--sand); }
.site-footer .container { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col .eyebrow { color: var(--white); }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .logo { color: var(--white); }
.site-footer .logo span { color: var(--coral-light); }
.footer-bottom { border-top: 1px solid var(--graphite); padding-top: 20px; font-size: 14px; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .h2 { font-size: 30px; }
  .demo-copy h2 { font-size: 34px; }
  .how-block { padding: 24px 16px; }
  .shot { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
