/* MODAR public landing page (landing plan §3). Arabic RTL first; tokens from the approved canvas. */

@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Readex Pro"; font-weight: 700; font-display: swap; src: url(fonts/readex-pro-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex Pro"; font-weight: 700; font-display: swap; src: url(fonts/readex-pro-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--blue: #1f4bd8; --deep: #1636a3; --light: #4d78f5; --navy: #101826; --navy-2: #1b2537; --navy-line: #273246;
	--ink: #141b26; --ink-2: #2d3748; --muted: #4a5568; --muted-2: #5b6170;
	--surface: #f5f7fb; --line: #e3e8f0; --line-2: #c9d2e0; --chip: #e8eefc;
	--paper: #fbfaf6; --paper-line: #e2ddd0; --paper-dash: #cfc8b6;
	--ok: #145c34; --ok-line: #1d7a46; --ok-bg: #e7f4ec;
	--app: #017b35; --app-bg: #f1f5f0; --app-warn: #8a5a00; --app-warn-bg: #fff4dc;
	--display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.7 "IBM Plex Sans Arabic", system-ui, sans-serif; font-variant-numeric: tabular-nums; overflow-x: hidden; }
html[dir="ltr"] body { font-family: "IBM Plex Sans", system-ui, sans-serif; }
html[dir="ltr"] .display, html[dir="ltr"] .hero h1, html[dir="ltr"] .bill-total span { font-family: "IBM Plex Sans", system-ui, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--light); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.display { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 42px); line-height: 1.3; }
.section { padding: 88px 0; }
.section-tint { background: var(--surface); }
.section-lead { margin: 10px 0 40px; font-size: 18px; color: var(--muted); max-width: 620px; }
.section-lead.center { margin-inline: auto; }
.fine { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 8px; font-family: inherit; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--deep); color: #fff; }
.btn-whatsapp { background: #fff; border-color: var(--ok-line); color: var(--ok); }
.btn-whatsapp:hover { background: var(--ok-bg); color: var(--ok); }
.btn-whatsapp-dark { border-color: #4fbf7f; color: #fff; }
.btn-whatsapp-dark:hover { background: #18304a; color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand img { display: block; height: 38px; width: auto; }
.main-nav { display: flex; gap: 22px; flex: 1 1 auto; font-size: 15px; }
.main-nav a, .link-quiet { color: var(--muted); text-decoration: none; }
.main-nav a:hover, .link-quiet:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 16px; font-size: 15px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 56px 72px; }
.hero-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 20px; }
.tag { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--deep); background: var(--chip); border-radius: 999px; padding: 6px 14px; }
.hero h1 { font-family: var(--display); font-size: clamp(32px, 4.2vw, 52px); line-height: 1.35; font-weight: 700; }
.accent { color: var(--blue); }
.lead { font-size: 19px; color: var(--muted); }
.price-chip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 4px 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.price-chip strong { font-size: 22px; }
.price-chip span { color: var(--muted); font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { flex: 1.25 1 520px; min-width: 0; position: relative; padding-bottom: 40px; }
.screen-frame { background: var(--navy); border: 1px solid var(--navy-line); padding: 10px; }
.screen-frame.laptop { border-radius: 14px; margin-inline-end: 90px; }
.screen-frame.phone { position: absolute; inset-inline-end: 0; bottom: 0; width: 190px; height: 380px; border-radius: 28px; padding: 8px; box-shadow: 0 12px 32px rgba(16, 24, 38, .25); }
/* Real screenshots: each frame takes its image's own proportions, so nothing is cropped by CSS. */
.shot { display: block; width: 100%; height: auto; background: #fff; }
.screen-frame.laptop .shot { border-radius: 8px; }
.screen-frame.phone:has(.shot) { width: 170px; height: auto; }
.screen-frame.phone .shot { border-radius: 22px; }
/* A screen shown at true scale but cut to the part that matters; the fades mark where it continues. */

/* Two order sources */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1.05fr); align-items: stretch; }
.flow-sources { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.lane { display: flex; flex-direction: column; gap: 10px; }
.lane-label { font-size: 14px; font-weight: 700; color: var(--deep); }
.slip { background: var(--paper); border: 1px solid var(--paper-line); border-bottom: 2px dashed var(--paper-dash); padding: 16px 18px 18px; }
.slip-head, .notice-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted-2); }
.slip-name, .notice-title { margin-top: 6px; min-height: 2.7em; font-size: 17px; line-height: 1.35; font-weight: 700; }
.slip-rows { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); }
.slip-rows div { display: flex; justify-content: space-between; }
.slip-total { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--paper-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; font-size: 15px; }
.ok { color: var(--ok); font-weight: 600; }
.notice { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(16, 24, 38, .08); }
.notice-head { align-items: center; justify-content: flex-start; }
.notice-head .app { font-weight: 600; color: var(--ink); }
.notice-head .time { margin-inline-start: auto; }
.notice-meta { margin-top: 4px; font-size: 14px; color: var(--muted); }
.wire { width: 100%; height: 100%; overflow: visible; }
.wire-v { display: none; }
.wire-base { fill: none; stroke: var(--line-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.wire-pulse { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 5 95; animation: run 2.6s linear infinite; }
.wire-pulse.late { animation-delay: 1.3s; }
@keyframes run { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.today { align-self: center; background: var(--navy); color: #fff; border-radius: 16px; padding: 22px 24px; }
.today-head { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.today-head img { background: #fff; border-radius: 8px; padding: 3px; }
.today-head .sample { margin-inline-start: auto; font-size: 12px; font-weight: 400; color: #c7cfdb; border: 1px solid #3a4760; border-radius: 999px; padding: 2px 10px; }
.today dl { margin: 18px 0 0; }
.today dl > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--navy-line); }
.today dt { flex: 1 1 auto; color: #c7cfdb; font-size: 15px; }
.today dd { margin: 0; }
.today .big { font-size: 26px; font-weight: 700; }
.today .hl { color: #9fb6ff; }
.today .sub { flex-basis: 100%; font-size: 13px; color: #a9b3c2; }

/* Apps tabs */
/* One segmented track; the blue pill slides to the chosen app (positioned by landing.js). */
.tabs { position: relative; display: flex; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; gap: 2px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; }
.tabs [role="tab"] { position: relative; z-index: 1; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1; min-height: 44px; padding: 10px 22px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--ink-2); border: 0; transition: color .25s; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { color: #fff; }
.tab-indicator { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--blue); box-shadow: 0 4px 12px rgba(31, 75, 216, .3); transition: transform .35s cubic-bezier(.2, .8, .2, 1), width .35s cubic-bezier(.2, .8, .2, 1); }
.tabs:not(.ready) [role="tab"][aria-selected="true"] { background: var(--blue); }
.tab-icon, .tab-short { display: none; }
/* The new panel glides in from the side you moved toward. */
.panel.enter { animation: panel-in .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateX(var(--from, 0)); } to { opacity: 1; transform: none; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 24px; }
.panel h3 { font-size: 26px; }
/* A phone app in a panel: the whole screen in a phone frame, centred, never stretched to the panel. */
.day { list-style: none; margin: 28px 0 0; padding: 4px 4px 12px; display: flex; gap: 24px; justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory; }
.day > li { flex: 0 0 230px; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.day > li > p { max-width: 230px; text-align: center; font-size: 15px; color: var(--ink-2); }
.day-time { font-size: 15px; font-weight: 700; }
.day-time span { color: var(--deep); }
.device { width: 230px; background: var(--navy); border-radius: 32px; padding: 8px; box-shadow: 0 14px 32px rgba(16, 24, 38, .18); }
.device .shot { border-radius: 25px; }
.device a { display: block; border-radius: inherit; }
.pager { display: none; }
.device a:focus-visible { outline: 3px solid var(--light); outline-offset: 4px; }
/* The portal is a desktop screen: today large, the other two side by side under it. */
.day.wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; max-width: 980px; margin-inline: auto; overflow: visible; scroll-snap-type: none; }
.day.wide > li { min-width: 0; }
.day.wide > li:first-child { grid-column: 1 / -1; }
.day.wide > li > p { max-width: none; }
.device.wide { width: 100%; border-radius: 14px; }
.device.wide .shot { border-radius: 8px; }

/* How you start */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.track::before { content: ""; position: absolute; top: 21px; right: 12.5%; left: 12.5%; height: 2px; background: var(--line-2); }
.track > li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 12px; position: relative; }
.track > li > div { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.track h3 { font-size: 18px; }
.track p { font-size: 15px; color: var(--muted); }
.dot { position: relative; z-index: 1; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; background: #fff; color: var(--deep); border: 2px solid var(--line-2); box-shadow: 0 0 0 6px #fff; }
.paid .dot { background: var(--blue); color: #fff; border-color: var(--blue); }
.free, .pay { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.free { background: var(--ok-bg); color: var(--ok); }
.pay { background: var(--blue); color: #fff; }

/* Pricing bill */
.pricing { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.pricing-copy { flex: 1 1 380px; }
.pricing-copy .section-lead { margin-bottom: 20px; }
.rules { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rules dt { font-weight: 700; }
.rules dd { margin: 0; color: var(--muted); }
.bill { flex: 1 1 380px; max-width: 440px; margin: 0 auto; filter: drop-shadow(0 10px 22px rgba(16, 24, 38, .10)); }
.bill-paper { background: var(--paper); border: 1px solid var(--paper-line); border-bottom: 0; padding: 26px 26px 18px; }
.bill-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 18px; }
.bill-head span { font-size: 12px; color: var(--muted-2); }
.bill-rule { margin: 14px 0; border-top: 1.5px dashed var(--paper-dash); }
.bill-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.bill-line label { display: flex; align-items: center; gap: 8px; }
.bill-line input { font: inherit; font-weight: 700; width: 92px; padding: 4px 6px; border: 0; border-bottom: 2px solid var(--blue); background: transparent; text-align: center; -moz-appearance: textfield; }
.bill-line input::-webkit-outer-spin-button, .bill-line input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bill-double { margin: 16px 0 12px; border-top: 3px double var(--ink); }
.bill-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bill-total span { font-family: var(--display); font-size: 36px; font-weight: 700; color: var(--deep); }
.presets { margin: 18px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted-2); }
.presets button { font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1; min-height: 44px; padding: 4px 14px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--ink); border: 1px solid var(--paper-dash); }
.presets button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.bill-edge { height: 14px; background: linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 14px repeat-x, linear-gradient(225deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 14px repeat-x; }

/* Request form */
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-weight: 400; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); }
.lead-form [aria-invalid="true"] { border-color: #b42318; }
.lead-form .wide { grid-column: 1 / -1; }
.picker { position: relative; display: flex; flex-direction: column; gap: 6px; }
.picker-label { font-weight: 600; font-size: 15px; }
.picker-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); font-family: inherit; font-size: 16px; text-align: start; cursor: pointer; }
.picker-toggle[aria-expanded="true"] { border-color: var(--blue); }
.picker-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.picker[aria-invalid="true"] .picker-toggle { border-color: #b42318; }
.picker-summary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-summary.empty { color: var(--muted); }
.picker-panel { position: absolute; top: 100%; inset-inline: 0; z-index: 5; margin-top: 6px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; box-shadow: 0 14px 32px rgba(16, 24, 38, .14); padding: 8px; }
.picker-panel input[type="search"] { width: 100%; min-height: 44px; margin-bottom: 6px; }
.picker-list { max-height: 280px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.lead-form .picker-item { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; min-height: 44px; padding: 6px 8px; border-radius: 6px; font-weight: 400; font-size: 16px; cursor: pointer; }
.lead-form .picker-item:has(input:checked) { background: var(--chip); color: var(--deep); font-weight: 600; }
.lead-form .picker-item:hover { background: var(--surface); }
.lead-form .picker-item input { flex: 0 0 auto; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; border: 0; accent-color: var(--blue); }
.picker-empty { padding: 8px; }
.picker[data-picker="single"] .picker-list { max-height: none; }
.picker .other { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; font-weight: 600; font-size: 15px; }
#lead-status { font-weight: 600; min-height: 1.7em; }
#lead-status.ok { color: var(--ok); }
#lead-status.err { color: #b42318; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.faq-side { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.link-whatsapp { align-self: flex-start; color: var(--ok); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ok-line); }
.faq-list { flex: 2.2 1 480px; min-width: 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { flex: 0 0 auto; font-size: 26px; font-weight: 400; color: var(--blue); line-height: 1; transition: transform .2s; }
details[open] .plus { transform: rotate(45deg); }
.faq-list p { margin: 0 0 18px; color: var(--muted); }

/* Closing + footer */
.closing { background: var(--navy); color: #fff; padding: 72px 0; }
.closing-row { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.closing-row > div:first-child { flex: 1 1 420px; }
.closing p { margin-top: 10px; color: #c7cfdb; font-size: 17px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-block: 28px; font-size: 14px; color: var(--muted); }
.footer-row img { height: 32px; width: auto; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-row nav a { color: var(--muted); }

/* Phone */
@media (max-width: 760px) {
	.main-nav, .link-quiet:not(.lang-switch) { display: none; }
	.header-row { justify-content: space-between; }
	.hero { padding-block: 28px 32px; gap: 28px; }
	.hero-copy { flex-basis: 100%; }
	.hero .actions .btn { width: 100%; }
	.hero-visual { flex-basis: 100%; padding-bottom: 0; display: flex; justify-content: center; }
	.screen-frame.laptop { display: none; }
	.screen-frame.phone { position: static; width: 230px; height: 440px; }
	.section { padding: 56px 0; }
	.flow { grid-template-columns: minmax(0, 1fr); }
	.flow-sources { flex-direction: row; gap: 10px; align-items: stretch; }
	.flow-sources > * { flex: 1 1 0; min-width: 0; }
	.flow-sources > .lane { display: flex; }
	.flow-sources > .lane > .lane-label { min-height: 2.8em; }
	.flow-sources > .lane > .lane-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.flow-sources > .lane > article { flex: 1 1 auto; }
	.flow .slip-rows { display: none; }
	.wire-h { display: none; }
	.wire-v { display: block; height: 72px; }
	/* apps: one sideways row of roles, no inner card */
	/* like the apps' own bottom bar: four equal segments, an icon over a short label, nothing scrolls */
	.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; gap: 0; margin-bottom: 20px; border-radius: 18px; }
	.tabs [role="tab"] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 60px; padding: 8px 2px; font-size: 13px; border-radius: 14px; }
	.tab-indicator { border-radius: 14px; box-shadow: 0 4px 10px rgba(31, 75, 216, .25); }
	.tab-icon { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
	.tab-full { display: none; }
	.tab-short { display: inline; }
	.panel { border: 0; border-radius: 0; background: transparent; padding: 8px 0 0; }
	.panel h3 { font-size: 21px; }
	#panel-mandoob .section-lead { margin-bottom: 16px; font-size: 16px; }
	/* one screen at a time, sized to fit the phone's own height; swipe for the next */
	.day, .day.wide { --slide: min(56vw, 230px, calc((100svh - 220px) * .45)); display: flex; gap: 12px; max-width: none; margin: 18px -16px 0; padding: 4px calc(50% - var(--slide) / 2) 6px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
	.day::-webkit-scrollbar { display: none; }
	.day > li, .day.wide > li:first-child { flex: 0 0 var(--slide); grid-column: auto; scroll-snap-align: center; scroll-snap-stop: always; gap: 10px; }
	.day-time { font-size: 15px; text-align: center; }
	.device, .device.wide { width: 100%; padding: 6px; border-radius: 26px; }
	.device .shot, .device.wide .shot { border-radius: 20px; }
	.day > li > p { max-width: none; min-height: 4.5em; font-size: 14px; line-height: 1.5; }
	/* the centred screen leads; its neighbours peek, smaller and dimmed, so the swipe is obvious */
	.day.slider > li { transform: scale(.86); opacity: .45; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
	.day.slider > li > p { opacity: 0; transition: opacity .25s; }
	.day.slider > li.is-active { transform: none; opacity: 1; }
	.day.slider > li.is-active > p { opacity: 1; }
	.pager { display: flex; justify-content: center; gap: 2px; margin-top: 2px; }
	.pager button { display: grid; place-items: center; min-width: 32px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; }
	.pager button::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--line-2); transition: width .3s, background-color .3s; }
	.pager button[aria-current="true"]::before { width: 40px; background: var(--blue); }
	.pager button:focus-visible { outline: 2px solid var(--blue); outline-offset: -6px; border-radius: 8px; }
	.screen-frame.phone:has(.shot) { width: 230px; }
	.track { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.track::before { top: 22px; bottom: 22px; inset-inline: 21px auto; width: 2px; height: auto; }
	.track > li { flex-direction: row; align-items: flex-start; text-align: start; gap: 14px; padding: 0; }
	.track > li > div { align-items: flex-start; }
	.lead-form { grid-template-columns: minmax(0, 1fr); }
	.pricing { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.wire-pulse { animation: none; opacity: 0; }
	.tab-indicator { transition: none; }
	.panel.enter { animation: none; }
	.day.slider > li, .day.slider > li > p, .pager button::before { transition: none; }
	.plus { transition: none; }
}
/* English (LTR): the order-source wire is drawn right to left for RTL, so mirror it. */
[dir="ltr"] .wire-h { transform: scaleX(-1); }
