/* ==========================================================================
   Bayina pilot landing page
   Sections: tokens · base · layout · type · components · hero · ticker ·
             screenshots · pack · tiles · roadmap · faq · apply · footer · whatsapp · long-form text · blog · motion
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #1C2B24;
  --ink-soft: #3C4A43;
  --muted: #5B6660;
  --green: #5A7A36;
  --green-deep: #3F5C22;
  --lime: #D7EF86;
  --lime-hover: #CBE66F;
  --tint: #EEF5DA;
  --bg: #F6F8F3;
  --white: #fff;
  --line: #E2E7DD;
  --line-strong: #C9D3C2;

  --container: 1200px;
  --gutter: 24px;
  --section-pad: clamp(64px, 8vw, 96px);
  --radius-leaf: clamp(40px, 6vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--ink); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 90px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 12px;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section--flush-top { padding-top: 0; }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--no-border-bottom { border-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 48px; }

.grid { display: grid; gap: 0 32px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.section-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; align-items: end; }
.section-head > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; align-items: start; }
.split > div:first-child { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.eyebrow--dot { display: flex; align-items: center; gap: 10px; }
.eyebrow--tight { letter-spacing: .14em; }
.h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: .98; text-wrap: balance; }
.h3 { font-size: 20px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.h3--lg { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.045em; line-height: 1; }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 480px; text-wrap: pretty; }
.accent { color: var(--green); }
.num { font-size: 13px; color: var(--muted); }

/* ---------- Components ---------- */
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--xs { width: 12px; height: 12px; stroke-width: 2; }
.icon--sm { width: 16px; height: 16px; stroke-width: 2; }
.icon--md { width: 20px; height: 20px; }
.icon--lg { width: 30px; height: 30px; stroke-width: 2.2; }
.icon--xl { width: 32px; height: 32px; stroke-width: 2; }
.icon--check { width: 16px; height: 16px; stroke-width: 2.4; color: var(--green); }

.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-box--white { background: var(--white); border: 1px solid var(--line); }

