﻿/* Werkflow Software – Light professional redesign */

:root {
  --bg: #F3F6F5;
  --bg-elevated: #FFFFFF;
  --surface: #FFFFFF;
  --surface-light: #E8EEEC;
  --surface-hover: #F7FAF9;
  --text: #1B2430;
  --muted: #5A6876;
  --muted-light: #3D4A57;
  --border: rgba(27, 36, 48, 0.08);
  --border-hover: rgba(27, 36, 48, 0.16);
  --accent: #E8872E;
  --accent-fg: #FFFFFF;
  --accent-hover: #D97A24;
  --accent-soft: rgba(232, 135, 46, 0.12);
  --link: #E8872E;
  --link-soft: rgba(232, 135, 46, 0.12);
  --cyan: #2A9D8F;
  --cyan-soft: rgba(42, 157, 143, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --container: 1180px;
  --section-gap: clamp(4.75rem, 9vw, 7.5rem);
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(27, 36, 48, 0.04), 0 4px 14px rgba(27, 36, 48, 0.04);
  --shadow-md: 0 8px 24px rgba(27, 36, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(27, 36, 48, 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: rgba(232, 135, 46, 0.22);
  color: var(--text);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.025rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 8% -8%, rgba(42, 157, 143, 0.12), transparent 58%),
    radial-gradient(ellipse 60% 42% at 92% 8%, rgba(232, 135, 46, 0.1), transparent 52%),
    radial-gradient(ellipse 55% 40% at 50% 105%, rgba(42, 157, 143, 0.06), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

main {
  flex: 1;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--link);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text);
}

p + p {
  margin-top: 0.875rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(243, 246, 245, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 28px rgba(27, 36, 48, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.88;
}

.logo-mark {
  width: 28px;
  height: 28px;
}

.logo-img {
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-img--header {
  max-height: 1.75rem;
  max-width: 10rem;
}

.logo--footer .logo-img--footer {
  max-height: 3.25rem;
  max-width: 9rem;
  opacity: 1;
  filter: none;
}

.logo-brand-hero,
.logo-brand-stack {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 12rem;
  width: 100%;
  height: auto;
}

.logo-brand-color {
  display: block;
  margin: 0 auto 2rem;
  max-width: min(16rem, 80vw);
  width: 100%;
  height: auto;
}

.logo-panel {
  display: flex;
  justify-content: center;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.logo-panel--light {
  background: #fff;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.nav-desktop > ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(27, 36, 48, 0.04);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--text);
  background: rgba(27, 36, 48, 0.04);
}

.nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 200px;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-light);
  border-radius: var(--radius-sm);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--accent-soft);
  color: var(--text);
}

.header-cta {
  margin-left: 0.5rem;
}

.header-cta.btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.85rem;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang-switch a {
  color: var(--muted);
  padding: 0.2rem 0.15rem;
}

.lang-switch a:hover {
  color: var(--text);
}

.lang-switch a.is-active {
  color: var(--accent);
  pointer-events: none;
}

.lang-switch .lang-sep {
  opacity: 0.45;
  user-select: none;
}

.nav-mobile-lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0 0.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-mobile-lang a {
  color: var(--muted);
}

.nav-mobile-lang a.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.35rem;
  margin-left: 0.35rem;
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--bg);
  padding: 1.25rem;
  overflow-y: auto;
  z-index: 99;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile-group {
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}

.nav-mobile-group-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-mobile-group-title svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-mobile-group.open .nav-mobile-group-title svg {
  transform: rotate(180deg);
}

.nav-mobile-links {
  display: none;
  padding: 0 0 0.75rem 0.5rem;
}

.nav-mobile-group.open .nav-mobile-links {
  display: block;
}

.nav-mobile-links a {
  display: block;
  padding: 0.625rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-mobile-links a:hover,
.nav-mobile-links a.active {
  color: var(--link);
}

.nav-mobile-top {
  display: block;
  padding: 0.5rem 0 0.75rem;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-top a {
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--text);
}

.nav-mobile-cta {
  padding: 1.25rem 0;
}

body.menu-open {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary.js-stripe-checkout {
  opacity: 0.55;
}

.btn-primary.js-stripe-checkout:hover {
  opacity: 0.7;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 4px 14px rgba(232, 135, 46, 0.22);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 6px 18px rgba(232, 135, 46, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--border-hover);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-light);
}

.btn-ghost:hover:not(:disabled) {
  color: var(--text);
  background: rgba(27, 36, 48, 0.04);
}

.btn-lg {
  padding: 0.95rem 1.55rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-group--center {
  justify-content: center;
}

/* Visual-first (Cursor-like) layout */
.container--wide {
  max-width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 3.5vw, 1.85rem);
}

.hero--visual {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.hero--visual > .container,
.hero--centered > .container {
  max-width: min(1280px, 100%);
}

.hero--visual .hero-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.hero--visual .hero-text {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hero--visual .btn-group {
  justify-content: center;
}

.hero--visual .hero-media--featured {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hero--visual .hero-media--featured .media-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.visual-block {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.visual-block .visual-intro {
  max-width: 36rem;
  margin: 0 auto 1.35rem;
  text-align: center;
}

.visual-block .visual-intro h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin-bottom: 0.55rem;
}

.visual-block .visual-intro p {
  color: var(--muted);
  font-size: 1.02rem;
}

.visual-block .visual-intro .btn-group {
  margin-top: 1.15rem;
}

/* Featured / below-text media — constrained, not full browser width */
.visual-stage {
  max-width: min(1140px, 100%);
  margin: 0 auto;
}

.visual-stage .media-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.visual-stage--featured {
  max-width: min(1240px, 100%);
}

/* Text ~45% / Medium ~55% — media slightly more present */
.visual-row {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(1.25rem, 3.25vw, 2.5rem);
  align-items: center;
}

/* Detail-heavy product UIs in a row */
.visual-row--media-emphasis {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
}

/*
 * Reverse: CSS order puts media first in grid flow.
 * First track must be the wider media column.
 */
.visual-row--reverse {
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
}

.visual-row--reverse.visual-row--media-emphasis {
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
}

.visual-row--reverse .visual-copy {
  order: 2;
}

.visual-row--reverse .visual-media {
  order: 1;
}

.visual-copy {
  max-width: 30rem;
}

.visual-copy h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  margin-bottom: 0.55rem;
}

.visual-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.visual-copy p + p {
  margin-top: 0.65rem;
}

.visual-copy .btn-group {
  margin-top: 1.15rem;
}

.visual-media .media-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.visual-media .media-frame--compact {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.visual-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.visual-gallery .media-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.visual-gallery .media-frame--tall {
  aspect-ratio: 16 / 9;
  height: auto;
}

/* Compact multi-view strip — 3 columns on desktop */
.visual-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.visual-strip .media-frame {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.visual-caption {
  margin-top: 0.85rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .visual-row,
  .visual-row--reverse,
  .visual-row--media-emphasis,
  .visual-row--reverse.visual-row--media-emphasis {
    grid-template-columns: 1fr;
  }

  .visual-row--reverse .visual-copy,
  .visual-row--reverse .visual-media {
    order: initial;
  }
}

@media (max-width: 960px) {
  .visual-gallery,
  .visual-strip {
    grid-template-columns: 1fr;
  }

  .visual-gallery .media-frame--tall,
  .visual-strip .media-frame {
    aspect-ratio: 16 / 9;
  }

  .visual-media .media-frame--compact {
    max-width: none;
  }
}

/* Hero */
.hero {
  padding: clamp(3.75rem, 8vw, 6rem) 0 clamp(3.25rem, 6vw, 5rem);
}

.hero--home {
  padding-top: clamp(4.25rem, 9vw, 6.5rem);
}

.hero--centered .hero-content.centered,
.hero:has(.hero-content.centered) .hero-content.centered {
  text-align: center;
}

.hero--centered .hero-title,
.hero:has(.hero-content.centered) .hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.85rem);
  line-height: 1.06;
  max-width: none;
}

.hero--centered .hero-text,
.hero:has(.hero-content.centered) .hero-text {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero--centered .hero-media--featured {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  max-width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hero--centered .hero-media--featured .media-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero--home .hero-title {
  font-size: clamp(2.65rem, 6vw, 4.1rem);
  line-height: 1.04;
}

.hero--home .hero-text {
  font-size: clamp(1.05rem, 1.6vw, 1.175rem);
  color: var(--muted);
  max-width: 36em;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-content.centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-content.centered .btn-group {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  border-radius: var(--radius-full);
  background: currentColor;
  opacity: 0.85;
}

.eyebrow--vigil {
  color: var(--cyan);
}

.hero--home .eyebrow,
.hero--centered .eyebrow,
.hero--visual .eyebrow,
.hero:has(.hero-content.centered) .eyebrow {
  color: var(--link);
}

.hero-title {
  margin-bottom: 1.2rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.hero-media .media-frame {
  box-shadow: var(--shadow-lg);
  transform: translateZ(0);
}

.hero-media.reveal.visible .media-frame,
.hero-media .media-frame {
  animation: mediaIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mediaIn {
  from {
    opacity: 0.35;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Sections */
.section {
  padding: var(--section-gap) 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(232, 238, 236, 0.55), rgba(243, 246, 245, 0.9));
  border-block: 1px solid rgba(27, 36, 48, 0.06);
}

.section--compact {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  max-width: 640px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header .eyebrow {
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.section-narrow p {
  color: var(--muted);
}

.section-narrow h2 {
  margin-bottom: 1rem;
}

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0 auto;
  max-width: var(--container);
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.feature-card .card-icon {
  width: 28px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--link);
  margin-bottom: 1rem;
  font-size: 0;
  color: transparent;
}

.feature-card.cyan .card-icon {
  background: var(--cyan);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid--narrow {
  max-width: 900px;
  margin-inline: auto;
}

/* Context blocks – short, calm */
.context-block {
  padding: clamp(3.25rem, 6vw, 4.75rem) 0;
}

.context-block .section-header {
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.context-block .section-header p {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.context-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.context-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  font-weight: 650;
}

.context-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.context-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.context-split-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 1.75rem);
}

.context-split-panel .eyebrow {
  margin-bottom: 0.75rem;
}

.context-split-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.context-split-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.scope-note {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.scope-note h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  margin-bottom: 0.75rem;
}

.scope-note p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 720px) {
  .context-split {
    grid-template-columns: 1fr;
  }
}

.product-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.625rem;
}

.product-card p {
  color: var(--muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

.product-card .eyebrow {
  margin-bottom: 0.5rem;
  color: var(--link);
}

.price-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(232, 135, 46, 0.35);
  box-shadow: 0 0 0 1px rgba(232, 135, 46, 0.15), var(--shadow-md);
}

.price-card-header {
  margin-bottom: 1rem;
}

.price-card-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--muted-light);
}

.price-card-price {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.price-card-price span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card-features {
  flex: 1;
  margin-bottom: 1.25rem;
}

.price-card-features li {
  padding: 0.55rem 0;
  font-size: 0.9375rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.price-card-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.price-card.featured .price-card-features li::before {
  background: var(--link);
}

.price-card .btn {
  width: 100%;
}

/* Media */
.media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(27, 36, 48, 0.1);
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
}

.media-frame--tech {
  background: #151b24;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.media-frame--tech .media-animation {
  background: #151b24;
}

.media-frame--tech img[src*="inmotion-"],
.media-frame--tech img[src*="vigil-"],
.media-frame--tech .video-fallback img {
  background: #151b24;
}

.media-frame img,
.media-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* New marketing compositions (light canvas, 16:9) */
.media-frame--canvas {
  background: #efeae2;
  border-color: rgba(27, 36, 48, 0.08);
}

.media-frame--canvas .media-animation {
  background: #efeae2;
}

.media-frame img[src*="werkflow-static"],
.media-frame img[src*="inmotion-website"],
.media-frame img[src*="vigil-website"],
.media-frame img[src*="werkflow-website"] {
  object-fit: contain;
  object-position: center;
  background: #efeae2;
}

.media-frame .video-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.media-frame .video-fallback img {
  display: block;
  width: 100%;
  height: 100%;
}

.media-frame > video {
  display: none;
}

.media-frame .media-animation {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  background: #151b24;
}

.media-frame.has-animation > img,
.media-frame.has-animation .video-fallback {
  display: none;
}

.media-frame.has-animation.has-video .media-animation {
  display: none;
}


.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame .video-placeholder {
  position: absolute;
  inset: 0;
}

.media-frame.has-video > video {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.media-frame.has-video video:not([src=""]) ~ .video-fallback {
  display: none;
}

.media-frame-wide {
  aspect-ratio: 21 / 9;
}

.media-frame--xl {
  border-radius: var(--radius-xl);
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame-wide.is-offset {
  margin-top: 2rem;
}

.media-showcase {
  margin-top: 2rem;
}

.media-showcase .media-frame {
  box-shadow: var(--shadow-md);
}

.media-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.media-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hero-media--featured .media-frame,
.media-frame--xl {
  border-radius: var(--radius-xl);
}

/* Split */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-section--loose {
  gap: clamp(2.5rem, 6vw, 5rem);
}

.split-section.reverse .split-content {
  order: 2;
}

.split-section.reverse .split-media {
  order: 1;
}

.split-content .eyebrow {
  margin-bottom: 0.75rem;
}

.split-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  margin-bottom: 1rem;
}

.split-content p {
  color: var(--muted);
}

/* Product showcase */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.product-showcase-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-showcase-card .eyebrow {
  color: var(--link);
}

.product-showcase-card.cyan .eyebrow {
  color: var(--cyan);
}

.product-showcase-card h3 {
  font-size: 1.35rem;
}

.product-showcase-card p {
  color: var(--muted);
  flex: 1;
}

.product-showcase-card .media-frame {
  margin: 0.5rem 0 0.75rem;
}

.card-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--link);
}

.card-link:hover {
  color: var(--accent-hover);
}

/* Promise / steps */
.promise-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.promise-item::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--link);
  margin: 0 auto 1rem;
}

.promise-item.cyan::before {
  background: var(--cyan);
}

.promise-item h3 {
  margin-bottom: 0.5rem;
}

.promise-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding-left: 2.75rem;
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--link);
  border: 1px solid rgba(232, 135, 46, 0.28);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.step-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.step-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.75rem;
  padding-left: 1.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--link);
  border: 2px solid var(--bg);
}

.timeline-item.planned::before {
  background: var(--cyan);
}

.timeline-item.future::before {
  background: var(--muted);
}

.timeline-version {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--link);
  margin-bottom: 0.35rem;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font: inherit;
  font-weight: 600;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--muted);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Tags / stats */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat-item {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(27, 36, 48, 0.06);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Content panels / learn grid */
.content-panel {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: transparent;
  border: 1px solid rgba(27, 36, 48, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: border-color var(--transition), background var(--transition);
}

.content-panel:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--border-hover);
}

.content-panel h3 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.content-panel ul {
  margin-top: 0.75rem;
  padding-left: 1.125rem;
  list-style: disc;
}

.content-panel li + li {
  margin-top: 0.35rem;
}

.content-panel.cyan {
  border-color: rgba(42, 157, 143, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.4), rgba(42, 157, 143, 0.07));
}

.learn-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}

.learn-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.learn-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.learn-step {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--link);
  margin-bottom: 0.65rem;
}

