/* SkedulePro marketing site — mockup */
:root {
  --ink: #06151B;
  --ink-2: #081B22;
  --surface: #0C2129;
  --surface-2: #102A34;
  --line: #1B3A44;
  --text: #E6F4F0;
  --muted: #8FB3AD;
  --green: #2BFF9A;
  --green-deep: #0B7A3E;
  --amber: #FFB547;
  --rose: #FF4D6D;
  --cyan: #3BE0FF;
  --state: var(--green);
  --headline: "Unbounded", "Alexandria", system-ui, sans-serif;
  --display: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --green-ink: #2BFF9A;
  --on-green: #032015;
  --head-bg: rgba(6,21,27,.78);
  --subnav-bg: rgba(6,21,27,.9);
  --hub-bg: radial-gradient(circle at 35% 30%, #133744, #07171D 70%);
  --hub-line: #23505C;
  --cta-bg: linear-gradient(135deg, #0F2E36, #08191F 60%);
  --cookie-bg: rgba(12,33,41,.97);
  --switch-off: #22434D;
  --glow-a: .5;
  --shadow: rgba(0,0,0,.85);
  --logo-dark: none;
  color-scheme: dark;
}
[data-theme="light"] {
  --ink: #F3F8F7;
  --ink-2: #E9F2F0;
  --surface: #FFFFFF;
  --surface-2: #F1F7F5;
  --line: #D2E2DE;
  --text: #0B2226;
  --muted: #4E6A67;
  --green: #00C774;
  --green-ink: #007C47;
  --amber: #F29D12;
  --rose: #E8365A;
  --cyan: #0079A8;
  --on-green: #02160D;
  --head-bg: rgba(243,248,247,.82);
  --subnav-bg: rgba(243,248,247,.92);
  --hub-bg: radial-gradient(circle at 35% 30%, #FFFFFF, #E3F1EC 75%);
  --hub-line: #BFDCD3;
  --cta-bg: linear-gradient(135deg, #FFFFFF, #E4F3EE 70%);
  --cookie-bg: rgba(255,255,255,.98);
  --switch-off: #C5D7D3;
  --glow-a: .28;
  --shadow: rgba(16,50,48,.28);
  color-scheme: light;
}
[dir="rtl"] { --headline: "Alexandria", "Unbounded", system-ui, sans-serif; --display: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif; --body: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-feature-settings: "ss01", "cv11";
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; }
.skip:focus { inset-inline-start: 16px; z-index: 100; background: var(--surface); padding: 8px 14px; }

h1, h2, h3 { font-family: var(--headline); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.95rem, 4.6vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.45rem, 2.9vw, 2.45rem); font-weight: 500; }
h3 { font-size: 1.05rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.005em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; }
[dir="rtl"] h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 600; }
[dir="rtl"] h2 { font-weight: 600; }
@media (min-width: 901px) { .nav .nav-demo { display: none; } }
p { margin: 0; }
h1, h2, h3, summary, .quote { text-wrap: balance; }
p, li, dd, .lead { text-wrap: pretty; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 500 1rem/1 var(--display); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary { background: linear-gradient(135deg, #0D8049, #0A6638); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(43,255,154,.55), 0 0 22px -6px rgba(43,255,154,.55); }
.btn-primary:hover { color: #FFFFFF; transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(43,255,154,.8), 0 8px 30px -6px rgba(43,255,154,.7); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--green); padding-bottom: 4px; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  min-height: 40px; min-width: 52px; padding: 0 12px; border-radius: 999px;
  background: transparent; color: var(--text); border: 1px solid var(--line);
  font: 500 .95rem/1 var(--display); cursor: pointer;
}
.lang:hover { border-color: var(--muted); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }
.head-actions .btn { min-height: 40px; padding: 0 18px; font-size: .95rem; }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 72px; inset-inline: 0; flex-direction: column; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--green-ink); }
  .menu-btn { display: inline-grid; place-items: center; }
  .head-actions { margin-inline-start: auto; }
  .head-actions .btn { display: none; }
}

/* Sections */
section { padding: clamp(56px, 6.2vw, 84px) 0; position: relative; }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.band { background: var(--ink-2); border-block: 1px solid var(--line); }

/* HERO */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--state) 22%, transparent), transparent 70%);
  transition: background 1.2s var(--ease); pointer-events: none;
}
[dir="rtl"] .hero::before { inset: -20% auto auto -10%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; position: relative; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.state-readout { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .98rem; min-height: 28px; }
.state-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--state); box-shadow: 0 0 12px 2px var(--state); transition: background .8s, box-shadow .8s; flex: none; }