.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--lime); flex-shrink: 0; }
.dot--ring { width: 10px; height: 10px; box-shadow: 0 0 0 4px var(--tint); }
.dot--live { width: 6px; height: 6px; background: #7FA243; animation: pulse-green 2s ease-out infinite; }
.dot--pulse { animation: pulse-lime 2s ease-out infinite; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 13px 20px;
  font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2D4237; color: var(--white); }
.btn--lime { background: var(--lime); color: var(--ink); padding: 14px 22px; }
.btn--lime:hover { background: var(--lime-hover); color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(28, 43, 36, .16); }
.btn--lg { padding: 18px 28px; font-size: 17px; gap: 10px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

.text-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.text-link:hover { color: var(--green); }

.tag { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.tag--live { background: var(--ink); color: var(--lime); }
.tag--next { background: var(--white); border: 1px solid var(--line-strong); color: var(--ink-soft); }
.tag--later { background: var(--white); border: 1px dashed var(--line-strong); color: var(--muted); }

.pill { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pill--blue { background: #E3F0FF; color: #1360C4; }
.pill--amber { background: #FFF3D6; color: #7A4A06; }

.checklist { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-soft); }

/* Card with a rule on top (both-sides cards) */
.rule-card { border-top: 1px solid var(--ink); padding-block: 24px; display: flex; flex-direction: column; gap: 14px; }
.rule-card p { font-size: 15.5px; line-height: 1.55; color: var(--muted); max-width: 500px; }
.rule-card__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rule-card__top { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #E8EDE6; font-size: 14px; padding: 11px var(--gutter); display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.announce a { color: var(--lime); font-weight: 600; white-space: nowrap; }

.site-header { position: sticky; top: 14px; z-index: 50; padding-inline: var(--gutter); margin-top: 14px; }
.site-header__bar {
  max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(28, 43, 36, .08); box-shadow: 0 8px 30px rgba(28, 43, 36, .06);
}
.site-header__logo img { height: 30px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav { display: flex; }
.site-nav a { color: var(--ink-soft); font-size: 15px; font-weight: 500; padding: 12px; border-radius: 999px; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.site-nav a:hover { color: var(--ink); background: rgba(28, 43, 36, .05); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle__bar {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.site-header.is-nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header.is-nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop {
  display: none; position: fixed; inset: 0; z-index: 40;
  background: rgba(28, 43, 36, .28);
}
body.nav-open .nav-backdrop { display: block; }
.field__error { display: block; margin-top: 6px; font-size: 13px; color: #B42318; }
.form__error.is-error, .form__status.is-error { color: #B42318; }
.form__alt { margin-top: 12px; font-size: 14px; color: var(--muted); }
.hp-field {
  position: absolute !important; left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; align-items: center; padding-block: clamp(40px, 6vw, 72px) var(--section-pad); }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-size: clamp(36px, 4.3vw, 58px); line-height: 1; letter-spacing: -.05em; font-weight: 600; text-wrap: balance; }
.hero__lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 540px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px; }

.mock { position: relative; padding: 28px 0 36px; font-size: 12px; }
.mock__ring { position: absolute; width: 560px; height: 560px; right: -120px; top: -40px; border-radius: 999px; border: 1px solid var(--line); pointer-events: none; }
.mock__orb { position: absolute; width: 420px; height: 420px; right: -60px; top: 40px; border-radius: 999px; background: var(--tint); opacity: .7; pointer-events: none; }
.mock__window { position: relative; background: var(--white); border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(28, 43, 36, .10); overflow: hidden; }
.mock__chrome { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #EEF1EA; }
.mock__dots { display: flex; gap: 6px; width: 40px; }
.mock__dots span { width: 9px; height: 9px; border-radius: 999px; background: #DDE3D8; }
.mock__url { margin-inline: auto; display: flex; align-items: center; gap: 6px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 5px 14px; }
.mock__chrome::after { content: ''; width: 40px; }
.mock__body { padding: 22px; }
.mock__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.mock__kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mock__title { font-size: 22px; font-weight: 600; letter-spacing: -.03em; margin-top: 4px; }
.mock__live { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-deep); background: #F4F9E6; border: 1px solid #CFE3A0; border-radius: 999px; padding: 6px 12px; }
.mock__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.mock__stat { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.mock__stat span { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.mock__stat strong { font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.mock__stat .is-amber { color: #A3480B; }
.mock__stat .is-green { color: var(--green-deep); }
.mock__table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mock__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid #EEF1EA; }
.mock__row--head { border-top: 0; background: var(--bg); font-size: 11.5px; font-weight: 500; color: var(--muted); padding-block: 10px; }
.mock__row b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__row small { font-size: 11.5px; color: var(--muted); }
.mock__badge { position: absolute; right: 0; bottom: 0; max-width: calc(100% - 24px); display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 44px rgba(28, 43, 36, .14); color: var(--green); }
.mock__badge b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.mock__badge small { font-size: 12px; color: var(--muted); }
.mock__chip { position: absolute; left: -10px; top: 0; display: flex; align-items: center; gap: 8px; background: var(--lime); border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px rgba(28, 43, 36, .12); }

.trust-line { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.trust-line .icon { color: var(--green); }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); overflow: hidden; padding-block: 18px; }
.ticker__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__list { display: flex; align-items: center; gap: 32px; padding-right: 32px; font-size: 15px; font-weight: 600; color: #E8EDE6; white-space: nowrap; }
.ticker__list li { display: flex; align-items: center; gap: 32px; }
.ticker__list li::after { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--lime); }
.ticker__list .is-lime { color: var(--lime); }

/* ---------- Product screenshots ---------- */
.showcase { display: flex; flex-direction: column; gap: 20px; }
.showcase__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.showcase__tab { border: 1px solid var(--line-strong); background: var(--white); color: var(--ink-soft); border-radius: 999px; padding: 12px 18px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.showcase__tab:hover { border-color: var(--ink); color: var(--ink); }
.showcase__tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.showcase__frame { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 0 30px 70px rgba(28, 43, 36, .10); }
.showcase__chrome { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #EEF1EA; }
.showcase__chrome span { width: 9px; height: 9px; border-radius: 999px; background: #DDE3D8; }
.showcase__panel img { width: 100%; }
.showcase__panel:not([hidden]) img { animation: rise .45s var(--ease) both; }
.showcase__caption { font-size: 14px; color: var(--muted); }

/* ---------- Pack ---------- */
.pack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 0 var(--radius-leaf) 0 var(--radius-leaf); overflow: hidden; }
.pack__main, .pack__flow { padding: clamp(32px, 5vw, 52px) clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.pack__main { background: var(--ink); color: var(--white); align-items: flex-start; }
.pack__kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.pack__title { font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.pack__text { font-size: 16px; line-height: 1.6; color: #C3CEC8; }
.pack__list { align-self: stretch; border-top: 1px solid #34463D; }
.pack__list li { display: flex; gap: 12px; align-items: flex-start; padding-block: 14px; border-bottom: 1px solid #34463D; font-size: 15.5px; line-height: 1.45; color: #DCE4DF; }
.pack__list .icon { color: var(--lime); margin-top: 3px; }
.pack__main .btn { margin-top: auto; }
.pack__flow { background: var(--tint) radial-gradient(#CFE0A2 1.2px, transparent 1.2px) 0 0 / 18px 18px; justify-content: space-between; animation: dots 6s linear infinite; }
.pack__flow-kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-deep); }
.pack__flow-text { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.flow { display: flex; flex-direction: column; gap: 10px; }
.flow__step { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .85); border: 1px solid #D5E3AE; animation: flow 8s ease-in-out infinite; }
.flow__step:nth-child(2) { animation-delay: 2s; }
.flow__step:nth-child(3) { animation-delay: 4s; }
.flow__step:nth-child(4) { animation-delay: 6s; }
.flow__step b { flex: 1; font-size: 16px; font-weight: 600; }
.flow__num { width: 22px; font-size: 13px; font-weight: 700; opacity: .75; }
.flow__note { font-size: 13.5px; opacity: .85; text-align: right; }

/* ---------- Feature tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { padding: 32px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tile:hover { background: var(--bg); }
.tile__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tile p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.cta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: clamp(24px, 4vw, 36px) clamp(24px, 4vw, 40px); background: var(--tint); border-radius: 28px; }
.cta-row p { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; max-width: 620px; }

/* ---------- Roadmap carousel ---------- */
.roadmap { padding-bottom: 0; overflow: hidden; }
.roadmap__intro { display: flex; flex-direction: column; gap: 20px; }
.roadmap__controls { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.roadmap__controls span { padding-left: 6px; }
.round-btn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.round-btn:hover, .round-btn--dark { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.round-btn--dark:hover { background: #2D4237; }
.roadmap__track {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: flex; gap: 20px; margin-top: 32px;
  padding: 12px var(--edge) var(--section-pad); scroll-padding-left: var(--edge);
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none;
}
.roadmap__track::-webkit-scrollbar { display: none; }
.next-card { flex: 0 0 300px; min-height: 270px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.next-card:hover { background: var(--tint); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(28, 43, 36, .10); }
.next-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.next-card .h3 { font-size: 21px; line-height: 1.15; }
.next-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { color: var(--green); transition: transform .15s ease; }
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq details p { font-size: 16px; line-height: 1.65; color: var(--muted); padding-bottom: 22px; max-width: 620px; }
.faq details[open] p { animation: rise .35s ease both; }

/* ---------- Apply ---------- */
.apply__copy { padding-top: 16px; gap: 28px !important; }
.steps { border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.steps__num { width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--green-deep); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.steps b { font-size: 17px; font-weight: 600; }
.steps p { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 2px; }
.apply__note { font-size: 14px; color: var(--muted); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px var(--radius-leaf) 28px 28px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 24px 60px rgba(28, 43, 36, .06); }
.form { display: flex; flex-direction: column; gap: 28px; }
.form__title { font-size: 34px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin-top: 8px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field input, .field select { width: 100%; border: 1px solid #DCE2D6; border-radius: 14px; padding: 14px 16px; font-size: 16px; font-weight: 400; background: #FBFCF9; outline: none; transition: border-color .2s ease, background-color .2s ease; }
.field input:focus, .field select:focus { border-color: var(--green); background: var(--white); }
.field input.is-invalid { border-color: #B4321F; }
.form__error { font-size: 14px; font-weight: 500; color: #B4321F; }
.form__privacy { display: flex; gap: 12px; background: var(--tint); border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.form__privacy .icon { color: var(--green-deep); }
.form__privacy a { text-decoration: underline; text-underline-offset: 3px; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 24px; }
.form-done p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.form-done__tick { width: 64px; height: 64px; border-radius: 999px; background: var(--lime); display: flex; align-items: center; justify-content: center; animation: pop .5s cubic-bezier(.2, .8, .3, 1.2) both; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 32px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; margin-bottom: 48px; }
.site-footer__top img { height: 34px; width: auto; margin-bottom: 14px; }
.site-footer__slogan { font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; }
.site-footer__text { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 340px; }
.site-footer__bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--muted); }
.site-footer__bottom > span a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom > span a:hover { color: var(--ink); }

.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer__links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__links a:hover { color: var(--ink); }

/* ---------- WhatsApp button ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 15px; font-weight: 600; box-shadow: 0 14px 34px rgba(28, 43, 36, .28); transition: transform .2s ease, background-color .2s ease; }
.wa-float:hover { background: #2D4237; color: var(--white); transform: translateY(-2px); }
.wa-float .icon { color: var(--lime); }
.wa-float span { display: none; }

/* ---------- Long-form text (legal pages and blog articles) ---------- */
.prose { max-width: 760px; padding-block: clamp(40px, 6vw, 72px) var(--section-pad); }
.prose .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.prose .h2 { margin-block: 16px 8px; }
.prose .h2--article { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.prose__lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin-top: 16px; }
.prose h2 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; margin-block: 40px 12px; }
.prose p, .prose li, .prose td, .prose th { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.prose p + p, .prose ul + p { margin-top: 12px; }
.prose p + ul { margin-top: 10px; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose li a, .prose p a { text-decoration: underline; text-underline-offset: 3px; }
.prose h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-block: 24px 6px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.takeaways { margin-top: 28px; padding: 24px 28px; background: var(--tint); border-radius: 20px; }
.takeaways h2 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); margin: 0 0 12px; }
.takeaways li { color: var(--ink); }
.prose__note { font-size: 14px !important; color: var(--muted) !important; margin-top: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.prose th { font-weight: 600; color: var(--ink); background: var(--bg); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; color: var(--ink); }
.callout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 48px; padding: 28px; background: var(--ink); border-radius: 24px; }
.callout b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.03em; color: var(--white); }
.callout p { color: #C3CEC8; font-size: 15px; margin-top: 6px; max-width: 420px; }

/* ---------- Blog index ---------- */
.blog { padding-block: clamp(40px, 6vw, 72px) var(--section-pad); }
.blog__head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin-bottom: 48px; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28, 43, 36, .08); }
.post-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.post-card .h3 { font-size: 22px; line-height: 1.2; }
.post-card .h3 a { color: var(--ink); }
.post-card .h3 a:hover { color: var(--green); }
.post-card > p:not(.post-card__meta) { font-size: 15px; line-height: 1.6; color: var(--muted); }
.post-card .text-link { margin-top: auto; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes row-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes pulse-lime { 0% { box-shadow: 0 0 0 0 rgba(215, 239, 134, .75); } 70%, 100% { box-shadow: 0 0 0 9px rgba(215, 239, 134, 0); } }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(127, 162, 67, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(127, 162, 67, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dots { to { background-position: 36px 36px; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes flow {
  0%, 22% { background: var(--ink); color: var(--white); border-color: var(--ink); transform: scale(1.025); }
  27%, 95% { background: rgba(255, 255, 255, .85); color: var(--ink); border-color: #D5E3AE; transform: scale(1); }
  100% { background: var(--ink); color: var(--white); border-color: var(--ink); transform: scale(1.025); }
}

.hero__copy > * { animation: rise .8s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .1s; }
.hero__copy > :nth-child(3) { animation-delay: .2s; }
.hero__copy > :nth-child(4) { animation-delay: .3s; }
.hero__copy > :nth-child(5) { animation-delay: .4s; }
.hero__copy > :nth-child(6) { animation-delay: .5s; }
.mock { animation: rise 1s var(--ease) .25s both; }
.mock__orb { animation: breathe 9s ease-in-out infinite; }
.mock__badge { animation: float 5s ease-in-out infinite; }
.mock__chip { animation: float 6s ease-in-out -2s infinite; }
.mock__row:not(.mock__row--head) { animation: row-in .6s ease both; }
.mock__row:nth-child(2) { animation-delay: .9s; }
.mock__row:nth-child(3) { animation-delay: 1.05s; }
.mock__row:nth-child(4) { animation-delay: 1.2s; }
.mock__row:nth-child(5) { animation-delay: 1.35s; }

/* Scroll reveals: content is only hidden when JavaScript is running (html.js) */
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease), background-color .2s ease; }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
[data-reveal]:nth-child(2) { transition-delay: .08s; }
[data-reveal]:nth-child(3) { transition-delay: .16s; }
[data-reveal]:nth-child(4) { transition-delay: .24s; }
[data-reveal]:nth-child(5) { transition-delay: .32s; }
[data-reveal]:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
/* Very large screens: scale the whole page up so it does not sit small in the middle */
@media (min-width: 2200px) {
  body { zoom: 1.25; }
}
/* The WhatsApp label only shows where there is margin for it, so it never covers content */
@media (min-width: 1600px) {
  .wa-float { padding: 14px 20px 14px 16px; }
  .wa-float span { display: inline; }
}
@media (max-width: 1000px) {
  .post-list { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header__bar { border-radius: 22px; flex-wrap: wrap; }
  .site-header__actions .btn--dark { display: none; }
  .site-nav {
    display: none; flex-direction: column; width: 100%;
    padding: 8px 8px 12px; gap: 4px;
  }
  .site-nav a { padding: 14px 16px; border-radius: 14px; white-space: normal; }
  .site-header.is-nav-open .site-nav { display: flex; }
  .site-header.is-nav-open .site-header__bar { border-radius: 22px; }
}
@media (max-width: 860px) {
  .grid--2, .section-head, .split, .hero__grid, .pack { grid-template-columns: minmax(0, 1fr); }
  .mock__ring, .mock__orb { right: -40%; }
  .mock__chip { left: 0; }
  .next-card { flex-basis: min(300px, calc(100vw - 48px)); }
  .showcase__tab { flex: 1 1 auto; text-align: center; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .tiles, .form__grid { grid-template-columns: minmax(0, 1fr); }
  .flow__note { display: none; }
  .announce { gap: 2px 12px; font-size: 13px; }
  .announce .dot { display: none; }
  .form__title { font-size: 28px; }
  .faq summary { font-size: 17px; }
  .site-footer__top { align-items: flex-start; }
  .hero__lead { font-size: 17px; }
}
@media (max-width: 390px) {
  .btn--lg { width: 100%; }
  .cta-row { align-items: stretch; }
  .wa-float { padding: 12px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .site-header { top: 8px; }
  .hero__grid { padding-block: 24px 40px; }
  .mock { display: none; }
}
html, body { overflow-x: clip; max-width: 100%; }
.hero, .roadmap, .ticker { max-width: 100%; }

/* overlay: custom select chevron, inset from the right edge */
.field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 52px; cursor: pointer; }
.field select::-ms-expand { display: none; }
.field select, .field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25 7 9.25l4-4' stroke='%231C2B24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; background-size: 14px 14px;
}

/* overlay: free-trial content (hero link, features carousel, FAQ intro) */
.hero__actions .text-link { padding-block: 0; }
.hero__actions .text-link .icon { width: 18px; height: 18px; color: var(--green); }
.features { overflow: hidden; }
.features__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 48px; }
.features__title { font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.features__head .roadmap__controls span { padding-left: 0; padding-right: 6px; }
.features__track { margin-top: 20px; padding-bottom: 32px; }
.features__track .next-card { min-height: 250px; }
.faq-intro { gap: 20px !important; }
.faq-intro .lead { margin-top: 4px; }
.faq-help { display: flex; gap: 16px; align-items: flex-start; margin-top: 8px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; max-width: 480px; }
.faq-help .icon-box { color: var(--green-deep); }
.faq-help b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.faq-help p { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 4px; }
.faq-help a { text-decoration: underline; text-underline-offset: 3px; }
.faq-intro .btn { align-self: flex-start; margin-top: 4px; }
@media (min-width: 861px) { .faq-intro { position: sticky; top: 110px; } }
