/* FluentAI — design system & site styles */

:root {
  --ink: #10182b;
  --ink-soft: #3c4459;
  --muted: #616b80;
  --line: #e3e7f0;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --surface-deep: #0d1730;
  --surface-deep-soft: #16213f;
  --primary: #2451d6;
  --primary-dark: #17348c;
  --primary-soft: #e9eefc;
  --accent: #0e9384;
  --accent-soft: #e2f6f2;
  --accent-text: #0a7363;
  --warn: #b5450e;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 43, 0.06);
  --shadow-md: 0 12px 32px -16px rgba(16, 24, 43, 0.28);
  --shadow-lg: 0 24px 64px -24px rgba(16, 24, 43, 0.35);
  --container: 1140px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-primary > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--ink);
}

.has-dropdown { position: relative; }
.has-dropdown .nav-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.has-dropdown.is-open .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.has-dropdown.is-open .dropdown,
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--surface-soft); color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }

.btn-on-dark { background: #fff; color: var(--primary-dark); }
.btn-on-dark:hover { background: var(--primary-soft); }

.btn-ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-on-dark:hover { border-color: #fff; }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

/* ---------- Sections / typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.lede { font-size: 1.15rem; color: var(--ink-soft); }

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

.bg-soft { background: var(--surface-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 100px;
  background:
    radial-gradient(1100px 480px at 12% -10%, rgba(36, 81, 214, 0.16), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(14, 147, 132, 0.14), transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero .lede { max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-trust span { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent); }

.hero-panel {
  background: var(--surface-deep);
  border-radius: var(--radius-lg);
  padding: 34px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-panel .panel-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fb4f5;
  margin-bottom: 18px;
}
.chat-bubble {
  background: var(--surface-deep-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  max-width: 86%;
}
.chat-bubble.user {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
}
.chat-bubble.flag {
  background: rgba(181, 69, 14, 0.18);
  border: 1px solid rgba(181, 69, 14, 0.35);
  color: #ffd9c2;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.chat-bubble.flag svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Feature grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
}

.feature-card .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card .icon-wrap svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

.feature-card.accent .icon-wrap { background: var(--accent-soft); color: var(--accent); }

/* ---------- Check list ---------- */
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: none; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Panel band (challenge / solution etc) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.split .lede { color: var(--muted); }

.stat-panel {
  background: var(--surface-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
}
.stat-panel h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb4f5;
  margin-bottom: 18px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--surface-deep), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { max-width: 30ch; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 42ch; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Case study cards ---------- */
.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.case-card .case-media {
  height: 150px;
  background: linear-gradient(135deg, var(--surface-deep), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.case-card .case-body { padding: 24px; }

.client-logo { max-height: 44px; max-width: 80%; width: auto; object-fit: contain; }
.client-logo--mark { max-height: 76px; }
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px 20px;
}
.case-card .case-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-text);
  margin-bottom: 10px;
  display: block;
}
.case-card p { color: var(--muted); font-size: 0.95rem; margin-top: 10px; }
.case-card .read-more {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* ---------- Case study detail page ---------- */
.case-hero {
  background: linear-gradient(135deg, var(--surface-deep), var(--primary-dark));
  color: #fff;
  padding: 80px 0 64px;
}
.case-hero-logo { margin-bottom: 24px; }
.case-hero .client-logo { max-height: 40px; display: block; }
.case-hero .client-logo--mark { max-height: 68px; }
.case-hero .logo-chip { padding: 12px 22px; }
.case-hero .case-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb4f5;
  margin-bottom: 16px;
}
.case-hero h1 { margin-bottom: 14px; }
.case-hero .lede { color: rgba(255,255,255,0.82); max-width: 60ch; }

.case-body { padding: 64px 0; }
.case-body .prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); margin-bottom: 14px; }
.prose ul { margin: 18px 0; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.quote {
  background: var(--surface-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
  margin: 28px 0;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--ink);
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.testimonial-grid blockquote {
  margin: 0;
  padding: 18px 20px;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.stat-row.cols-4 { grid-template-columns: repeat(2, 1fr); }
.stat-row .stat {
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.stat-row .stat strong { display: block; font-size: 1.5rem; color: var(--primary-dark); }
.stat-row .stat span { font-size: 0.82rem; color: var(--muted); }

.case-pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.case-pagination a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.88rem;
  max-width: 260px;
}
.case-pagination a strong { display: block; color: var(--ink); font-size: 1rem; margin-top: 4px; }
.case-pagination .next { text-align: right; margin-left: auto; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  font: inherit;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  background: var(--surface);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
}
.form-status.is-success { display: block; background: var(--accent-soft); color: #0a5c52; }
.form-status.is-error { display: block; background: #fdecea; color: #9a2b1e; }
.form-status.is-loading { display: block; background: var(--surface-soft); color: var(--muted); }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-panel {
  background: var(--surface-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-panel .icon-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-panel .icon-row:last-child { border-bottom: none; }
.contact-panel .icon-row .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-panel .icon-row .icon-wrap svg { width: 18px; height: 18px; }
.contact-panel .icon-row a,
.contact-panel .icon-row span { color: #fff; text-decoration: none; font-weight: 500; }
.contact-panel .icon-row small { display: block; color: rgba(255,255,255,0.6); font-size: 0.78rem; margin-top: 2px; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 64px 0 96px; }
.legal-page .legal-head { max-width: 760px; margin: 0 auto 40px; }
.legal-page .legal-head .updated { color: var(--muted); font-size: 0.88rem; margin-top: 10px; }
.legal-notice {
  max-width: 760px;
  margin: 0 auto 40px;
  background: #fff7ed;
  border: 1px solid #fcd9a8;
  color: #7c4a03;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.92rem;
  display: flex;
  gap: 12px;
}
.legal-notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.2rem; margin: 34px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--ink-soft); margin-bottom: 12px; }
.legal-content ul { margin: 12px 0 18px; }
.legal-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.legal-content .clause-num { font-weight: 600; color: var(--ink); }

/* ---------- 404 ---------- */
.not-found {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found .code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-deep);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .nav-primary, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .nav-primary {
    display: block;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    padding: 20px;
    overflow-y: auto;
  }
  body.nav-open .nav-primary > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  body.nav-open .nav-link { padding: 14px 16px; }
  body.nav-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    margin-left: 12px;
  }
  body.nav-open .has-dropdown.is-open .dropdown { display: block; }
  body.nav-open .header-cta { display: flex; padding: 16px; border-top: 1px solid var(--line); margin-top: 12px; }
  .header-cta .btn-primary { padding: 10px 16px; font-size: 0.88rem; }

  section { padding: 56px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .footer-top { flex-direction: column; }
  .case-pagination { flex-direction: column; }
  .case-pagination .next { text-align: left; margin-left: 0; }
}
