/* ===================================================================
   Central de Mensajes — marketing site design system
   Brand: teal #006D77 / mint #83C5BE / charcoal #4A444A on warm paper.
   Direction: Apple-style restraint — large tracked-in type, generous
   space, translucent chrome, real product screenshots in device frames,
   motion only where it explains something and never when the visitor
   asks the OS for less of it.
   Generated pages (tools/marketing-site) all share this one file.
   =================================================================== */

:root {
  --ink: #10272b;
  --text: #4a444a;
  --muted: #6c7779;
  --teal: #006d77;
  --teal-d: #004a52;
  --teal-dd: #02353b;
  --mint: #83c5be;
  --mint-l: #d6ece9;
  --paper: #f4f8f7;
  --paper-2: #eaf2f1;
  --card: #fff;
  --line: rgba(16, 39, 43, 0.09);
  --wa: #25d366;
  --radius: 28px;
  --radius-s: 18px;
  --shadow-s: 0 1px 2px rgba(16, 39, 43, 0.06), 0 6px 18px rgba(16, 39, 43, 0.05);
  --shadow-m: 0 2px 6px rgba(16, 39, 43, 0.06), 0 22px 50px rgba(16, 39, 43, 0.1);
  --shadow-l: 0 4px 10px rgba(16, 39, 43, 0.07), 0 40px 90px rgba(0, 61, 68, 0.22);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --nav-h: 68px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem; line-height: 1.62; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-d); }
::selection { background: var(--mint); color: var(--teal-dd); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }

