/* SierraTec Survey — professional static front-end
   Brand palette is derived from the SierraTec Secure wordmark.

   STYLESHEET MAP
   1. Design tokens, reset, accessibility, and layout primitives
   2. Global navigation, buttons, typography, hero, cards, and content patterns
   3. Pricing, forms, student registration, calculators, AI, integrations, and demos
   4. Footer, modal/toast/cookie components, legal pages, responsive and RTL rules

   The stylesheet is framework-free. Reusable classes are shared by all HTML pages. */
/* Design tokens: brand colors, semantic states, shadows, radii, and global dimensions. */
:root {
  --brand: #4b8ede;
  --brand-700: #286fca;
  --brand-800: #205ca8;
  --brand-900: #18487f;
  --brand-100: #eaf3ff;
  --brand-50: #f5f9ff;
  --ink: #0e1726;
  --ink-2: #243147;
  --muted: #617087;
  --muted-2: #8290a4;
  --line: #dce4ef;
  --line-strong: #c7d2e2;
  --surface: #f6f9fd;
  --surface-2: #eef4fb;
  --white: #ffffff;
  --success: #0d9b6d;
  --success-soft: #e9fbf4;
  --warning: #e58a05;
  --warning-soft: #fff7e7;
  --danger: #d9485f;
  --danger-soft: #fff0f3;
  --violet: #7558e8;
  --violet-soft: #f2efff;
  --teal: #0c94a7;
  --teal-soft: #e8fbfd;
  --shadow-sm: 0 4px 14px rgba(14, 23, 38, 0.06);
  --shadow: 0 18px 50px rgba(25, 57, 95, 0.12);
  --shadow-lg: 0 28px 80px rgba(25, 57, 95, 0.18);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1180px;
  --header-h: 76px;
}

/* Minimal reset and accessible global browser defaults. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
/* Preserve native hidden states when component classes declare display. */
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(75, 142, 222, 0.35); outline-offset: 3px; }
::selection { background: rgba(75, 142, 222, 0.22); }

/* Keyboard-accessible skip link, hidden until it receives focus. */
.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 0 0 10px 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Page-width, section-spacing, and background utility primitives. */
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }
.container.wide { width: min(calc(100% - 32px), 1380px); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-xs { padding: 40px 0; }
.section-muted { background: var(--surface); }
.section-dark { color: var(--white); background: var(--ink); }
.section-brand { color: var(--white); background: linear-gradient(135deg, var(--brand-800), var(--brand)); }
.section-border { border-block: 1px solid var(--line); }

/* Student-offer announcement and sticky responsive site navigation. */
.announcement {
  background: var(--ink);
  color: #dce9fa;
  font-size: 13px;
  font-weight: 650;
}
.announcement .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.announcement a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255);
  border-bottom: 1px solid rgba(220, 228, 239, .8);
  backdrop-filter: blur(18px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  min-width: 218px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand img { width: 154px; height: auto; display: block; }
.brand-divider { width: 1px; height: 30px; background: var(--line-strong); }
.brand-product { color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-item { position: relative; }
.nav-link, .nav-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-link:hover, .nav-button:hover, .nav-link.active { color: var(--brand-800); background: var(--brand-50); }
.nav-chevron { width: 14px; height: 14px; transition: transform .18s ease; }
.nav-item:hover .nav-chevron, .nav-item.open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  inset-inline-start: -16px;
  top: calc(100% + 10px);
  min-width: 275px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-7px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: .18s ease;
}
.nav-dropdown.wide { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown, .nav-item.open .nav-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.dropdown-link {
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
}
.dropdown-link:hover { background: var(--surface); }
.dropdown-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--brand-800);
  background: var(--brand-100);
  border-radius: 9px;
}
.dropdown-icon svg { width: 18px; height: 18px; }
.dropdown-title { display: block; color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.35; }
.dropdown-desc { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.language-wrap { position: relative; }
.language-select {
  width: 116px;
  height: 42px;
  padding: 0 30px 0 34px;
  color: var(--ink-2);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23617087' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 0 20M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E") no-repeat 10px center;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  appearance: none;
}
.language-wrap::after {
  content: "";
  position: absolute;
  inset-inline-end: 10px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-inline-end: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.mobile-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.mobile-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 5px; }
.mobile-panel { display: none; }

/* Reusable button system: primary, neutral, ghost, dark, size, and block variants. */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); border-color: white;}
.btn-primary { color: var(--white); background: var(--brand-700); box-shadow: 0 8px 22px rgba(40, 111, 202, .22); }
.btn-primary:hover { background: var(--brand-800); box-shadow: 0 12px 28px rgba(40, 111, 202, .28); }
.btn-dark { color: var(--white); background: var(--ink); }
.btn-dark:hover { background: #1d2a40; }
.btn-light { color: var(--ink); background: var(--white); border-color: var(--line); }
.btn-light:hover { border-color: var(--brand); color: var(--brand-800); }
.btn-ghost { color: var(--brand-800); background: var(--brand-50); border-color: var(--brand-100); }
.btn-ghost:hover { background: var(--brand-100); }
.btn-white { color: var(--brand-900); background: var(--white); box-shadow: var(--shadow-sm); }
.btn-link { min-height: auto; padding: 0; color: var(--brand-800); background: transparent; border: 0; }
.btn-lg { min-height: 52px; padding: 14px 23px; border-radius: 12px; font-size: 15px; }
.btn-sm { min-height: 36px; padding: 8px 13px; font-size: 12px; }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; }

