/* Quip POS public website */
:root {
  --brand: #19AFC8;
  --brand-600: #0E97B0;
  --brand-700: #0A7A90;
  --brand-50: #E9F9FC;
  --brand-100: #CDF1F7;
  --blue: #2563EB;
  --violet: #7C3AED;
  --warm: #F97316;
  --ink: #0B1324;
  --ink-2: #1D2939;
  --muted: #5B6B80;
  --muted-2: #8A98AB;
  --line: #E5EAF1;
  --line-2: #EEF2F7;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --navy: #07111F;
  --navy-2: #0C1A2E;
  --ok: #10B981;
  --danger: #E11D48;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 12px 32px -12px rgba(16, 24, 40, .18), 0 4px 10px -4px rgba(16, 24, 40, .06);
  --shadow-lg: 0 40px 80px -24px rgba(7, 17, 31, .35), 0 12px 24px -12px rgba(7, 17, 31, .18);
  --grad: linear-gradient(135deg, #19AFC8 0%, #2563EB 100%);
  --grad-soft: linear-gradient(135deg, rgba(25, 175, 200, .12), rgba(37, 99, 235, .10));
  --font: 'Plus Jakarta Sans', 'Inter', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
  color-scheme: light;
}
[dir="rtl"] { --font: 'Cairo', 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(25, 175, 200, .55); outline-offset: 2px; border-radius: 8px; }

.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 14px; height: 14px; }
.ic-lg { width: 28px; height: 28px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 880px; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 14px; border: 1px solid transparent; background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 15.5px; white-space: nowrap; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .55), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(37, 99, 235, .6), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { border-color: #cfd8e3; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-wa { background: #25D366; color: #06381b; }
.btn-store { background: #000; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-store .ic { width: 20px; height: 20px; margin-top: -2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-700); font-weight: 700; }
.link-arrow:hover { gap: 10px; }
.link-arrow .ic { transition: transform .2s; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 24, 40, .25); }
.site-header.on-dark { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; }
.brand .brand-light { display: none; }
.on-dark .brand .brand-dark { display: none; }
.on-dark .brand .brand-light { display: block; }
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); background: none; border: 0; cursor: pointer; transition: background .15s, color .15s; }
.nav-link:hover, .nav-link.active { color: var(--ink); background: rgba(15, 23, 42, .05); }
.on-dark .nav-link { color: rgba(255, 255, 255, .82); }
.on-dark .nav-link:hover, .on-dark .nav-link.active { color: #fff; background: rgba(255, 255, 255, .08); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang-switch.lp > summary { height: 40px; padding: 0 12px; border-radius: 12px; font-size: 14px; color: var(--ink-2); border: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.on-dark .lang-switch.lp > summary { color: #fff; border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); }
.mobile-lang.lp { display: block; }
.mobile-lang.lp > summary { width: 100%; height: 46px; justify-content: center; border-radius: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .close { display: none; }
.nav-open .nav-toggle .open { display: none; }
.nav-open .nav-toggle .close { display: block; }
.nav-mobile-actions { display: none; }
.nav-item { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); inset-inline-start: -12px; width: min(720px, 92vw); padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-link { display: flex; gap: 12px; padding: 12px; border-radius: 14px; transition: background .15s; }
.mega-link:hover { background: var(--bg-soft); }
.mega-link strong { display: block; color: var(--ink); font-size: 15px; }
.mega-link small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.mega-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); }
.mega-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 10px; border-radius: 12px; background: var(--bg-soft); color: var(--brand-700); font-weight: 700; font-size: 14px; }

/* Sections */
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.start { margin-inline: 0; text-align: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: 13.5px; margin-bottom: 18px; border: 1px solid var(--brand-100); }
.section-dark .eyebrow { background: rgba(25, 175, 200, .12); border-color: rgba(25, 175, 200, .28); color: #7FE1F1; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.section-dark .lead { color: rgba(255, 255, 255, .7); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .grad-text { background: linear-gradient(90deg, #5EE0F3, #7DA8FF 60%, #C4B5FD); -webkit-background-clip: text; background-clip: text; }

/* Hero */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 72px) 0 0; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 520px at 85% -10%, rgba(25, 175, 200, .38), transparent 60%),
  radial-gradient(800px 600px at 5% 10%, rgba(37, 99, 235, .32), transparent 60%),
  radial-gradient(700px 500px at 50% 100%, rgba(124, 58, 237, .25), transparent 65%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.hero-copy { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .88); margin-bottom: 26px; }
