/* CustoCare AI website. Clean, light and airy: white and soft glass surfaces, the brand gradient
 * (#00F2E7 -> #2577F9 -> #F500E4) as light accents, never dark panels. Homepage first, then the demo page, the legal
 * pages, consent and the region switcher. Motion is gentle and stops under prefers-reduced-motion. */
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0d1330;
  --text: #3a4062;
  --muted: #646b8c;
  --faint: #959bb8;
  --line: #e8ebf4;
  --line-2: #dce1ee;
  --bg: #ffffff;
  --soft: #f6f8fc;
  --brand-cyan: #00f2e7;
  --brand-blue: #2577f9;
  --brand-pink: #f500e4;
  --blue: #1f6ae8;
  --blue-ink: #1554c4;
  --blue-soft: #eef4ff;
  --green: #0e9f6e;
  --cyan: #00b8b0;
  --violet: #7c3aed;
  --magenta: #d400c6;
  --orange: #f97316;
  --amber: #f5a524;
  --pink: #ec4899;
  /* the brand gradient: as a light accent (lines, chips) and, deeper, for text and buttons that need contrast */
  --grad: linear-gradient(100deg, #00f2e7 0%, #2577f9 50%, #f500e4 100%);
  --grad-text: linear-gradient(100deg, #00b5c9 0%, #2577f9 45%, #d600c8 100%);
  --grad-btn: linear-gradient(100deg, #1f6ae8 0%, #6b3cf0 55%, #c400c0 100%);
  --glass: rgba(255,255,255,.72);
  --glass-line: rgba(255,255,255,.9);
  --shadow-1: 0 1px 2px rgba(13,19,48,.04), 0 10px 30px -14px rgba(13,19,48,.16);
  --shadow-2: 0 1px 2px rgba(13,19,48,.04), 0 30px 70px -30px rgba(37,119,249,.35);
  --radius: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --sec: clamp(72px, 8vw, 120px); /* the vertical rhythm between homepage sections */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.04em; }
h3 { font-size: 1.12rem; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0; }
.wrap { width: min(1400px, 100% - 2 * clamp(20px, 5vw, 88px)); margin-inline: auto; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 620px; margin-top: 18px; }
.head { max-width: 700px; margin-bottom: 52px; }
.head.center { text-align: center; margin-inline: auto; }
.head.center .lead { margin-inline: auto; }
section { padding: 104px 0; }
.soft { background: linear-gradient(180deg, #f7f9fd, #f4f6fc); }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.text-link { color: var(--blue); font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-size: .97rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-grad, .btn-blue { background: var(--grad-btn); color: #fff; box-shadow: 0 1px 2px rgba(31,106,232,.3), 0 10px 24px -10px rgba(107,60,240,.55); }
.btn-grad:hover, .btn-blue:hover { box-shadow: 0 1px 2px rgba(31,106,232,.3), 0 16px 32px -12px rgba(196,0,192,.55); transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-line { background: rgba(255,255,255,.85); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: #b9c7e6; background: #fff; box-shadow: var(--shadow-1); }
.btn-text { background: none; color: var(--ink); padding-inline: 12px; }
.btn-text:hover { color: var(--blue); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .9rem; }
.btn:active { transform: translateY(1px); }

/* ---- header ---- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(13,19,48,.3); }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { flex: none; }
.logo img { height: 24px; width: auto; }
.links { display: flex; gap: 2px; }
.links a { padding: 8px 13px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--text); white-space: nowrap; transition: color .2s, background .2s; }
.links a:hover { color: var(--ink); background: var(--soft); }
.actions { display: flex; align-items: center; gap: 6px; }
.signin { position: relative; }
.signin > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: .93rem; font-weight: 500; color: var(--text); cursor: pointer; }
.signin > button:hover { background: var(--soft); color: var(--ink); }
.signin > button svg { width: 14px; height: 14px; transition: transform .2s; }
.signin.open > button svg { transform: rotate(180deg); }
.menu { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; padding: 6px; border-radius: 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 24px 50px -18px rgba(13,19,48,.25); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .18s var(--ease); }
.signin.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.menu a small { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.menu a:hover { background: var(--soft); }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; flex: none; }
.burger span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---- the aurora: soft brand-coloured light behind the hero and the closing call to action ---- */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: -12%; top: -18%; background: radial-gradient(circle, rgba(0,242,231,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 42vw; height: 42vw; max-width: 560px; max-height: 560px; right: -8%; top: -12%; background: radial-gradient(circle, rgba(245,0,228,.32), transparent 65%); animation-delay: -7s; }
.aurora i:nth-child(3) { width: 50vw; height: 50vw; max-width: 680px; max-height: 680px; left: 30%; bottom: -40%; background: radial-gradient(circle, rgba(37,119,249,.38), transparent 65%); animation-delay: -14s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(4%,6%,0) scale(1.08); } }

/* ---- hero: wide editorial layout, text left, a photo collage with the live call on the right ---- */
.hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 128px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .aurora { z-index: 0; }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(37,119,249,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(37,119,249,.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 70% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 70% 40%, #000, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 3.6vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 3.9vw, 3.9rem); }
.hero h1 > span { display: block; }
@media (min-width: 1181px) { .hero h1 > span { white-space: nowrap; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 28px; backdrop-filter: blur(10px); }
.pill b { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(37,119,249,.1); }
.hero .lead { font-size: clamp(1.08rem, 1.3vw, 1.25rem); max-width: 560px; margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 38px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 1.02rem; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 30px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 16px; height: 16px; color: var(--cyan); }
.hero-demo { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.hero-demo a { color: var(--blue); font-weight: 600; }

/* the hero's visual: the photo and the live call side by side (nothing is laid over the photo) */
.hero-vis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 310px); gap: clamp(16px, 1.8vw, 24px); align-items: center; }
.hv-main { position: relative; aspect-ratio: 4 / 5; border-radius: 40px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(37,119,249,.5), 0 2px 6px rgba(13,19,48,.06); }
.hv-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0,242,231,.10), transparent 40%, transparent 70%, rgba(245,0,228,.12)); pointer-events: none; }
.hv-main img { width: 100%; height: 100%; object-fit: cover; }
.hv-call { display: grid; gap: 14px; min-width: 0; }
.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 1px 2px rgba(13,19,48,.05), 0 40px 80px -32px rgba(13,19,48,.35); }
.convo { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.hero-vis .convo { background: rgba(255,255,255,.8); }
.convo-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(13,19,48,.06); }
.ava { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.convo-head strong { display: block; font-size: .93rem; color: var(--ink); font-weight: 600; }
.convo-head small { font-size: .76rem; color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 36px; border-bottom: 1px solid rgba(13,19,48,.06); background: linear-gradient(90deg, rgba(0,242,231,.08), rgba(37,119,249,.08), rgba(245,0,228,.08)); }
.wave i { width: 3px; border-radius: 3px; background: linear-gradient(180deg, #00d6cd, #2577f9, #f500e4); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 20px; } }
.msgs { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 340px; }
.m { max-width: 88%; padding: 8px 12px; border-radius: 14px; font-size: .82rem; line-height: 1.48; }
.m.ai { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.m.me { align-self: flex-end; background: var(--grad-btn); color: #fff; border-bottom-right-radius: 4px; }
.event { align-self: center; font-size: .74rem; font-weight: 600; color: var(--green); background: #ecfdf5; border: 1px solid #c7f0de; border-radius: 999px; padding: 4px 12px; }
.js .msgs > * { opacity: 0; transform: translateY(6px); animation: pop .45s var(--ease) forwards; }
.js .msgs > *:nth-child(1) { animation-delay: .4s; }
.js .msgs > *:nth-child(2) { animation-delay: 1.4s; }
.js .msgs > *:nth-child(3) { animation-delay: 2.4s; }
.js .msgs > *:nth-child(4) { animation-delay: 3.4s; }
.js .msgs > *:nth-child(5) { animation-delay: 4.1s; }
.js .msgs > *:nth-child(6) { animation-delay: 4.8s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.convo-foot { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid rgba(13,19,48,.06); }
.convo-foot span { font-size: .72rem; font-weight: 500; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

.float-chip { position: relative; z-index: 1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 18px; background: rgba(255,255,255,.9); border: 1px solid var(--glass-line); box-shadow: 0 18px 40px -18px rgba(13,19,48,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .84rem; font-weight: 600; color: var(--ink); animation: float 6s ease-in-out infinite; white-space: nowrap; }
.float-chip i { width: 20px; height: 20px; border-radius: 50%; background: #0e9f6e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 13.2 4.8 10l-1.1 1.1L8 15.4l9-9-1.1-1.1z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat; flex: none; }
.float-chip b { font-size: 1.05rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip-b { justify-self: end; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---- marquee of channels and payments ---- */
.strip { position: relative; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.75); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-in { display: flex; flex: none; align-items: center; gap: 12px 30px; padding-right: 30px; font-size: .95rem; font-weight: 500; white-space: nowrap; }
.strip-in b { color: var(--ink); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding-left: 14px; }
.strip-in span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.strip-in span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--blue)); }
.strip-in span:nth-of-type(3n+1) { --c: #00d6cd; } .strip-in span:nth-of-type(3n+2) { --c: #2577f9; } .strip-in span:nth-of-type(3n) { --c: #f500e4; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- shared section heads ---- */
.split-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 120px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.split-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); max-width: 16ch; }
.split-head .lead { margin: 0 0 6px; }

/* ---- outcomes: sticky head on the left, four big numbers on the right ---- */
.outcomes { padding: var(--sec) 0; }
.out-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.out-head { position: sticky; top: 110px; }
.out-head h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.out-head .btn { margin-top: 34px; }
.outs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.out { position: relative; padding: 36px 32px 34px; border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(246,248,253,.9)); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s; }
.out::before { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -18%; top: -30%; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); }
.out:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.out:nth-child(1) { --g: linear-gradient(100deg, #00b5c9, #2577f9); --glow: rgba(0,242,231,.22); }
.out:nth-child(2) { --g: linear-gradient(100deg, #2577f9, #7c3aed); --glow: rgba(37,119,249,.2); margin-top: 48px; }
.out:nth-child(3) { --g: linear-gradient(100deg, #7c3aed, #d600c8); --glow: rgba(245,0,228,.16); }
.out:nth-child(4) { --g: linear-gradient(100deg, #d600c8, #f97316); --glow: rgba(249,115,22,.16); margin-top: 48px; }
.out-big { display: block; font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 22px; }
.out h3 { font-size: 1.2rem; margin-bottom: 8px; }
.out p { font-size: .96rem; color: var(--muted); }

/* ---- products: one wide row each, photo and text alternating ---- */
.products-sec { padding: var(--sec) 0; background: linear-gradient(180deg, #fff, #f6f8fd 30%, #f6f8fd 70%, #fff); }
.prow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 112px); align-items: center; }
.prow + .prow { margin-top: clamp(80px, 10vw, 150px); }
.prow.flip .prow-media { order: 2; }
.p-resto { --accent: linear-gradient(90deg, #ff9a3c, #f500e4); --tone: #e2580f; }
.p-pos { --accent: linear-gradient(90deg, #00f2e7, #2577f9); --tone: #0a8f9a; }
.p-cc { --accent: linear-gradient(90deg, #2577f9, #a43cf0); --tone: #5b3fe0; }
.prow-media { position: relative; }
.prow-media > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 40px; box-shadow: 0 50px 100px -50px rgba(13,19,48,.45), 0 2px 6px rgba(13,19,48,.05); }
.prow-media::before { content: ""; position: absolute; z-index: 1; left: 40px; right: 40px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent); }
/* the product screen: a glass card under the photo (never on top of it), on the side away from the text */
.prod-ui { position: relative; z-index: 2; width: min(320px, 72%); margin: 18px 0 0 28px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.92); border: 1px solid var(--line); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 24px 48px -22px rgba(13,19,48,.4); font-size: .76rem; color: var(--ink); }
.prow.flip .prod-ui { margin-left: auto; margin-right: 28px; }
.ui-title { display: flex; align-items: center; gap: 6px; font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ui-title .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }
.tk { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; line-height: 1.3; }
.tk + .tk { margin-top: 5px; }
.tk small { display: block; font-weight: 400; color: var(--muted); font-size: .64rem; }
.tk em { font-style: normal; font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; flex: none; }
.st-new { background: #fff1e6; color: #c2410c; } .st-cook { background: #eef4ff; color: var(--blue); } .st-done { background: #e8f8f1; color: #0b7a55; }
.till-row { display: flex; justify-content: space-between; gap: 8px; padding: 4px 2px; border-bottom: 1px dashed var(--line-2); }
.till-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.till-total { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 2px 2px; font-weight: 700; }
.till-total small { font-weight: 400; color: var(--muted); font-size: .62rem; }
.till-total b { font-size: .95rem; font-variant-numeric: tabular-nums; }
.till-pay { display: flex; gap: 4px; margin-top: 7px; }
.till-pay i { flex: 1; text-align: center; font-style: normal; font-size: .62rem; font-weight: 700; padding: 5px 4px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.till-pay i.on { background: linear-gradient(100deg, #00c2d9, #2577f9); border-color: transparent; color: #fff; }
.ui-bubble { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; padding: 8px 10px; border-radius: 12px 12px 12px 4px; background: #f3f7ff; border: 1px solid #dfe9ff; font-size: .72rem; font-weight: 600; color: var(--ink); line-height: 1.38; }
.ui-bubble i { width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--grad); margin-top: 1px; }
.ui-wall .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ui-wall .kpis div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; }
.ui-wall small { display: block; font-size: .6rem; color: var(--muted); }
.ui-wall b { font-size: 1.05rem; letter-spacing: -.03em; }
.ui-wall .bars { display: flex; align-items: flex-end; gap: 3px; height: 38px; margin-top: 7px; }
.ui-wall .bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #a43cf0, #2577f9); }
.ui-wall .bars i:nth-child(3n) { opacity: .5; }
.prow .kind { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tone); margin-bottom: 14px; }
.new-tag { font-style: normal; font-size: .64rem; letter-spacing: .04em; padding: 2px 8px; border-radius: 99px; background: var(--grad-btn); color: #fff; }
.prow h3 { font-size: clamp(1.8rem, 2.9vw, 2.6rem); letter-spacing: -.04em; line-height: 1.08; }
.prow .desc { color: var(--muted); margin: 18px 0 24px; font-size: 1.06rem; max-width: 560px; }
.prow ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 11px; }
.prow li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .98rem; line-height: 1.5; }
.prow li svg { width: 18px; height: 18px; color: var(--tone); margin-top: 3px; }
.prod-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.trial-note { margin-top: clamp(56px, 7vw, 96px); text-align: center; font-size: .95rem; color: var(--muted); }

/* ---- people gallery: four photos in a staggered row, each caption under its photo ---- */
.people { padding: var(--sec) 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.g-tile { margin: 0; }
.g-tile:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
.g-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 30px; box-shadow: 0 30px 60px -36px rgba(13,19,48,.45); }
.g-tile figcaption { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.g-tile figcaption::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); transform: translateY(-1px); }

/* ---- bento: what the AI does ---- */
.bento-sec { padding: var(--sec) 0; background: linear-gradient(180deg, #fff, #f5f7fd); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; padding: 32px; border-radius: 30px; background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tile h3 { font-size: 1.3rem; letter-spacing: -.03em; margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: .96rem; }
.tile .eyebrow { margin-bottom: 12px; }
.tile ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.tile li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .94rem; }
.tile li svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.t-pay { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; background: linear-gradient(150deg, #f0fdf9, #fff 45%, #f4f8ff); }
.t-pay h3, .t-langs h3, .t-persona h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.t-pay::before, .t-langs::before, .t-persona::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -24%; top: -30%; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); }
.t-pay { --glow: rgba(0,242,231,.22); }
.t-langs { grid-column: span 3; --glow: rgba(245,0,228,.14); background: linear-gradient(150deg, #fbf5ff, #fff 55%); }
.t-persona { grid-column: span 2; --glow: rgba(37,119,249,.18); background: linear-gradient(150deg, #f1f6ff, #fff 55%); }
.t-langs .eyebrow { color: var(--violet); }
.t-persona .eyebrow { color: var(--blue); }
.t-pay .eyebrow { color: var(--green); }
.pay { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; }
.phone { border-radius: 30px; padding: 7px; background: linear-gradient(140deg, #ffffff, #e9eefb); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -24px rgba(13,19,48,.35); }
.screen { border-radius: 24px; background: #fff; padding: 16px 12px; min-height: 230px; border: 1px solid var(--line); }
.notch { width: 56px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 0 auto 16px; }
.prompt { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.prompt small { font-size: .7rem; color: var(--muted); }
.prompt b { display: block; font-size: 1rem; color: var(--ink); margin: 2px 0 8px; letter-spacing: -.02em; }
.prompt .row { display: flex; justify-content: space-between; gap: 6px; font-size: .72rem; color: var(--muted); padding: 5px 0; border-top: 1px solid var(--line); }
.prompt .row span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.approve { margin-top: 10px; height: 32px; border-radius: 8px; background: var(--grad-btn); color: #fff; font-size: .76rem; font-weight: 700; display: grid; place-items: center; }
.flow { display: grid; gap: 10px; }
.flow div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.92); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink); }
.flow i { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 700; background: var(--blue-soft); color: var(--blue); }
.flow div:last-child { border-color: #c7f0de; background: #f0fdf7; }
.flow div:last-child i { background: var(--green); color: #fff; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.langs span { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink); }
.langs span.more { background: var(--grad-btn); color: #fff; border-color: transparent; }
.say { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.say div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); }
.say small { color: var(--faint); font-weight: 500; }
.persona { display: grid; gap: 8px; margin-top: 22px; }
.persona-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .9rem; }
.persona-row > span { color: var(--muted); }
.persona-row > b { color: var(--ink); }
.persona-pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.persona-pills i { font-style: normal; font-size: .8rem; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.persona-pills i.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.persona-say { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1px solid transparent; border-radius: 14px; padding: 12px 14px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.t-feat { padding: 28px 26px; }
.t-feat h3 { font-size: 1.08rem; }
.t-feat p { font-size: .92rem; }
.t-feat .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--icbg); margin-bottom: 20px; }
.t-feat .ic svg { width: 21px; height: 21px; stroke: var(--c); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bento .t-feat:nth-child(4) { --c: #00a8a2; --icbg: #e3fbfa; } .bento .t-feat:nth-child(5) { --c: #2577f9; --icbg: #eaf2ff; }
.bento .t-feat:nth-child(6) { --c: #7c3aed; --icbg: #f1ebff; } .bento .t-feat:nth-child(7) { --c: #d400c6; --icbg: #fde8fb; }
.bento .t-feat:nth-child(8) { --c: #f97316; --icbg: #fff1e6; } .bento .t-feat:nth-child(9) { --c: #0e9f6e; --icbg: #e7f8f1; }
.bento .t-persona { grid-column: span 3; }
.bento .t-feat { grid-column: span 2; }

#try { padding: var(--sec) 0 clamp(40px, 4vw, 64px); }

/* ---- how it works, with the industries underneath ---- */
.how { padding: var(--sec) 0; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 7vw, 128px); align-items: center; }
.how .head { margin-bottom: 36px; }
.how .head h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.how-media { position: relative; }
.how-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 40px; box-shadow: 0 50px 100px -50px rgba(13,19,48,.45); }
.how-media .chip-c { margin-top: 18px; }
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; padding: 22px 24px 22px 82px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; font-size: .88rem; font-weight: 700; color: #fff; background: var(--sg); }
.step:nth-child(1) { --sg: linear-gradient(135deg, #00c2d9, #2577f9); } .step:nth-child(2) { --sg: linear-gradient(135deg, #2577f9, #7c3aed); } .step:nth-child(3) { --sg: linear-gradient(135deg, #7c3aed, #e100d2); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .96rem; }
.inds-wrap { margin-top: clamp(72px, 9vw, 120px); text-align: center; }
.inds-label { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.inds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.inds span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: .94rem; font-weight: 500; color: var(--ink); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.inds span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.inds span:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 10px 20px -12px var(--c); }
.inds span:nth-child(6n+1) { --c: #00c2d9; } .inds span:nth-child(6n+2) { --c: #2577f9; } .inds span:nth-child(6n+3) { --c: #7c3aed; } .inds span:nth-child(6n+4) { --c: #e100d2; } .inds span:nth-child(6n+5) { --c: #f97316; } .inds span:nth-child(6n) { --c: #0e9f6e; }
.inds span.ind-any { --c: transparent; border-style: dashed; border-color: var(--blue); color: var(--blue); font-weight: 600; background: var(--blue-soft); }
.inds span.ind-any::before { display: none; }

/* ---- partners ---- */
#partners { padding: var(--sec) 0; background: linear-gradient(180deg, #fff, #f7f5ff 50%, #fff); }
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 128px); align-items: center; }
.partner h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.plist { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.plist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.plist svg { width: 18px; height: 18px; color: var(--magenta); margin-top: 4px; }
.plist b { color: var(--ink); font-weight: 600; }
.earn { border: 1px solid transparent; border-radius: 32px; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; padding: 44px; box-shadow: var(--shadow-2); }
.earn .big { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.055em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.earn p { color: var(--muted); margin: 12px 0 26px; }
.growth { display: flex; align-items: flex-end; gap: 6px; height: 130px; border-bottom: 1px solid var(--line-2); }
.growth i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #f500e4, #7c3aed 40%, #2577f9 75%, #00d6cd); background-size: 100% 140px; background-position: bottom; transform-origin: bottom; }
.js .growth i { transform: scaleY(0); transition: transform .8s var(--ease); }
.js .in .growth i { transform: scaleY(1); }
.growth-cap { display: flex; justify-content: space-between; margin-top: 8px; font-size: .78rem; color: var(--faint); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 24px; font-size: .9rem; }
.facts span::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }

/* ---- FAQ, with the trust points beside it ---- */
.faq-sec { padding: var(--sec) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.faq-side h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.trust { display: grid; gap: 18px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.trust > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.trust h3 { font-size: .98rem; margin-bottom: 2px; }
.trust > div:nth-child(1) { --c: #00a8a2; } .trust > div:nth-child(2) { --c: #2577f9; } .trust > div:nth-child(3) { --c: #0e9f6e; } .trust > div:nth-child(4) { --c: #d400c6; }
.trust p { font-size: .9rem; color: var(--muted); }
.trust .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); background: color-mix(in srgb, var(--c) 8%, #fff); }
.trust .ic svg { width: 18px; height: 18px; stroke: var(--c); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-1); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--muted); transition: transform .25s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details[open] summary { color: var(--blue); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--magenta); }
.faq details p { padding: 0 24px 22px 0; color: var(--muted); font-size: .97rem; }

/* ---- closing call to action ---- */
.contact-sec { padding: 0; }
.cta { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; padding: clamp(56px, 7vw, 104px) clamp(28px, 6vw, 96px); border-radius: 44px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); }
.cta .aurora i { opacity: .5; }
.cta h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); max-width: 15ch; }
.cta p { max-width: 560px; margin: 22px 0 34px; color: var(--muted); font-size: 1.12rem; }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cta-faces img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 18px 40px -20px rgba(13,19,48,.45); }
.cta-faces img:nth-child(2), .cta-faces img:nth-child(5) { transform: translateY(26px); }

/* ---- Talk to Ruby, and Your own demo: light glass cards with a gradient edge ---- */
.try { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: 52px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: center;
  background: radial-gradient(60% 90% at 0% 0%, rgba(0,242,231,.16), transparent 60%), radial-gradient(60% 90% at 100% 100%, rgba(245,0,228,.13), transparent 60%), radial-gradient(60% 80% at 80% 0%, rgba(37,119,249,.14), transparent 60%), #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.try::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .7; }
.try h2 { color: var(--ink); }
.try-who { display: flex; align-items: center; gap: 18px; }
.try-ruby { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(37,119,249,.35), 0 12px 28px -8px rgba(37,119,249,.45); flex: none; }
.ava-img { object-fit: cover; padding: 0; }
.call-ava-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.try p { color: var(--muted); margin-top: 14px; max-width: 520px; }
.try-actions { display: grid; gap: 12px; }
.try-btn { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.9); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); color: var(--ink); font: inherit; font-weight: 600; font-size: 1rem; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.try-btn:hover { border-color: #b9c7e6; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.try-btn .ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; }
.try-btn .ic svg { width: 20px; height: 20px; }
.try-btn small { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
#try-call .ic { background: linear-gradient(135deg, #00c2d9, #2577f9); }
.try-note { font-size: .8rem; color: var(--muted) !important; margin-top: 4px !important; }
.try-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.own-demo { padding-top: 0; }
.own-demo .try { background: radial-gradient(60% 90% at 100% 0%, rgba(0,242,231,.18), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(37,119,249,.12), transparent 60%), #fff; }

/* ---- footer ---- */
.foot { padding: 72px 0 32px; margin-top: 104px; position: relative; background: linear-gradient(180deg, #fff, #f6f8fd); }
.foot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); opacity: .8; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.foot img { height: 22px; width: auto; margin-bottom: 16px; }
.foot p { font-size: .93rem; color: var(--muted); max-width: 300px; }
.foot h4 { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { font-size: .92rem; color: var(--muted); transition: color .2s; overflow-wrap: anywhere; }
.foot a:hover { color: var(--ink); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--faint); }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .d1 { transition-delay: .06s; }
.js .d2 { transition-delay: .12s; }

/* ---- the browser call to Ruby: a light card ---- */
.call-dlg { width: min(400px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 28px; background: transparent; color: var(--ink); overflow: visible; }
.call-dlg::backdrop { background: rgba(230,236,250,.6); backdrop-filter: blur(8px); }
.call-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 36px 28px 28px; text-align: center; border: 1px solid var(--line);
  background: radial-gradient(70% 60% at 100% 100%, rgba(245,0,228,.14), transparent 60%), radial-gradient(70% 60% at 0% 0%, rgba(0,242,231,.2), transparent 60%), #fff; box-shadow: 0 40px 80px -24px rgba(37,119,249,.45); }
.call-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.call-ava { position: relative; width: 92px; height: 92px; margin: 6px auto 18px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(37,119,249,.35); }
.call-ava::before, .call-ava::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(37,119,249,.45); opacity: 0; }
.call-dlg[data-state="starting"] .call-ava::before, .call-dlg[data-state="ringing"] .call-ava::before, .call-dlg[data-state="live"] .call-ava::before { animation: callring 1.8s ease-out infinite; }
.call-dlg[data-state="ringing"] .call-ava::after, .call-dlg[data-state="live"] .call-ava::after { animation: callring 1.8s .9s ease-out infinite; }
@keyframes callring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.call-card h3 { color: var(--ink); font-size: 1.35rem; }
.call-status { margin-top: 6px; color: var(--muted); font-size: .95rem; min-height: 1.6em; }
.call-timer { margin-top: 4px; font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.call-dlg:not([data-state="live"]) .call-timer { visibility: hidden; }
.call-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 40px; margin: 18px 0 22px; }
.call-wave i { width: 3px; height: 4px; border-radius: 3px; background: linear-gradient(180deg, #00d6cd, #2577f9, #f500e4); }
.call-wave.on i { animation: wave 1s ease-in-out infinite; }
.call-actions { display: flex; justify-content: center; gap: 12px; }
.call-actions button { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.call-actions button:active { transform: translateY(1px); }
.call-mute { background: var(--soft); color: var(--ink); border: 1px solid var(--line-2) !important; }
.call-mute[aria-pressed="true"] { background: var(--blue); color: #fff; }
.call-mute:disabled { opacity: .45; cursor: default; }
.call-hang { background: #ef4444; color: #fff; }
.call-dlg[data-state="ended"] .call-hang { background: var(--grad-btn); color: #fff; }
.call-actions svg { width: 18px; height: 18px; }
.call-note { margin-top: 16px; font-size: .78rem; color: var(--muted); }

@media (max-width: 1240px) {
  .actions .hide-sm { display: none; }
  .links a { padding: 8px 10px; }
}
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-vis { max-width: 820px; width: 100%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-pay, .t-langs, .bento .t-persona { grid-column: 1 / -1; grid-row: auto; }
  .t-pay { grid-template-columns: minmax(0, 1fr); }
  .bento .t-feat { grid-column: auto; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .out-grid, .prow, .partner, .faq-grid, .try, .how-grid, .split-head, .cta { grid-template-columns: minmax(0, 1fr); }
  .prow.flip .prow-media { order: 0; }
  .out-head { position: static; }
  .cta-faces { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cta-faces img:nth-child(2), .cta-faces img:nth-child(5) { transform: none; }
  .cta-faces img:nth-child(even) { transform: translateY(14px); }
}
@media (max-width: 1060px) {
  .links { display: none; position: absolute; top: 72px; left: -20px; right: -20px; flex-direction: column; padding: 8px 20px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(13,19,48,.3); }
  .nav-open .links { display: flex; }
  .links a { padding: 12px 0; border-radius: 0; }
  .links a:hover { background: none; }
  .burger { display: block; }
  .actions .hide-sm, #signin { display: none; }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .outs { gap: 12px; }
  .out { padding: 24px 18px; border-radius: 22px; }
  .out-big { font-size: 2.4rem; margin-bottom: 14px; }
  .out h3 { font-size: 1.02rem; }
  .out p { font-size: .88rem; }
  .out:nth-child(2), .out:nth-child(4) { margin-top: 24px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 64px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-vis { grid-template-columns: minmax(0, 1fr); }
  .hv-main { aspect-ratio: 4 / 4.4; border-radius: 30px; }
  .msgs { min-height: 320px; }
  .split-head { gap: 18px; }
  .prow-media > img { border-radius: 28px; aspect-ratio: 4 / 3.6; }
  .prow-media::before { left: 24px; right: 24px; }
  .prod-ui, .prow.flip .prod-ui { width: auto; margin: 14px 0 0; padding: 10px; }
  .g-tile img { border-radius: 22px; }
  .g-tile figcaption { font-size: .86rem; }
  .prod-cta .btn { flex: 1 1 auto; }
  .tile { padding: 24px 22px; border-radius: 24px; }
  .pay { grid-template-columns: minmax(0, 1fr); }
  .phone { max-width: 220px; margin: 0 auto; width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .earn { padding: 26px 22px; }
  .try { padding: 32px 22px; border-radius: 26px; }
  .cta { padding: 48px 22px; border-radius: 30px; }
  .cta .row .btn { flex: 1 1 100%; }
  .cta-faces { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 300px; }
  .cta-faces img:nth-child(n+4) { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .m { max-width: 90%; }
  .step { padding: 18px 18px 18px 72px; }
  .step::before { left: 18px; top: 18px; }
  .how-media img { border-radius: 28px; }
}
@media (max-width: 480px) {
  .bar { gap: 10px; }
  .logo img { height: 18px; }
  .actions .btn-grad { padding: 0 12px; font-size: .84rem; height: 38px; }
}
@media (max-width: 380px) {
  .logo img { height: 15px; }
  .actions .btn-grad { padding: 0 10px; font-size: .8rem; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .msgs > *, .js .growth i { opacity: 1 !important; transform: none !important; }
  .strip-track { animation: none; }
}

/* ---- Build your own demo (demo.html, and the homepage section) ---- */
[hidden] { display: none !important; }
.own-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--text); font-size: .95rem; }
.own-steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-btn); color: #fff; margin-right: 8px; font-size: .8rem; }
.demo-main { padding: 48px 0 0; }
.demo-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 920px; }
.demo-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.demo-h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.demo-h2 { font-size: 1.5rem; margin-bottom: 10px; }
.demo-h2:focus, .try h2:focus { outline: none; }
.demo-lede { margin-top: 14px; color: var(--text); max-width: 680px; font-size: 1.05rem; }
.demo-wrap:is([data-stage="email"], [data-stage="phone"], [data-stage="building"], [data-stage="failed"], [data-stage="ready"]) .demo-lede { display: none; }
.demo-a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* the four steps: the current one is highlighted, done ones get a tick */
.demo-steps { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: .92rem; }
.demo-steps li { display: inline-flex; align-items: center; gap: 8px; line-height: 1.3; }
.demo-steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--soft); border: 1px solid var(--line-2); color: var(--ink); font-size: .78rem; }
.demo-steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.demo-steps li[aria-current="step"] b { background: var(--blue); border-color: var(--blue); color: #fff; }
.demo-steps li.done b { background: var(--blue-soft); border-color: #c9dbff; color: var(--blue); font-size: 0; }
.demo-steps li.done b::before { content: "✓"; font-size: .8rem; }

/* cards */
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 1px 2px rgba(11,16,51,.04), 0 12px 32px -18px rgba(11,16,51,.18); min-width: 0; }
.demo-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.demo-center { text-align: center; display: grid; justify-items: center; gap: 10px; padding-block: 40px; }
.demo-center > p { max-width: 520px; }
.demo-center .demo-h2 { margin-bottom: 0; }
/* the chosen product, shown on every step after the form ("Restaurant demo for Mama's Kitchen") */
.demo-for { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px; background: #f3f7ff; border: 1px solid #b9cdf7; color: var(--blue); font-size: .88rem; font-weight: 600; max-width: 100%; overflow-wrap: anywhere; }
.demo-for[hidden] { display: none; }
.demo-products .demo-field-err { margin-top: 10px; }
.demo-actions-row { margin-top: 8px; }
.demo-badge { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 4px; }
.demo-badge svg { width: 26px; height: 26px; }

/* the form */
.demo-products { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.demo-products legend { font-weight: 700; color: var(--ink); margin-bottom: 12px; padding: 0; }
.demo-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.demo-choice:hover { border-color: #b9cdf7; }
.demo-choice:has(input:checked) { border-color: var(--blue); background: #f3f7ff; }
.demo-choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.demo-choice input { margin: 4px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.demo-choice input:focus-visible { outline: none; }
.demo-choice b { display: block; color: var(--ink); line-height: 1.4; }
.demo-choice small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; line-height: 1.45; }

/* each field: label (one line), control (48 px), then hint and error underneath.
   Rows line up at the top, so a hint never pushes its neighbour down. */
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; align-items: start; }
.demo-span { grid-column: 1 / -1; }
.demo-field { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.demo-field > label:not(.demo-consent), .demo-label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-opt { font-weight: 400; color: var(--muted); }
.demo-field input:not([type="file"]):not([type="checkbox"]), .demo-field select, .demo-upgrade textarea, .demo-code input {
  font: inherit; font-weight: 400; font-size: 1rem; line-height: 1.4; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; width: 100%; margin: 0; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.demo-field input:not([type="file"]):not([type="checkbox"]), .demo-field select { height: 48px; }
.demo-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b7094' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.demo-field input::placeholder, .demo-upgrade textarea::placeholder { color: var(--faint); }
.demo-field input:focus, .demo-field select:focus, .demo-upgrade textarea:focus, .demo-code input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(19,107,255,.18); }
.demo-field input[aria-invalid="true"]:not([type="checkbox"]), .demo-code input[aria-invalid="true"] { border-color: #d93025; }
.demo-field input[aria-invalid="true"]:not([type="checkbox"]):focus, .demo-code input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(217,48,37,.15); }
.demo-hint, .demo-small { font-size: .85rem; font-weight: 400; color: var(--muted); line-height: 1.5; }
.demo-field .demo-hint { margin-top: 6px; }
.demo-field-err { display: none; margin-top: 6px; font-size: .85rem; line-height: 1.45; color: #c62828; font-weight: 500; }
.demo-field-err:not(:empty) { display: flex; gap: 6px; }
.demo-field-err:not(:empty)::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: #c62828; color: #fff; font-size: .7rem; font-weight: 700; }

/* file: our own button, same height rhythm as the inputs */
.demo-file { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 4px 4px 4px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--soft); min-width: 0; }
.demo-file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.demo-file-btn { position: relative; z-index: 1; pointer-events: none; flex: none; height: 38px; }
.demo-file:has(.demo-file-input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.demo-file:has(.demo-file-input:focus-visible) .demo-file-btn { border-color: var(--ink); }
.demo-file:hover .demo-file-btn { border-color: var(--ink); }
.demo-file-name { flex: 1; min-width: 0; font-size: .92rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-file.has-file .demo-file-name { color: var(--ink); }
.demo-file-clear { position: relative; z-index: 1; flex: none; margin-right: 10px; font-size: .88rem; }

/* consent: box lines up with the grid's left edge, text with its first line */
.demo-consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: .9rem; font-weight: 400; line-height: 1.5; color: var(--text); cursor: pointer; white-space: normal; margin: 0; }
.demo-consent input { margin: 1px 0 0; width: 18px; height: 18px; accent-color: var(--blue); flex: none; cursor: pointer; }
.demo-consent:has(input[aria-invalid="true"]) { border-color: #f1b8b4; background: #fff6f5; }

.demo-submit { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 26px; }
.demo-submit p { flex: 1 1 260px; }
.demo-error { color: #b42318; background: #fff4f2; border: 1px solid #f7cdc7; border-radius: 12px; padding: 10px 14px; font-size: .92rem; line-height: 1.5; margin: 22px 0 0; text-align: left; }
.demo-ok { color: #0e7a55; font-weight: 600; }
.demo-muted { color: var(--muted); }

/* buttons: loading state */
.demo-page .btn[disabled] { opacity: .7; cursor: default; transform: none; }
.demo-btn-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: demo-spin .8s linear infinite; flex: none; }
.btn.is-busy .demo-btn-spin { display: inline-block; }

/* codes */
.demo-code { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: 100%; max-width: 380px; margin: 10px 0 0; }
.demo-code input { height: 56px; padding: 0 12px; font-size: 1.5rem; font-weight: 600; letter-spacing: .45em; text-indent: .45em; text-align: center; font-variant-numeric: tabular-nums; }
.demo-code input::placeholder { color: var(--line-2); letter-spacing: .45em; }
.demo-code .btn { height: 56px; }
.demo-center .demo-error { margin: 0; width: 100%; max-width: 380px; }
.demo-code-links { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; color: var(--faint); }
.demo-link { background: none; border: 0; padding: 2px 0; font: inherit; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.demo-link:disabled { color: var(--muted); cursor: default; text-decoration: none; font-variant-numeric: tabular-nums; }

/* building */
.demo-spinner { width: 44px; height: 44px; margin: 0 auto 6px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--blue); animation: demo-spin 1s linear infinite; }
@keyframes demo-spin { to { transform: rotate(360deg); } }
.demo-build-now { color: var(--ink); font-weight: 600; min-height: 1.65em; }
.demo-progress { width: 100%; max-width: 380px; height: 6px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.demo-progress i { display: block; height: 100%; width: 6%; background: linear-gradient(90deg, #136bff, #7c3aed); border-radius: 99px; transition: width 1.2s var(--ease); }
.demo-build-steps { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 8px; text-align: left; width: 100%; max-width: 380px; }
.demo-build-steps li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--faint); }
.demo-build-steps li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); box-sizing: border-box; }
.demo-build-steps li.now { color: var(--ink); }
.demo-build-steps li.now::before { border-color: var(--blue); border-right-color: transparent; animation: demo-spin .9s linear infinite; }
.demo-build-steps li.ok { color: var(--text); }
.demo-build-steps li.ok::before { content: "✓"; display: grid; place-items: center; border: 0; background: var(--green); color: #fff; font-size: .7rem; font-weight: 700; }

/* ready */
.demo-ready { display: grid; gap: 20px; padding: 0; }
.demo-try { padding: 40px; gap: 40px; }
.demo-try-eyebrow { color: var(--blue) !important; }
.demo-ends { font-size: .92rem; margin-top: 10px !important; color: var(--muted) !important; }
.demo-ends b { color: var(--ink); font-weight: 600; }
.demo-tries { margin: 12px 0 0; padding-left: 20px; color: var(--text); font-size: .95rem; max-width: 520px; }
.demo-tries li { margin-top: 4px; }
.demo-tries[hidden] { display: none; }
.demo-page .try-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.demo-phone { cursor: default; font-weight: 600; }
.demo-phone:hover { transform: none; box-shadow: var(--shadow-1); border-color: var(--line-2); }
.demo-phone a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.demo-phone small b { color: var(--ink); letter-spacing: .08em; font-variant-numeric: tabular-nums; }

.demo-pin { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 22px; padding: 18px 22px; border-radius: 20px; background: var(--blue-soft); border: 1px solid #d6e4ff; }
.demo-pin-code { display: grid; line-height: 1.2; }
.demo-pin-code span { font-size: .78rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.demo-pin-code b { font-size: 1.7rem; color: var(--ink); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.demo-pin p { font-size: .95rem; color: var(--text); }

.demo-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.demo-info .demo-card { padding: 26px; display: flex; flex-direction: column; }
.demo-creds { margin: 16px 0 18px; display: grid; gap: 8px; }
.demo-cred { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; min-height: 56px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.demo-cred dt { grid-column: 1; grid-row: 1; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.demo-cred dd { grid-column: 1; grid-row: 2; margin: 0; font-weight: 600; color: var(--ink); font-size: .98rem; overflow-wrap: anywhere; line-height: 1.35; }
.demo-cred .demo-copy { grid-column: 2; grid-row: 1 / 3; }
.demo-cred dd.mono { letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.demo-cred dd.plain { font-weight: 400; color: var(--text); font-size: .92rem; letter-spacing: 0; }
.demo-copy { height: 36px; padding: 0 12px; font-size: .85rem; min-width: 72px; }
.demo-copy.copied { border-color: var(--green); color: var(--green); }
.demo-console-btn { margin-top: auto; align-self: flex-start; }
.demo-meter { display: grid; grid-template-columns: 52px minmax(0, 1fr) 84px; gap: 12px; align-items: center; font-size: .9rem; margin: 14px 0 0; }
.demo-meter b { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-bar { height: 8px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.demo-bar i { display: block; height: 100%; background: linear-gradient(90deg, #136bff, #7c3aed); width: 0; transition: width .4s; }
.demo-ends-box { margin-top: auto; padding-top: 20px; }
.demo-ends-box .demo-cred { grid-template-columns: minmax(0, 1fr); }
.demo-ends-box dl { margin: 0; }
.demo-ends-box p { margin-top: 8px; }
.demo-upgrade { grid-column: 1 / -1; display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px 28px; align-items: start; }
.demo-upgrade form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.demo-upgrade textarea { font-size: .95rem; resize: vertical; padding: 12px 14px; min-height: 48px; height: 48px; }
.demo-upgrade .demo-error { grid-column: 1 / -1; margin: 0; }
.demo-upgrade .demo-ok { align-self: center; }

.demo-page .foot { margin-top: 72px; padding-top: 32px; }
@media (max-width: 1024px) {
  .demo-try { gap: 28px; }
}
@media (max-width: 760px) {
  .demo-page .wrap { width: min(1160px, 100% - 32px); }
  .demo-main { padding-top: 32px; }
  .demo-choices, .demo-grid, .demo-info, .demo-upgrade { grid-template-columns: minmax(0, 1fr); }
  .demo-grid { gap: 18px; }
  .demo-card { padding: 22px 18px; }
  .demo-center { padding-block: 30px; }
  .demo-info .demo-card { padding: 22px 18px; }
  .demo-try { padding: 28px 20px; }
  .demo-back { display: inline-flex !important; }
  .demo-wide { display: none; }
  .demo-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: .88rem; }
  .demo-submit .btn { width: 100%; }
  .demo-pin { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px; }
  .demo-pin p { grid-column: 1 / -1; grid-row: 2; }
  .demo-console-btn { align-self: stretch; }
  .demo-upgrade form { grid-template-columns: minmax(0, 1fr); }
  .demo-upgrade textarea { height: 76px; }
}
@media (max-width: 420px) {
  .demo-code { grid-template-columns: minmax(0, 1fr); }
  .demo-code input { letter-spacing: .35em; text-indent: .35em; }
}

/* ---- keyboard focus: a clear outline for anyone using Tab (mouse clicks don't show it) ---- */
a:focus-visible, button:focus-visible, summary:focus-visible, [role="radio"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, .try-btn:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px;
}

/* ---- Legal pages (privacy, cookies, terms, AI notice), footer legal links, privacy banner, AI notice ---- */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a, .legal a { font-size: .85rem; color: var(--muted); }
.legal-links a:hover, .legal a:hover { color: var(--ink); }
.demo-consent-legal { display: block; margin-top: 8px; }

.legal-main { padding: 56px 0 0; }
.legal-doc { width: min(780px, 100% - 40px); margin-inline: auto; }
.legal-doc h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.legal-meta { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.legal-summary { margin-top: 28px; padding: 20px 22px; border-radius: 16px; background: var(--blue-soft); border: 1px solid #dbe7ff; color: var(--ink); font-size: .98rem; }
.legal-summary ul { margin: 10px 0 0; padding-left: 20px; }
.legal-toc { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); font-size: .93rem; }
.legal-doc .legal-toc h2 { font-size: .85rem; letter-spacing: 0; margin-bottom: 8px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.legal-toc a { color: var(--blue); }
.legal-doc section { padding: 0; margin-top: 44px; scroll-margin-top: 88px; }
.legal-doc h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); letter-spacing: -.025em; margin-bottom: 14px; }
.legal-doc h3 { margin: 22px 0 8px; }
.legal-doc p + p, .legal-doc p + ul, .legal-doc ul + p, .legal-doc table + p, .legal-doc p + table { margin-top: 12px; }
.legal-doc ul { padding-left: 22px; margin: 10px 0 0; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc strong { color: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 12px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--ink); font-weight: 600; background: var(--soft); }
.legal-table code { font-size: .85rem; word-break: break-all; }
.legal-note { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font-size: .93rem; }
.legal-doc .foot { margin-top: 72px; }
@media (max-width: 640px) {
  .legal-main { padding-top: 36px; }
  .legal-doc { width: min(780px, 100% - 32px); }
  .legal-toc ol { columns: 1; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .legal-table td { border: 0; padding: 3px 0; }
  .legal-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}

.consent { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); display: grid; gap: 12px; padding: 18px 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -18px rgba(11,16,51,.35); font-size: .9rem; line-height: 1.5; color: var(--text); }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.consent-ok { justify-self: end; min-width: 88px; }
.consent-gpc { font-size: .82rem; color: var(--muted); }
.consent-opts { display: grid; gap: 8px; }
.consent-opt { display: flex; gap: 10px; align-items: flex-start; }
.consent-opt input { margin-top: 3px; accent-color: var(--blue); }
.consent-opt small { display: block; color: var(--muted); }

.ai-dlg { width: min(440px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 40px 80px -20px rgba(11,16,51,.5); }
.ai-dlg::backdrop { background: rgba(11,16,51,.55); backdrop-filter: blur(6px); }
.ai-card { padding: 26px 24px 22px; display: grid; gap: 12px; font-size: .95rem; line-height: 1.55; }
.ai-card h3 { font-size: 1.25rem; }
.ai-card p + p { margin-top: 10px; }
.ai-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.ai-more { font-size: .88rem; }
.ai-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
@media (max-width: 420px) { .ai-actions .btn { flex: 1; } }
@media print { .consent, .site-head .actions { display: none !important; } }
.legal-page .actions .legal-home { display: inline-flex; }

/* Regions (tools/build.py): the switcher in the header and footer, and the dismissible suggestion bar. */
.region-pick > button { padding: 0 10px; }
.region-pick .globe { width: 17px; height: 17px; }
.region-pick .menu { width: 220px; }
.menu a[aria-current="page"] { color: var(--blue); }
.nav-regions { display: none; }
.foot-regions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 40px; font-size: .88rem; color: var(--faint); }
.foot-regions a { font-size: .88rem; color: var(--muted); }
.foot-regions a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.region-hint { background: var(--blue-soft); border-bottom: 1px solid #dbe7ff; font-size: .92rem; color: var(--ink); }
.region-hint-in { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 0; }
.region-hint-in > span { flex: 1; }
.region-hint-go { font-weight: 600; color: var(--blue); white-space: nowrap; }
.region-hint-x { width: 32px; height: 32px; flex: none; border: 0; border-radius: 8px; background: none; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
.region-hint-x:hover { background: #fff; color: var(--ink); }
@media (max-width: 1060px) {
  .region-pick { display: none; }
  .nav-regions { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav-regions a { padding: 6px 0; font-size: .9rem; color: var(--muted); }
  .nav-regions a[aria-current="page"] { color: var(--ink); font-weight: 600; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .links { left: -16px; right: -16px; padding-inline: 16px; }
  .region-hint-in { flex-wrap: wrap; gap: 0 12px; padding: 8px 0; }
  .region-hint-in > span { flex: 1 1 calc(100% - 44px); }
  .region-hint-x { order: 2; }
  .region-hint-go { order: 3; }
}

/* Language switch (the Gulf pages: العربية / English, tools/build.py lang_switch) */
.lang-switch { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.lang-switch:hover { background: var(--soft); color: var(--blue-ink); }
.lang-switch[lang="ar"] { font-family: "Plex Arabic", "Jakarta", system-ui, sans-serif; font-size: 1rem; }
.lang-switch .ls-short { display: none; }
@media (max-width: 480px) {
  .lang-switch { padding: 0 6px; font-size: .86rem; }
  .lang-switch .ls-full { display: none; }
  .lang-switch .ls-short { display: inline; }
  .lang-switch ~ .btn-grad { padding: 0 10px; }
  .actions:has(.lang-switch) { gap: 4px; }
}
@media (min-width: 1061px) and (max-width: 1400px) {
  /* laptops: the language pages' header has one more item (French and Arabic words run longer), so keep it on one line */
  .site-head:has(.lang-switch) .links a { padding: 8px 8px; }
  .site-head:has(.lang-switch) .actions .hide-sm { display: none; }
  .lang-switch { padding: 0 8px; }
  .lang-switch .ls-full { display: none; }
  .lang-switch .ls-short { display: inline; }
}
@media (min-width: 1061px) and (max-width: 1180px) {
  html[lang^="fr"] #signin { display: none; } /* the French menu words are longer; sign-in stays in the footer, as on tablets */
}
@media (max-width: 400px) {
  .actions:has(.lang-switch) .btn-grad { font-size: .8rem; padding: 0 9px; }
}
@media (max-width: 380px) {
  .actions:has(.lang-switch) .btn-grad { font-size: .76rem; }
}

/* ---- Ruby says hello (assets/ruby-greet.js): a small card at the bottom right the first time a visitor opens the page
 * (bottom left on the Arabic page, across the width on phones, above the privacy notice while it is open). */
.ruby-greet { position: fixed; z-index: 58; right: 16px; bottom: 16px; width: min(420px, calc(100% - 32px)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 12px 14px 14px; border-radius: 18px; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: 0 24px 60px -18px rgba(11,16,51,.32), 0 0 0 4px rgba(37,119,249,.05); color: var(--text); font-size: .93rem; line-height: 1.45; animation: rg-in .45s var(--ease) both; }
@keyframes rg-in { from { opacity: 0; transform: translateY(14px); } }
.rg-ava { position: relative; width: 48px; height: 48px; }
.rg-ava img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(37,119,249,.22); }
.rg-eq { position: absolute; right: -4px; bottom: -4px; display: flex; gap: 2px; align-items: flex-end; height: 18px; padding: 3px 4px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(11,16,51,.16); opacity: 0; transition: opacity .2s; }
.rg-eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--grad-btn); }
.ruby-greet.is-playing .rg-eq { opacity: 1; }
.ruby-greet.is-playing .rg-eq i { animation: rg-eq .8s ease-in-out infinite alternate; }
.ruby-greet.is-playing .rg-eq i:nth-child(2) { animation-delay: -.3s; } .ruby-greet.is-playing .rg-eq i:nth-child(3) { animation-delay: -.55s; }
@keyframes rg-eq { from { height: 3px; } to { height: 12px; } }
.rg-text { margin: 2px 0 10px; color: var(--ink); }
.rg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rg-actions .btn-sm { height: 36px; padding: 0 14px; font-size: .86rem; }
.rg-stop svg { width: 12px; height: 12px; }
.rg-play { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--blue); cursor: pointer; }
.rg-play svg { width: 18px; height: 18px; }
.rg-play:hover { background: var(--blue-soft); }
.ruby-greet.is-playing .rg-play { background: var(--blue-soft); }
.rg-x { width: 32px; height: 32px; margin: -4px 0 0; border: 0; border-radius: 8px; background: none; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
.rg-x:hover { background: var(--soft); color: var(--ink); }
.ruby-greet :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 760px) {
  /* phones: across the width, compact, the buttons on their own row */
  .ruby-greet { left: 16px; right: 16px; width: auto; gap: 8px 10px; padding: 12px 10px 12px 12px; font-size: .88rem; }
  .rg-body { display: contents; }
  .rg-ava, .rg-ava img { width: 40px; height: 40px; }
  .rg-ava { grid-column: 1; grid-row: 1; }
  .rg-text { grid-column: 2; grid-row: 1; margin: 0; align-self: center; }
  .rg-x { grid-column: 3; grid-row: 1; }
  .rg-actions { grid-column: 1 / -1; grid-row: 2; }
  .rg-talk { flex: 1 1 auto; }
}
@media print { .ruby-greet { display: none !important; } }

/* ---- French (the French Africa page, <html lang="fr">): longer words, so a smaller hero headline that may wrap */
[lang="fr"] .hero h1 { font-size: clamp(2.2rem, 2.8vw, 3rem); }
@media (min-width: 1061px) { [lang="fr"] .links a { padding: 8px 9px; } }
[lang="fr"] .hero h1 > span { white-space: normal; }

/* ---- Arabic, right to left (the Gulf page: <html lang="ar" dir="rtl">). IBM Plex Sans Arabic, self-hosted, SIL Open
 * Font License (fonts/LICENSE-IBM-Plex-Sans-Arabic.txt), for Arabic letters only: Latin text, brand names and digits
 * stay in Jakarta. Everything that sits on a side in the layout above is mirrored here; amounts, emails and the
 * like keep their left-to-right order (<bdi>, unicode-bidi: isolate). ---- */
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-700.woff2") format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
html[lang="ar"] body { font-family: "Jakarta", "Plex Arabic", "Geeza Pro", "Segoe UI", Tahoma, system-ui, sans-serif; line-height: 1.8; }
/* Arabic letters join: no letter spacing anywhere; taller lines for the letters' marks */
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] h1, html[lang="ar"] .hero h1 { line-height: 1.3; }
html[lang="ar"] h2, html[lang="ar"] .split-head h2, html[lang="ar"] .prow h3 { line-height: 1.35; }
html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.5; }
html[lang="ar"] .eyebrow, html[lang="ar"] .prow .kind, html[lang="ar"] .foot h4 { font-size: .9rem; }
html[lang="ar"] .ui-title, html[lang="ar"] .strip-in b { font-size: .74rem; }
html[lang="ar"] .out-big { line-height: 1.2; }
[dir="rtl"] bdi, [dir="rtl"] .foot a[href^="mailto:"], [dir="rtl"] .ai-card a[href^="mailto:"] { unicode-bidi: isolate; direction: ltr; }
[dir="rtl"] .hero-grid-lines { -webkit-mask-image: radial-gradient(60% 70% at 30% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 30% 40%, #000, transparent 75%); }
[dir="rtl"] .menu { right: auto; left: 0; }
[dir="rtl"] .earn .big { direction: ltr; text-align: right; } /* "15–20%" reads left to right */
[dir="rtl"] .live { margin-left: 0; margin-right: auto; }
[dir="rtl"] .m.ai { border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
[dir="rtl"] .m.me { border-bottom-right-radius: 14px; border-bottom-left-radius: 4px; }
[dir="rtl"] .btn-grad svg { transform: scaleX(-1); } /* the arrows point the reading way */
[dir="rtl"] .strip-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .strip-in { padding-right: 0; padding-left: 30px; }
[dir="rtl"] .strip-in b { padding-left: 0; padding-right: 14px; }
[dir="rtl"] .ui-bubble { border-radius: 12px 12px 4px 12px; }
[dir="rtl"] .prompt .row span:last-child { text-align: left; }
[dir="rtl"] .facts span::before { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .faq details p { padding: 0 0 22px 24px; }
[dir="rtl"] .try-btn { text-align: right; }
[dir="rtl"] .call-close { right: auto; left: 14px; }
[dir="rtl"] .own-steps b { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .consent { left: auto; right: 16px; }
[dir="rtl"] .ruby-greet { padding: 14px 14px 14px 12px; }
@media (min-width: 761px) { [dir="rtl"] .ruby-greet { right: auto; left: 16px; } }
[dir="rtl"] .rg-eq { right: auto; left: -4px; }
[dir="rtl"] .step { padding: 22px 82px 22px 24px; }
[dir="rtl"] .step::before { left: auto; right: 22px; }
@media (min-width: 641px) {
  [dir="rtl"] .prod-ui { margin: 18px 28px 0 0; }
  [dir="rtl"] .prow.flip .prod-ui { margin-right: auto; margin-left: 28px; }
}
@media (max-width: 640px) {
  [dir="rtl"] .step { padding: 18px 72px 18px 18px; }
  [dir="rtl"] .step::before { right: 18px; }
}
/* the demo and legal pages in Arabic (middle-east/demo.html, privacy.html, ...): lists, tables and controls mirrored */
[dir="rtl"] .legal-summary ul, [dir="rtl"] .legal-doc ul, [dir="rtl"] .legal-toc ol, [dir="rtl"] .demo-tries { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .legal-table th, [dir="rtl"] .legal-table td { text-align: right; }
[dir="rtl"] .demo-field select { padding-right: 14px; padding-left: 40px; background-position: left 16px center; }
[dir="rtl"] .demo-file-clear { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .demo-error, [dir="rtl"] .demo-build-steps { text-align: right; }
[dir="rtl"] .demo-meter b { text-align: left; }
[dir="rtl"] .demo-cred { padding: 8px 14px 8px 8px; }
[dir="rtl"] .demo-field input[dir="ltr"]:placeholder-shown { text-align: right; } /* empty: lines up with its label */

/* a translated legal page: the English text prevails (tools/build.py, Arabic and French) */
.legal-lang-note { margin-bottom: 26px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font-size: .88rem; color: var(--muted); line-height: 1.6; }
.legal-lang-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Phones: every tap target at least 44px tall (logo, small buttons, menu, footer and legal links) ---- */
@media (max-width: 760px) {
  .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .btn-sm, .actions .btn-grad, .rg-actions .btn-sm, .demo-file-btn { height: 44px; }
  .lang-switch { height: 44px; }
  .region-hint-x { width: 44px; height: 44px; }
  .region-hint-go { display: inline-flex; align-items: center; min-height: 44px; }
  .burger { width: 44px; height: 44px; }
  .foot ul { gap: 0; }
  .foot ul a, .legal-links a, .foot-regions a, .legal-toc a, .legal > span > a { display: inline-flex; align-items: center; min-height: 44px; }
  .legal-links { gap: 0 18px; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
}

/* ---- Wide screens: use the width (no wasted side space), line lengths stay readable inside the sections ---- */
@media (min-width: 1800px) {
  .wrap { width: min(1600px, 100% - 2 * 88px); }
}
@media (min-width: 2200px) {
  .wrap { width: min(1920px, 100% - 2 * 160px); }
  body { font-size: 18px; }
}
/* the legal pages on wide screens: "On this page" stays in view on the left, the text keeps a readable width */
@media (min-width: 1200px) {
  .legal-doc { width: min(1240px, 100% - 2 * clamp(20px, 5vw, 88px)); display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 800px); column-gap: clamp(40px, 5vw, 96px); justify-content: center; align-items: start; }
  .legal-doc > * { grid-column: 2; }
  .legal-doc > .legal-toc { grid-column: 1; grid-row: 1 / span 60; position: sticky; top: 96px; margin-top: 8px; max-height: calc(100vh - 120px); overflow: auto; }
  .legal-toc ol { columns: 1; }
  .legal-toc li { margin: 3px 0; }
}
@media (min-width: 1800px) {
  .legal-doc { width: min(1440px, 100% - 176px); grid-template-columns: minmax(280px, 340px) minmax(0, 860px); }
}