.learn-card.cyan .learn-step {
  color: var(--cyan);
}

.learn-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.55rem;
}

.learn-card p {
  flex: 1;
  font-size: 0.85rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--muted-light);
}

.form-group .optional {
  font-weight: 400;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--link);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.form-notice {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-section {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

/* Info / docs / legal */
.info-box {
  padding: 1.25rem 1.5rem;
  background: var(--cyan-soft);
  border: 1px solid rgba(42, 157, 143, 0.22);
  border-radius: var(--radius);
  color: var(--muted-light);
}

.info-box.is-offset {
  margin-top: 2rem;
}

.info-box.is-offset-lg {
  margin-top: 3rem;
}

.launch-notice-section {
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  padding-bottom: 0;
}

.hero + .launch-notice-section {
  padding-top: 0;
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
  margin-top: -0.5rem;
}

.launch-notice {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(27, 36, 48, 0.08);
  padding: 0.95rem 1.15rem;
}

.launch-notice p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.88rem;
  color: var(--muted);
}

.launch-notice strong {
  color: var(--muted-light);
  font-weight: 650;
}

/* Planned MP4 loops: keep paths, no public label */
.media-frame.is-video-pending {
  /* SVG/poster fallback remains visible */
}

.docs-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.docs-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.docs-section p,
.docs-section li {
  color: var(--muted);
}

.docs-section ol,
.docs-section ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.docs-section ol {
  list-style: decimal;
}

.docs-section ul {
  list-style: disc;
}

.docs-section a {
  color: var(--link);
  font-weight: 600;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-section p {
  color: var(--muted);
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--surface-light);
  color: var(--muted);
  border: 1px solid var(--border);
  margin-bottom: 0.625rem;
  vertical-align: middle;
}

.docs-section h2 .status-badge {
  margin-bottom: 0;
  margin-left: 0.35rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.status-badge.available {
  background: var(--accent-soft);
  color: var(--link);
  border-color: rgba(232, 135, 46, 0.25);
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* CTA */
.cta-section {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(232, 135, 46, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 100%, rgba(42, 157, 143, 0.1), transparent 50%),
    var(--surface);
  border-block: 1px solid rgba(27, 36, 48, 0.06);
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.text-center-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.error-page {
  text-align: center;
  padding: 4rem 0;
}

.error-page h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

/* Newsletter */
.newsletter {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.4fr);
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: center;
  background:
    radial-gradient(ellipse 80% 70% at 90% 10%, rgba(42, 157, 143, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(232, 135, 46, 0.12), transparent 50%),
    linear-gradient(155deg, #1B2430 0%, #243040 55%, #1E2A36 100%);
  color: #F3F6F5;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.newsletter-copy {
  max-width: 34rem;
}

.newsletter-copy .eyebrow {
  color: #E8872E;
}

.newsletter-copy h2 {
  color: #FFFFFF;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  margin-bottom: 0.85rem;
}

.newsletter-copy > p {
  color: rgba(243, 246, 245, 0.78);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.newsletter-note {
  font-size: 0.85rem;
  color: rgba(243, 246, 245, 0.55);
  line-height: 1.55;
  margin-bottom: 0;
}

.newsletter-embed {
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  padding: 0.35rem;
  overflow: visible;
}

.newsletter-embed iframe {
  width: 100% !important;
  max-width: none;
  min-height: 470px;
  height: 470px;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
}

@media (max-width: 900px) {
  .newsletter-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .newsletter-copy {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .newsletter-panel {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .newsletter-embed {
    padding: 0.5rem;
  }

  .newsletter-embed iframe {
    min-height: 500px;
    height: 500px;
  }
}

/* Footer */
.site-footer {
  background:
    linear-gradient(180deg, rgba(232, 238, 236, 0.4), #E8EEEC);
  border-top: 1px solid rgba(27, 36, 48, 0.06);
  padding: 4rem 0 1.85rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--muted-light);
}

.footer-col a:hover {
  color: var(--link);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--link);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.hero .reveal,
.site-header .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.visible,
  .hero-media .media-frame,
  .hero-media.reveal.visible .media-frame {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .media-frame .media-animation {
    display: none !important;
  }

  .media-frame.has-animation > img,
  .media-frame.has-animation .video-fallback {
    display: block !important;
  }

  .btn,
  .card,
  .content-panel {
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
    margin-right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-grid,
  .split-section,
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .promise-row,
  .stat-row,
  .media-grid-2,
  .media-grid-3 {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .split-content,
  .split-section.reverse .split-media {
    order: unset;
  }

  .hero-grid .hero-media {
    order: -1;
  }

  .hero--centered .hero-media--featured {
    order: unset;
  }

  .learn-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.125rem;
  }

  .container--wide {
    padding: 0 1rem;
  }

  .hero--visual .hero-media--featured,
  .hero--centered .hero-media--featured,
  .visual-stage,
  .visual-stage--featured {
    max-width: 100%;
  }

  .learn-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: clamp(3rem, 10vw, 4.5rem) 0;
  }

  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .hero-title,
  .hero--home .hero-title,
  .hero--centered .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }
}