/* Type hierarchy, badges, page headings, and supporting-copy utilities. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--brand-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.badge { padding: 7px 11px; background: var(--brand-100); border-radius: 999px; letter-spacing: .07em; }
.eyebrow.badge::before { width: 7px; height: 7px; border-radius: 50%; }
.eyebrow-light { color: #a9cef8; }
.display-title {
  max-width: 940px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 77px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 900;
}
.display-title .highlight {
  color: var(--brand-700);
  background: linear-gradient(90deg, var(--brand-800), #66aaf2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 900;
}
.section-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 900;
}
.card-title { margin: 0 0 8px; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.lead { margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.lead-light { color: #c8d5e7; }
.section-intro { max-width: 730px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.section-head { margin-bottom: 46px; }
.section-head.center { max-width: 780px; margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .section-intro { margin-inline: auto; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-brand { color: var(--brand-700); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.small { font-size: 13px; }
.kicker { color: var(--brand-800); font-weight: 850; }

/* Homepage hero and illustrative analytics-dashboard mockup. */
.hero { position: relative; overflow: hidden; padding: 92px 0 82px; background: linear-gradient(180deg, var(--brand-50), #fff 74%); }
.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  inset-inline-end: -260px;
  top: -330px;
  background: radial-gradient(circle, rgba(75,142,222,.18), rgba(75,142,222,0) 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 62px; }
.hero-copy { position: relative; z-index: 2; }
.hero .display-title { font-size: clamp(47px, 5.5vw, 72px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 15px; height: 15px; color: var(--success); }
.hero-visual { position: relative; min-height: 525px; display: grid; place-items: center; }
.hero-orb { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: linear-gradient(145deg, rgba(75,142,222,.17), rgba(117,88,232,.10)); filter: blur(1px); }

.page-hero { position: relative; overflow: hidden; padding: 82px 0 70px; background: linear-gradient(180deg, var(--brand-50), #fff); }
.page-hero.center { text-align: center; }
.page-hero.center .page-title, .page-hero.center .lead { margin-inline: auto; }
.page-hero.dark { color: var(--white); background: radial-gradient(circle at 75% 20%, rgba(75,142,222,.25), transparent 32%), var(--ink); }
.page-hero.dark .page-title { color: var(--white); }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero.center .page-hero-actions { justify-content: center; }

/* Survey product-page visuals. These are intentionally built from CSS so they stay crisp and responsive. */
.product-hero { isolation: isolate; }
.product-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.visual-glow, .education-visual::before, .transfer-visual::before { position: absolute; content: ""; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(75,142,222,.22), rgba(117,88,232,.06) 47%, transparent 70%); }
.visual-window { position: relative; z-index: 1; width: min(100%, 495px); padding: 13px; background: #fff; border: 1px solid #d7e3f1; border-radius: 20px; box-shadow: 0 26px 60px rgba(26,55,95,.18); }
.visual-window > i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; background: #d5dfeb; border-radius: 50%; }
.visual-toolbar { display: flex; align-items: center; gap: 12px; margin: 13px -13px 0; padding: 11px 15px; border-block: 1px solid #edf2f8; }
.visual-toolbar b { width: 74px; height: 9px; border-radius: 5px; background: #15243b; }.visual-toolbar span { width: 27px; height: 19px; margin-left: auto; border-radius: 6px; background: #4b8ede; }
.visual-builder { display: grid; grid-template-columns: 72px 1fr; min-height: 235px; }.visual-builder aside { padding: 21px 13px; background: #122239; }.visual-builder aside em { display: block; width: 100%; height: 7px; margin: 15px 0; border-radius: 5px; background: #2d4666; }.visual-builder aside em:first-child { background: #5a9bed; }
.visual-builder > div { padding: 22px; }.visual-builder > div > strong { display: block; width: 45%; height: 11px; border-radius: 6px; background: #172740; }.visual-builder > div > small { display: block; width: 28%; height: 7px; margin-top: 10px; border-radius: 5px; background: #d7e0eb; }
.visual-builder article { margin-top: 19px; padding: 15px; border: 1px solid #e2eaf3; border-radius: 12px; }.visual-builder article b { display: block; width: 60%; height: 8px; background: #334864; border-radius: 5px; }.visual-builder article span { display: block; height: 9px; margin-top: 10px; border: 1px solid #d8e3ef; border-radius: 5px; }.visual-builder article span::before { content: ""; display: block; width: 7px; height: 7px; margin: 0 4px; background: #5a9bed; border-radius: 50%; }
.visual-pills { display: flex; gap: 8px; margin-top: 15px; }.visual-pills i { width: 28%; height: 21px; background: #eef5ff; border-radius: 6px; }
.visual-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 11px; background: rgba(255,255,255,.96); border: 1px solid #e0e9f4; border-radius: 11px; box-shadow: 0 14px 29px rgba(30,60,100,.14); }.visual-float i { width: 23px; height: 23px; border-radius: 7px; background: #dff5eb; }.visual-float b { width: 43px; height: 7px; border-radius: 4px; background: #9badc1; }.visual-float-a { right: -7px; top: 45px; }.visual-float-b { bottom: 39px; left: -6px; }.visual-float-b i { background: #e9e0ff; }
.ai-hero-visual { min-height: 370px; }.ai-orbit { position: absolute; width: 310px; height: 310px; border: 1px solid rgba(155,188,232,.32); border-radius: 50%; box-shadow: 0 0 0 38px rgba(91,145,222,.05), 0 0 0 76px rgba(91,145,222,.035); }.ai-core { position: relative; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 38px; background: linear-gradient(135deg, #6ba6ef, #7d62e6); box-shadow: 0 22px 48px rgba(46,91,177,.45); transform: rotate(10deg); }.ai-core div { width: 58px; height: 58px; border: 12px dotted rgba(255,255,255,.9); border-radius: 50%; }.ai-core i { position: absolute; width: 15px; height: 15px; border-radius: 5px; background: #fff; }.ai-core i:nth-of-type(1) { top: 15px; left: 15px; }.ai-core i:nth-of-type(2) { right: 15px; bottom: 15px; }.ai-core i:nth-of-type(3) { right: 16px; top: 16px; background: #c7eff5; }.ai-node { position: absolute; width: 30px; height: 30px; border: 7px solid #85bbf5; border-radius: 50%; box-shadow: 0 0 0 9px rgba(133,187,245,.12); }.ai-node-one { top: 26px; left: 55px; }.ai-node-two { right: 51px; bottom: 35px; border-color: #b59bf9; }.ai-node-three { right: 44px; top: 74px; width: 20px; height: 20px; border-color: #63dfbb; }.ai-insight { position: absolute; right: -4px; bottom: 22px; display: flex; align-items: end; gap: 5px; padding: 13px; height: 70px; background: #fff; border-radius: 13px; box-shadow: var(--shadow); }.ai-insight b { width: 8px; border-radius: 5px; background: #6b9ee5; }.ai-insight b:nth-child(1){height:21px}.ai-insight b:nth-child(2){height:34px}.ai-insight b:nth-child(3){height:28px}.ai-insight b:nth-child(4){height:44px;background:#72d6b2}
.education-visual { min-height: 370px; }.edu-card { position: absolute; width: 260px; height: 310px; border-radius: 22px; background: #fff; border: 1px solid #d9e5f1; box-shadow: 0 22px 50px rgba(32,69,109,.15); }.edu-back { transform: translate(-40px, -12px) rotate(-10deg); background: linear-gradient(145deg,#d9ecff,#f8fbff); }.edu-main { z-index: 1; padding: 29px; transform: translate(20px, 4px) rotate(5deg); }.edu-cap { width: 54px; height: 35px; margin-bottom: 30px; background: #4b8ede; clip-path: polygon(0 32%,50% 0,100% 32%,50% 64%); }.edu-main b { display:block; width: 70%; height: 12px; border-radius:6px; background:#172740; }.edu-main > i { display:block; width:100%; height:9px; margin-top:16px; background:#e4ebf4; border-radius:5px; }.edu-main > i:nth-of-type(2) { width: 82%; }.edu-main > i:nth-of-type(3) { width: 65%; }.edu-main > div { width:100%; height:54px; margin-top:28px; border-radius:9px; background:linear-gradient(135deg,#ecf5ff,#d8eaff); }.edu-badge { position:absolute; z-index:2; right:13px; top:41px; width:63px; height:63px; border:8px solid #fff; border-radius:50%; background:#68cfaa; box-shadow:var(--shadow); }.edu-chart { position:absolute; z-index:2; bottom:20px; left:9px; display:flex; align-items:end; gap:5px; width:84px; height:70px; padding:12px; background:#fff; border-radius:12px; box-shadow:var(--shadow); }.edu-chart i { width:10px; border-radius:4px; background:#8fb8ec; }.edu-chart i:nth-child(1){height:22px}.edu-chart i:nth-child(2){height:36px}.edu-chart i:nth-child(3){height:29px}.edu-chart i:nth-child(4){height:44px;background:#67cfab}
.transfer-visual { min-height:370px; }.transfer-file { position:absolute; z-index:1; width:155px; height:200px; padding:28px 22px; background:#fff; border:1px solid #d9e6f2; border-radius:18px; box-shadow:var(--shadow); }.transfer-left { transform:translateX(-92px) rotate(-7deg); }.transfer-right { transform:translateX(92px) rotate(7deg); }.transfer-file i { display:block; width:42px; height:52px; margin-bottom:20px; border:2px solid #72a8eb; border-radius:7px; }.transfer-file b { display:block; height:8px; margin-top:11px; border-radius:5px; background:#dde7f1; }.transfer-file b:nth-of-type(2){width:78%}.transfer-file b:nth-of-type(3){width:57%}.transfer-arrows { position:relative; z-index:2; display:flex; flex-direction:column; gap:10px; }.transfer-arrows i { width:80px; height:16px; border-radius:10px; background:linear-gradient(90deg,#4b8ede 78%,transparent 78%); }.transfer-arrows i::after { content:""; float:right; width:0; height:0; border-top:8px solid transparent; border-bottom:8px solid transparent; border-left:12px solid #4b8ede; }.transfer-arrows i:last-child { transform:rotate(180deg); background:linear-gradient(90deg,#65d1aa 78%,transparent 78%); }.transfer-arrows i:last-child::after { border-left-color:#65d1aa; }.transfer-check { position:absolute; z-index:3; right:32px; bottom:40px; width:48px; height:48px; border:7px solid #fff; border-radius:50%; background:#65d1aa; box-shadow:var(--shadow); }.transfer-check::after { content:""; position:absolute; width:16px; height:8px; top:13px; left:10px; border-left:3px solid #fff; border-bottom:3px solid #fff; transform:rotate(-45deg); }
.about-visual { position:relative; overflow:hidden; min-height:330px; display:grid; align-content:end; }.about-copy { position:relative; z-index:2; }.about-rings { position:absolute; width:280px; height:280px; right:-45px; top:-28px; }.about-rings i { position:absolute; border:1px solid rgba(166,207,251,.35); border-radius:50%; }.about-rings i:nth-child(1){inset:0}.about-rings i:nth-child(2){inset:34px}.about-rings i:nth-child(3){inset:68px}.about-rings b { position:absolute; width:52px; height:52px; top:114px; left:114px; border:11px dotted #79acec; border-radius:50%; }

.dashboard-mock {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 570px;
  overflow: hidden;
  background: #f7f9fc;
  border: 1px solid rgba(199,210,226,.9);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}
.mock-browser { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--white); border-bottom: 1px solid var(--line); }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: #cfd8e5; }
.mock-address { width: 55%; height: 15px; margin-inline: auto; background: #edf1f6; border-radius: 7px; }
.mock-app { display: grid; grid-template-columns: 70px 1fr; min-height: 440px; }
.mock-sidebar { padding: 16px 12px; background: var(--ink); }
.mock-logo { width: 32px; height: 32px; display: grid; place-items: center; margin: 0 auto 26px; color: var(--white); background: var(--brand); border-radius: 9px; font-size: 13px; font-weight: 900; }
.mock-side-line { width: 100%; height: 7px; margin: 14px 0; background: #2e3b50; border-radius: 5px; }
.mock-side-line.active { background: var(--brand); }
.mock-content { padding: 22px; }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mock-title { width: 35%; height: 13px; background: var(--ink); border-radius: 5px; }
.mock-button { width: 92px; height: 28px; background: var(--brand); border-radius: 7px; }
.mock-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-metric { padding: 13px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.mock-metric-label { width: 70%; height: 6px; background: #cdd7e4; border-radius: 3px; }
.mock-metric-value { margin-top: 9px; color: var(--ink); font-size: 21px; font-weight: 900; line-height: 1; }
.mock-metric-trend { margin-top: 7px; color: var(--success); font-size: 8px; font-weight: 800; }
.mock-chart { position: relative; height: 190px; margin-top: 12px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.mock-chart-head { display: flex; justify-content: space-between; margin-bottom: 14px; }
.mock-line { width: 34%; height: 7px; background: #cdd7e4; border-radius: 3px; }
.mock-chart svg { width: 100%; height: 120px; overflow: visible; }
.mock-list { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; margin-top: 12px; }
.mock-panel { min-height: 84px; padding: 13px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.mock-row { display: flex; align-items: center; gap: 8px; margin: 7px 0; }
.mock-row-dot { width: 18px; height: 18px; background: var(--brand-100); border-radius: 5px; }
.mock-row-line { flex: 1; height: 6px; background: #d6deea; border-radius: 4px; }
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.float-card.top { inset-inline-end: -20px; top: 56px; }
.float-card.bottom { inset-inline-start: -22px; bottom: 38px; }
.float-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--brand-800); background: var(--brand-100); border-radius: 10px; }
.float-icon.success { color: var(--success); background: var(--success-soft); }
.float-card strong { display: block; font-size: 12px; line-height: 1.3; }
.float-card span { color: var(--muted); font-size: 10px; }

/* Trust strip and reusable headline-statistic cards. */
.trust-strip { padding: 28px 0; border-block: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: auto repeat(5, 1fr); align-items: center; gap: 25px; }
.trust-label { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 8px; color: #5e6e84; font-size: 13px; font-weight: 800; }
.trust-item svg { width: 19px; height: 19px; color: var(--brand-700); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat-value { display: block; color: var(--ink); font-size: 34px; line-height: 1; letter-spacing: -.04em; font-weight: 900; }
.stat-label { display: block; margin-top: 9px; color: var(--muted); font-size: 13px; font-weight: 700; }

/* Responsive grid utilities shared by marketing, form, and dashboard layouts. */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.align-center { align-items: center; }
.gap-lg { gap: 60px; }
.gap-xl { gap: 80px; }

/* General-purpose content cards, icon treatments, links, and status tags. */
.card {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card.hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card.hover:hover { transform: translateY(-5px); border-color: #b9d5f5; box-shadow: var(--shadow); }
.card-muted { background: var(--surface); box-shadow: none; }
.card-dark { color: var(--white); background: var(--ink); border-color: #2c3a50; }
.card-brand { color: var(--white); background: linear-gradient(145deg, var(--brand-800), var(--brand)); border: 0; }
.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--brand-800);
  background: var(--brand-100);
  border-radius: 13px;
}
.card-icon svg { width: 23px; height: 23px; }
.card-icon.violet { color: var(--violet); background: var(--violet-soft); }
.card-icon.success { color: var(--success); background: var(--success-soft); }
.card-icon.warning { color: var(--warning); background: var(--warning-soft); }
.card-icon.teal { color: var(--teal); background: var(--teal-soft); }
.card p { margin: 0; color: var(--muted); }
.card-dark p, .card-brand p { color: #cfdaea; }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--brand-800); font-size: 13px; font-weight: 850; }
.card-link::after { content: "→"; transition: transform .18s ease; }
.card-link:hover::after { transform: translateX(4px); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; color: var(--brand-800); background: var(--brand-100); border-radius: 999px; font-size: 11px; font-weight: 850; }
.tag.success { color: var(--success); background: var(--success-soft); }
.tag.warning { color: #9a5d00; background: var(--warning-soft); }
.tag.dark { color: var(--white); background: var(--ink); }
.tag.violet { color: var(--violet); background: var(--violet-soft); }

/* Checked, plain, and numbered list patterns. Logical properties support RTL. */
.check-list, .plain-list { margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 11px 0; padding-inline-start: 28px; color: var(--ink-2); }
.check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: var(--success);
  background: var(--success-soft);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}
.section-dark .check-list li { color: #d4dfed; }
.plain-list li { margin: 9px 0; color: var(--muted); }
.number-list { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.number-list li { position: relative; min-height: 58px; margin: 20px 0; padding-inline-start: 72px; }
.number-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--brand-800);
  background: var(--brand-100);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
}
.number-list strong { display: block; color: var(--ink); }
.number-list span { color: var(--muted); font-size: 14px; }

/* Product-preview bands and survey-builder illustration components. */
.feature-band { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.feature-band-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; }
.feature-band-copy { padding: 58px; }
.feature-band-visual { min-height: 440px; padding: 34px; display: grid; place-items: center; background: linear-gradient(145deg, #e6f1ff, #f8fbff); }
.product-window { width: 100%; max-width: 610px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.product-window-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.product-window-title { font-size: 13px; font-weight: 850; }
.product-window-body { min-height: 290px; padding: 24px; }
.question-card { padding: 19px; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.question-meta { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.question-title { font-size: 14px; font-weight: 850; }
.answer-option { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; background: var(--surface); border-radius: 9px; color: var(--muted); font-size: 12px; }
.answer-radio { width: 15px; height: 15px; border: 2px solid #a9b6c7; border-radius: 50%; }
.builder-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 12px; }
.builder-tool { padding: 11px 7px; text-align: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 9px; font-weight: 800; }

.split-callout { padding: 48px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--brand-50), #fff 58%); }
.split-callout.dark { color: var(--white); background: radial-gradient(circle at 85% 20%, rgba(75,142,222,.28), transparent 35%), var(--ink); border: 0; }
.split-callout .grid-2 { gap: 55px; }

/* Tabs and pill controls activated by assets/js/site.js. */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab-button { padding: 9px 15px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 800; }
.tab-button.active, .tab-button:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { padding: 7px 11px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; }

/* Pricing cards, workspace comparison tables, and monthly/annual billing toggle. */
.pricing-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 32px 0 40px; }
.pricing-toggle-label { color: var(--muted); font-size: 14px; font-weight: 750; }
.pricing-toggle-label.active { color: var(--ink); }
.toggle {
  position: relative;
  width: 58px;
  height: 32px;
  padding: 0;
  background: var(--brand-700);
  border: 0;
  border-radius: 999px;
}
.toggle::after { content: ""; position: absolute; width: 24px; height: 24px; inset-inline-start: 4px; top: 4px; background: var(--white); border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: inset-inline-start .2s ease; }
.toggle.annual::after { inset-inline-start: 30px; }
.save-badge { padding: 5px 9px; color: var(--success); background: var(--success-soft); border-radius: 999px; font-size: 11px; font-weight: 850; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 14px; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .pricing-grid > * { min-width: 0; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-8px); }
.price-ribbon { position: absolute; inset-inline: 14px; top: -15px; padding: 6px 10px; color: var(--white); background: var(--brand-700); border-radius: 999px; text-align: center; font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.price-name { margin: 0; font-size: 19px; font-weight: 900; }
.price-audience { min-height: 42px; margin: 6px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.price-line { display: flex; align-items: flex-end; gap: 4px; }
.price-currency { align-self: flex-start; margin-top: 8px; color: var(--ink); font-size: 18px; font-weight: 800; }
.price-amount { color: var(--ink); font-size: 45px; line-height: 1; letter-spacing: -.06em; font-weight: 900; }
.price-period { margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.price-billing { min-height: 34px; margin-top: 7px; color: var(--muted); font-size: 10px; }
.price-card .btn { margin-top: 18px; }
.price-card .check-list { margin-top: 23px; font-size: 12px; }
.price-card .check-list li { margin: 9px 0; padding-inline-start: 24px; }
.price-card .check-list li::before { width: 16px; height: 16px; font-size: 9px; }
.price-feature-head { margin-top: 20px; color: var(--ink); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.price-note { margin-top: auto; padding-top: 18px; color: var(--muted); font-size: 10px; }
.student-price-card { overflow: hidden; background: linear-gradient(140deg, #fff, var(--brand-50)); border: 1px solid #bcd8f8; }
.student-price-card::after { content: "🎓"; position: absolute; inset-inline-end: 18px; top: 17px; font-size: 24px; }

.table-wrap { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.comparison-table { width: 100%; min-width: 930px; border-collapse: collapse; background: var(--white); }
.comparison-table th, .comparison-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: center; font-size: 12px; }
.comparison-table th:first-child, .comparison-table td:first-child { position: sticky; inset-inline-start: 0; z-index: 1; min-width: 220px; text-align: start; background: var(--white); font-weight: 800; }
.comparison-table thead th { color: var(--ink); background: var(--surface); font-size: 12px; font-weight: 900; }
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table tbody tr:hover td { background: var(--brand-50); }
.comparison-table tbody tr:hover td:first-child { background: var(--brand-50); }
.check-mark { color: var(--success); font-size: 16px; font-weight: 900; }
.dash-mark { color: #a7b2c2; }

/* Shared forms, validation states, authentication panels, and account-type controls. */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: var(--ink-2); font-size: 13px; font-weight: 800; }
.form-hint { color: var(--muted); font-size: 11px; font-weight: 500; }
.form-control {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(75,142,222,.12); outline: 0; }
.form-control::placeholder { color: #a0acbb; }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] select.form-control { background-position: 18px 20px, 13px 20px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.checkbox-row input { margin-top: 4px; accent-color: var(--brand); }
.form-message { display: none; margin-top: 15px; padding: 12px 14px; color: var(--success); background: var(--success-soft); border: 1px solid #bdebd9; border-radius: 10px; font-size: 13px; font-weight: 700; }
.form-message.show { display: block; }
.form-error { display: none; margin-top: 5px; color: var(--danger); font-size: 11px; }
.form-group.invalid .form-control { border-color: var(--danger); }
.form-group.invalid .form-error { display: block; }
.file-drop { padding: 26px; text-align: center; background: var(--surface); border: 2px dashed #bcc9da; border-radius: 13px; transition: border-color .18s ease, background .18s ease; }
.file-drop:hover, .file-drop.dragover { border-color: var(--brand); background: var(--brand-50); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop-icon { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 10px; color: var(--brand-800); background: var(--brand-100); border-radius: 13px; }
.file-drop strong { display: block; font-size: 13px; }
.file-drop span { color: var(--muted); font-size: 11px; }

.auth-page { min-height: calc(100vh - 38px); display: grid; grid-template-columns: 1.05fr .95fr; background: var(--surface); }
.auth-brand-panel { position: relative; overflow: hidden; display: flex; align-items: center; padding: 70px max(5vw, 42px); color: var(--white); background: radial-gradient(circle at 80% 10%, rgba(75,142,222,.36), transparent 33%), linear-gradient(145deg, #101a2b, #172941); }
.auth-brand-panel::after { content: ""; position: absolute; width: 360px; height: 360px; inset-inline-end: -150px; bottom: -170px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.018); }
.auth-brand-content { position: relative; z-index: 2; max-width: 560px; }
.auth-brand-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 70px; padding: 9px 12px; background: var(--white); border-radius: 12px; }
.auth-brand-logo img { width: 155px; }
.auth-brand-logo span { padding-inline-start: 10px; color: var(--ink); border-inline-start: 1px solid var(--line); font-weight: 900; }
.auth-title { margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.auth-desc { margin: 18px 0 30px; color: #cbd7e6; font-size: 17px; }
.auth-feature { display: grid; grid-template-columns: 42px 1fr; gap: 13px; margin: 17px 0; }
.auth-feature-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #afd3ff; background: rgba(75,142,222,.17); border: 1px solid rgba(140,192,249,.18); border-radius: 12px; }
.auth-feature strong { display: block; font-size: 13px; }
.auth-feature span { display: block; color: #aebdd0; font-size: 12px; }
.auth-form-panel { display: grid; place-items: center; padding: 50px 30px; background: var(--white); }
.auth-form-wrap { width: 100%; max-width: 470px; }
.auth-form-wrap.wide { max-width: 650px; }
.auth-mobile-brand { display: none; margin-bottom: 30px; text-align: center; }
.auth-mobile-brand img { width: 170px; }
.auth-heading { margin: 0 0 7px; font-size: 32px; line-height: 1.2; letter-spacing: -.035em; }
.auth-subheading { margin: 0 0 28px; color: var(--muted); }
.auth-divider { position: relative; margin: 22px 0; color: var(--muted); text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.auth-divider::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: var(--line); }
.auth-divider span { position: relative; padding: 0 12px; background: var(--white); }
.sso-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sso-button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px; color: var(--ink-2); background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; font-size: 12px; font-weight: 800; }
.sso-button:hover { border-color: var(--brand); background: var(--brand-50); }
.sso-icon { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; color: var(--white); background: var(--ink); font-size: 10px; font-weight: 900; }
.sso-icon.microsoft { background: #1976d2; }
.sso-icon.google { color: #4285f4; background: var(--white); border: 1px solid var(--line); }
.sso-icon.lock { background: var(--brand); }
.account-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.account-type { position: relative; padding: 14px 10px; text-align: center; background: var(--white); border: 1px solid var(--line-strong); border-radius: 11px; cursor: pointer; }
.account-type:hover, .account-type.active { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(75,142,222,.08); }
.account-type input { position: absolute; opacity: 0; }
.account-type-icon { display: block; font-size: 21px; }
.account-type strong { display: block; margin-top: 5px; font-size: 12px; }
.account-type span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.password-meter { height: 5px; margin-top: 8px; overflow: hidden; background: var(--surface-2); border-radius: 999px; }
.password-meter span { display: block; width: 0; height: 100%; background: var(--danger); transition: .2s ease; }
.password-rules { margin-top: 7px; color: var(--muted); font-size: 10px; }

/* Multi-step student registration, progress, proof-of-enrollment, and success states. */
.progress-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 25px 0 30px; }
.progress-step { position: relative; padding-top: 28px; color: var(--muted); font-size: 10px; font-weight: 800; text-align: center; }
.progress-step::before { content: attr(data-step); position: absolute; top: 0; left: 50%; width: 22px; height: 22px; display: grid; place-items: center; transform: translateX(-50%); color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 50%; }
.progress-step::after { content: ""; position: absolute; top: 11px; inset-inline-start: calc(50% + 14px); width: calc(100% - 28px); height: 1px; background: var(--line); }
.progress-step:last-child::after { display: none; }
.progress-step.active { color: var(--brand-800); }
.progress-step.active::before, .progress-step.done::before { color: var(--white); background: var(--brand); border-color: var(--brand); }
.progress-step.done::before { content: "✓"; background: var(--success); border-color: var(--success); }
.student-form-step { display: none; }
.student-form-step.active { display: block; }
.form-navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; }
.student-plan-summary { margin-bottom: 22px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: var(--brand-50); border: 1px solid #c8def8; border-radius: 12px; }
.student-plan-summary strong { display: block; font-size: 13px; }
.student-plan-summary span { color: var(--muted); font-size: 11px; }
.student-plan-price { color: var(--brand-800); font-size: 24px; font-weight: 900; white-space: nowrap; }

/* Research calculators: layouts, ranges, result cards, metric bars, and formula notes. */
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 28px; align-items: start; }
.calculator-card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.calculator-card h2 { margin: 0 0 6px; font-size: 25px; letter-spacing: -.03em; }
.calculator-card > p { margin: 0 0 24px; color: var(--muted); }
.range-row { display: grid; grid-template-columns: 1fr 88px; align-items: center; gap: 12px; }
.range-row input[type="range"] { width: 100%; accent-color: var(--brand); }
.result-card { position: sticky; top: 104px; overflow: hidden; padding: 30px; color: var(--white); background: radial-gradient(circle at 100% 0, rgba(75,142,222,.38), transparent 40%), var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.result-label { color: #aebdd0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.result-number { display: block; margin: 10px 0; font-size: clamp(50px, 8vw, 78px); line-height: 1; letter-spacing: -.06em; font-weight: 900; }
.result-explain { color: #cbd6e4; font-size: 13px; }
.result-details { margin-top: 22px; padding-top: 20px; border-top: 1px solid #34435a; }
.result-detail { display: flex; justify-content: space-between; gap: 15px; margin: 10px 0; color: #cbd6e4; font-size: 12px; }
.result-detail strong { color: var(--white); }
.nps-gauge { position: relative; height: 18px; margin: 24px 0 10px; overflow: hidden; background: linear-gradient(90deg, var(--danger), var(--warning), var(--success)); border-radius: 999px; }
.nps-marker { position: absolute; top: -5px; width: 4px; height: 28px; background: var(--white); border-radius: 4px; transform: translateX(-50%); transition: left .25s ease; }
.formula-box { margin-top: 20px; padding: 16px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.tool-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: .18s ease; }
.tool-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.tool-card strong { display: block; margin: 13px 0 5px; }
.tool-card span { display: block; color: var(--muted); font-size: 12px; }

/* AI Survey Studio prompt, option, loading, generated-question, and analysis panels. */
.ai-lab { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ai-prompt { padding: 32px; background: var(--ink); color: var(--white); }
.ai-prompt textarea { min-height: 150px; color: var(--white); background: #17253a; border-color: #32455f; }
.ai-prompt textarea::placeholder { color: #90a0b6; }
.ai-prompt .form-label { color: var(--white); }
.ai-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ai-prompt select.form-control { color: var(--white); background-color: #17253a; border-color: #32455f; }
.ai-output { min-height: 410px; padding: 32px; background: var(--surface); }
.ai-output-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.ai-output-list { display: grid; gap: 12px; }
.ai-question { padding: 15px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.ai-question-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ai-question strong { display: block; margin-top: 6px; font-size: 13px; }
.ai-loading { display: none; padding: 70px 20px; text-align: center; color: var(--muted); }
.ai-loading.show { display: block; }
.loading-dots { display: inline-flex; gap: 5px; margin-bottom: 10px; }
.loading-dots i { width: 8px; height: 8px; background: var(--brand); border-radius: 50%; animation: pulse 1s infinite ease-in-out; }
.loading-dots i:nth-child(2) { animation-delay: .15s; }
.loading-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%,100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

/* Integration catalog, category filters, workflow diagrams, and SSO flow cards. */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.filter-button { padding: 8px 13px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 800; }
.filter-button.active, .filter-button:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.integration-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.integration-card { display: flex; flex-direction: column; min-height: 210px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: .18s ease; }
.integration-card:hover { border-color: #a9cef7; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.integration-logo { width: 48px; height: 48px; display: grid; place-items: center; color: var(--white); background: var(--brand); border-radius: 13px; font-size: 16px; font-weight: 900; letter-spacing: -.03em; }
.integration-logo.dark { background: var(--ink); }
.integration-logo.green { background: var(--success); }
.integration-logo.orange { background: var(--warning); }
.integration-logo.violet { background: var(--violet); }
.integration-logo.teal { background: var(--teal); }
.integration-card h3 { margin: 15px 0 5px; font-size: 16px; }
.integration-card p { margin: 0; color: var(--muted); font-size: 11px; }
.integration-card .tag { align-self: flex-start; margin-top: auto; }
.integration-card.hidden { display: none; }

/* Import/export format cards, drop zone, mapping preview, and progress indicator. */
.format-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.format-chip { padding: 18px 10px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.format-icon { width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto 8px; color: var(--brand-800); background: var(--brand-100); border-radius: 10px; font-size: 10px; font-weight: 900; }
.format-chip strong { display: block; font-size: 11px; }
.format-chip span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.import-progress { display: none; margin-top: 20px; }
.import-progress.show { display: block; }
.progress-track { height: 9px; overflow: hidden; background: var(--surface-2); border-radius: 999px; }
.progress-bar { width: 0; height: 100%; background: linear-gradient(90deg, var(--brand), var(--success)); border-radius: inherit; transition: width .25s ease; }
.progress-text { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-size: 11px; }

/* Searchable, categorized survey-template catalog and toolbar controls. */
.template-hero { padding-bottom: 54px; }
.template-stats { margin-top: 42px; text-align: start; }
.template-stats .stat-card { background: rgba(255,255,255,.92); }
.template-category-browser { display: grid; gap: 16px; margin-bottom: 30px; }
.template-category-group { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.template-category-group-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.template-category-group-head h3 { margin: 0 0 4px; font-size: 17px; }
.template-category-group-head p { max-width: 720px; margin: 0; color: var(--muted); font-size: 11px; }
.template-category-group-head > span { flex: 0 0 auto; padding: 5px 9px; color: var(--brand-800); background: var(--brand-100); border-radius: 999px; font-size: 9px; font-weight: 850; }
.template-category-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 9px; }
.template-category-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 9px 11px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 10px; font-weight: 760; text-align: start; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.template-category-button:hover { color: var(--brand-800); background: var(--brand-50); border-color: #b4d3f5; transform: translateY(-1px); }
.template-category-button:focus-visible { outline: 3px solid rgba(75,142,222,.28); outline-offset: 2px; }
.template-category-button strong { min-width: 24px; padding: 3px 6px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 9px; text-align: center; }
.template-category-button.active { color: var(--white); background: var(--brand-800); border-color: var(--brand-800); box-shadow: var(--shadow-sm); }
.template-category-button.active strong { color: var(--brand-900); background: var(--white); border-color: transparent; }
.template-category-all { width: min(100%, 280px); justify-self: start; min-height: 48px; padding-inline: 15px; font-size: 11px; }
.template-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0 16px; }
.template-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.search-box { position: relative; width: min(100%, 560px); }
.search-box input { padding-inline-start: 42px; }
.search-box svg { position: absolute; inset-inline-start: 14px; top: 14px; width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.template-catalog-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; padding: 12px 15px; color: var(--muted); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 10px; font-size: 10px; }
.template-catalog-summary p { margin: 0; color: var(--ink); font-size: 11px; font-weight: 800; }
.template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.template-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.template-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b4d3f5; }
.template-card[hidden] { display: none !important; }
.template-preview { height: 170px; padding: 18px; background: linear-gradient(145deg, var(--brand-100), #fafcff); }
.template-preview.tone-1 { background: linear-gradient(145deg, #dfeeff, #f9fcff); }
.template-preview.tone-2 { background: linear-gradient(145deg, #e6f8f2, #fbfffd); }
.template-preview.tone-3 { background: linear-gradient(145deg, #f1eaff, #fcfaff); }
.template-preview.tone-4 { background: linear-gradient(145deg, #fff1db, #fffdf8); }
.template-preview.tone-5 { background: linear-gradient(145deg, #e9efff, #fbfcff); }
.template-preview.tone-6 { background: linear-gradient(145deg, #e4f7fa, #fbffff); }
.template-preview-window { height: 100%; padding: 14px 15px; background: var(--white); border: 1px solid #d4e1ef; border-radius: 10px; box-shadow: var(--shadow-sm); }
.template-preview-brand { margin-bottom: 7px; color: var(--brand-800); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.template-line { height: 7px; margin: 8px 0; background: #d4deea; border-radius: 4px; }
.template-line.title { width: 62%; height: 11px; background: var(--ink); }
.template-option { position: relative; height: 18px; margin: 8px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
.template-option span { position: absolute; inset-inline-start: 7px; top: 5px; width: 54%; height: 5px; background: #d4deea; border-radius: 999px; }
.template-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.template-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 9px; color: var(--muted); font-size: 9px; font-weight: 780; }
.template-meta span:first-child { color: var(--brand-800); }
.template-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.template-card-title-row .tag { flex: 0 0 auto; margin-top: 1px; font-size: 7px; }
.template-card h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.template-card p { flex: 1; margin: 8px 0 17px; color: var(--muted); font-size: 11px; }
.template-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); }
.template-family { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.template-load-more { display: flex; justify-content: center; margin-top: 30px; }
.template-load-more .btn { min-width: 250px; }

/* Authenticated workspace dashboard shell, metrics, charts, and survey list. */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 245px 1fr; background: var(--surface); }
.app-sidebar { position: sticky; top: 0; height: 100vh; padding: 22px 16px; color: #d6e0ee; background: var(--ink); }
.app-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 22px; border-bottom: 1px solid #29374c; }
.app-brand img { width: 128px; padding: 6px; background: var(--white); border-radius: 8px; }
.app-brand span { color: var(--white); font-weight: 900; }
.app-menu { margin-top: 20px; }
.app-menu-label { margin: 18px 10px 8px; color: #718096; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.app-menu-link { display: flex; align-items: center; gap: 11px; margin: 3px 0; padding: 10px 11px; color: #b7c3d4; border-radius: 9px; font-size: 12px; font-weight: 750; }
.app-menu-link:hover, .app-menu-link.active { color: var(--white); background: #223149; }
.app-menu-link.active { box-shadow: inset 3px 0 0 var(--brand); }
.app-menu-link svg { width: 17px; height: 17px; }
.app-sidebar-bottom { position: absolute; inset-inline: 16px; bottom: 18px; padding: 14px; background: #1b2a40; border: 1px solid #2c3c54; border-radius: 12px; }
.app-sidebar-bottom strong { display: block; color: var(--white); font-size: 11px; }
.app-sidebar-bottom span { color: #91a0b5; font-size: 9px; }
.usage-track { height: 5px; margin: 9px 0 5px; overflow: hidden; background: #34455d; border-radius: 999px; }
.usage-track span { display: block; width: 68%; height: 100%; background: var(--brand); }
.app-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-icon-btn { width: 38px; height: 38px; display: none; flex: 0 0 auto; place-items: center; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.app-icon-btn svg { width: 18px; height: 18px; }
.app-sidebar-close { color: var(--white); background: #1b2a40; border-color: #2c3c54; font-size: 16px; line-height: 1; }
.app-main { min-width: 0; }
.app-topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; background: var(--white); border-bottom: 1px solid var(--line); }
.app-topbar-actions { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; color: var(--white); background: var(--brand); border-radius: 50%; font-size: 11px; font-weight: 900; }
.app-content { padding: 30px; }
.app-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.app-heading-row h1 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.app-heading-row p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.metric-card { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.metric-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.metric-value { margin: 11px 0 5px; font-size: 28px; line-height: 1; font-weight: 900; }
.metric-change { color: var(--success); font-size: 10px; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 15px; margin-top: 15px; }
.dashboard-panel { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.panel-head h2 { margin: 0; font-size: 16px; }
.panel-head select { min-height: 34px; padding: 5px 28px 5px 10px; font-size: 10px; }
.response-chart { width: 100%; height: 230px; }
.survey-list { margin-top: 15px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.survey-row { display: grid; grid-template-columns: 1.7fr .7fr .6fr .55fr auto; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 11px; }
.survey-row:last-child { border-bottom: 0; }
.survey-row.header { color: var(--muted); background: var(--surface); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.survey-name { display: flex; align-items: center; gap: 10px; }
.survey-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--brand-800); background: var(--brand-100); border-radius: 9px; }
.survey-name strong { display: block; font-size: 11px; }
.survey-name span { color: var(--muted); font-size: 9px; }

/* Three-panel survey-builder shell, question canvas, toolbox, and property controls. */
.builder-shell { height: 100vh; display: grid; grid-template-rows: 64px 1fr; background: var(--surface); }
.builder-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 18px; background: var(--white); border-bottom: 1px solid var(--line); }
.builder-topbar-left, .builder-topbar-right { display: flex; align-items: center; gap: 10px; }
.builder-topbar img { width: 120px; }
.builder-survey-title { padding-inline-start: 12px; border-inline-start: 1px solid var(--line); font-size: 12px; font-weight: 850; }
.save-state { color: var(--success); font-size: 10px; font-weight: 750; }
.builder-main { min-height: 0; display: grid; grid-template-columns: 235px 1fr 280px; }
.builder-panel { overflow-y: auto; background: var(--white); }
.builder-left { padding: 17px; border-inline-end: 1px solid var(--line); }
.builder-right { padding: 18px; border-inline-start: 1px solid var(--line); }
.builder-panel-title { margin: 0 0 13px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.question-tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.question-tool { padding: 12px 7px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-align: center; font-size: 9px; font-weight: 800; cursor: grab; }
.question-tool:hover { color: var(--brand-800); border-color: var(--brand); background: var(--brand-50); }
.page-tree { margin: 20px 0; }
.page-tree-item { display: flex; align-items: center; justify-content: space-between; margin: 5px 0; padding: 10px; color: var(--muted); border-radius: 8px; font-size: 10px; font-weight: 750; }
.page-tree-item.active { color: var(--brand-800); background: var(--brand-50); }
.builder-canvas { overflow-y: auto; padding: 28px; }
.survey-canvas { max-width: 720px; min-height: calc(100vh - 120px); margin: 0 auto; padding: 42px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.survey-canvas-header { margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.survey-canvas-header h1 { margin: 0; font-size: 29px; letter-spacing: -.04em; }
.survey-canvas-header p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.canvas-question { position: relative; margin: 12px 0; padding: 19px; border: 1px solid transparent; border-radius: 10px; }
.canvas-question:hover, .canvas-question.active { border-color: var(--brand); background: var(--brand-50); }
.canvas-question-number { margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.canvas-question-text { font-size: 13px; font-weight: 800; }
.canvas-answer { margin-top: 12px; }
.canvas-answer input { background: var(--white); }
.canvas-options { display: grid; gap: 8px; margin-top: 12px; }
.canvas-option { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.canvas-option i { width: 14px; height: 14px; border: 1.5px solid #aab5c4; border-radius: 50%; }
.property-group { margin-bottom: 22px; }
.property-group h3 { margin: 0 0 10px; font-size: 11px; }
.property-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0; color: var(--muted); font-size: 10px; }
.mini-toggle { position: relative; width: 36px; height: 20px; background: #cbd5e1; border: 0; border-radius: 999px; }
.mini-toggle::after { content: ""; position: absolute; inset-inline-start: 3px; top: 3px; width: 14px; height: 14px; background: var(--white); border-radius: 50%; transition: .18s ease; }
.mini-toggle.active { background: var(--brand); }
.mini-toggle.active::after { inset-inline-start: 19px; }

/* Enterprise SSO, identity-provider, security-control, and data-governance patterns. */
.sso-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: center; }
.sso-step { position: relative; padding: 18px 12px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.sso-step:not(:last-child)::after { content: "→"; position: absolute; inset-inline-end: -15px; top: 50%; z-index: 2; transform: translateY(-50%); color: var(--brand); font-weight: 900; }
.sso-step-icon { width: 40px; height: 40px; display: grid; place-items: center; margin: 0 auto 9px; color: var(--brand-800); background: var(--brand-100); border-radius: 11px; }
.sso-step strong { display: block; font-size: 11px; }
.sso-step span { color: var(--muted); font-size: 9px; }

/* FAQ accordion; JavaScript controls expanded height and ARIA state. */
.faq-list { max-width: 850px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; color: var(--ink); background: transparent; border: 0; text-align: start; font-size: 16px; font-weight: 850; }
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand-700); transition: transform .2s ease; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; color: var(--muted); transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 4px 22px; }

.cta-panel { position: relative; overflow: hidden; padding: 60px; color: var(--white); background: radial-gradient(circle at 90% 20%, rgba(255,255,255,.17), transparent 30%), linear-gradient(135deg, var(--brand-800), var(--brand)); border-radius: var(--radius-xl); }
.cta-panel::after { content: ""; position: absolute; width: 260px; height: 260px; inset-inline-end: -100px; bottom: -160px; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.04), 0 0 0 90px rgba(255,255,255,.025); }
.cta-panel .grid-2 { position: relative; z-index: 1; align-items: center; }
.cta-panel h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.cta-panel p { margin: 14px 0 0; color: #e2efff; }
.cta-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }


/* User resource center: help search, guides, tutorials, glossary, downloads, and developer documentation. */
.nav-button.active { color: var(--brand-800); background: var(--brand-50); }
.resource-hero { background: radial-gradient(circle at 82% 18%, rgba(117,88,232,.12), transparent 28%), linear-gradient(180deg, var(--brand-50), #fff); }
.resource-hero-search { max-width: 760px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 10px; margin-top: 30px; padding: 8px 8px 8px 15px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-sm); }
.resource-hero-search > span { display: grid; place-items: center; color: var(--muted); }
.resource-hero-search svg { width: 20px; height: 20px; }
.resource-hero-search input { min-width: 0; height: 42px; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; }
.resource-hero-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.resource-hero-links a { color: var(--brand-800); font-size: 13px; font-weight: 800; }
.resource-hero-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.resource-hero-panel { padding: 34px; color: var(--white); background: radial-gradient(circle at 95% 5%, rgba(255,255,255,.15), transparent 32%), linear-gradient(145deg, var(--ink), #1b3659); border: 1px solid #2b4569; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.resource-hero-panel h2 { margin: 18px 0 8px; font-size: clamp(28px,3vw,40px); line-height: 1.1; letter-spacing: -.035em; }
.resource-hero-panel p { color: #bdcce0; }
.resource-stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 24px 0; }
.resource-stat-grid div { padding: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.resource-stat-grid strong { display: block; font-size: 30px; line-height: 1; }
.resource-stat-grid span { display: block; margin-top: 6px; color: #bdcce0; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.resource-feature-list { display: grid; gap: 10px; margin-top: 22px; }
.resource-feature-list span { display: flex; align-items: center; gap: 8px; color: #d7e3f2; font-size: 13px; }
.resource-feature-list svg { width: 16px; height: 16px; color: #87d9bd; }
.resource-entry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.resource-entry-card { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.resource-entry-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); }
.resource-entry-card .card-icon { margin: 0; }
.resource-entry-card h3 { margin: 2px 0 7px; font-size: 20px; line-height: 1.25; }
.resource-entry-card p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.resource-entry-card strong { color: var(--brand-800); font-size: 12px; }
.resource-topic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.resource-topic { padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.resource-topic-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--brand-800); background: var(--brand-100); border-radius: 12px; }
.resource-topic-icon.violet { color: var(--violet); background: var(--violet-soft); }
.resource-topic-icon.teal { color: var(--teal); background: var(--teal-soft); }
.resource-topic-icon.success { color: var(--success); background: var(--success-soft); }
.resource-topic-icon.warning { color: var(--warning); background: var(--warning-soft); }
.resource-topic-icon svg { width: 21px; height: 21px; }
.resource-topic h3 { margin: 17px 0 10px; font-size: 19px; }
.resource-topic a { display: block; padding: 7px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.resource-topic a:last-child { border-bottom: 0; }
.resource-topic a:hover { color: var(--brand-800); }
.download-resource-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.download-resource { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; min-height: 92px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.download-resource:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.download-resource > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--brand-800); background: var(--brand-100); border-radius: 11px; }
.download-resource svg { width: 20px; height: 20px; }
.download-resource strong, .download-resource small { display: block; }
.download-resource strong { font-size: 13px; }
.download-resource small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.download-resource em { color: var(--brand-800); font-size: 10px; font-style: normal; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.download-resource-grid.dark .download-resource { background: #17253a; border-color: #2d3d55; }
.download-resource-grid.dark .download-resource strong { color: var(--white); }
.download-resource-grid.dark .download-resource small { color: #9daec3; }
.support-option-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.support-option-grid a { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 18px; color: var(--white); background: #17253a; border: 1px solid #2d3d55; border-radius: 13px; }
.support-option-grid a:hover { background: #1c2e48; border-color: #4b668b; }
.support-option-grid a > span { width: 42px; height: 42px; display: grid; place-items: center; grid-row: 1 / 3; color: #a9cef8; background: rgba(75,142,222,.14); border-radius: 10px; }
.support-option-grid svg { width: 20px; height: 20px; }
.support-option-grid strong { align-self: end; font-size: 13px; }
.support-option-grid small { color: #9daec3; font-size: 10px; }

.resource-catalog-section { background: linear-gradient(180deg, var(--surface), #fff 340px); }
.resource-search-panel { position: sticky; top: calc(var(--header-h) + 16px); z-index: 20; margin-bottom: 30px; padding: 18px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); }
.resource-search-box { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 10px; height: 50px; padding: 0 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; }
.resource-search-box svg { width: 19px; height: 19px; color: var(--muted); }
.resource-search-box input { min-width: 0; height: 100%; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; }
.resource-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.resource-filter-row .filter-button, .glossary-alphabet button { min-height: 34px; padding: 7px 11px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 800; }
.resource-filter-row .filter-button.active, .glossary-alphabet button.active { color: var(--white); background: var(--brand-700); border-color: var(--brand-700); }
.resource-result-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 13px; }
.resource-result-row p { margin: 0; color: var(--muted); font-size: 12px; }
.resource-article-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; align-items: start; }
.resource-article { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.resource-article[open] { border-color: var(--brand); box-shadow: var(--shadow); }
.resource-article summary { display: grid; grid-template-columns: 42px 1fr 28px; gap: 12px; align-items: start; min-height: 132px; padding: 20px; cursor: pointer; list-style: none; }
.resource-article summary::-webkit-details-marker { display: none; }
.resource-article-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--brand-800); background: var(--brand-100); border-radius: 10px; }
.resource-article-icon svg { width: 19px; height: 19px; }
.resource-article summary strong, .resource-article summary small { display: block; }
.resource-article summary strong { margin-top: 3px; color: var(--ink); font-size: 16px; line-height: 1.35; }
.resource-article summary small { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.resource-meta { color: var(--brand-800); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.resource-expand { width: 28px; height: 28px; display: grid; place-items: center; color: var(--brand-800); background: var(--brand-50); border-radius: 8px; font-size: 20px; font-weight: 500; transition: transform .18s ease; }
.resource-article[open] .resource-expand { transform: rotate(45deg); }
.resource-article-body { padding: 0 20px 20px 74px; border-top: 1px solid var(--line); }
.resource-article-body ol { margin: 18px 0; padding-inline-start: 20px; color: var(--muted); font-size: 12px; }
.resource-article-body li { margin: 7px 0; }
.resource-article-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.resource-empty { padding: 60px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.resource-empty > span { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto; color: var(--brand-800); background: var(--brand-100); border-radius: 50%; }
.resource-empty svg { width: 26px; height: 26px; }
.resource-empty h2 { margin: 16px 0 4px; }
.resource-empty p { color: var(--muted); }

.resource-guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.resource-guide-card { display: flex; flex-direction: column; min-height: 390px; padding: 23px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.resource-guide-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.resource-guide-top, .resource-guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.resource-time { color: var(--muted); font-size: 11px; font-weight: 800; }
.resource-guide-card h3 { margin: 19px 0 8px; font-size: 21px; line-height: 1.24; }
.resource-guide-card p { margin: 0; color: var(--muted); font-size: 12px; }
.resource-guide-card ul { margin: 18px 0; padding-inline-start: 18px; color: var(--muted); font-size: 11px; }
.resource-guide-card li { margin: 7px 0; }
.resource-guide-footer { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.resource-guide-footer > span { color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }

.learning-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.learning-summary h2 { margin: 0; font-size: 32px; }
.learning-summary p { margin: 8px 0 0; color: var(--muted); }
.learning-summary-stat { min-width: 180px; padding: 20px; text-align: center; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 15px; }
.learning-summary-stat strong, .learning-summary-stat span, .learning-summary-stat small { display: block; }
.learning-summary-stat strong { color: var(--brand-800); font-size: 36px; line-height: 1; }
.learning-summary-stat span { margin-top: 5px; font-weight: 850; }
.learning-summary-stat small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.learning-path-list { display: grid; gap: 24px; }
.learning-path { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.learning-path-head { display: grid; grid-template-columns: 1fr 100px; align-items: center; gap: 30px; padding: 30px; }
.learning-path-head h2 { margin: 14px 0 5px; font-size: 28px; }
.learning-path-head p { margin: 0; color: var(--muted); }
.learning-progress-ring { width: 92px; height: 92px; display: grid; place-items: center; align-content: center; background: var(--brand-50); border: 8px solid var(--brand-100); border-radius: 50%; }
.learning-progress-ring strong { color: var(--brand-800); font-size: 22px; line-height: 1; }
.learning-progress-ring span { margin-top: 3px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.learning-progress-track { height: 7px; background: var(--surface-2); }
.learning-progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--brand-700), var(--violet)); transition: width .25s ease; }
.tutorial-module-list { margin: 0; padding: 0; list-style: none; }
.tutorial-module { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 18px 30px; border-bottom: 1px solid var(--line); }
.tutorial-module.completed { background: var(--success-soft); }
.tutorial-module-number { width: 34px; height: 34px; display: grid; place-items: center; color: var(--brand-800); background: var(--brand-100); border-radius: 50%; font-size: 11px; font-weight: 900; }
.tutorial-module.completed .tutorial-module-number { color: var(--white); background: var(--success); }
.tutorial-module strong { display: block; font-size: 13px; }
.tutorial-module p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.tutorial-module.completed .btn { color: var(--success); border-color: #93d8c0; }
.learning-path-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 18px 30px; background: var(--surface); }

.glossary-alphabet { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.glossary-alphabet button { min-width: 34px; border-radius: 8px; }
.glossary-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.glossary-term { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.glossary-term:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.glossary-letter { width: 42px; height: 42px; display: grid; place-items: center; color: var(--brand-800); background: var(--brand-100); border-radius: 10px; font-weight: 900; }
.glossary-term h3 { margin: 0 0 5px; font-size: 17px; }
.glossary-term p { margin: 0; color: var(--muted); font-size: 11px; }

.code-window { overflow: hidden; color: #d7e3f2; background: #0b1423; border: 1px solid #273b57; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.code-window.light { color: #d7e3f2; background: #111d2f; }
.code-window-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 16px; color: #a9b9cd; background: #142238; border-bottom: 1px solid #273b57; font-size: 11px; font-weight: 800; }
.code-window-head button { padding: 5px 9px; color: #bcd7f7; background: #1d3453; border: 1px solid #345274; border-radius: 7px; font-size: 10px; font-weight: 800; }
.code-window pre { margin: 0; padding: 23px; overflow-x: auto; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.code-window code { font: inherit; }
.developer-endpoint-table code { color: var(--brand-900); font-size: 11px; }
.method { display: inline-flex; min-width: 48px; justify-content: center; padding: 4px 7px; border-radius: 6px; font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.method.get { color: var(--brand-900); background: var(--brand-100); }
.method.post { color: #73500a; background: var(--warning-soft); }

/* Global footer columns, legal links, and responsive lower bar. */
.site-footer { color: #b6c2d2; background: var(--ink); }
.footer-main { padding: 66px 0 46px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; padding: 8px 11px; background: var(--white); border-radius: 11px; }
.footer-brand img { width: 145px; }
.footer-brand span { padding-inline-start: 9px; color: var(--ink); border-inline-start: 1px solid var(--line); font-weight: 900; }
.footer-about { max-width: 320px; margin: 18px 0; color: #91a1b5; font-size: 12px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; display: grid; place-items: center; color: #b8c7d9; background: #1b2a40; border: 1px solid #2c3b51; border-radius: 9px; font-size: 10px; font-weight: 900; }
.footer-social a:hover { color: var(--white); background: var(--brand-700); }
.footer-col h3 { margin: 0 0 16px; color: var(--white); font-size: 12px; }
.footer-col a { display: block; margin: 9px 0; color: #91a1b5; font-size: 11px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 18px 0; border-top: 1px solid #26354a; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #7f90a6; font-size: 10px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; }

/* Modal, toast notification, cookie banner, and reveal-on-scroll utility states. */
.modal-backdrop { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; padding: 20px; background: rgba(7, 13, 23, .68); backdrop-filter: blur(6px); }
.modal-backdrop.open { display: grid; }
.modal { width: min(100%, 500px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.modal-head h2 { margin: 0; font-size: 24px; }
.modal-close { width: 34px; height: 34px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.toast { position: fixed; z-index: 3000; inset-inline-end: 20px; bottom: 20px; max-width: 360px; display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; visibility: hidden; opacity: 0; transform: translateY(10px); color: var(--white); background: var(--ink); border: 1px solid #34445b; border-radius: 12px; box-shadow: var(--shadow-lg); transition: .2s ease; }
.toast.show { visibility: visible; opacity: 1; transform: translateY(0); }
.toast-icon { color: #87d9bd; font-weight: 900; }
.toast strong { display: block; font-size: 12px; }
.toast span { display: block; color: #b4c2d3; font-size: 10px; }
.cookie-banner { position: fixed; z-index: 1500; inset-inline: 20px; bottom: 20px; display: none; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; color: #d1dcec; background: #101b2d; border: 1px solid #2b3a50; border-radius: 14px; box-shadow: var(--shadow-lg); }
.cookie-banner.show { display: flex; }
.cookie-banner p { max-width: 780px; margin: 0; font-size: 11px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Privacy and terms page table of contents and long-form legal typography. */
.prose { max-width: 850px; margin: 0 auto; }
.prose h2 { margin: 42px 0 12px; font-size: 26px; letter-spacing: -.03em; }
.prose h3 { margin: 28px 0 8px; font-size: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--brand-800); text-decoration: underline; }
.prose .notice { padding: 16px 18px; color: var(--ink-2); background: var(--warning-soft); border: 1px solid #f3dcae; border-radius: 12px; }

.reveal { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Responsive breakpoints: desktop refinement, tablet/mobile navigation, compact app demos. */
@media (max-width: 1200px) {
  .main-nav { gap: 0; }
  .nav-link, .nav-button { padding-inline: 7px; font-size: 12px; }
  .brand { min-width: 196px; }
  .brand img { width: 140px; }
  .header-actions .btn-light { display: none; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card.featured { transform: none; }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
  .format-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  :root { --header-h: 68px; }
  .desktop-nav, .header-actions .btn, .header-actions .language-wrap { display: none; }
  .header-inner { justify-content: space-between; }
  .mobile-toggle { display: block; }
  .mobile-panel { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 999; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 16px 20px 28px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .mobile-panel.open { display: block; }
  .mobile-nav-link { display: block; padding: 11px 5px; color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 800; }
  .mobile-nav-group { padding: 10px 0; }
  .mobile-nav-label { color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
  .mobile-subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 5px; }
  .mobile-subgrid a { padding: 7px 0; color: var(--ink-2); font-size: 12px; font-weight: 700; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }
  .mobile-language { margin-top: 14px; }
  .mobile-language .language-select { width: 100%; }
  .hero-grid, .feature-band-grid, .grid-2.gap-xl, .grid-2.gap-lg { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; }
  .hero-copy { text-align: center; }
  .hero .display-title, .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-visual { min-height: 480px; }
  .product-hero { padding-top: 62px; }
  .product-visual { min-height: 315px; margin-top: 8px; }
  .visual-window { max-width: 410px; transform: none; }
  .ai-hero-visual, .education-visual, .transfer-visual { min-height: 315px; }
  .visual-float-a { right: 0; }
  .visual-float-b { left: 0; }
  .feature-band-copy { padding: 42px; }
  .stats-grid, .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-label { grid-column: 1 / -1; text-align: center; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-nav { grid-template-columns: repeat(2, 1fr); }
  .tool-layout, .ai-lab { grid-template-columns: 1fr; }
  .result-card { position: static; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .template-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-entry-grid, .resource-topic-grid, .resource-guide-grid { grid-template-columns: repeat(2,1fr); }
  .resource-search-panel { top: 84px; }
  .footer-col:nth-child(4), .footer-col:nth-child(5) { margin-top: 16px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand-panel { display: none; }
  .auth-mobile-brand { display: block; }
  .app-shell { grid-template-columns: 76px 1fr; }
  .app-sidebar { padding-inline: 10px; }
  .app-brand { justify-content: center; }
  .app-brand img { display: none; }
  .app-brand span { font-size: 0; }
  .app-brand span::before { content: "S"; width: 36px; height: 36px; display: grid; place-items: center; color: var(--white); background: var(--brand); border-radius: 10px; font-size: 15px; }
  .app-menu-label, .app-menu-link span, .app-sidebar-bottom { display: none; }
  .app-menu-link { justify-content: center; padding: 12px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .builder-main { grid-template-columns: 190px 1fr; }
  .builder-right { display: none; }
  .sso-flow { grid-template-columns: 1fr 1fr; }
  .sso-step:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .section-sm { padding: 50px 0; }
  .brand { min-width: auto; }
  .brand img { width: 134px; }
  .brand-product { font-size: 17px; }
  .display-title { font-size: 44px; }
  .page-title { font-size: 39px; }
  .section-title { font-size: 33px; }
  .hero { padding: 58px 0 55px; }
  .hero-grid { gap: 32px; }
  .hero-visual { min-height: 385px; }
  .dashboard-mock { transform: none; }
  .mock-app { grid-template-columns: 52px 1fr; min-height: 330px; }
  .mock-sidebar { padding-inline: 8px; }
  .mock-content { padding: 14px; }
  .mock-metrics { gap: 6px; }
  .mock-metric { padding: 9px; }
  .mock-metric-value { font-size: 15px; }
  .mock-chart { height: 145px; }
  .mock-chart svg { height: 82px; }
  .mock-list { display: none; }
  .float-card.top { inset-inline-end: -7px; top: 38px; }
  .float-card.bottom { inset-inline-start: -7px; bottom: 20px; }
  .stats-grid, .grid-3, .grid-4, .pricing-grid, .metric-grid, .template-grid, .integration-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .feature-band-copy { padding: 32px 25px; }
  .feature-band-visual { min-height: 330px; padding: 22px; }
  .split-callout { padding: 30px 24px; }
  .price-card.featured { transform: none; }
  .format-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-nav { grid-template-columns: 1fr; }
  .tool-layout { grid-template-columns: minmax(0,1fr); }
  .calculator-card, .result-card { padding: 23px; }
  .range-row { grid-template-columns: 1fr 74px; }
  .ai-prompt, .ai-output { padding: 23px; }
  .ai-options { grid-template-columns: 1fr; }
  .template-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .resource-hero-search { grid-template-columns: 22px minmax(0,1fr); padding: 9px 12px; }
  .resource-hero-search .btn { grid-column: 1 / -1; width: 100%; }
  .resource-entry-grid, .resource-topic-grid, .resource-guide-grid, .resource-article-grid, .glossary-list, .download-resource-grid { grid-template-columns: 1fr; }
  .support-option-grid { grid-template-columns: 1fr; }
  .resource-search-panel { position: static; padding: 14px; }
  .resource-article summary { min-height: 0; grid-template-columns: 38px 1fr 26px; padding: 16px; }
  .resource-article-body { padding: 0 16px 16px; }
  .learning-summary { grid-template-columns: 1fr; }
  .learning-summary-stat { width: 100%; }
  .learning-path-head { grid-template-columns: 1fr; padding: 23px; }
  .learning-progress-ring { width: 82px; height: 82px; }
  .tutorial-module { grid-template-columns: 34px 1fr; padding: 16px 20px; }
  .tutorial-module .btn { grid-column: 2; justify-self: start; }
  .learning-path-actions { justify-content: flex-start; flex-wrap: wrap; padding: 16px 20px; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; }
  .cta-panel { padding: 36px 25px; }
  .cta-actions { justify-content: flex-start; margin-top: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-group.full { grid-column: auto; }
  .account-types { grid-template-columns: 1fr; }
  .account-type { display: grid; grid-template-columns: 30px 1fr; text-align: start; column-gap: 10px; }
  .account-type-icon { grid-row: 1 / 3; }
  .sso-grid { grid-template-columns: 1fr; }
  .auth-form-panel { padding: 35px 18px; }
  .student-plan-summary { align-items: flex-start; flex-direction: column; }
  .cookie-banner { align-items: flex-start; flex-direction: column; }
  .app-shell { display: block; }
  .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1045;
    width: 264px;
    max-width: 82vw;
    height: 100vh;
    padding-inline: 16px;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 20px 0 60px rgba(3,11,22,.25);
  }
  .app-sidebar.show { transform: none; }
  [dir="rtl"] .app-sidebar { inset: 0 0 0 auto; transform: translateX(105%); }
  .app-brand { justify-content: flex-start; }
  .app-brand img { display: block; }
  .app-brand span { font-size: unset; }
  .app-brand span::before { content: none; }
  .app-menu-label, .app-menu-link span, .app-sidebar-bottom { display: block; }
  .app-menu-link { justify-content: flex-start; padding: 10px 11px; }
  .app-sidebar-close, .app-sidebar-toggle { display: grid; }
  .app-topbar { padding: 0 16px; }
  .app-content { padding: 18px 14px; }
  .app-heading-row { align-items: flex-start; flex-direction: column; }
  .survey-list { overflow-x: auto; }
  .survey-list .survey-row { min-width: 720px; }
  .builder-main { grid-template-columns: 1fr; }
  .builder-left { display: none; }
  .builder-canvas { padding: 14px; }
  .survey-canvas { padding: 25px 18px; }
  .builder-survey-title, .builder-topbar .save-state { display: none; }
  .sso-flow { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .brand img { width: 122px; }
  .brand-divider { height: 24px; }
  .brand-product { font-size: 15px; }
  .hero-actions .btn, .page-hero-actions .btn { width: 100%; }
  .hero-note { flex-direction: column; gap: 6px; }
  .trust-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-stat-grid { grid-template-columns: 1fr; }
  .resource-entry-card { grid-template-columns: 48px 1fr; padding: 20px; }
  .download-resource { grid-template-columns: 40px 1fr; }
  .download-resource em { grid-column: 2; }
  .mobile-subgrid { grid-template-columns: 1fr; }
  .mobile-actions { grid-template-columns: 1fr; }
  .product-visual { min-height: 270px; transform: scale(.88); transform-origin: center top; margin-bottom: -25px; }
  .visual-window { width: 390px; }
  .visual-builder { min-height: 205px; }
  .transfer-left { transform: translateX(-63px) rotate(-7deg) scale(.82); }
  .transfer-right { transform: translateX(63px) rotate(7deg) scale(.82); }
  .transfer-arrows { transform: scale(.72); }
  .about-visual { min-height: 300px; }
}

/* Arabic right-to-left refinements for typography, directional icons, and product previews. */
html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] .card-link::after { content: "←"; }
html[dir="rtl"] .card-link:hover::after { transform: translateX(-4px); }
html[dir="rtl"] .mock-app, html[dir="rtl"] .app-shell, html[dir="rtl"] .builder-main { direction: rtl; }
html[dir="rtl"] .dashboard-mock { transform: perspective(1200px) rotateY(3deg) rotateX(1deg); }
html[dir="rtl"] .sso-step:not(:last-child)::after { content: "←"; }

/* Respect operating-system motion preferences for accessibility. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
