/* ThePermitBot — marketing site.
   Same design language as the PermitBot CRM landing page (crm.thepermitbot.com,
   Roof-CRM src/components/landing/landing.css): white ground, the PermitBot
   green, Manrope/Heebo, mono figures, 16px cards, pills only for buttons and
   status. The two sites are one product family, so change a token here only
   when it changes there too. */

:root {
    --green: #0e9a63;
    /* Carries white text at 5.4:1. --green is an accent only (3.6:1). */
    --green-dark: #0b7a4e;
    --green-darker: #095f3d;
    --green-soft: #dcf5e9;
    --green-bright: #5fd08b;
    --ink: #181822;
    --muted: #61616f;
    --faint: #8c8c9c;
    --line: #e7e7ee;
    --line-soft: #ededf3;
    --surface: #f7f7fa;
    --dark: #15151e;
    --dark-card: #1c1c24;
    --dark-line: #2a2a36;
    --blue: #4c7eff; --blue-light: #e4ebff; --blue-ink: #2e56c8;
    --orange: #f0b429; --orange-light: #fdf0cd; --orange-ink: #8a6412;
    --purple: #7b5cfa; --purple-light: #ebe5fe; --purple-ink: #5233c4;
    --red: #e5473f;
    --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-card: 16px;
    --sh: 0 1px 2px rgba(20, 20, 30, .04);
    --sh-lg: 0 1px 2px rgba(20, 20, 30, .05), 0 24px 50px -18px rgba(20, 20, 30, .22);
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --font: "Manrope", "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
    margin: 0;
    font-family: var(--font);
    background: #fff;
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html[dir="rtl"] body { font-family: "Heebo", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green-darker); }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 200; }
.skip:focus { inset-inline-start: 8px; }

/* Buttons: pills on the marketing pages, as on the CRM landing page ---- */

.pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; font-weight: 700; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer;
    padding: 13px 26px; font-size: 15.5px;
    transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.pill-sm { padding: 9px 18px; font-size: 14px; }
