/* FOF Systems public site */
:root {
  color-scheme: light;
  --navy: #0b2740;
  --text: #102f4c;
  --teal: #087f79;
  --teal-dark: #05655f;
  --canvas: #f3f7fa;
  --mint: #e4f6f1;
  --line: #dbe5ec;
  --violet: #f1ebfc;
  --lime: #d6ef8d;
  --coral: #ee8a72;
  /* Accents and soft surfaces drawn from the BERRIQ experience palette. */
  --violet-accent: #7550a7;
  --violet-ink: #604080;
  --peach: #fff0eb;
  --peach-ink: #8a402e;
  --muted: #526678;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(23, 38, 64, .09);
  --container: 1200px;
  --gutter: clamp(20px, 4.5vw, 64px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: clip; font-size: 16px; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
section[id] { scroll-margin-top: 100px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.franchise :focus-visible, .final-panel :focus-visible { outline-color: var(--lime); }
::selection { color: var(--navy); background: var(--lime); }

.container { width: min(100% - (2 * var(--gutter)), var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; color: var(--navy); text-decoration: none; }
.logo-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--navy);
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.logo-mark svg, .logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-mark:has(img), .logo-mark:has(svg) { background: transparent; }
.logo-type { color: var(--navy); font-size: 1.15rem; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin-left: auto; }
.main-nav a, .sign-in { color: var(--text); font-size: .86rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .sign-in:hover, .footer-links a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.language-switch { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .75rem; font-weight: 750; white-space: nowrap; }
.language-switch a, .language-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 4px 7px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  text-decoration: none;
}
.language-switch a:hover, .language-switch button:hover { color: var(--teal-dark); background: var(--mint); }
.language-switch [aria-current], .language-switch [aria-pressed="true"], .language-switch .active { color: var(--teal-dark); background: var(--mint); }
.mobile-nav { display: none; position: relative; flex: 0 0 auto; }
.mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  background: var(--white);
  font-size: .85rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav :is(nav, ul, .mobile-menu), .mobile-nav > div, .mobile-nav details > div {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  list-style: none;
}
.mobile-nav :is(nav, ul, .mobile-menu) a, .mobile-nav > div a, .mobile-nav details > div a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.mobile-nav a:hover { background: var(--mint); color: var(--teal-dark); }

/* Shared editorial typography and controls */
.eyebrow, .section-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}
h1, h2, h3, h4 { color: var(--navy); font-weight: 750; letter-spacing: -.035em; line-height: 1.13; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); letter-spacing: -.055em; line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.6vw, 3.45rem); letter-spacing: -.045em; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { color: inherit; }
p + p { margin-top: 1em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); }
.button-primary:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.button-secondary { color: var(--navy); background: transparent; border-color: #cbd3df; }
.button-secondary:hover { color: var(--teal-dark); background: var(--white); border-color: var(--teal-dark); }
.button-light { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-light:hover { background: var(--lime); border-color: var(--lime); }
.section { padding-block: clamp(76px, 9vw, 132px); }
.section-heading { max-width: 750px; margin-bottom: clamp(34px, 4vw, 56px); }
.section-heading > p:not(.eyebrow):not(.section-kicker) { max-width: 650px; margin-top: 20px; color: var(--muted); font-size: 1.05rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(70px, 8vw, 112px) clamp(84px, 9vw, 132px); background: var(--canvas); }
.hero::before { content: ''; position: absolute; top: -220px; right: -190px; width: 580px; height: 580px; border: 1px solid rgba(8, 127, 119, .1); border-radius: 50%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); align-items: center; gap: clamp(45px, 7vw, 100px); }
.hero-copy { max-width: 650px; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy > p:not(.eyebrow):not(.hero-meta) { max-width: 590px; margin-top: 22px; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero-meta { margin-top: 28px; color: var(--muted); font-size: .81rem; font-weight: 650; }
.hero-meta::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--teal); vertical-align: 1px; }
.hero-art { position: relative; min-width: 0; }
.hero-art::before { content: ''; position: absolute; inset: 9% -5% -6% 8%; border-radius: 38px; background: var(--mint); transform: rotate(4deg); }
.hero-image { position: relative; width: 100%; min-height: min(72vw, 340px); overflow: hidden; border: 1px solid rgba(23, 38, 64, .07); border-radius: 26px; background: radial-gradient(circle at 75% 25%, rgba(214, 239, 141, .65), transparent 32%), linear-gradient(145deg, var(--mint), var(--violet)); box-shadow: 0 30px 80px rgba(23, 38, 64, .13); }
img.hero-image, .hero-image img { width: 100%; height: auto; object-fit: cover; }
.hero-visual { position: relative; min-height: 420px; overflow: hidden; border: 1px solid rgba(11, 39, 64, .07); border-radius: 26px; background: radial-gradient(circle at 78% 25%, rgba(214, 239, 141, .72), transparent 30%), linear-gradient(140deg, #e4f6f1, #e8f0f2 55%, #f1ebfc); box-shadow: 0 30px 80px rgba(11, 39, 64, .13); }
.hero-visual-orbit { position: absolute; width: 53%; aspect-ratio: 1; border: 1px solid rgba(8, 127, 121, .19); border-radius: 50%; }
.hero-visual-orbit-one { top: -20%; right: -9%; }
.hero-visual-orbit-two { right: -2%; bottom: -28%; width: 70%; }
.hero-visual-window { position: absolute; top: 17%; left: 11%; width: 78%; min-height: 64%; overflow: hidden; border: 1px solid rgba(11, 39, 64, .08); border-radius: 18px; background: #fff; box-shadow: 0 24px 45px rgba(11, 39, 64, .16); transform: rotate(-4deg); }
.hero-visual-top { display: flex; align-items: center; justify-content: space-between; padding: 15px 19px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .56rem; font-weight: 800; letter-spacing: .13em; }
.hero-visual-dots { display: flex; gap: 5px; }
.hero-visual-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #c4d6d3; }
.hero-visual-body { padding: 28px 24px; }
.hero-visual-label { display: inline-block; padding: 6px 10px; border-radius: 6px; background: var(--mint); color: var(--teal-dark); font-size: .7rem; font-weight: 800; }
.hero-visual-line { width: 44%; height: 7px; margin-top: 9px; border-radius: 8px; background: #e9eef1; }
.hero-visual-line-wide { width: 75%; height: 11px; margin-top: 19px; background: #d9e4e5; }
.hero-visual-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.hero-visual-flow div { min-width: 0; min-height: 78px; padding: 11px 9px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafb; }
.hero-visual-flow span { display: block; color: var(--teal); font-size: .6rem; font-weight: 800; }
.hero-visual-flow strong { display: block; margin-top: 12px; color: var(--navy); font-size: .68rem; line-height: 1.3; overflow-wrap: anywhere; }
.hero-visual-progress { display: flex; gap: 6px; margin-top: 20px; }
.hero-visual-progress span { width: 28px; height: 5px; border-radius: 5px; background: #d4e8e4; }
.hero-visual-progress span:first-child, .hero-visual-progress span:nth-child(2) { background: var(--teal); }
.hero-visual-tile { position: absolute; top: 5%; right: 5%; display: grid; width: 70px; height: 70px; place-items: center; border: 7px solid rgba(255, 255, 255, .6); border-radius: 22px; background: var(--teal); color: #e4f6f1; box-shadow: 0 14px 30px rgba(8, 127, 121, .26); font-size: 1.45rem; transform: rotate(8deg); }
.hero-float { position: absolute; z-index: 2; right: -5%; bottom: -4%; display: flex; align-items: center; gap: 12px; max-width: 250px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); color: var(--navy); box-shadow: 0 16px 42px rgba(23, 38, 64, .14); font-size: .83rem; line-height: 1.35; }
.hero-float strong { display: block; font-weight: 750; }
.hero-float-icon { display: grid; width: 38px; height: 38px; place-items: center; flex: 0 0 auto; border-radius: 10px; background: var(--mint); color: var(--teal-dark); font-weight: 800; }

/* Introduction */
.intro { padding-block: clamp(76px, 8vw, 116px); background: var(--white); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(44px, 9vw, 125px); align-items: start; }
.intro-copy { color: var(--muted); font-size: 1.04rem; line-height: 1.78; }
.intro-copy h2 { margin-bottom: 24px; color: var(--navy); }
.intro-callout { position: relative; margin-top: 12px; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); background: var(--mint); color: var(--navy); font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.3; }
.intro-callout::before { content: ''; display: block; width: 42px; height: 4px; margin-bottom: 28px; border-radius: 2px; background: var(--teal); }

/* Capabilities */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { position: relative; display: flex; flex-direction: column; min-height: 245px; padding: clamp(24px, 2.7vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature-card:first-child { grid-column: span 2; background: var(--mint); border-color: var(--mint); }
.feature-card h3 { max-width: 24ch; margin-top: 26px; }
.feature-card p { max-width: 60ch; margin-top: 12px; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.feature-card .number { color: var(--teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--mint); color: var(--teal-dark); }
.feature-card:first-child .feature-icon { background: var(--white); }
.feature-icon svg { width: 22px; height: 22px; }

/* Franchise lifecycle */
.franchise { position: relative; overflow: hidden; color: #e4ebf3; background: var(--navy); }
.franchise::before { content: ''; position: absolute; top: -240px; right: -160px; width: 480px; height: 480px; border: 1px solid rgba(214, 239, 141, .2); border-radius: 50%; pointer-events: none; }
.franchise .container { position: relative; }
.franchise h2, .franchise h3 { color: var(--white); }
.franchise .eyebrow, .franchise .section-kicker { color: var(--lime); }
.franchise-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .7fr); gap: clamp(30px, 7vw, 90px); align-items: end; margin-bottom: 48px; }
.franchise-head p { color: #d1dbe7; line-height: 1.75; }
.franchise-head h2 + p { margin-top: 20px; font-size: 1.08rem; }
.stage-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .14); list-style: none; }
.stage-card { min-width: 0; min-height: 220px; padding: 28px 25px; background: #20314d; }
.stage-number { display: block; margin-bottom: 30px; color: var(--lime); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.stage-card h3 { font-size: 1.05rem; }
.stage-card p { margin-top: 11px; color: #d0dbe8; font-size: .88rem; line-height: 1.65; }
.franchise-closing { max-width: 850px; margin-top: 38px; padding-left: 20px; border-left: 3px solid var(--lime); color: var(--white); font-size: clamp(1.05rem, 1.5vw, 1.28rem); font-weight: 650; line-height: 1.5; }

/* People and responsibilities */
.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.role-card { position: relative; min-height: 240px; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.role-card::before { content: ''; display: block; width: 36px; height: 4px; margin-bottom: 38px; border-radius: 4px; background: var(--teal); }
.role-card:nth-child(2)::before { background: var(--coral); }
.role-card:nth-child(3)::before { background: #9a80c7; }
.role-card:nth-child(4)::before { background: #9dbb4c; }
.role-card .number, .support-card .number { display: block; margin-bottom: 12px; color: var(--teal-dark); font-size: .74rem; font-weight: 800; letter-spacing: .1em; }
.role-card p { margin-top: 14px; color: var(--muted); font-size: .93rem; line-height: 1.7; }

/* Platform */
.platform { background: var(--mint); }
.platform-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(42px, 7vw, 100px); }
.platform-layout h2 { margin-bottom: 24px; }
.platform-layout p { color: var(--muted); line-height: 1.75; }
.platform-panel { position: relative; padding: clamp(25px, 4vw, 48px); border: 1px solid rgba(23, 38, 64, .07); border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.platform-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 26px; color: var(--teal-dark); font-size: .7rem; font-weight: 800; letter-spacing: .09em; }
.sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; counter-reset: sequence; }
.sequence-item { position: relative; display: flex; align-items: end; min-width: 0; min-height: 102px; padding: 18px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); color: var(--navy); font-size: .85rem; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; counter-increment: sequence; }
.sequence-item .number { position: absolute; top: 13px; left: 14px; color: var(--teal-dark); font-size: .68rem; font-weight: 800; letter-spacing: .05em; }
.sequence-item:last-child { background: var(--mint); border-color: var(--mint); }
.platform-caption { margin-top: 22px; color: var(--muted); font-size: .87rem; line-height: 1.6; }

/* Ongoing support */
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-card { padding: clamp(25px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.support-card::before { content: ''; display: block; width: 36px; height: 36px; margin-bottom: 28px; border: 10px solid var(--mint); border-radius: 50%; background: var(--teal); }
.support-card:nth-child(2)::before { border-color: var(--violet); background: #987bc7; }
.support-card:nth-child(3)::before { border-color: #fbe9e4; background: var(--coral); }
.support-card:nth-child(4)::before { border-color: #f0f8da; background: #86a83b; }
.support-card p { max-width: 54ch; margin-top: 12px; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* White label */
.white-label { padding-block: clamp(76px, 9vw, 132px); background: var(--violet); }
.white-label-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(45px, 8vw, 110px); align-items: center; }
.white-label-grid h2 { margin-bottom: 24px; }
.white-label-grid p { color: var(--muted); line-height: 1.75; }
.brand-mock { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding: clamp(30px, 5vw, 60px); border: 1px solid rgba(23, 38, 64, .08); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.brand-mock::after { content: ''; position: absolute; right: 30px; bottom: 30px; width: 68px; height: 68px; border: 1px solid #ded4f1; border-radius: 50%; }
.brand-mock-logo { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 26px; border-radius: 16px; background: var(--navy); color: var(--white); font-weight: 800; }
.brand-mock-name { display: block; color: var(--navy); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.2; }
.brand-mock div > span, .brand-mock div > small { display: block; margin-top: 10px; color: var(--muted); font-size: .85rem; }
.brand-mock p { max-width: 32ch; margin-top: 10px; color: var(--muted); font-size: .9rem; }

/* Audience and implementation */
.audience { background: var(--white); }
.audience-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(40px, 8vw, 110px); align-items: start; }
.audience-grid p { color: var(--muted); font-size: 1.04rem; line-height: 1.78; }
.process-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; }
.process-step { position: relative; padding: 0 22px 0 0; border-top: 1px solid #cfd8e2; }
.process-step::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.process-number { display: block; margin: 24px 0 20px; color: var(--teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.process-step h3 { font-size: 1.06rem; }
.process-step p { margin-top: 10px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.process-note { margin-top: 42px; padding: 20px 24px; border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; background: var(--mint); color: var(--text); font-size: .93rem; line-height: 1.65; }

/* Final invitation and footer */
.final-cta { padding-top: 0; }
.final-panel { position: relative; overflow: hidden; padding: clamp(38px, 7vw, 82px); border-radius: 28px; background: var(--navy); color: #e4ebf3; }
.final-panel::after { content: ''; position: absolute; top: -135px; right: -115px; width: 360px; height: 360px; border: 1px solid rgba(214, 239, 141, .28); border-radius: 50%; pointer-events: none; }
.final-panel > * { position: relative; z-index: 1; }
.final-panel .eyebrow, .final-panel .section-kicker { color: var(--lime); }
.final-panel h2 { max-width: 20ch; color: var(--white); }
.final-panel p:not(.eyebrow):not(.section-kicker):not(.contact-notice) { max-width: 680px; margin-top: 20px; color: #d7e1ec; font-size: 1.03rem; line-height: 1.75; }
.final-panel .button { margin-top: 28px; }
.contact-notice { display: block; width: fit-content; max-width: 680px; margin-top: 28px; padding: 5px 0 5px 16px; border-left: 2px solid var(--lime); color: #e5edf3; font-size: .9rem; font-weight: 500; line-height: 1.5; }
.contact-notice::before { content: none; }
.site-footer { padding-block: 56px 26px; border-top: 1px solid var(--line); background: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 40px; align-items: start; }
.footer-grid p { max-width: 320px; margin-top: 15px; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; list-style: none; }
.footer-links a { color: var(--text); font-size: .88rem; font-weight: 650; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

/* Expressive surfaces: the same color families as the product, with dark,
   legible copy on light tints and light copy on the deep franchise surfaces. */
.site-header {
  background: rgba(253, 252, 255, .97);
  border-bottom-color: #e6def3;
}
.main-nav a, .sign-in, .footer-links a, .language-switch a, .language-switch button, .mobile-nav summary, .mobile-nav a {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.main-nav a:hover, .sign-in:hover, .footer-links a:hover { color: var(--violet-ink); }
.language-switch a:hover, .language-switch button:hover, .mobile-nav a:hover { color: var(--violet-ink); background: var(--violet); }
.mobile-nav summary:hover { border-color: var(--violet-accent); background: var(--violet); }

.button { transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.button-primary:hover { background: #087f79; border-color: #087f79; box-shadow: 0 10px 24px rgba(8, 127, 121, .23); }
.button-secondary { background: rgba(255, 255, 255, .55); border-color: #c9bddb; }
.button-secondary:hover { color: var(--violet-ink); background: var(--violet); border-color: var(--violet-accent); }
.button-light:hover { color: var(--navy); background: #f1ebfc; border-color: #f1ebfc; box-shadow: 0 10px 24px rgba(0, 0, 0, .17); }
.button span { transition: transform .22s ease; }
.button:hover span { transform: translate(3px, -2px); }

.hero {
  background: radial-gradient(circle at 85% 13%, rgba(241, 235, 252, .9), transparent 33%),
    radial-gradient(circle at 7% 100%, rgba(255, 240, 235, .9), transparent 35%),
    linear-gradient(120deg, #fbfafc, #f3f7fa 60%, #f5f1fb);
}
.hero::before { border-color: rgba(117, 80, 167, .18); box-shadow: 0 0 0 56px rgba(117, 80, 167, .035), 0 0 0 112px rgba(238, 138, 114, .035); }
.hero-meta::before { background: var(--violet-accent); }
.hero-art::before { background: linear-gradient(135deg, #eee7f9, #ffede5 72%, #e4f6f1); }
.hero-visual { background: radial-gradient(circle at 79% 22%, rgba(238, 138, 114, .28), transparent 28%), linear-gradient(145deg, #f1ebfc, #e4f6f1 62%, #fff0eb); }
.hero-visual-orbit { border-color: rgba(117, 80, 167, .24); }
.hero-visual-dots i:first-child { background: var(--coral); }
.hero-visual-dots i:nth-child(2) { background: var(--violet-accent); }
.hero-visual-dots i:nth-child(3) { background: var(--teal); }
.hero-visual-label { color: var(--violet-ink); background: var(--violet); }
.hero-visual-flow div:nth-child(1) { background: var(--peach); border-color: #f1dfd6; }
.hero-visual-flow div:nth-child(2) { background: var(--violet); border-color: #e6def3; }
.hero-visual-flow div:nth-child(3) { background: var(--mint); border-color: #d6ece1; }
.hero-visual-flow div:nth-child(1) span { color: var(--peach-ink); }
.hero-visual-flow div:nth-child(2) span { color: var(--violet-ink); }
.hero-visual-progress span:first-child { background: var(--violet-accent); }
.hero-visual-tile { background: var(--violet-accent); color: var(--white); box-shadow: 0 14px 30px rgba(117, 80, 167, .25); }
.hero-float { border-color: #e6def3; }
.hero-float-icon { color: var(--violet-ink); background: var(--violet); }

.intro { background: linear-gradient(135deg, #fff 35%, #fffaf7); }
.intro-callout { border: 1px solid #f1dfd6; background: linear-gradient(135deg, var(--peach), #fff7ee 65%, var(--violet)); }
.intro-callout::before { background: linear-gradient(90deg, var(--coral), var(--violet-accent)); }
.system-section { background: linear-gradient(150deg, #f7f4fc, #f9f8fb 58%, #fff7f3); }
.system-section .section-kicker, .white-label .section-kicker { color: var(--violet-ink); }
.feature-card, .role-card, .support-card {
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
.feature-card { border-color: #e6def3; background: #f3effb; }
.feature-card:first-child { background: #eee7f9; border-color: #dfd3ef; }
.feature-card:nth-child(4n + 2) { background: #fff5f0; border-color: #f1dfd6; }
.feature-card:nth-child(4n + 3) { background: #eaf7f2; border-color: #d6ece1; }
.feature-card:nth-child(4n + 4) { background: #f1f7e5; border-color: #e2ebcd; }
.feature-card::after {
  content: ''; position: absolute; top: 27px; right: 28px; width: 28px; height: 28px;
  border: 1px solid rgba(117, 80, 167, .24); border-radius: 50%; box-shadow: 8px 8px 0 -1px rgba(238, 138, 114, .13);
  pointer-events: none; transition: transform .24s ease, border-color .24s ease;
}
.feature-icon, .feature-card:first-child .feature-icon { color: var(--violet-ink); background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(117, 80, 167, .1); }
.feature-card:nth-child(4n + 2) .feature-icon { color: var(--peach-ink); }
.feature-card:nth-child(4n + 3) .feature-icon, .feature-card:nth-child(4n + 4) .feature-icon { color: var(--teal-dark); }
.feature-card:hover, .feature-card:focus-within, .role-card:hover, .role-card:focus-within, .support-card:hover, .support-card:focus-within {
  border-color: #bda6d9; box-shadow: 0 18px 38px rgba(54, 43, 80, .11);
}
.feature-card:hover::after, .feature-card:focus-within::after { border-color: var(--violet-accent); }

.franchise { background: radial-gradient(circle at 100% 0, rgba(117, 80, 167, .32), transparent 36%), linear-gradient(140deg, #0b2740, #1d2947 58%, #30264d); }
.franchise::before { border-color: rgba(214, 239, 141, .28); box-shadow: 0 0 0 54px rgba(241, 235, 252, .035); }
.stage-card { background: #20314d; box-shadow: inset 0 3px 0 rgba(214, 239, 141, .55); transition: background-color .24s ease, box-shadow .24s ease; }
.stage-card:nth-child(4n + 2) { background: #30264d; box-shadow: inset 0 3px 0 rgba(192, 165, 224, .75); }
.stage-card:nth-child(4n + 3) { background: #422d41; box-shadow: inset 0 3px 0 rgba(238, 138, 114, .8); }
.stage-card:nth-child(4n + 4) { background: #173d4b; box-shadow: inset 0 3px 0 rgba(124, 205, 190, .75); }
.stage-card:nth-child(4n + 2) .stage-number { color: #decafa; }
.stage-card:nth-child(4n + 3) .stage-number { color: #ffd2bc; }
.stage-card:hover, .stage-card:focus-within { background: #4a3860; box-shadow: inset 0 3px 0 var(--coral), inset 0 0 0 1px rgba(255, 255, 255, .2); }

.roles-section { background: linear-gradient(125deg, #fff, #f7f4fc); }
.role-card:nth-child(4n + 1) { background: #eaf7f2; border-color: #d6ece1; }
.role-card:nth-child(4n + 2) { background: #fff5f0; border-color: #f1dfd6; }
.role-card:nth-child(4n + 3) { background: #f3effb; border-color: #e6def3; }
.role-card:nth-child(4n + 4) { background: #f1f7e5; border-color: #e2ebcd; }
.role-card:nth-child(2)::before { background: var(--coral); }
.role-card:nth-child(3)::before { background: var(--violet-accent); }
.role-card:nth-child(2) .number { color: var(--peach-ink); }
.role-card:nth-child(3) .number { color: var(--violet-ink); }
.role-card::before { transition: width .24s ease; }
.role-card:hover::before, .role-card:focus-within::before { width: 60px; }

.platform { background: linear-gradient(125deg, #e4f6f1, #f0f7db 55%, #fff0eb); }
.platform-panel { border-color: #e6def3; background: linear-gradient(145deg, #fff, #fbf9fe); }
.platform-panel-head { color: var(--violet-ink); }
.sequence-item:nth-child(3n + 1) { background: var(--violet); border-color: #e6def3; }
.sequence-item:nth-child(3n + 2) { background: var(--peach); border-color: #f1dfd6; }
.sequence-item:nth-child(3n) { background: var(--mint); border-color: #d6ece1; }
.sequence-item:nth-child(3n + 1) .number { color: var(--violet-ink); }
.sequence-item:nth-child(3n + 2) .number { color: var(--peach-ink); }

.support-section { background: linear-gradient(145deg, #fff9f5, #fdfbfa 50%, #f7f3fc); }
.support-card:nth-child(4n + 1) { background: #eaf7f2; border-color: #d6ece1; }
.support-card:nth-child(4n + 2) { background: #f3effb; border-color: #e6def3; }
.support-card:nth-child(4n + 3) { background: #fff5f0; border-color: #f1dfd6; }
.support-card:nth-child(4n + 4) { background: #f1f7e5; border-color: #e2ebcd; }
.support-card:nth-child(2) .number { color: var(--violet-ink); }
.support-card:nth-child(3) .number { color: var(--peach-ink); }
.support-card::before { transition: border-color .24s ease, box-shadow .24s ease; }
.support-card:hover::before, .support-card:focus-within::before { box-shadow: 0 0 0 5px rgba(117, 80, 167, .12); }

/* Hover deepens each surface rather than replacing its individual accent. */
.feature-card:is(:hover, :focus-within), .role-card:nth-child(3):is(:hover, :focus-within), .support-card:nth-child(2):is(:hover, :focus-within) { background-color: #eae1f6; }
.feature-card:nth-child(4n + 2):is(:hover, :focus-within), .role-card:nth-child(2):is(:hover, :focus-within), .support-card:nth-child(3):is(:hover, :focus-within) { background-color: #ffe9df; }
.feature-card:nth-child(4n + 3):is(:hover, :focus-within), .role-card:nth-child(1):is(:hover, :focus-within), .support-card:nth-child(1):is(:hover, :focus-within) { background-color: #ddf3eb; }
.feature-card:nth-child(4n + 4):is(:hover, :focus-within), .role-card:nth-child(4):is(:hover, :focus-within), .support-card:nth-child(4):is(:hover, :focus-within) { background-color: #e9f3d5; }

.white-label { background: linear-gradient(125deg, #f1ebfc, #f9f2fa 60%, #fff0eb); }
.brand-mock { background: linear-gradient(145deg, #fff, #fbf8ff); border-color: #e6def3; }
.brand-mock-logo { background: var(--violet-ink); }
.audience { background: linear-gradient(120deg, #fff, #fff9f5); }
.process { background: linear-gradient(135deg, #f7f6fc, #f3f7fa); }
.process-step:nth-child(2)::before, .process-step:nth-child(5)::before { background: var(--violet-accent); }
.process-step:nth-child(3)::before { background: var(--coral); }
.process-step:nth-child(2) .process-number, .process-step:nth-child(5) .process-number { color: var(--violet-ink); }
.process-step:nth-child(3) .process-number { color: var(--peach-ink); }
.process-note { border-left-color: var(--violet-accent); background: linear-gradient(100deg, #f1ebfc, #fff0eb); }
.final-cta { background: #f3f7fa; }
.final-panel { background: radial-gradient(circle at 100% 0, rgba(117, 80, 167, .43), transparent 43%), linear-gradient(125deg, #0b2740, #30264d); }
.final-panel::after { border-color: rgba(238, 138, 114, .45); box-shadow: 0 0 0 52px rgba(255, 240, 235, .04), 0 0 0 104px rgba(241, 235, 252, .035); }
.site-footer { background: #fdfcff; border-top-color: #e6def3; }

/* Lift only on devices that can hover, and only when motion is welcome. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .feature-card:hover, .role-card:hover, .support-card:hover { transform: translateY(-5px); }
  .feature-card:hover::after { transform: translate(-3px, 3px); }
}

@media (max-width: 1150px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-nav { display: block; }
}

@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .main-nav { gap: 15px; }
  .main-nav a, .sign-in { font-size: .8rem; }
  .header-actions { gap: 10px; }
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-card { min-height: 210px; }
  .stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 72px; }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .sign-in, .header-actions .button { display: none; }
  .mobile-nav { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { width: min(100%, 540px); margin-inline: auto; }
  h1 { font-size: clamp(2.5rem, 5.8vw, 3.8rem); }
  .hero-float { right: -2%; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card:first-child { grid-column: span 2; }
  .franchise-head { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 0; }
}

@media (max-width: 700px) {
  :root { --gutter: 22px; }
  .header-actions .sign-in, .header-actions .button { display: none; }
  .hero { padding-block: 68px 80px; }
  .hero-grid, .intro-grid, .franchise-head, .platform-layout, .white-label-grid, .audience-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-copy h1 { max-width: 15ch; }
  .hero-art { width: min(100%, 540px); margin-inline: auto; }
  .hero-art::before { inset: 7% -2% -4% 6%; }
  .hero-float { right: 0; bottom: -20px; }
  .intro-grid, .platform-layout, .white-label-grid, .audience-grid { gap: 32px; }
  .franchise-head { gap: 22px; }
  .stage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-card { min-height: 195px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .header-inner { gap: 10px; }
  .logo { gap: 7px; }
  .logo-mark { width: 34px; height: 34px; border-radius: 9px; }
  .logo-type { font-size: 1rem; }
  .header-actions { gap: 5px; }
  .language-switch { gap: 0; }
  .language-switch a, .language-switch button { min-width: 29px; padding-inline: 5px; }
  .sign-in { font-size: .75rem; }
  .mobile-nav summary { min-width: 40px; min-height: 40px; padding: 7px; }
  h1 { font-size: clamp(2.45rem, 11vw, 3.2rem); }
  h2 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .section { padding-block: 72px; }
  .section-heading { margin-bottom: 30px; }
  .hero-copy > p:not(.eyebrow):not(.hero-meta) { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 340px; }
  .hero-visual-window { top: 14%; width: 82%; }
  .hero-visual-body { padding: 20px 16px; }
  .hero-visual-flow div { min-height: 70px; padding: 9px 7px; }
  .hero-visual-flow strong { font-size: .6rem; }
  .hero-visual-tile { width: 56px; height: 56px; }
  .hero-float { max-width: 220px; padding: 12px; font-size: .78rem; }
  .feature-grid, .role-grid, .support-grid { grid-template-columns: 1fr; }
  .feature-card:first-child { grid-column: auto; }
  .feature-card, .role-card { min-height: 0; }
  .role-card::before { margin-bottom: 25px; }
  .stage-list { grid-template-columns: 1fr; }
  .stage-card { min-height: 0; }
  .stage-number { margin-bottom: 18px; }
  .sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: 1fr; gap: 28px; }
  .process-step { padding-right: 0; }
  .process-number { margin: 18px 0 12px; }
  .brand-mock { min-height: 250px; }
  .final-cta { padding-top: 0; }
  .final-panel { border-radius: 20px; }
  .footer-bottom { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .button:hover { transform: none; }
  .button:hover span { transform: none; }
}