[dir="rtl"] .hero-badge { padding: 6px 14px 6px 8px; }
.hero-badge b { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12.5px; }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 6vw, 4.6rem); line-height: 1.08; margin-bottom: 22px; }
[dir="rtl"] .hero h1 { line-height: 1.3; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255, 255, 255, .74); max-width: 700px; margin: 0 auto 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .64); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note .ic { color: #5EE0F3; width: 16px; height: 16px; }
.hero-visual { position: relative; margin: 64px auto 0; max-width: 1120px; padding-bottom: 0; }
.browser { position: relative; border-radius: 18px 18px 0 0; background: #0F1B2D; padding: 10px 10px 0; box-shadow: 0 -2px 0 rgba(255, 255, 255, .06) inset, var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 10px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.browser-bar i:nth-child(1) { background: #FF5F57; } .browser-bar i:nth-child(2) { background: #FEBC2E; } .browser-bar i:nth-child(3) { background: #28C840; }
.browser-url { margin-inline: auto; padding: 4px 14px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .55); font-size: 12px; direction: ltr; }
.browser img { border-radius: 10px 10px 0 0; width: 100%; }
.float-card { position: absolute; z-index: 2; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px 16px; font-size: 13.5px; animation: floaty 7s ease-in-out infinite; }
.float-card .k { color: var(--muted); font-size: 12px; font-weight: 600; }
.float-card .v { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.float-card .up { color: var(--ok); font-weight: 700; font-size: 12px; }
.fc-sales { inset-inline-start: -34px; top: 12%; width: 200px; }
.fc-kds { inset-inline-start: -46px; top: 44%; width: 230px; animation-delay: -2.5s; }
.fc-kds .ticket-head { display: flex; justify-content: space-between; align-items: center; margin: -14px -16px 10px; padding: 10px 14px; border-radius: 18px 18px 0 0; background: #2563EB; color: #fff; font-weight: 800; font-size: 13px; }
.fc-kds .ticket-head span { font-size: 11px; background: rgba(255, 255, 255, .2); padding: 2px 8px; border-radius: 6px; }
.fc-kds ul { list-style: none; margin: 0; padding: 0; }
.fc-kds li { display: flex; gap: 8px; align-items: center; padding: 5px 0; font-weight: 600; border-bottom: 1px dashed var(--line); }
.fc-kds li:last-child { border: 0; }
.fc-kds li b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--bg-soft); font-size: 12px; }
.fc-kds .ready { margin-top: 10px; text-align: center; padding: 8px; border-radius: 10px; background: #059669; color: #fff; font-weight: 700; }
.phone-float { position: absolute; z-index: 3; inset-inline-end: -28px; bottom: -40px; width: 210px; border-radius: 34px; padding: 9px; background: #0B1220; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); animation: floaty 8s ease-in-out infinite; animation-delay: -4s; }
.phone-float img { border-radius: 26px; }
.phone-float::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 64px; height: 16px; border-radius: 10px; background: #0B1220; z-index: 2; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Business type marquee */
.types-band { background: #fff; border-bottom: 1px solid var(--line-2); }
.types-band .container { display: flex; align-items: center; gap: 28px; padding-block: 26px; }
.types-band p { margin: 0; flex: none; font-weight: 700; color: var(--muted); font-size: 14px; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.chip .ic { color: var(--c, var(--brand)); width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; color: var(--ink); }
.stat span { color: var(--muted); font-weight: 600; font-size: 14.5px; }

/* Role tabs */
.roles { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.role-tabs { display: flex; flex-direction: column; gap: 10px; }
.role-tab { text-align: start; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.role-tab .t { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 16.5px; }
.role-tab .t .ic { color: var(--brand-600); }
.role-tab p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; display: none; }
.role-tab.active { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(25, 175, 200, .12), var(--shadow); }
.role-tab.active p { display: block; }
.role-stage { position: sticky; top: calc(var(--header-h) + 24px); }
.role-panel { display: none; }
.role-panel.active { display: block; animation: fadeUp .45s ease both; }
.shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.shot img { width: 100%; }
.shot-phone { max-width: 320px; margin: 0 auto; border-radius: 36px; padding: 10px; background: #0B1220; border: 0; }
.shot-phone img { border-radius: 28px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .22s, box-shadow .22s, border-color .22s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6dee8; }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--c, var(--brand-700)); background: color-mix(in srgb, var(--c, var(--brand)) 13%, white); }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.section-dark .card p { color: rgba(255, 255, 255, .62); }
.section-dark .card:hover { border-color: rgba(255, 255, 255, .18); }
.section-dark .icon-tile { background: rgba(25, 175, 200, .14); color: #6FDDF0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto); gap: 20px; }
.bento .card { overflow: hidden; }
.b-wide { grid-column: span 4; }
.b-tall { grid-column: span 2; grid-row: span 2; }
.b-third { grid-column: span 2; }
.b-half { grid-column: span 3; }
.bento .shot-in { margin: 22px -28px -28px; border-top: 1px solid var(--line); }
.bento .shot-in img { width: 100%; }
.b-dark { background: linear-gradient(160deg, #0C1A2E, #07111F); border-color: #0C1A2E; color: rgba(255, 255, 255, .72); }
.b-dark h3 { color: #fff; }
.b-dark p { color: rgba(255, 255, 255, .64) !important; }
.b-grad { background: var(--grad); border: 0; color: #fff; }
.b-grad h3 { color: #fff; }
.b-grad p { color: rgba(255, 255, 255, .85) !important; }
.b-grad .icon-tile { background: rgba(255, 255, 255, .18); color: #fff; }
.mini-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.b-dark .mini-list li, .b-grad .mini-list li { color: rgba(255, 255, 255, .86); }
.mini-list .ic { color: var(--ok); width: 18px; height: 18px; margin-top: 3px; }
.b-grad .mini-list .ic, .b-dark .mini-list .ic { color: #7FE1F1; }

/* Solutions */
.solution-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.solution-card .sc-body { padding: 26px 26px 22px; flex: 1; }
.solution-card .sc-shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); border-top: 1px solid var(--line); }
.solution-card .sc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.solution-card:hover .sc-shot img { transform: scale(1.04); }
.solution-card .link-arrow { margin-top: 14px; }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.platform .icon-tile { margin: 0; flex: none; }
.platform h3 { font-size: 16.5px; margin: 0 0 4px; }
.platform p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--muted); }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); gap: 4px; margin: 0 auto 40px; }
.billing-toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 10px; font-weight: 700; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button.active { background: var(--ink); color: #fff; }
.billing-toggle .save { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #DCFCE7; color: #166534; }
.billing-toggle button.active .save { background: rgba(255, 255, 255, .18); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); position: relative; transition: transform .22s, box-shadow .22s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { background: linear-gradient(180deg, #0C1A2E, #07111F); color: rgba(255, 255, 255, .78); border-color: #0C1A2E; box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price b { color: #fff; }
.plan .badge { position: absolute; top: -13px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 800; }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .plan-desc { color: var(--muted); font-size: 14px; min-height: 44px; }
.plan.featured .plan-desc { color: rgba(255, 255, 255, .6); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; flex-wrap: wrap; }
.price b { font-size: 40px; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.price .cur { font-weight: 800; font-size: 16px; color: var(--muted); }
.price .per { color: var(--muted); font-size: 14px; }
.plan.featured .price .cur, .plan.featured .price .per { color: rgba(255, 255, 255, .6); }
.price-note { font-size: 13px; color: var(--muted-2); min-height: 20px; }
.plan .btn { margin: 20px 0 22px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { width: 18px; height: 18px; color: var(--brand-600); margin-top: 3px; }
.plan.featured li .ic { color: #6FDDF0; }
.plan li.limit { color: var(--ink); font-weight: 700; }
.plan.featured li.limit { color: #fff; }
[data-cycle="monthly"] .only-yearly, [data-cycle="yearly"] .only-monthly { display: none !important; }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.pay-row .pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-pill { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: 13px; color: var(--ink); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line-2); }
.compare th:first-child, .compare td:first-child { text-align: start; font-weight: 600; color: var(--ink-2); }
.compare thead th { background: var(--bg-soft); color: var(--ink); font-weight: 800; }
.compare tr:last-child td { border-bottom: 0; }
.compare .ic { margin: 0 auto; width: 18px; height: 18px; }
.compare .yes { color: var(--ok); }
.compare .no { color: #CBD5E1; }
.table-wrap { overflow-x: auto; border-radius: 18px; -webkit-overflow-scrolling: touch; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: #cfdae6; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: 64px 48px; background: var(--navy); color: #fff; text-align: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 20% 0%, rgba(25, 175, 200, .45), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgba(37, 99, 235, .45), transparent 60%); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.cta-band p { color: rgba(255, 255, 255, .72); max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .hero-ctas { margin-top: 8px; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 84px 0 56px; text-align: center; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 320px at 50% -10%, rgba(25, 175, 200, .16), transparent 70%), radial-gradient(500px 260px at 90% 20%, rgba(37, 99, 235, .08), transparent 70%); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.page-hero .lead { max-width: 720px; margin: 0 auto; }
.page-hero .hero-ctas { margin-top: 30px; }
.breadcrumbs { display: flex; justify-content: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--ink); }

/* Feature groups page */
.feature-group { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 56px 0; border-top: 1px solid var(--line); }
.feature-group:first-child { border-top: 0; padding-top: 0; }
.feature-group .fg-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.feature-group h2 { font-size: 26px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-item { display: flex; gap: 14px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.feature-item .icon-tile { margin: 0; flex: none; width: 44px; height: 44px; }
.feature-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Solution page */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; }
.check-list .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #DCFCE7; color: #059669; margin-top: 2px; }
.check-list .tick .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.check-list strong { display: block; color: var(--ink); }
.check-list span { color: var(--muted); font-size: 15px; }
.type-switch { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.type-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; background: #fff; }
.type-switch a.active { border-color: var(--c); color: var(--c); background: color-mix(in srgb, var(--c) 8%, white); }
.type-switch .ic { color: var(--c); width: 18px; height: 18px; }

/* Integrations */
.int-card { display: flex; gap: 16px; align-items: flex-start; }
.int-card .icon-tile { margin: 0; flex: none; }
.int-cat { display: inline-block; margin-bottom: 6px; font-size: 12px; font-weight: 800; color: var(--brand-700); background: var(--brand-50); padding: 2px 10px; border-radius: 999px; }

/* Download */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dl-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.dl-card .dl-top { display: flex; align-items: center; gap: 16px; }
.dl-card .dl-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink); }
.dl-card .dl-icon .ic { width: 30px; height: 30px; }
.dl-card h3 { margin: 0; font-size: 20px; }
.dl-card .meta { color: var(--muted); font-size: 14px; }
.dl-card .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.dl-card.recommended { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(25, 175, 200, .1), var(--shadow); }
.soon { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: #FEF3C7; color: #92400E; font-size: 12.5px; font-weight: 800; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { text-align: center; padding: 36px 26px; }
.contact-card .icon-tile { margin: 0 auto 16px; width: 58px; height: 58px; border-radius: 18px; }
.contact-card .value { font-weight: 800; color: var(--ink); font-size: 17px; direction: ltr; unicode-bidi: plaintext; }
.contact-form { display: grid; gap: 14px; }

/* Forms */
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid #D5DDE7; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(25, 175, 200, .15); }
.input.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(225, 29, 72, .1); }
.input-ltr { direction: ltr; text-align: left; }
[dir="rtl"] .input-ltr { text-align: right; }
.input-group { display: flex; align-items: stretch; border: 1px solid #D5DDE7; border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; direction: ltr; }
.input-group:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(25, 175, 200, .15); }
.input-group.invalid { border-color: var(--danger); }
.input-group .input { border: 0; box-shadow: none !important; min-width: 0; flex: 1; border-radius: 0; text-align: left; }
.input-group .addon { display: flex; align-items: center; padding: 0 14px; background: var(--bg-soft); color: var(--muted); font-weight: 700; font-size: 15px; white-space: nowrap; }
.field-msg { font-size: 13px; font-weight: 600; min-height: 18px; }
.field-msg.ok { color: #059669; }
.field-msg.err { color: var(--danger); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-inline-end: 52px; }
.pw-toggle { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.pw-toggle:hover { background: var(--bg-soft); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-600); flex: none; }
.checkbox a { color: var(--brand-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.alert { padding: 14px 16px; border-radius: 14px; font-size: 14.5px; font-weight: 600; }
.alert-error { background: #FFF1F2; color: #9F1239; border: 1px solid #FECDD3; }
.alert-ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-info { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }

/* Signup */
.signup-page { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: minmax(0, 1fr) 460px; }
.signup-main { padding: 48px 56px 64px; display: flex; justify-content: center; }
.signup-card { width: 100%; max-width: 640px; }
.signup-aside { position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .78); padding: 56px 44px; isolation: isolate; }
.signup-aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 100% 0%, rgba(25, 175, 200, .4), transparent 60%), radial-gradient(500px 360px at 0% 100%, rgba(37, 99, 235, .4), transparent 60%); }
.signup-aside h2 { color: #fff; font-size: 26px; }
.signup-aside .mini-list li { color: rgba(255, 255, 255, .86); }
.signup-aside .mini-list .ic { color: #6FDDF0; }
.aside-shot { margin-top: 36px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); }
.aside-quote { margin-top: 28px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.stepper { display: flex; gap: 8px; margin-bottom: 32px; }
.stepper .s { flex: 1; }
.stepper .bar { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.stepper .bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .35s ease; }
.stepper .s.done .bar i, .stepper .s.current .bar i { width: 100%; }
.stepper .lbl { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted-2); }
.stepper .s.current .lbl, .stepper .s.done .lbl { color: var(--ink); }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeUp .35s ease both; }
.step-panel h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 6px; }
.step-panel > .lead { margin-bottom: 28px; font-size: 16px; }
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.type-option { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option .icon-tile { margin: 0; flex: none; }
.type-option strong { display: block; color: var(--ink); }
.type-option small { color: var(--muted); font-size: 13px; line-height: 1.45; display: block; }
.type-option:hover { border-color: #c7d3e0; }
.type-option:has(input:checked) { border-color: var(--c, var(--brand)); background: color-mix(in srgb, var(--c, var(--brand)) 6%, white); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--brand)) 14%, transparent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.step-actions { display: flex; gap: 12px; margin-top: 30px; align-items: center; }
.step-actions .btn-primary { flex: 1; }
.plan-pick { display: grid; gap: 12px; }
.plan-option { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line); cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.plan-option input { accent-color: var(--brand-600); width: 20px; height: 20px; flex: none; }
.plan-option .po-main { flex: 1; min-width: 0; }
.plan-option strong { color: var(--ink); font-size: 16.5px; }
.plan-option small { display: block; color: var(--muted); font-size: 13px; }
.plan-option .po-price { text-align: end; font-weight: 800; color: var(--ink); white-space: nowrap; }
.plan-option .po-price small { font-weight: 600; }
.plan-option:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(25, 175, 200, .14); }
.plan-option .tag { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11.5px; vertical-align: middle; }
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.mode-card { position: relative; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line); cursor: pointer; background: #fff; }
.mode-card input { position: absolute; opacity: 0; }
.mode-card strong { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.mode-card small { display: block; color: var(--muted); margin-top: 4px; font-size: 13.5px; }
.mode-card:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 4px rgba(25, 175, 200, .14); }
.summary-box { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); border: 1px dashed #cdd8e4; font-size: 14.5px; }
.summary-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.summary-box .row b { color: var(--ink); }
.pay-element { margin-top: 18px; }
#express-checkout { margin-bottom: 14px; min-height: 0; }
.or-sep { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 13px; margin: 6px 0 16px; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.secure-note { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
.secure-note .ic { width: 16px; height: 16px; color: var(--ok); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn-light .spinner, .btn-ghost .spinner { border-color: rgba(15, 23, 42, .2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Welcome */
.welcome-hero { text-align: center; padding: 72px 0 32px; }
.welcome-hero .tick-big { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; margin: 0 auto 24px; background: var(--grad); color: #fff; box-shadow: 0 20px 40px -18px rgba(37, 99, 235, .7); }
.welcome-hero .tick-big .ic { width: 42px; height: 42px; stroke-width: 2.6; }
.account-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.account-box .card { padding: 22px; }
.account-box .k { color: var(--muted); font-size: 13.5px; font-weight: 700; }
.account-box .v { color: var(--ink); font-weight: 800; font-size: 16.5px; word-break: break-word; }
.next-steps { counter-reset: n; display: grid; gap: 12px; }
.next-steps a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s; }
.next-steps a:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.next-steps .icon-tile { margin: 0; flex: none; }
.next-steps strong { display: block; color: var(--ink); }
.next-steps small { color: var(--muted); }
.next-steps .ic.go { margin-inline-start: auto; color: var(--muted); }

/* Legal / prose */
.prose { max-width: 820px; margin: 0 auto; font-size: 16.5px; color: var(--ink-2); }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 14px; }

/* Tutorials */
.tut-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.tut-stats span { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--muted); font-size: 14.5px; }
.tut-stats b { color: var(--ink); font-size: 16px; }
.tut-controls { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.tut-tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tut-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 10px 16px; border-radius: 12px; font-weight: 700; cursor: pointer; color: var(--muted); }
.tut-tab small { font-weight: 600; opacity: .75; }
.tut-tab.active { background: var(--ink); color: #fff; }
.tut-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tut-chip { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.tut-chip.active { background: var(--brand-50); border-color: var(--brand); color: var(--brand-700); }
.tut-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tut-player { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0B1220; box-shadow: var(--shadow-lg); }
.tut-player iframe, .tut-poster, .tut-poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tut-poster { padding: 0; cursor: pointer; background: #0B1220; }
.tut-poster img { object-fit: cover; }
.tut-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #E11D48; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); transition: transform .2s; }
.tut-play .ic { width: 34px; height: 34px; margin-inline-start: 4px; }
.tut-poster:hover .tut-play { transform: translate(-50%, -50%) scale(1.07); }
.tut-now { padding: 20px 4px 0; }
.tut-now-meta { color: var(--brand-700); font-weight: 800; font-size: 13.5px; }
.tut-now h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 6px 0 8px; }
.tut-now p { color: var(--muted); }
.tut-now-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tut-list-col { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.tut-list-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.tut-list-head strong { color: var(--ink); }
.tut-progress { font-size: 13px; color: var(--muted); font-weight: 700; }
.tut-search { position: relative; margin-bottom: 10px; }
.tut-search .ic { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.tut-search .input { padding-inline-start: 42px; min-height: 44px; font-size: 15px; }
.tut-list { list-style: none; margin: 0; padding: 0; max-height: 640px; overflow-y: auto; display: grid; gap: 4px; }
.tut-item a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; transition: background .15s; }
.tut-item a:hover { background: var(--bg-soft); }
.tut-item.current a { background: var(--brand-50); box-shadow: inset 0 0 0 1.5px var(--brand); }
.tut-thumb { position: relative; flex: none; width: 120px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--line); }
.tut-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tut-thumb em { position: absolute; inset-inline-end: 5px; bottom: 5px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .75); padding: 1px 6px; border-radius: 5px; direction: ltr; }
.tut-item-text { min-width: 0; flex: 1; }
.tut-item-text small { display: block; color: var(--brand-700); font-weight: 800; font-size: 12px; }
.tut-item-text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: var(--ink); line-height: 1.45; }
.tut-done { color: #CBD5E1; flex: none; }
.tut-item.watched .tut-done { color: var(--ok); }
.tut-empty { color: var(--muted); text-align: center; padding: 20px 0; margin: 0; }
.tut-pl h3 { margin-top: 4px; }
.btn-yt { background: #FF0033; color: #fff; }
@media (max-width: 1024px) {
  .tut-layout { grid-template-columns: 1fr; }
  .tut-list-col { position: static; }
  .tut-list { max-height: none; }
}
@media (max-width: 720px) {
  .tut-controls { flex-direction: column; align-items: stretch; }
  .tut-controls > * { min-width: 0; max-width: 100%; }
  .tut-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tut-tab { min-width: 0; justify-content: center; padding: 10px 8px; font-size: 14px; white-space: normal; text-align: center; line-height: 1.35; }
  .tut-tab small { display: none; }
  .tut-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tut-chip { flex: none; }
  .tut-play { width: 64px; height: 64px; }
}

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .62); padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 340px; }
.footer-contact { display: grid; gap: 10px; margin-top: 16px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .82); font-weight: 600; font-size: 14.5px; }
.footer-contact a:hover { color: #fff; }
.footer-contact .ic { width: 18px; height: 18px; color: #6FDDF0; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer .footer-grid > div:not(.footer-brand) a { display: block; padding: 5px 0; font-size: 14.5px; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 20px 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.footer-bottom a { color: #fff; font-weight: 700; }
.pay-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.pay-badges span { display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font-weight: 800; font-size: 12px; }
.wa-float { position: fixed; z-index: 40; inset-inline-end: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1180px) {
  .main-nav .nav-link { padding: 8px 9px; font-size: 14.5px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .fc-sales { inset-inline-start: 8px; }
  .fc-kds { inset-inline-start: 8px; }
  .phone-float { inset-inline-end: 8px; width: 180px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 20px 32px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; }
  [dir="rtl"] .main-nav { transform: translateX(-100%); }
  .nav-open .main-nav { transform: none; visibility: visible; }
  /* backdrop-filter would make the header the containing block of the fixed menu and clip it */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .site-header.on-dark { background: transparent; }
  .main-nav { height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 60; }
  .nav-open .site-header { background: #fff !important; }
  .nav-open .on-dark .brand .brand-dark, .nav-open.on-dark .brand .brand-dark { display: block; }
  .nav-open .on-dark .brand .brand-light, .nav-open.on-dark .brand .brand-light { display: none; }
  .main-nav .nav-link { color: var(--ink) !important; font-size: 17px; padding: 14px 12px; justify-content: space-between; width: 100%; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; display: none; }
  .has-menu.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-mobile-actions { display: grid; gap: 10px; margin-top: 18px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .login-link, .header-actions .btn, .header-actions .lang-switch { display: none; }
  .on-dark .nav-toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
  .nav-open .nav-toggle { background: #fff; color: var(--ink); border-color: var(--line); }
  .roles { grid-template-columns: 1fr; }
  .role-stage { position: static; order: -1; }
  .role-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .role-tab { flex: 0 0 auto; scroll-snap-align: start; padding: 12px 16px; }
  .role-tab p { display: none !important; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-wide, .b-tall, .b-third, .b-half { grid-column: span 2; grid-row: auto; }
  .grid-4, .platforms { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-group { grid-template-columns: 1fr; gap: 20px; }
  .feature-group .fg-head { position: static; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .signup-page { grid-template-columns: 1fr; }
  .signup-aside { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-sm { padding: 52px 0; }
  .container { padding-inline: 16px; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-ctas .btn { width: 100%; }
  .hero-visual { margin-top: 44px; }
  .float-card, .phone-float { display: none; }
  .browser { padding: 6px 6px 0; border-radius: 12px 12px 0 0; }
  .browser-bar { padding: 2px 4px 6px; }
  .browser-url { display: none; }
  .types-band .container { flex-direction: column; align-items: stretch; gap: 14px; }
  .types-band p { text-align: center; }
  .grid-2, .grid-3, .grid-4, .platforms, .plans, .steps, .dl-grid, .feature-list, .account-box { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-wide, .b-tall, .b-third, .b-half { grid-column: auto; }
  .card { padding: 22px; }
  .bento .shot-in { margin: 18px -22px -22px; }
  .cta-band { padding: 44px 22px; border-radius: 24px; }
  .signup-main { padding: 28px 16px 48px; }
  .type-grid, .form-grid, .mode-cards { grid-template-columns: 1fr; }
  .stepper .lbl { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .billing-toggle button { padding: 10px 14px; }
  .page-hero { padding: 56px 0 36px; }
  .wa-float { width: 52px; height: 52px; inset-inline-end: 14px; bottom: 14px; }
  .plan-option { flex-wrap: wrap; }
}