.pill-green, .pill-green:hover { color: #fff; }
.pill-green { background: var(--green-dark); }
.pill-green:hover { background: var(--green-darker); }
.pill-ghost, .pill-ghost:hover { color: var(--ink); }
.pill-ghost { background: #fff; border-color: var(--line); }
.pill-ghost:hover { border-color: var(--green); }
.pill-white, .pill-white:hover { color: var(--green-dark); }
.pill-white { background: #fff; }
.pill-white:hover { background: #f2f2f6; }

/* Header ---------------------------------------------------------------- */

.hdr {
    position: sticky; top: 0; z-index: 80;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.hdr-row { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-tile { width: 34px; height: 34px; border-radius: 10px; background: var(--green-dark); display: flex; align-items: center; justify-content: center; flex: none; }
.brand b { color: var(--green-dark); font-weight: 800; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--faint); letter-spacing: 0; margin-top: -2px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 14px; font-weight: 600; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { padding: 5px 12px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 12.5px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--green-dark); color: #fff; }
.burger {
    display: none; margin-inline-start: auto; flex-direction: column; gap: 3px; align-items: center; justify-content: center;
    width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.mmenu { display: none; }

/* Type ------------------------------------------------------------------ */

.eyebrow { color: var(--green-dark); font-weight: 800; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }
html[lang="he"] .eyebrow { text-transform: none; letter-spacing: .02em; }
.h1 { font-size: 58px; line-height: 1.06; font-weight: 800; letter-spacing: -.035em; margin: 18px 0 20px; }
.h2 { font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 12px 0 14px; }
html[lang="he"] .h1, html[lang="he"] .h2 { font-weight: 900; letter-spacing: -.01em; }
.accent { color: var(--green-dark); }
.lead { font-size: 19px; color: var(--muted); line-height: 1.6; max-width: 560px; }
.sub { font-size: 17.5px; color: var(--muted); line-height: 1.6; max-width: 640px; }

.sec { padding: 104px 0; position: relative; }
.sec-alt { background: #fbfbfd; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 44px; }

/* Hero ------------------------------------------------------------------ */

.hero { position: relative; overflow: hidden; padding: 100px 0 96px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-1 { width: 520px; height: 520px; background: #dcf5e9; top: -160px; inset-inline-end: -120px; animation: drift 14s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: #e4ebff; bottom: -160px; inset-inline-start: -120px; animation: drift 18s ease-in-out infinite reverse; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; position: relative; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 6px 14px 6px 8px; font-size: 13px; font-weight: 700; color: var(--ink);
    box-shadow: var(--sh);
}
html[dir="rtl"] .badge { padding: 6px 8px 6px 14px; }
.badge i { font-style: normal; background: var(--green-soft); color: var(--green-dark); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 8px; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none; }

/* Hero demo: the project in PermitBot, and the bot filing it ------------- */

.demo { position: relative; }
.win {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
    box-shadow: var(--sh-lg); overflow: hidden;
}
.chrome { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.chrome span { width: 10px; height: 10px; border-radius: 50%; }
.chrome span:nth-child(1) { background: #e5473f; }
.chrome span:nth-child(2) { background: #f0b429; }
.chrome span:nth-child(3) { background: #0e9a63; }
.chrome em { margin: 0 auto; font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: 11.5px; color: var(--muted); font-family: var(--mono); direction: ltr; }

.proj { padding: 18px 20px 20px; }
.proj-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.proj-title { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.proj-meta { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.st-blue { background: var(--blue-light); color: var(--blue-ink); }
.st-orange { background: var(--orange-light); color: var(--orange-ink); }
.st-green { background: var(--green-soft); color: var(--green-dark); }
.st-purple { background: var(--purple-light); color: var(--purple-ink); }
.proj-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 16px 0; }
.pf { font-size: 13px; }
.pf b { display: block; font-size: 10.5px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
html[lang="he"] .pf b { text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.proj-docs { display: flex; gap: 6px; flex-wrap: wrap; }
.doc { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 5px 9px; font-size: 12px; font-weight: 600; background: #fff; }
.doc::before { content: ""; width: 10px; height: 12px; border-radius: 2px; background: var(--red); opacity: .85; }
.proj-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.proj-bar .pstat { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.get-permit {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    background: var(--green-dark); color: #fff; border: 0; border-radius: var(--r-md);
    padding: 10px 16px; font-weight: 800; font-size: 14px; cursor: default; white-space: nowrap;
    transition: transform .15s, background-color .2s;
}
.get-permit::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: 0 0 0 3px rgba(14, 154, 99, .45); animation: ring 2.6s ease-out infinite; pointer-events: none;
}
.get-permit.pressed { transform: scale(.95); background: var(--green-darker); }
.get-permit.done { background: var(--green-soft); color: var(--green-dark); }
.get-permit.done::after { display: none; }

.bot {
    position: relative; margin: -18px 22px 0; z-index: 2;
    margin-inline-start: 56px;
}
.bot-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.bot-av { width: 30px; height: 30px; border-radius: 9px; background: var(--dark); display: flex; align-items: center; justify-content: center; flex: none; }
.bot-name { font-weight: 800; font-size: 13.5px; }
.bot-name small { display: block; font-weight: 600; font-size: 11.5px; color: var(--faint); }
.bot-head .status { margin-inline-start: auto; }
.form-mini { padding: 12px 16px 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.fm label { display: block; font-size: 10.5px; font-weight: 700; color: var(--faint); margin-bottom: 3px; }
.fm div {
    min-height: 30px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 5px 9px;
    font-size: 12.5px; font-weight: 600; background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: border-color .25s, background-color .25s;
}
.fm div.typing { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 154, 99, .12); }
.fm div.filled { background: #fbfbfd; }
.fm-wide { grid-column: 1 / -1; }
.steps-mini { list-style: none; margin: 0; padding: 10px 16px 14px; display: grid; gap: 7px; }
.steps-mini li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: var(--faint); transition: color .25s; }
.steps-mini li .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; transition: all .25s; }
.steps-mini li.on { color: var(--ink); }
.steps-mini li.on .dot { border-color: var(--green); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps-mini li.ok { color: var(--ink); }
.steps-mini li.ok .dot { background: var(--green); border-color: var(--green); animation: none; }
.steps-mini li.ok .dot::before { content: "✓"; }
.receipt {
    display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 10px 12px;
    background: var(--green-soft); color: var(--green-dark); border-radius: var(--r-lg);
    font-size: 12.5px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.receipt.show { opacity: 1; transform: none; }
.receipt .num { margin-inline-start: auto; font-size: 12px; white-space: nowrap; }

.cursor {
    position: absolute; z-index: 5; width: 22px; height: 22px; pointer-events: none;
    transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .3s; opacity: 0;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
}

/* Characters, as on the CRM landing page -------------------------------- */

.guide { display: flex; align-items: flex-end; gap: 12px; max-width: 380px; flex: none; }
.guide-fig { width: 104px; flex: none; border-radius: 50%; background: radial-gradient(circle at 50% 60%, #dcf5e9 0 58%, transparent 59%); }
.guide-fig svg, .dancer svg, .team-fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.bubble {
    position: relative; margin-bottom: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 10px 14px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 12px 28px -16px rgba(20, 20, 30, .3);
}
.bubble b { display: block; font-size: 13px; color: var(--green-dark); }
.guide-dark .guide-fig { background: radial-gradient(circle at 50% 60%, rgba(95, 208, 139, .18) 0 58%, transparent 59%); }
.guide-dark .bubble { background: #22222e; border-color: #34344a; color: #e9e9f1; }
.guide-dark .bubble b { color: var(--green-bright); }

/* Cast animation (Roof-CRM src/components/cast/cast.css) */
.cast-body { transform-origin: 150px 250px; transform-box: view-box; animation: cast-bob 2.6s ease-in-out infinite; }
.cast-eyes { transform-origin: 150px 82px; transform-box: view-box; animation: cast-blink 3.4s infinite; }
.cast-arm { transform-box: view-box; transition: transform .3s ease; }
.cast-arm-l { transform-origin: 90px 162px; }
.cast-arm-r { transform-origin: 210px 162px; }
.cast-wave:hover .cast-arm-r { transform: rotate(-150deg); }
.cast-dance .cast-body { animation: cast-sway .9s ease-in-out infinite; }
.cast-dance .cast-arm-l { animation: cast-pump-l .9s ease-in-out infinite; }
.cast-dance .cast-arm-r { animation: cast-pump-r .9s ease-in-out infinite; }
@keyframes cast-sway { 0%, 100% { transform: translateY(0) rotate(-6deg); } 25% { transform: translateY(-12px) rotate(0); } 50% { transform: translateY(0) rotate(6deg); } 75% { transform: translateY(-12px) rotate(0); } }
@keyframes cast-pump-l { 0%, 100% { transform: rotate(150deg); } 50% { transform: rotate(40deg); } }
@keyframes cast-pump-r { 0%, 100% { transform: rotate(-40deg); } 50% { transform: rotate(-150deg); } }
@keyframes cast-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes cast-blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }

/* Problem cards --------------------------------------------------------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px;
    box-shadow: var(--sh); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--green); box-shadow: 0 14px 34px rgba(14, 154, 99, .1); transform: translateY(-2px); }
.card h3 { font-size: 18px; font-weight: 800; margin: 16px 0 8px; letter-spacing: -.01em; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.chip-num { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: var(--r-md); background: var(--green-soft); color: var(--green-dark); font-family: var(--mono); font-size: 18px; font-weight: 600; }
.chip-num.warn { background: var(--orange-light); color: var(--orange-ink); }
.pain-fig { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; }
.pain-fig strong { color: var(--ink); font-weight: 600; }

/* Steps ----------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; }
.step-n { width: 48px; height: 48px; border-radius: 14px; background: var(--dark); color: #fff; font-family: var(--mono); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.step:nth-child(3) .step-n { background: var(--green-dark); }
.step h3 { font-size: 20px; font-weight: 800; margin: 18px 0 8px; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.step-line { position: absolute; top: 24px; inset-inline-start: 64px; inset-inline-end: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step:last-child .step-line { display: none; }

/* PermitBot app mock (dark rail, like the CRM itself) -------------------- */

.app-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.bullets { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.bullets li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.bullets li b { display: block; }
.bullets li span { color: var(--muted); font-size: 15px; }
.app { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; direction: ltr; }
.app[dir="rtl"] { direction: rtl; }
.rail { background: var(--dark); padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.rail-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 13px; padding: 2px 6px 14px; }
.rail-sec { font-size: 9.5px; font-weight: 700; color: #8f8fa1; text-transform: uppercase; letter-spacing: .08em; padding: 10px 8px 4px; }
.rail a { display: block; padding: 6px 8px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; color: #c3c3d0; }
.rail a.on { background: #2a2a36; color: #fff; }
.app-main { background: var(--surface); padding: 16px; display: grid; gap: 12px; align-content: start; }
.app-crumb { font-size: 11.5px; color: var(--faint); }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.app-card h4 { margin: 0 0 10px; font-size: 13px; font-weight: 800; }
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.phase { border-radius: var(--r-sm); padding: 6px 7px; font-size: 10.5px; font-weight: 700; background: var(--surface); color: var(--faint); border-top: 3px solid var(--line); }
.phase.done { background: var(--green-soft); color: var(--green-dark); border-top-color: var(--green); }
.phase.now { background: var(--blue-light); color: var(--blue-ink); border-top-color: var(--blue); }
.permit-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 12.5px; }
.permit-row:first-of-type { border-top: 0; }
.permit-row .num { font-size: 12px; color: var(--muted); }
.toast {
    display: flex; align-items: center; gap: 10px; background: var(--dark); color: #fff; border-radius: var(--r-lg);
    padding: 10px 12px; font-size: 12.5px; font-weight: 600; box-shadow: var(--sh-lg);
}
.toast .bot-av { width: 26px; height: 26px; border-radius: 8px; background: var(--green-dark); }
.toast small { display: block; color: #a5a5b8; font-weight: 500; font-size: 11px; }

/* Bot capabilities ------------------------------------------------------ */

.feat h3 { margin-top: 18px; }

/* Pilot ------------------------------------------------------------------ */

.pilot {
    background: var(--dark); color: #fff; border-radius: 24px; padding: 56px; position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.pilot::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(14, 154, 99, .35); filter: blur(80px); top: -260px; inset-inline-start: -160px; pointer-events: none; }
.pilot > * { position: relative; }
.pilot .eyebrow { color: var(--green-bright); }
.pilot .h2 { color: #fff; }
.pilot .sub { color: #b9b9c8; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: #e9e9f1; }
.perks .tick { background: rgba(95, 208, 139, .16); color: var(--green-bright); margin-top: 2px; }
.pilot-alt { margin-top: 26px; font-size: 14.5px; color: #b9b9c8; }
.pilot-alt a { color: var(--green-bright); font-weight: 700; }
.form { background: #fff; color: var(--ink); border-radius: var(--r-card); padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form h3 { grid-column: 1 / -1; font-size: 18px; font-weight: 800; }
.form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.form .wide { grid-column: 1 / -1; }
.form input, .form textarea {
    width: 100%; border: 1px solid var(--line); border-radius: var(--r-md); padding: 11px 12px; font-size: 15px; font-weight: 500; background: #fff;
    transition: border-color .15s, box-shadow .15s; outline: none;
}
.form input:focus, .form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 154, 99, .15); }
.form textarea { resize: vertical; min-height: 84px; }
.form .pill { grid-column: 1 / -1; border-radius: var(--r-md); }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.form-msg { grid-column: 1 / -1; font-size: 14px; font-weight: 700; border-radius: var(--r-md); padding: 10px 12px; display: none; }
.form-msg.ok { display: block; background: var(--green-soft); color: var(--green-dark); }
.form-msg.err { display: block; background: #fbe1df; color: #b22f28; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ -------------------------------------------------------------------- */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: var(--green); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--green-dark); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15.5px; }

/* Party + footer ---------------------------------------------------------- */

.party { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 40px; padding-bottom: 14px; }
.party::before { content: ""; position: absolute; bottom: 6px; left: 50%; width: min(620px, 90%); height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 154, 99, .22), transparent); }
.dancer { position: relative; width: 120px; }
.dancer:nth-child(2) .cast-body, .dancer:nth-child(2) .cast-arm { animation-delay: -.45s; }
.dancer:nth-child(3) .cast-body, .dancer:nth-child(3) .cast-arm { animation-delay: -.2s; }
.dancer:nth-child(4) .cast-body, .dancer:nth-child(4) .cast-arm { animation-delay: -.65s; }
.party-line { text-align: center; font-weight: 800; font-size: 22px; letter-spacing: -.01em; margin-top: 64px; }
.party-line span { color: var(--green-dark); }

.ftr { border-top: 1px solid var(--line-soft); padding: 40px 0; }
.ftr-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ftr p { font-size: 13.5px; color: var(--faint); }
.ftr nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.ftr nav a { color: var(--muted); }
.ftr nav a:hover { color: var(--ink); }

/* The bot: six arms, each on its own beat -------------------------------- */

.bot-arm { transform-box: view-box; }
.bot-busy .bot-arm { animation: bot-work-l 1.8s ease-in-out infinite; }
.bot-busy .bot-arm-4, .bot-busy .bot-arm-5, .bot-busy .bot-arm-6 { animation-name: bot-work-r; }
.bot-busy .bot-arm-2 { animation-delay: -.3s; }
.bot-busy .bot-arm-3 { animation-delay: -.6s; }
.bot-busy .bot-arm-4 { animation-delay: -.9s; }
.bot-busy .bot-arm-5 { animation-delay: -1.2s; }
.bot-busy .bot-arm-6 { animation-delay: -1.5s; }
.bot-light { transform-box: fill-box; transform-origin: center; animation: bot-pulse 1.6s ease-in-out infinite; }
.bot-led { animation: bot-blink 1.2s steps(1) infinite; }
.bot-led-2 { animation-delay: .4s; }
.bot-led-3 { animation-delay: .8s; }
@keyframes bot-work-l { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-12deg); } }
@keyframes bot-work-r { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(12deg); } }
@keyframes bot-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .6; } }
@keyframes bot-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .25; } }
.cast-dance .bot-arm { animation: bot-work-l .45s ease-in-out infinite; }
.cast-dance .bot-arm-4, .cast-dance .bot-arm-5, .cast-dance .bot-arm-6 { animation-name: bot-work-r; }
.cast-dance .bot-arm-2, .cast-dance .bot-arm-5 { animation-delay: -.15s; }
.cast-dance .bot-arm-3, .cast-dance .bot-arm-6 { animation-delay: -.3s; }
[data-robot] svg { display: block; width: 100%; height: auto; overflow: visible; }

.hero-bot { position: absolute; z-index: 4; width: 170px; top: -96px; right: -34px; pointer-events: none; }
html[dir="rtl"] .hero-bot { right: auto; left: -34px; }

/* Status ticker under the hero ------------------------------------------- */

.ticker { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fff; padding: 14px 0; direction: ltr; }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.tk { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 13.5px; white-space: nowrap; background: #fff; }
html[dir="rtl"] .tk { direction: rtl; padding: 6px 6px 6px 14px; }
.tk b { font-weight: 700; }
.tk i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.tk i.ok { background: var(--green-soft); color: var(--green-dark); }
.tk i.go { background: var(--blue-light); color: var(--blue-ink); }
.tk i.warn { background: var(--orange-light); color: var(--orange-ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Problem cards: a small moving picture of each pain ---------------------- */

.mini { height: 64px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 0 14px; margin-bottom: 4px; overflow: hidden; }
.mini-field { flex: 1; min-width: 0; height: 32px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-md); display: flex; align-items: center; padding: 0 10px; font-size: 13px; font-weight: 600; }
.mini-type { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--green); width: 22ch; animation: type-loop 4s steps(22) infinite; }
@keyframes type-loop { 0% { width: 0; } 55%, 85% { width: 22ch; } 100% { width: 0; } }
.mini-again { font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--orange-ink); background: var(--orange-light); border-radius: 999px; padding: 3px 9px; }
.mini-doc { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mini-doc::before { content: ""; width: 9px; height: 11px; border-radius: 2px; background: var(--green); }
.mini-doc.missing { border: 1.5px dashed var(--red); color: #b22f28; background: #fdf1f0; animation: shake 2.4s ease-in-out infinite; }
.mini-doc.missing::before { background: var(--red); opacity: .35; }
@keyframes shake { 0%, 70%, 100% { transform: translateX(0); } 74% { transform: translateX(-4px); } 78% { transform: translateX(4px); } 82% { transform: translateX(-3px); } 86% { transform: translateX(3px); } }
.mini-refresh { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; color: var(--muted); animation: spin 1.6s linear infinite; }
.mini-days { margin-inline-start: auto; font-size: 12.5px; color: var(--faint); }

/* Steps: the dashed line fills in as the section arrives ------------------ */

.step-line i { position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .4s; }
html[dir="rtl"] .step-line i { transform-origin: right; }
.steps.in .step-line i { transform: scaleX(1); }
.step:nth-child(2) .step-line i { transition-delay: 1.2s; }
.steps.in .step-n { animation: pop .5s cubic-bezier(.2, .8, .2, 1.4) both; }
.steps.in .step:nth-child(2) .step-n { animation-delay: 1s; }
.steps.in .step:nth-child(3) .step-n { animation-delay: 1.8s; }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* Meet the bot (dark, like the CRM landing's field section) --------------- */

.sec-dark { background: var(--dark); color: #fff; overflow: hidden; }
.sec-dark::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: rgba(14, 154, 99, .22); filter: blur(90px); left: 50%; top: 45%; transform: translate(-50%, -50%); pointer-events: none; }
.sec-dark .shell { position: relative; }
.sec-dark .eyebrow, .sec-dark .accent { color: var(--green-bright); }
.sec-dark .sub { color: #b9b9c8; }
.meet-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.meet-head .sub { margin: 0 auto; }
.meet { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 28px; align-items: center; }
.meet-bot { width: 300px; border-radius: 50%; background: radial-gradient(circle at 50% 58%, rgba(95, 208, 139, .2) 0 56%, transparent 57%); }
.arms { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.arm { display: flex; gap: 14px; align-items: flex-start; background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: var(--r-card); padding: 18px; transition: border-color .2s, transform .2s; }
.arm:hover { border-color: var(--green); transform: translateY(-2px); }
.arm h3 { font-size: 16.5px; font-weight: 800; margin: 0 0 4px; }
.arm p { font-size: 14px; color: #a5a5b8; line-height: 1.55; }
.arm-ic { width: 42px; height: 42px; flex: none; border-radius: var(--r-md); background: #22222e; display: flex; align-items: center; justify-content: center; }
.arm-ic::before { content: ""; display: block; }
.ic-doc::before { width: 16px; height: 20px; border-radius: 2px; background: #fff; box-shadow: inset 0 4px 0 -1px #fff, inset 0 -12px 0 -9px #c3c3d0; border-top: 3px solid var(--green-bright); }
.ic-folder::before { width: 22px; height: 16px; border-radius: 3px; background: var(--orange); box-shadow: -4px -4px 0 -2px var(--orange); }
.ic-lens::before { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: 6px 6px 0 -4px #fff; }
.ic-laptop::before { width: 22px; height: 14px; border-radius: 2px; background: var(--blue); border: 2px solid #15151e; box-shadow: 0 5px 0 -1px #8a93a3; }
.ic-check { background: var(--green); }
.ic-check::before { width: 12px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.ic-stamp::before { width: 18px; height: 20px; background: linear-gradient(#e5473f 0 60%, transparent 60% 70%, #b22f28 70%); border-radius: 4px; }

/* Pilot robot, waving from the corner ------------------------------------- */

.pilot-bot { width: 150px; margin-top: 18px; }

/* Footer extras ----------------------------------------------------------- */

.ftr-small { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.ftr-small a { color: var(--muted); }
.ftr .rm { white-space: nowrap; }
.ftr .rm-mark { display: inline-block; width: 16px; height: 15px; vertical-align: -2px; margin-inline-end: 6px; }

/* Legal pages ------------------------------------------------------------- */

.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; margin: 10px 0 8px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 21px; font-weight: 800; margin: 36px 0 10px; letter-spacing: -.01em; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #33333f; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-inline-start: 22px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal .note { background: var(--green-soft); color: var(--green-darker); border-radius: var(--r-lg); padding: 14px 16px; font-size: 15px; margin: 18px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; }
.legal th, .legal td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.legal address { font-style: normal; line-height: 1.7; }
.back { font-weight: 700; font-size: 14px; }

/* WhatsApp phone in the hero ---------------------------------------------- */

.phone-wrap { position: relative; width: 340px; max-width: 100%; margin: 0 auto; }
.phone {
    position: relative; background: #15151e; border-radius: 44px; padding: 12px; box-shadow: var(--sh-lg), 0 40px 80px -30px rgba(14, 154, 99, .35);
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #15151e; border-radius: 0 0 16px 16px; z-index: 3; }
.wa-head { display: flex; align-items: center; gap: 10px; background: #0b7a4e; color: #fff; padding: 34px 14px 12px; border-radius: 32px 32px 0 0; }
.wa-back { font-size: 26px; line-height: 1; opacity: .9; }
html[dir="rtl"] .wa-back { transform: scaleX(-1); }
.wa-av { width: 36px; height: 36px; border-radius: 50%; background: #0e9a63; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.wa-who b { display: block; font-size: 15px; }
.wa-who small { font-size: 12px; opacity: .8; }
.wa-body {
    height: 470px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 12px 10px;
    background-color: #efe7dd;
    background-image: radial-gradient(rgba(0,0,0,.035) 1.2px, transparent 1.3px);
    background-size: 14px 14px;
}
.wa-input { display: flex; align-items: center; gap: 8px; background: #efe7dd; padding: 8px 10px 14px; border-radius: 0 0 32px 32px; }
.wa-input span { flex: 1; background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 13px; color: var(--faint); }
.wa-input i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; background: #0b7a4e; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
html[dir="rtl"] .wa-input i { transform: scaleX(-1); }
.msg {
    max-width: 82%; padding: 7px 10px 5px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: #111b21;
    flex-shrink: 0; white-space: pre-line; box-shadow: 0 1px .5px rgba(0,0,0,.13); animation: msg-in .35s cubic-bezier(.2,.8,.2,1) both; position: relative;
}
.msg.me { align-self: flex-end; background: #d9fdd3; border-start-end-radius: 2px; }
.msg.bot { align-self: flex-start; background: #fff; border-start-start-radius: 2px; }
.msg time { display: block; text-align: end; font-size: 10.5px; color: #667781; margin-top: 2px; font-family: var(--mono); }
.msg.me time::after { content: " ✓✓"; color: #53bdeb; font-family: var(--font); }
.msg.typing { padding: 10px 14px; }
.msg.typing i { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: #8696a0; animation: typing 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
.msg-card { background: #f5f6f6; border-radius: 8px; padding: 8px 10px; margin: 4px 0 2px; display: grid; gap: 3px; font-size: 12.5px; }
.msg-card b { font-size: 12.5px; color: var(--green-dark); }
.msg-card div { display: flex; justify-content: space-between; gap: 10px; }
.msg-card span:first-child { color: #667781; }
.msg-card .miss { color: #b22f28; font-weight: 700; }
.msg-card .ok { color: var(--green-dark); font-weight: 700; }
.msg-file { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.05); border-radius: 8px; padding: 8px; font-weight: 700; font-size: 12.5px; direction: ltr; }
.msg-file::before { content: "PDF"; font-size: 9.5px; font-weight: 800; color: #fff; background: var(--red); border-radius: 4px; padding: 4px 5px; }
.msg-btn { display: block; text-align: center; color: #0b7a4e; font-weight: 700; border-top: 1px solid #e9edef; margin: 7px -10px 0; padding: 8px 0 3px; }
.float-chip {
    position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 14px 7px 8px; font-size: 13px; font-weight: 700; box-shadow: var(--sh-lg); animation: floaty 7s ease-in-out infinite; white-space: nowrap; z-index: 5;
}
html[dir="rtl"] .float-chip { padding: 7px 8px 7px 14px; }
.fc-1 { bottom: 120px; inset-inline-start: -70px; }
.fc-2 { top: 150px; inset-inline-end: -60px; animation-delay: -3s; }
.wa-dot { width: 22px; height: 22px; border-radius: 50%; background: #25d366; box-shadow: inset 0 0 0 6px #25d366, inset 0 0 0 9px #fff; }
.phone-wrap .hero-bot { top: -84px; right: -60px; width: 150px; }
html[dir="rtl"] .phone-wrap .hero-bot { right: auto; left: -60px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Three ways in ------------------------------------------------------------ */

.way { display: block; color: var(--ink); }
.way:hover { color: var(--ink); }
.way-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.way-wa { background: #0e9a63; }
.way-pb { background: var(--green-dark); }
.way-api { background: var(--dark); color: var(--green-bright); font-family: var(--mono); font-weight: 600; font-size: 17px; }
.way-more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--green-dark); }

/* API ---------------------------------------------------------------------- */

.crm-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.crm-pills span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.crm-pills span:last-child { border-style: dashed; color: var(--green-dark); border-color: var(--green); }
.api-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.code { background: #15151e; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-lg); }
.chrome-dark { background: #1c1c24; border-bottom-color: #2a2a36; }
.chrome-dark em { background: #22222e; border-color: #2a2a36; color: #a5a5b8; }
.code pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #e9e9f1; }
.c-m { color: #5fd08b; font-weight: 600; }
.c-p { color: #fff; }
.c-k { color: #93b0ff; }
.c-s { color: #f0c987; }
.c-n { color: #bba8ff; }
.c-ok { color: #5fd08b; font-weight: 600; }
.c-hook { color: #93b0ff; font-weight: 600; }
.c-warn { color: #f0b429; font-weight: 600; }
.js .code .ln { opacity: 0; }
.code.in .ln { animation: rise .5s ease both; }
.code.in .l1 { animation-delay: .9s; }
.code.in .l2 { animation-delay: 2s; }
.code.in .l3 { animation-delay: 2.9s; }
.code.in .l4 { animation-delay: 3.8s; }
.code.in .l5 { animation-delay: 4.7s; }

/* Motion ------------------------------------------------------------------ */

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(30px, -20px, 0) scale(1.08); } }
@keyframes ring { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hidden until observed. Without JS (no .js on <html>) everything shows. */
.js .reveal { opacity: 0; }
.js .reveal.in { animation: rise .75s cubic-bezier(.2, .8, .2, 1) both; }
.floaty { animation: floaty 7s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; }
    .js .code .ln { opacity: 1; }
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1060px) {
    .nav { display: none; }
    .h1 { font-size: 48px; }
}

@media (max-width: 900px) {
    .hdr-actions { display: none; }
    .burger { display: flex; }
    .mmenu.open { display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-top: 1px solid var(--line-soft); background: rgba(255, 255, 255, .98); }
    .mmenu a:not(.pill) { padding: 12px 0; font-size: 16px; font-weight: 600; color: var(--ink); }
    .mmenu .lang { align-self: flex-start; margin: 8px 0 12px; }
    .mmenu .pill { margin-top: 6px; }
    .hero { padding: 40px 0 64px; }
    .hero-grid, .app-split, .pilot { grid-template-columns: 1fr; gap: 40px; }
    .grid-3, .steps { grid-template-columns: 1fr; }
    .step-line { display: none; }
    .sec { padding: 72px 0; }
    .sec-head { flex-direction: column; margin-bottom: 32px; }
    .h1 { font-size: 40px; }
    .h2 { font-size: 30px; }
    .lead { font-size: 17px; }
    .pilot { padding: 36px 22px; border-radius: 20px; }
    .meet { grid-template-columns: 1fr; }
    .meet-bot { width: 220px; margin: 0 auto; order: -1; }
    .hero-bot, html[dir="rtl"] .hero-bot { width: 104px; top: -92px; right: 4px; left: auto; }
    .demo { margin-top: 84px; }
    .pilot-bot { display: none; }
    .phone-wrap { width: 300px; }
    .wa-body { height: 430px; }
    .fc-1 { inset-inline-start: -14px; bottom: 90px; }
    .fc-2 { display: none; }
    .phone-wrap .hero-bot, html[dir="rtl"] .phone-wrap .hero-bot { width: 104px; top: -80px; right: -14px; left: auto; }
    .phone-wrap { margin-top: 70px; }
    .legal h1 { font-size: 32px; }
    .party { gap: 6px; }
    .dancer { width: 78px; }
}

@media (max-width: 560px) {
    .h1 { font-size: 34px; }
    .bot { margin-inline-start: 18px; margin-inline-end: 8px; }
    .form { grid-template-columns: 1fr; padding: 20px; }
    .form-mini { grid-template-columns: 1fr 1fr; }
    .app { grid-template-columns: 1fr; }
    .rail { display: none; }
    .phases { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .phase { font-size: 9.5px; padding: 5px 4px; }
    .guide-fig { width: 84px; }
}

.toast { transition: opacity .3s, transform .3s; }
.toast.swap { opacity: 0; transform: translateY(6px); }
.dancer-bot { width: 150px; }
@media (max-width: 900px) { .dancer-bot { width: 96px; } }

/* Header link to the PermitBot CRM, set apart from the in-page sections */
.nav .nav-crm { color: var(--green-dark); font-weight: 700; padding-inline-start: 18px; border-inline-start: 1px solid var(--line); }
.nav .nav-crm:hover { color: var(--green-darker); }
.mmenu a.nav-crm { color: var(--green-dark); font-weight: 700; }

/* Sign in beside the Sign up pill; the pilot section's "start now" line. */
.hdr-signin { font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; }
.hdr-signin:hover { color: var(--green-dark); }
.pilot-now { margin: 22px 0 0; font-weight: 600; color: #fff; }
.pilot-now a { color: var(--green-bright); font-weight: 700; }