/* ── Type: size-specific tracking and leading (display tight, body open) ── */
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.03; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.012em; font-weight: 700; }
h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.55; color: var(--text); max-width: 40rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(131, 197, 190, 0.28); }
.grad-text { background: linear-gradient(120deg, var(--teal) 0%, #3aa1a1 60%, var(--mint) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; display: grid; gap: 18px; justify-items: center; }
.section-head .lead { margin: 0 auto; }
.stack { display: grid; gap: 18px; }
.stack-lg { display: grid; gap: 28px; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  --bg: var(--teal); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 0 26px; border-radius: 999px; border: 1px solid transparent; background: var(--bg); color: var(--fg);
  font: inherit; font-weight: 700; font-size: 0.98rem; letter-spacing: -0.005em; cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  box-shadow: 0 8px 22px rgba(0, 109, 119, 0.28);
}
.btn:hover { background: var(--teal-d); color: #fff; transform: translateY(-1px); }
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(16, 39, 43, 0.18); box-shadow: none; }
.btn--ghost:hover { background: rgba(16, 39, 43, 0.05); color: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--teal-d); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); }
.btn--light:hover { background: #f1fbfa; color: var(--teal-dd); }
.btn--wa { --bg: var(--wa); box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3); }
.btn--wa:hover { background: #1ebe5b; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9rem; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
:root { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ── Pre-launch notice: in flow under the fixed nav; the first hero gives back the nav space it reserved ─ */
.launch-bar { margin-top: var(--nav-h); background: var(--teal-dd); color: #d6ece9; font-size: 0.9rem; line-height: 1.45; }
.launch-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.launch-bar p { margin: 0; }
.launch-bar strong { color: #fff; }
.launch-bar a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.launch-bar a:hover { color: var(--mint); }
.launch-bar + main > .hero { padding-top: clamp(40px, 6vw, 72px); }
.launch-bar + main > .page-head { padding-top: clamp(32px, 5vw, 56px); }

/* ── Navigation: translucent material, content scrolls beneath ─────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.74); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.nav-logo img { height: 40px; width: 40px; }
.nav .btn, .wm { white-space: nowrap; }
.wm { font-weight: 800; font-size: 0.7rem; letter-spacing: 0.15em; line-height: 1.2; }
.nav-logo:hover { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a, .nav-dd > button {
  font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--ink); background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 999px; transition: background 0.15s; display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > a:hover, .nav-dd > button:hover, .nav-dd:focus-within > button { background: rgba(16, 39, 43, 0.06); color: var(--ink); }
.nav-links > a[aria-current="page"] { color: var(--teal); }
.nav-dd { position: relative; }
.nav-dd > button::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s; }
.nav-dd:hover > button::after, .nav-dd:focus-within > button::after { transform: rotate(225deg) translate(-2px, -2px); }
.nav-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-m); padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; transition: opacity 0.18s, transform 0.22s var(--ease), visibility 0.18s;
}
.nav-dd:hover .nav-panel, .nav-dd:focus-within .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-panel a { display: flex; gap: 12px; padding: 12px; border-radius: 16px; color: var(--ink); align-items: flex-start; }
.nav-panel a:hover { background: var(--paper); color: var(--ink); }
.nav-panel img { width: 38px; height: 38px; mix-blend-mode: multiply; flex: none; }
.nav-panel strong { display: block; font-size: 0.92rem; line-height: 1.25; }
.nav-panel span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.m-menu { display: none; }
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-cta { margin-left: auto; }
  .m-menu { display: block; }
  .m-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
  .m-menu summary::-webkit-details-marker { display: none; }
  .m-menu summary:hover { background: rgba(16, 39, 43, 0.06); }
  .m-menu summary i, .m-menu summary i::before, .m-menu summary i::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; transition: transform 0.25s var(--ease), opacity 0.2s; }
  .m-menu summary i::before { position: absolute; top: -6px; }
  .m-menu summary i::after { position: absolute; top: 6px; }
  .m-menu[open] summary i { background: transparent; }
  .m-menu[open] summary i::before { transform: translateY(6px) rotate(45deg); }
  .m-menu[open] summary i::after { transform: translateY(-6px) rotate(-45deg); }
  .m-sheet {
    position: fixed; inset: var(--nav-h) 0 0 0; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(24px); overflow-y: auto;
    padding: 12px 24px 40px; display: grid; align-content: start; gap: 2px;
  }
  .m-sheet a { padding: 14px 4px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .m-sheet .m-sub { padding-left: 16px; font-weight: 600; font-size: 0.97rem; color: var(--text); }
  .m-sheet .m-label { margin-top: 18px; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
  .m-sheet .btn { margin-top: 18px; border-bottom: 0; color: #fff; }
}
@media (min-width: 961px) { .nav-cta .m-menu { display: none; } }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(48px, 8vw, 104px)) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(131, 197, 190, 0.34), transparent 70%),
    radial-gradient(700px 480px at 4% 96%, rgba(0, 109, 119, 0.1), transparent 70%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero--center .hero-copy { justify-items: center; text-align: center; max-width: 880px; margin: 0 auto; }
.hero--center .lead { margin: 0 auto; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.trust li { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 16px; height: 16px; background: var(--teal); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
.trust { margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 0.86rem; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-s);
}
.chip svg { width: 18px; height: 18px; }
.chip--plain { padding-left: 16px; }

/* ── Device frames (real screenshots) ──────────────────────────────── */
.browser { background: #fff; border-radius: 16px; border: 1px solid rgba(16, 39, 43, 0.12); box-shadow: var(--shadow-l); overflow: hidden; }
.browser-bar { height: 34px; background: linear-gradient(#f6f9f9, #edf3f2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfdcda; }
.browser-bar span { margin-left: 12px; height: 18px; flex: 0 1 280px; border-radius: 9px; background: rgba(16, 39, 43, 0.06); font-size: 0.66rem; line-height: 18px; text-align: center; color: var(--muted); font-weight: 600; overflow: hidden; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; background: var(--paper); }
.phone {
  --w: 260px; width: var(--w); flex: none; padding: 9px; border-radius: calc(var(--w) * 0.17); background: #10272b;
  box-shadow: var(--shadow-l), inset 0 0 0 1.5px #3b5257; position: relative;
}
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 28%; height: 17px; transform: translateX(-50%); background: #10272b; border-radius: 99px; z-index: 2; }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: calc(var(--w) * 0.135); background: var(--paper); }
.stage { position: relative; }
.stage .browser { width: 100%; }
.stage .phone { position: absolute; right: -2%; bottom: -9%; --w: min(25%, 220px); }
.stage--phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 36px); }
.stage--phones .phone:nth-child(2) { margin-bottom: 36px; }
.stage--phones .phone { --w: min(30%, 250px); position: static; }
.caption { font-size: 0.86rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ── Cards, icons, bento ───────────────────────────────────────────── */
.ic { width: 64px; height: 64px; mix-blend-mode: multiply; flex: none; }
.ic--lg { width: 88px; height: 88px; }
.ic--sm { width: 44px; height: 44px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 14px; align-content: start; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-s);
}
a.card { color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); color: inherit; }
.card p { font-size: 0.97rem; line-height: 1.58; }
.section--paper .card { border-color: transparent; }
.grid-3, .grid-4, .grid-2 { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 3; }
.bento .b-full { grid-column: span 6; }
.card--dark { background: linear-gradient(145deg, var(--teal-dd), var(--teal)); color: rgba(255, 255, 255, 0.86); border: 0; box-shadow: var(--shadow-m); }
.card--dark h3, .card--dark h4 { color: #fff; }
.card--dark .ic { background: #fff; border-radius: 20px; padding: 6px; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); background: var(--mint-l); padding: 5px 12px; border-radius: 999px; }
.tag--soon { color: #7a5b00; background: #fbefc8; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-size: 1rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); -webkit-mask: none; }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 12px; height: 12px; background: #fff; -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
.ticks strong { color: var(--ink); }

/* ── Split feature rows ────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split--rev > :first-child { order: 2; }
.split-copy { display: grid; gap: 20px; justify-items: start; }
.split-copy .lead { font-size: 1.12rem; }
.split-media { position: relative; display: flex; justify-content: center; }
.split-media .browser { width: 100%; }
.panel-soft { background: var(--paper-2); border-radius: 36px; padding: clamp(24px, 4vw, 56px); display: flex; justify-content: center; align-items: center; }
.panel-soft--mint { background: linear-gradient(160deg, var(--mint-l), #eef7f6); }

/* ── Scroll story: sticky stage swaps with each step (home) ────────── */
.story { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-steps { display: grid; grid-template-columns: minmax(0, 1fr); }
.story-step { min-height: 68vh; display: grid; align-content: center; gap: 16px; justify-items: start; opacity: 0.38; transition: opacity 0.45s var(--ease); }
.story-step.is-active { opacity: 1; }
.story-step .num { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.12em; color: var(--teal); }
.story-step figure { display: none; margin: 8px 0 0; }
.story-stage { position: sticky; top: calc(var(--nav-h) + 28px); height: calc(100vh - var(--nav-h) - 56px); max-height: 720px; display: grid; place-items: center; }
.story-stage .panel-soft { width: 100%; height: 100%; position: relative; overflow: hidden; padding: 0; }
.story-stage .slide { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; opacity: 0; transform: scale(0.97); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); padding: clamp(20px, 3vw, 44px); }
.story-stage .slide.is-active { opacity: 1; transform: none; }
.story-stage .browser { width: 100%; max-height: 100%; }
.story-stage .slide > .phone { --w: min(300px, 62%); max-height: 100%; }
.story-stage .stage .phone { --w: min(24%, 180px); right: 0; bottom: -6%; }
.story-stage .slide .phone img { max-height: 76vh; }

/* ── Stats / proof band ────────────────────────────────────────────── */
.band { background: linear-gradient(135deg, var(--teal-dd) 0%, var(--teal) 100%); color: rgba(255, 255, 255, 0.82); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -240px; background: radial-gradient(closest-side, rgba(131, 197, 190, 0.35), transparent); }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--mint); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.stat strong { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; color: #fff; font-weight: 800; }
.stat span { display: block; margin-top: 10px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }

/* ── Steps ─────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; align-content: start; position: relative; border: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 8px 20px rgba(0, 109, 119, 0.3); }

/* ── Conversation excerpt (real text, good for SEO and screen readers) ─ */
.chat { display: grid; gap: 10px; padding: 22px; background: #fff; border-radius: 26px; box-shadow: var(--shadow-m); border: 1px solid var(--line); max-width: 460px; width: 100%; }
.chat-head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 0.9rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head svg { width: 22px; height: 22px; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 0.92rem; line-height: 1.45; }
.bubble.in { background: #eef2f2; color: var(--ink); border-bottom-left-radius: 6px; justify-self: start; }
.bubble.out { background: var(--teal); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.bubble.sys { justify-self: center; background: var(--mint-l); color: var(--teal-dd); font-size: 0.8rem; font-weight: 700; border-radius: 99px; padding: 6px 14px; }
.bubble small { display: block; opacity: 0.7; font-size: 0.72rem; margin-top: 2px; }

/* ── Timeline (orders) ─────────────────────────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; counter-reset: t; }
.timeline li { list-style: none; text-align: center; font-size: 0.82rem; font-weight: 700; color: var(--ink); position: relative; padding-top: 44px; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 16px; left: 50%; width: 100%; height: 3px; background: var(--mint); }
.timeline li:last-child::after { display: none; }
.timeline { padding: 0; margin: 0; }

/* ── Case cards ────────────────────────────────────────────────────── */
.case { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); color: inherit; }
.case img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper); }
.case-body { padding: 24px 26px 28px; display: grid; gap: 10px; }
.case-metrics { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.case-metrics strong { display: block; font-size: 1.5rem; color: var(--teal); line-height: 1; letter-spacing: -0.02em; }
.case-metrics span { font-size: 0.78rem; color: var(--muted); }
.quote { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--ink); font-weight: 600; letter-spacing: -0.012em; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 0.9rem; color: var(--muted); font-weight: 600; }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 0 26px; transition: box-shadow 0.25s; }
.faq details[open] { box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--teal), var(--teal)) center/100% 2.5px no-repeat, linear-gradient(var(--teal), var(--teal)) center/2.5px 100% no-repeat; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; display: grid; gap: 12px; font-size: 0.99rem; line-height: 1.65; }
.faq .answer ul, .faq .answer ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* ── CTA + footer ──────────────────────────────────────────────────── */
.cta { background: linear-gradient(135deg, var(--teal-dd) 0%, var(--teal) 55%, #168d94 100%); position: relative; overflow: hidden; text-align: center; color: rgba(255, 255, 255, 0.85); }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(131, 197, 190, 0.32), transparent); }
.cta::before { width: 560px; height: 560px; left: -180px; bottom: -280px; }
.cta::after { width: 480px; height: 480px; right: -120px; top: -220px; }
.cta .wrap { position: relative; display: grid; gap: 24px; justify-items: center; }
.cta h2 { color: #fff; max-width: 780px; }
.cta .lead { color: rgba(255, 255, 255, 0.82); }
.cta small { font-size: 0.86rem; color: rgba(255, 255, 255, 0.7); }
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.66); padding: 72px 0 36px; font-size: 0.93rem; }
.footer a { color: rgba(255, 255, 255, 0.7); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer .nav-logo { color: #fff; margin-bottom: 18px; }
.footer .nav-logo:hover { color: #fff; }
.footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.83rem; }

/* ── Prose (legal pages, guides) ───────────────────────────────────── */
.prose { font-size: 1.04rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { overflow-wrap: anywhere; }
.prose h2 { font-size: 1.75rem; letter-spacing: -0.02em; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.45em; }
.prose li { min-width: 0; }
.prose code { font-size: 0.88em; overflow-wrap: anywhere; background: var(--paper-2); padding: 1px 6px; border-radius: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose th { color: var(--ink); }
.page-head { padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(32px, 5vw, 56px); background: var(--paper); }
.page-head .wrap { display: grid; gap: 18px; }
.lang-switch { display: inline-flex; justify-self: start; padding: 4px; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-s); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.lang-switch a:hover { background: var(--paper-2); color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--teal); color: #fff; }
.crumbs { font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal); }

/* ── Pricing ───────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: grid; gap: 18px; align-content: start; position: relative; box-shadow: var(--shadow-s); }
.plan--hot { background: linear-gradient(160deg, var(--teal-dd), var(--teal)); color: rgba(255, 255, 255, 0.84); border: 0; box-shadow: var(--shadow-l); transform: translateY(-10px); }
.plan--hot h3, .plan--hot .price { color: #fff; }
.plan--hot .ticks li::before { background: var(--mint); }
.plan--hot .ticks li::after { background: var(--teal-dd); }
.plan--hot .ticks strong { color: #fff; }
.plan .price { font-size: 2.9rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.plan .price small { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan--hot .price small { color: rgba(255, 255, 255, 0.7); }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--mint); color: var(--teal-dd); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare thead th { background: var(--paper); color: var(--ink); font-weight: 800; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes::before { content: ""; display: inline-block; width: 20px; height: 20px; background: var(--teal); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
.compare .no { color: #b6c1c3; }

/* ── Reveal on scroll (only when JS is running; never hides content otherwise) ── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Grid and flex children may shrink below their content: a 1440px screenshot must never set a column's width. */
.hero-grid > *, .split > *, .story > *, .story-steps > *, .panel-soft > *, .split-media > *, .stage, .browser, .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.panel-soft > *, .split-media > * { max-width: 100%; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--hot { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .story { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { justify-items: start; }
  .split--rev > :first-child { order: 0; }
  .story-stage { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 28px 0; }
  .story-step figure { display: flex; justify-content: center; width: 100%; }
  .story-step figure .browser { width: 100%; }
  .story-step figure .phone { --w: min(260px, 70%); }
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > *, .bento .b-wide { grid-column: span 1; }
  .bento .b-full { grid-column: span 2; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .timeline li:nth-child(3)::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 20px; }
  .grid-2, .grid-4, .plans, .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > *, .bento .b-wide, .bento .b-full { grid-column: span 1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .stage--phones .phone { --w: 42%; }
  .nav-cta .btn { min-height: 44px; padding: 0 16px; font-size: 0.88rem; }
  .compare th, .compare td { padding: 12px 8px; font-size: 0.82rem; }
  .compare-wrap { overflow-x: auto; }
  .hero-copy .btn-row .btn { flex: 1 1 100%; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li::after { display: none; }
}
/* Touch: every link and button is a 44px target (Apple HIG), including footer and inline arrow links. */
@media (max-width: 900px), (pointer: coarse) {
  .footer ul { gap: 0; }
  .footer li a { display: inline-flex; align-items: center; min-height: 44px; }
  .link-arrow { min-height: 44px; }
}

/* On a phone a 1440px screenshot shrinks to unreadable: show the real mobile screen, large, instead. */
@media (max-width: 700px) {
  .stage { display: flex; justify-content: center; }
  .stage .browser { display: none; }
  .stage .phone { position: static; --w: min(280px, 78%); }
  .story-step figure .phone, .split-media .phone { --w: min(280px, 78%); }
}
@media (max-width: 480px) { .sm-hide { display: none; } .nav .wrap { gap: 10px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .story-step { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .nav-panel, .m-sheet { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