/* 3D wall panel */
.stage { perspective: 1700px; padding: 20px 0; }
.panel3d {
  position: relative; transform-style: preserve-3d;
  transform: rotateY(-17deg) rotateX(5deg) rotateZ(.4deg);
  transition: transform .9s var(--ease);
}
[dir="rtl"] .panel3d { transform: rotateY(17deg) rotateX(5deg) rotateZ(-.4deg); }
.panel3d:hover { transform: rotateY(-9deg) rotateX(3deg); }
[dir="rtl"] .panel3d:hover { transform: rotateY(9deg) rotateX(3deg); }
.bezel {
  position: relative; padding: 16px; border-radius: 26px;
  background: linear-gradient(145deg, #1A2B31, #0A1419 60%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 50px 90px -30px rgba(0,0,0,.85),
    0 0 0 1px #24363D;
}
.bezel::after { /* side depth */
  content: ""; position: absolute; inset: 6px -14px 6px auto; width: 14px; border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, #0B1418, #05090B); transform: rotateY(90deg); transform-origin: left;
}
.screen { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.screen img.on { opacity: 1; }
.screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.09), transparent 35%); pointer-events: none; }
.led {
  position: absolute; top: 12%; bottom: 12%; width: 5px; border-radius: 4px; background: var(--state);
  box-shadow: 0 0 14px 3px var(--state), 0 0 60px 10px color-mix(in srgb, var(--state) 45%, transparent);
  transition: background .9s var(--ease), box-shadow .9s var(--ease);
}
.led.l { inset-inline-start: -3px; }
.led.r { inset-inline-end: -3px; }
.wall-glow { position: absolute; inset: 8% -6% -14% -6%; z-index: -1; filter: blur(48px); opacity: var(--glow-a); background: var(--state); transform: translateZ(-80px); border-radius: 40%; transition: background .9s; }

/* status legend */
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.state { padding: 32px 28px; display: grid; gap: 10px; background: var(--surface); }
.state + .state { border-inline-start: 1px solid var(--line); }
.state h3 { display: flex; align-items: center; gap: 12px; }
.state .bar { width: 28px; height: 6px; border-radius: 4px; }
.state.s-free .bar { background: var(--green); box-shadow: 0 0 12px var(--green); }
.state.s-soon .bar { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.state.s-busy .bar { background: var(--rose); box-shadow: 0 0 12px var(--rose); }

/* suite diagram */
.suite { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px 40px; align-items: center; }
.suite-col { display: grid; gap: 14px; }
.node {
  display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: center;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  color: var(--text); text-decoration: none; transition: border-color .25s, background .25s;
}
.node:hover, .node:focus-visible { border-color: var(--green); background: var(--surface-2); color: var(--text); }
.node svg { grid-row: span 2; width: 40px; height: 40px; color: var(--green-ink); }
.node b { font: 500 1.02rem/1.2 var(--display); }
.node span { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.hub {
  width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; text-align: center; position: relative;
  background: var(--hub-bg);
  border: 1px solid var(--hub-line); box-shadow: 0 0 0 10px rgba(43,255,154,.04), 0 0 80px -10px rgba(43,255,154,.35);
}
.hub img { width: 64px; height: 64px; margin: 0 auto 8px; }
.hub b { font: 500 1.05rem/1.2 var(--display); display: block; }
.hub span { color: var(--muted); font-size: .85rem; }
.hub::before, .hub::after {
  content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(59,224,255,.28);
}
.hub::after { inset: -38px; border-color: rgba(43,255,154,.16); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 80px; }
.feature.flip > :first-child { order: 2; }
.feature-copy { display: grid; gap: 18px; }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 14px; height: 8px; border-inline-start: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translateY(-3px); }
[dir="rtl"] .ticks li::before { transform: rotate(45deg) scaleX(-1) translateY(-3px); }

/* tilted screenshot frames */
.tilt { perspective: 1400px; }
.tilt > .frame { transform: rotateY(-8deg) rotateX(4deg); transition: transform .7s var(--ease); transform-style: preserve-3d; }
.feature.flip .tilt > .frame { transform: rotateY(8deg) rotateX(4deg); }
[dir="rtl"] .tilt > .frame { transform: rotateY(8deg) rotateX(4deg); }
[dir="rtl"] .feature.flip .tilt > .frame { transform: rotateY(-8deg) rotateX(4deg); }
.tilt:hover > .frame { transform: none !important; }
.frame {
  border-radius: 16px; padding: 10px; background: linear-gradient(145deg, #1A2B31, #0A1419);
  box-shadow: 0 0 0 1px #24363D, 0 40px 80px -30px rgba(0,0,0,.9), 0 0 70px -20px color-mix(in srgb, var(--glow, var(--green)) 50%, transparent);
}
.frame img { border-radius: 8px; width: 100%; }
.frame.browser { padding: 0; overflow: hidden; }
.frame.browser .chrome { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #0E1D23; }
.frame.browser .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #2A434B; }
.frame.browser img { border-radius: 0; }
.phones { display: flex; gap: 20px; justify-content: center; align-items: flex-end; }
.phone { width: min(46%, 270px); border-radius: 34px; padding: 9px; background: #0B1418; box-shadow: 0 0 0 1px #2A3C43, 0 40px 70px -25px rgba(0,0,0,.9), 0 0 60px -20px color-mix(in srgb, var(--glow, var(--green)) 55%, transparent); }
.phone img { border-radius: 26px; }
.phone.raise { transform: translateY(-34px); }
.duo { position: relative; padding-bottom: 60px; }
.duo .frame.back { width: 88%; }
.duo .phone.front { position: absolute; inset-inline-end: 0; bottom: 0; width: 34%; }

/* outlook flow */
.flow { display: grid; grid-template-columns: repeat(5, auto); align-items: center; justify-content: center; gap: 14px; margin-top: 8px; }
.flow .pill { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: 500 .98rem/1.2 var(--display); white-space: nowrap; }
.flow .pill.hub-pill { border-color: var(--green); box-shadow: 0 0 24px -6px var(--green); }
.wire { width: 64px; height: 2px; position: relative; background: linear-gradient(90deg, var(--line), var(--line)); overflow: hidden; border-radius: 2px; }
.wire::after { content: ""; position: absolute; top: 0; width: 22px; height: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 2.4s var(--ease) infinite; }
.wire.back::after { animation-direction: reverse; background: var(--green); box-shadow: 0 0 8px var(--green); }
@keyframes pulse { from { inset-inline-start: -22px; } to { inset-inline-start: 100%; } }
.sync-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.sync-cols article { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: 12px; align-content: start; }
.sync-cols ol { margin: 0; padding-inline-start: 1.2em; color: var(--muted); display: grid; gap: 6px; }

/* bilingual showcase */
.bi { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* CTA band */
.cta-band { padding: 0 0 96px; }
.cta-card {
  border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  background: var(--cta-bg);
  border: 1px solid var(--hub-line); position: relative; overflow: hidden;
}
.cta-card::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(43,255,154,.18), transparent); pointer-events: none; }
.cta-card .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }

/* products page */
.subnav { position: sticky; top: 72px; z-index: 40; background: var(--subnav-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav a { flex: none; padding: 8px 16px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.subnav a:hover, .subnav a.active { color: var(--text); background: var(--surface-2); }
.product { scroll-margin-top: 150px; }
.product + .product { border-top: 1px solid var(--line); }
.p-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.gallery { display: grid; gap: 16px; }
.g-main { border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px #24363D, 0 40px 80px -40px rgba(0,0,0,.9); }
.g-main img { width: 100%; }
.g-main.tall { max-width: 380px; margin-inline: auto; border-radius: 30px; padding: 8px; background: #0B1418; }
.g-main.tall img { border-radius: 24px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.thumbs button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumbs button img { height: 72px; width: auto; }
.thumbs button[aria-pressed="true"] { border-color: var(--green); opacity: 1; }
.thumbs button:hover { opacity: 1; }
.caption { color: var(--muted); font-size: .95rem; min-height: 1.6em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { padding: 22px 24px 0 0; display: grid; gap: 6px; }
[dir="rtl"] .facts div { padding: 22px 0 0 24px; }
.facts b { font: 500 1.05rem/1.3 var(--display); }
.facts span { color: var(--muted); font-size: .95rem; }
.pending { border: 1px dashed var(--line); border-radius: 16px; padding: 48px; text-align: center; color: var(--muted); }

/* Forms */
.form-page { padding: 64px 0 120px; }
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.aside { display: grid; gap: 24px; position: sticky; top: 104px; }
.aside .frame { margin-top: 12px; }
form.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; display: grid; gap: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 500; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--ink-2); color: var(--text); border: 1px solid var(--line); font: inherit; font-size: 1rem;
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #2B5562; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(59,224,255,.18); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rose); }
.err { color: var(--rose); font-size: .88rem; min-height: 0; }
.err:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: var(--ink-2); font-size: .95rem; }
.check:has(input:checked) { border-color: var(--green); background: rgba(43,255,154,.06); }
.check input { width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; accent-color: var(--green); flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; accent-color: var(--green); flex: none; }
.form-note { color: var(--muted); font-size: .88rem; }
.success { display: none; text-align: center; padding: 56px 32px; background: var(--surface); border: 1px solid var(--green); border-radius: var(--r-lg); gap: 14px; justify-items: center; box-shadow: 0 0 60px -20px rgba(43,255,154,.4); }
.success.show { display: grid; }
.success svg { width: 56px; height: 56px; color: var(--green-ink); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: s; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--green); color: var(--green-ink); font: 500 .95rem/1 var(--display); }
.steps b { display: block; font-family: var(--display); font-weight: 500; }
.steps span { color: var(--muted); font-size: .95rem; }
.ptypes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ptypes article { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); display: grid; gap: 6px; }
.ptypes b { font: 500 1.05rem/1.25 var(--display); }
.ptypes span { color: var(--muted); font-size: .93rem; }

/* legal */
.legal { max-width: 760px; padding: 64px 0 120px; }
.legal h2 { font-size: 1.6rem; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .95rem; }
.legal th, .legal td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--text); font-weight: 500; }
.legal td { color: var(--muted); }
.legal code { color: var(--text); }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid img { height: 28px; width: auto; margin-bottom: 14px; }
.foot-grid .foot-h { margin: 0 0 12px; font: 500 1rem/1.2 var(--display); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--text); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--text); }

/* cookie consent */
.cookie {
  position: fixed; z-index: 90; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 760px;
  background: var(--cookie-bg); border: 1px solid var(--hub-line); border-radius: 20px; padding: 24px;
  box-shadow: 0 30px 80px -20px var(--shadow), 0 0 40px -16px rgba(59,224,255,.35);
  display: none; gap: 16px;
  transform: translateY(16px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.cookie.show { display: grid; }
.cookie.in { transform: none; opacity: 1; }
.cookie h2 { font-size: 1.2rem; }
.cookie p { color: var(--muted); font-size: .95rem; }
.cookie .cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn { min-height: 44px; font-size: .95rem; }
.cookie-prefs { display: none; gap: 10px; }
.cookie.custom .cookie-prefs { display: grid; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.pref b { display: block; font-weight: 500; }
.pref span { color: var(--muted); font-size: .88rem; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; min-height: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--switch-off); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #CFE3DE; transition: transform .2s var(--ease); }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(20px); background: var(--on-green); }
[dir="rtl"] .switch input:checked + i::after { transform: translateX(-20px); }
.switch input:disabled + i { opacity: .6; }
.switch input:focus-visible + i { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* responsive */
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .hero-grid, .feature, .p-head, .form-grid, .cta-card, .bi, .sync-cols { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .feature { gap: 40px; }
  .suite { grid-template-columns: 1fr; justify-items: stretch; }
  .hub { margin: 12px auto; width: 180px; height: 180px; }
  .cta-card { padding: 40px 28px; }
  .cta-card .cta-row { justify-content: flex-start; }
  .aside { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; justify-items: center; }
  .wire { width: 2px; height: 28px; }
  .wire::after { width: 2px; height: 12px; animation-name: pulse-v; }
  @keyframes pulse-v { from { top: -12px; } to { top: 100%; } }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .states { grid-template-columns: 1fr; }
  .state + .state { border-inline-start: 0; border-top: 1px solid var(--line); }
  .row2, .checks, .ptypes, .facts { grid-template-columns: 1fr; }
  form.card { padding: 24px 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .phone.raise { transform: none; }
  .hero { padding: 40px 0 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .panel3d, [dir="rtl"] .panel3d { transform: rotateY(-10deg) rotateX(3deg); }
}

/* dark theme: black hardware gets a rim light so it doesn't sink into the page */
:root:not([data-theme="light"]) :is(.frame, .phone, .dv-phone, .dv-tab, .tv, .kiosk-screen, .wk-screen, .sf-bezel, .od-tab, .kds-screen, .oc-panel, .ip, .epd) { outline: 1px solid rgba(190, 228, 240, .2); }
:root:not([data-theme="light"]) :is(.tv, .kiosk-screen, .wk-screen, .frame, .dv-tab, .od-tab) { box-shadow: 0 0 0 1px rgba(190, 228, 240, .06), 0 0 60px -20px rgba(120, 200, 230, .28), 0 30px 60px -30px #000; }
:root:not([data-theme="light"]) :is(.tv-stand, .kiosk-pole) { background: linear-gradient(90deg, #2E3B42, #6E838C 50%, #2E3B42); }
:root:not([data-theme="light"]) .kiosk-foot { background: linear-gradient(180deg, #6E838C, #34434A); }
:root:not([data-theme="light"]) .pf { filter: drop-shadow(0 0 .7px rgba(220, 240, 245, .55)); }

/* screen-size audit fixes */
.sf-scene { width: 100%; }
.check input { width: 22px; height: 22px; margin-top: 1px; }
/* sideways-scrolling rows: fade the edges so it's clear there's more */
.subnav .wrap { scroll-behavior: smooth; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); padding-inline: 20px; }
@media (min-width: 1280px) { .subnav a { padding: 8px 12px; font-size: .9rem; } }
@media (max-width: 1080px) { .ix2-tabs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-inline-end: 30px; } [dir="rtl"] .ix2-tabs { -webkit-mask-image: linear-gradient(-90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(-90deg, #000 calc(100% - 36px), transparent); } }
@media (max-width: 640px) { .legal table { display: block; overflow-x: auto; } }
/* very large monitors and TVs: scale the whole page so it isn't a thin strip in the middle */
@media (min-width: 2300px) { body { zoom: 1.3; } }
@media (min-width: 3000px) { body { zoom: 1.75; } }

/* layout audit: card titles get the full card width, no lone last card */
.cards .row:has(> .int-logo) { flex-direction: column; align-items: flex-start; gap: 12px; }
.cards .row:has(> .int-logo) h3 { font-size: 1.08rem; }
@media (min-width: 1101px) {
  .cards:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
  .cards:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .cards:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 1100px) { .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .cards > :last-child:nth-child(odd) { grid-column: auto; } }
/* larger logo */
.brand img { height: 38px; }
.foot-grid img { height: 34px; }
@media (max-width: 640px) { .brand img { height: 32px; } }
