/* ==========================================================================
   AWS Careers · America (multi-state) — vanilla CSS.
   Amazon Ember Modern typography, alternating dark navy and warm cream
   sections, AWS orange accent throughout. All theme-adaptive colors live
   in CSS variables under `.mkt-theme-dark` / `.mkt-theme-light`.
   ========================================================================== */

/* ---- fonts (self-hosted from assets/fonts) ----------------------------- */
@font-face {
  font-family: 'Amazon Ember Modern Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/amazon-ember-display-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Amazon Ember Modern Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/amazon-ember-display-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Amazon Ember Modern Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/amazon-ember-text-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Amazon Ember Modern Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/amazon-ember-text-medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Amazon Ember Modern Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/amazon-ember-text-bold.woff2') format('woff2');
}

/* ---- reset ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background-color: #ffffff;
  color: #232f3e;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }

/* ---- palette ----------------------------------------------------------- */
:root {
  --amz-orange: #ff9900;
  --amz-orange-dark: #e47911;
  --amz-orange-brand: #f26322;
  --amz-orange-soft: rgba(255, 153, 0, 0.12);
  --amz-squid-ink: #232f3e;
  --amz-charcoal: #37475a;
  --amz-anthracite: #1b2532;
  --amz-off-white: #f5f3ef;
  --amz-cream: #f1eee7;
  --amz-aws-blue: #146eb4;
  --amz-mist: #56616c;

  --mkt-accent: var(--amz-orange-brand);
  --mkt-accent-soft: var(--amz-orange-soft);
  --mkt-accent2: var(--amz-aws-blue);
  --mkt-focus-ring: #232f3e;
  --mkt-focus-ring-dark: #ffb84d;
  --mkt-control-border: #8a8478;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.mkt-theme-dark {
  --mkt-bg: var(--amz-squid-ink);
  --mkt-bg-alt: #2b3b4e;
  --mkt-bg-panel: var(--amz-charcoal);
  --mkt-bg-card: rgba(255, 255, 255, 0.05);
  --mkt-bg-card-strong: rgba(255, 255, 255, 0.09);
  --mkt-text: #ffffff;
  --mkt-text-muted: #b0bac6;
  --mkt-text-dim: #a0aebe;
  --mkt-border: rgba(255, 255, 255, 0.1);
  --mkt-border-strong: rgba(255, 255, 255, 0.2);
  --mkt-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --mkt-btn-primary-text: var(--amz-squid-ink);
  --mkt-select-option-bg: var(--amz-charcoal);
  --mkt-accent: var(--amz-orange-brand);
  --mkt-focus-ring: var(--mkt-focus-ring-dark);
  --mkt-control-border: rgba(255, 255, 255, 0.45);
  color-scheme: dark;
}
.mkt-theme-light {
  --mkt-bg: #ffffff;
  --mkt-bg-alt: var(--amz-off-white);
  --mkt-bg-panel: #ffffff;
  --mkt-bg-card: #ffffff;
  --mkt-bg-card-strong: #ffffff;
  --mkt-text: var(--amz-squid-ink);
  --mkt-text-muted: var(--amz-mist);
  --mkt-text-dim: #736c60;
  --mkt-border: #e2ddd3;
  --mkt-border-strong: #c4beb1;
  --mkt-shadow: 0 10px 24px rgba(35, 47, 62, 0.06), 0 1px 3px rgba(35, 47, 62, 0.04);
  --mkt-btn-primary-text: var(--amz-squid-ink);
  --mkt-select-option-bg: #ffffff;
  --mkt-accent: var(--amz-orange-brand);
  --mkt-focus-ring: #232f3e;
  --mkt-control-border: #8a8478;
  color-scheme: light;
}

/* ---- typography -------------------------------------------------------- */
.mkt-page {
  font-family: 'Amazon Ember Modern Text', 'Amazon Ember', 'Amazon Ember V2',
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  font-feature-settings: 'ss01', 'kern';
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
.mkt-display {
  font-family: 'Amazon Ember Modern Display', 'Amazon Ember Display',
    'Amazon Ember', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.025em;
}

/* ---- reveal-on-scroll -------------------------------------------------
   Progressive-enhancement pattern: the hide-until-revealed style only
   applies when JS has added `.js` to <html>. That way if main.js
   fails to load — bad path, CSP block, network error — every section is
   visible by default instead of a blank page. */
.js .hub-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.js .hub-reveal.is-revealed { opacity: 1; transform: translateY(0); }
.js .hub-reveal-left { transform: translateX(-32px); }
.js .hub-reveal-left.is-revealed { transform: translateX(0); }
.js .hub-reveal-right { transform: translateX(32px); }
.js .hub-reveal-right.is-revealed { transform: translateX(0); }
.js .hub-reveal-scale { transform: scale(0.94); }
.js .hub-reveal-scale.is-revealed { transform: scale(1); }

/* ---- fade-in for hero ------------------------------------------------- */
@keyframes hubFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hub-fade-up { animation: hubFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* ---- stat number ------------------------------------------------------ */
.hub-stat-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ---- hover lift ------------------------------------------------------- */
.hub-hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hub-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* ---- marquee ---------------------------------------------------------- */
@keyframes hubMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hub-marquee-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.hub-marquee-track {
  display: flex;
  width: max-content;
  animation: hubMarquee 40s linear infinite;
}
.hub-marquee-viewport:hover .hub-marquee-track { animation-play-state: paused; }

/* ---- hero backdrop pan (unused when static image, kept for future) --- */
@keyframes hubBgPan {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hub-bg-pan { background-size: 200% 200%; animation: hubBgPan 24s ease-in-out infinite; }

/* ---- ken burns on hero image ----------------------------------------- */
@keyframes mktKenBurns {
  0%   { transform: scale(1.05) translate3d(0, 0, 0); }
  100% { transform: scale(1.20) translate3d(-2%, -1%, 0); }
}
.mkt-kenburns { animation: mktKenBurns 22s ease-in-out infinite alternate; will-change: transform; }

/* ---- scroll progress bar --------------------------------------------- */
.mkt-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--amz-orange), #ffcf80);
  z-index: 100;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(255, 153, 0, 0.6);
  pointer-events: none;
}

/* ---- scroll cue ------------------------------------------------------ */
@keyframes mktBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: 1; }
}
.mkt-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.is-media-enhanced .mkt-scroll-cue {
  animation: mktBounce 2s ease-in-out infinite;
}

.mkt-media-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(27, 37, 50, 0.88);
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.is-media-enhanced .mkt-media-toggle { display: inline-flex; }
.mkt-media-toggle:hover { background: var(--amz-anthracite); }
.mkt-media-toggle-icon { font-size: 14px; line-height: 1; }
[data-media-paused] .mkt-drone-flyover,
[data-media-paused] .mkt-scroll-cue { animation-play-state: paused; }

@media (max-width: 640px) {
  .mkt-media-toggle {
    right: 12px;
    bottom: 80px;
  }
}

/* ---- eyebrow -------------------------------------------------------- */
.mkt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mkt-accent);
}
.mkt-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--mkt-accent);
}

/* ---- card ----------------------------------------------------------- */
.mkt-card {
  background: var(--mkt-bg-card);
  border: 1px solid var(--mkt-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.mkt-theme-light .mkt-card {
  border-color: rgba(35, 47, 62, 0.06);
  box-shadow: 0 1px 2px rgba(35, 47, 62, 0.04);
}
/* Entry paths: give the path cards a clearly visible outline. */
#paths .mkt-card { border-color: var(--mkt-border); }
#paths .mkt-card:hover { border-color: rgba(255, 153, 0, 0.4); }
.mkt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 153, 0, 0.4);
}
.mkt-theme-dark .mkt-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
.mkt-theme-light .mkt-card:hover {
  background-color: #ffffff;
  box-shadow: 0 14px 32px rgba(35, 47, 62, 0.1), 0 2px 6px rgba(35, 47, 62, 0.04);
}

/* ---- buttons -------------------------------------------------------- */
.mkt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  line-height: 1;
  font-family: inherit;
}
.mkt-btn-primary {
  background: var(--amz-orange-brand);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(242, 99, 34, 0.25);
}
.mkt-btn-primary:hover {
  background: var(--amz-orange-brand);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(242, 99, 34, 0.35);
}
.mkt-btn-outline {
  background: transparent;
  color: var(--mkt-text);
  border: 1px solid var(--mkt-border-strong);
}
.mkt-btn-outline:hover {
  background: var(--mkt-bg-card);
  border-color: var(--mkt-text-muted);
  transform: translateY(-2px);
}
.mkt-btn-ghost {
  background: transparent;
  color: var(--mkt-text);
  padding: 10px 14px;
}
.mkt-btn-ghost:hover { color: var(--mkt-accent); }
.mkt-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---- language pill -------------------------------------------------- */
.mkt-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: #b0bac6;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease, background-color 0.15s ease;
  font-family: inherit;
}
.mkt-lang-btn.is-active { color: var(--amz-squid-ink); background: var(--amz-orange); }
.mkt-lang-btn:not(.is-active):hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }

/* ---- sticky header -------------------------------------------------- */
.mkt-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(35, 47, 62, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mkt-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.mkt-brand {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.mkt-brand-logo {
  display: block;
  width: 15px;
  height: auto;
  flex: none;
}
.mkt-nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  flex: 1;
  overflow-x: auto;
}
.mkt-header-link {
  color: #b0bac6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
}
.mkt-header-link:hover,
.mkt-header-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}
.mkt-lang-group { display: inline-flex; align-items: center; gap: 4px; }

/* ---- section shell ------------------------------------------------- */
.mkt-section {
  padding: 96px 0;
  scroll-margin-top: 72px;
  color: var(--mkt-text);
  background: var(--mkt-bg);
}
/* Regional pages have no sticky header, so in-page links land with the section flush to the top. */
html:has(#paths) .mkt-section { scroll-margin-top: 0; }
.mkt-section-tight { padding: 72px 0; }
.mkt-section-intro { padding: 112px 0; }
.mkt-section-bg-alt { background: var(--amz-off-white); }
.mkt-section-bg-panel {
  background: var(--amz-off-white);
  border-top: 1px solid var(--mkt-border);
  border-bottom: 1px solid var(--mkt-border);
}
.mkt-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ---- section heading ----------------------------------------------- */
.mkt-section-heading { max-width: 720px; }
.mkt-section-heading.is-center { text-align: center; margin: 0 auto; max-width: 780px; }
.mkt-section-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin: 16px 0 0;
  color: var(--mkt-text);
}
.mkt-section-heading .mkt-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--mkt-text-muted);
  margin: 16px 0 0;
}

/* ---- hero ---------------------------------------------------------- */
.mkt-hero {
  position: relative;
   background: var(--amz-squid-ink);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--mkt-text);
}
.mkt-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mkt-hero-overlay {
  position: absolute;
  inset: 0;
  /* ~4.89:1 media-independent worst case for white hero text. */
  background: linear-gradient(180deg,
    rgba(35, 47, 62, 0.68) 0%,
    rgba(35, 47, 62, 0.76) 50%,
    rgba(35, 47, 62, 0.90) 100%);
}
.mkt-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 28px;
  text-align: center;
  width: 100%;
}
.mkt-hero-title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  color: #ffffff;
}
.mkt-hero-subtitle {
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.55;
  color: #ffffff;
  margin: 18px auto 0;
  max-width: 640px;
}

/* ---- intro --------------------------------------------------------- */
.mkt-intro-wrap { max-width: 820px; margin: 0 auto; text-align: center; }
.mkt-intro-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin: 20px 0 0;
  color: var(--mkt-text);
}
.mkt-intro-body {
  font-size: 19px;
  line-height: 1.65;
  color: var(--mkt-text-muted);
  margin: 24px 0 0;
}

/* ---- stats banner -------------------------------------------------- */
.mkt-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.mkt-stat {
  border-left: 2px solid var(--amz-orange);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mkt-stat-value {
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--mkt-text);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.mkt-stat-label {
  font-size: 14px;
  color: var(--mkt-text-muted);
  line-height: 1.4;
  min-height: 40px;
}
.mkt-stats-source {
  margin-top: 24px;
  font-size: 12px;
  color: var(--mkt-text-dim);
  max-width: 900px;
}

/* ---- region -------------------------------------------------------- */
.mkt-region-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
}
.mkt-chip-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mkt-chip {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--mkt-bg-card);
  border: 1px solid var(--mkt-border);
}
.mkt-chip-hint {
  font-size: 11px;
  color: var(--mkt-accent);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mkt-chip-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--mkt-text);
  font-weight: 600;
}

/* ---- photo --------------------------------------------------------- */
.mkt-photo { margin: 0; }
.mkt-photo-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--mkt-bg-panel);
  /* Default landscape aspect so the photo container reserves height
     even when the caller doesn't set aspect-ratio inline. Individual
     usages override via inline style="aspect-ratio: 4/5" for portraits
     (testimonials) or "aspect-ratio: 4/5" for the triptych. */
  aspect-ratio: 3 / 2;
}
.mkt-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mkt-photo.is-photo-broken .mkt-photo-media,
.mkt-media.is-photo-broken { background: var(--mkt-bg-panel); }
.mkt-photo-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--mkt-text-dim);
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* ---- data-center triptych ----------------------------------------- */
.mkt-triptych {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
/* Compact data-center block: static Q&A cards in a single row of four. */
#datacenter .mkt-qa-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.mkt-qa-card {
  background: var(--mkt-bg-card);
  border-radius: 12px;
  padding: 20px;
}
.mkt-qa-q {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mkt-text);
  list-style: none;
  cursor: default;
}
.mkt-qa-q::-webkit-details-marker { display: none; }
.mkt-qa-a { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--mkt-text-muted); }
/* Desktop/tablet: cards stay open (JS keeps them open), so clicks are inert. */
@media (min-width: 641px) {
  .mkt-qa-card > summary.mkt-qa-q { pointer-events: none; }
}
/* Phone: the Q&A cards become real collapsible accordions with a +/- cue. */
@media (max-width: 640px) {
  .mkt-qa-card > summary.mkt-qa-q {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .mkt-qa-card > summary.mkt-qa-q::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: var(--mkt-text-muted);
  }
  .mkt-qa-card[open] > summary.mkt-qa-q::after { content: "\2212"; }
}
.mkt-two-col {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: flex-start;
}
.mkt-two-col-body { color: var(--mkt-text-muted); font-size: 17px; line-height: 1.6; margin: 0; }
.mkt-cta-row { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }

/* ---- accordion (native <details>) --------------------------------- */
.mkt-accordion {
  border: 1px solid var(--mkt-control-border);
  border-radius: 12px;
  background: var(--mkt-bg-card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.mkt-accordion[open] { border-color: var(--mkt-accent); }
.mkt-accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--mkt-text);
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
}
.mkt-accordion > summary::-webkit-details-marker { display: none; }
.mkt-accordion .mkt-accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--mkt-control-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mkt-accent);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  flex-shrink: 0;
}
.mkt-accordion[open] .mkt-accordion-icon {
  transform: rotate(45deg);
  border-color: var(--mkt-accent);
  background: var(--mkt-accent-soft);
}
.mkt-accordion-body {
  padding: 0 20px 20px 20px;
  color: var(--mkt-text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.mkt-faq-stack { display: flex; flex-direction: column; gap: 12px; }

/* ---- vertical timeline -------------------------------------------- */
.mkt-timeline-vertical {
  position: relative;
  max-width: 780px;
  margin-top: 40px;
}
.mkt-timeline-vertical::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg,
    var(--amz-orange-soft) 0%,
    var(--mkt-border-strong) 12%,
    var(--mkt-border-strong) 88%,
    var(--amz-orange-soft) 100%);
  z-index: 0;
}
.mkt-timeline-vrow {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 28px;
  padding-bottom: 48px;
  position: relative;
  align-items: start;
}
.mkt-timeline-vrow:last-child { padding-bottom: 0; }
.mkt-timeline-vrail {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
}
.mkt-timeline-vdot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amz-orange);
  box-shadow: 0 0 0 5px rgba(255, 153, 0, 0.16), 0 0 0 1px var(--mkt-bg);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.mkt-timeline-vcontent { min-width: 0; }
.mkt-timeline-veyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.mkt-timeline-vnumber {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--mkt-text-dim);
  font-variant-numeric: tabular-nums;
}
.mkt-timeline-vlabel {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--mkt-accent);
}
.mkt-timeline-vtitle {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 0;
  color: var(--mkt-text);
}
.mkt-timeline-vbody {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mkt-text-muted);
  margin: 10px 0 0;
  max-width: 620px;
}

/* ---- teams grid ---------------------------------------------------- */
.mkt-teams-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.mkt-teams-grid > .mkt-card {
  display: flex;
  flex-direction: column;
}
.mkt-team-media {
  position: relative;
  aspect-ratio: 16 / 10;
}
.mkt-team-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mkt-team-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--mkt-bg) 100%);
}
.mkt-team-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amz-anthracite);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amz-orange);
}
.mkt-team-body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
}
.mkt-team-title {
  margin: 0;
  font-size: 19px;
  color: var(--mkt-text);
  font-weight: 700;
  line-height: 1.25;
}
.mkt-team-desc {
  margin: 0;
  color: var(--mkt-text-muted);
  font-size: 14px;
  line-height: 1.55;
}
.mkt-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-content: flex-start;
  min-height: 57px;
  margin-top: auto;
}
.mkt-tag {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mkt-text-muted);
  background: var(--mkt-bg-card);
  border: 1px solid var(--mkt-border);
  border-radius: 999px;
}

/* ---- testimonials -------------------------------------------------- */
.mkt-testi-list { margin-top: 56px; display: flex; flex-direction: column; gap: 48px; }
.mkt-testi-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.mkt-testi-row.is-reversed { direction: rtl; }
.mkt-testi-row.is-reversed > * { direction: ltr; }
.mkt-testi-mark {
  font-size: 72px;
  line-height: 0.6;
  color: var(--mkt-accent);
  font-family: Georgia, serif;
  font-weight: 700;
  margin-bottom: 8px;
}
.mkt-testi-content { margin: 0; }
.mkt-testi-quote {
  margin: 0;
  color: var(--mkt-text);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
}
.mkt-testi-quote p { margin: 0; }
.mkt-testi-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--mkt-border);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.mkt-testi-name { font-weight: 700; color: var(--mkt-text); font-size: 16px; }
.mkt-testi-role { color: var(--mkt-text-muted); font-size: 13px; margin-top: 3px; }
.mkt-testi-side { margin-left: auto; text-align: right; }
.mkt-testi-side > * { font-size: 12px; color: var(--mkt-text-dim); }
.mkt-testi-side > * + * { margin-top: 4px; }

/* ---- programs ------------------------------------------------------ */
.mkt-programs-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.mkt-programs-grid > .mkt-card {
  display: flex;
  flex-direction: column;
}
.mkt-program-body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}
.mkt-program-hint {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mkt-accent);
  font-weight: 700;
  text-transform: uppercase;
}
.mkt-program-title {
  margin: 0;
  font-size: 20px;
  color: var(--mkt-text);
  font-weight: 700;
  line-height: 1.25;
}
.mkt-program-desc {
  margin: 0;
  color: var(--mkt-text-muted);
  font-size: 14px;
  line-height: 1.55;
}
.mkt-program-cta {
  color: var(--mkt-accent);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 4px 0;
  font-size: 14px;
  margin-top: auto;
}

/* ---- partners marquee --------------------------------------------- */
.mkt-partners-section { padding: 96px 0; border-top: 1px solid var(--mkt-border); border-bottom: 1px solid var(--mkt-border); }
.mkt-partner-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 40px;
  border-right: 1px solid var(--mkt-border);
  min-width: 320px;
}
.mkt-partner-name { font-size: 15px; font-weight: 700; color: var(--mkt-text); }
.mkt-partner-kind { font-size: 12px; color: var(--mkt-text-muted); margin-top: 2px; }
.mkt-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--mkt-accent);
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.2);
  flex-shrink: 0;
}

/* ---- register interest -------------------------------------------- */
.mkt-apply-section {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,153,0,0.12), transparent 60%),
    var(--mkt-bg);
  border-top: 1px solid var(--mkt-border);
  overflow: hidden;
}
.mkt-apply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: flex-start;
}
.mkt-apply-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--mkt-text);
}
.mkt-apply-body {
  margin-top: 20px;
  font-size: 17px;
  color: var(--mkt-text-muted);
  line-height: 1.6;
  max-width: 520px;
}
.mkt-apply-form {
  padding: 32px;
  background: var(--mkt-bg-panel);
  border: 1px solid var(--mkt-border);
  border-radius: 20px;
  box-shadow: var(--mkt-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mkt-apply-success {
  padding: 40px;
  background: var(--mkt-bg-card);
  border: 1px solid var(--mkt-accent);
  border-radius: 20px;
  text-align: center;
}
.mkt-apply-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--mkt-accent-soft);
  color: var(--mkt-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}
.mkt-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--mkt-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mkt-input,
.mkt-select,
.mkt-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--mkt-text);
  background: var(--mkt-bg-card);
  border: 1px solid var(--mkt-border);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  outline: none;
}
.mkt-theme-light .mkt-input,
.mkt-theme-light .mkt-select,
.mkt-theme-light .mkt-textarea { background: #ffffff; }
.mkt-input::placeholder, .mkt-textarea::placeholder { color: var(--mkt-text-dim); }
.mkt-input:focus, .mkt-select:focus, .mkt-textarea:focus {
  border-color: var(--mkt-focus-ring);
  box-shadow: 0 0 0 3px var(--mkt-focus-ring);
}
.mkt-select option { background: var(--mkt-select-option-bg); color: var(--mkt-text); }

/* ---- footer -------------------------------------------------------- */
.mkt-footer {
  background: var(--amz-anthracite);
  color: var(--mkt-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 32px;
}
.mkt-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.mkt-footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.mkt-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mkt-footer-link-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b0bac6;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.mkt-footer-list a,
.mkt-footer-list .mkt-footer-link-btn { color: #b0bac6; text-decoration: none; font-size: 13px; }
.mkt-footer-list a:hover,
.mkt-footer-list .mkt-footer-link-btn:hover { color: #ffffff; }
.mkt-footer-brand-text { margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
.mkt-footer-baseline {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8092a6;
}

/* ---- responsive ---------------------------------------------------- */
@media (max-width: 900px) {
  .mkt-region-grid { grid-template-columns: 1fr; }
  .mkt-two-col { grid-template-columns: 1fr; }
  .mkt-triptych { grid-template-columns: 1fr; }
  #datacenter .mkt-qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-apply-grid { grid-template-columns: 1fr; }
  .mkt-testi-row,
  .mkt-testi-row.is-reversed { grid-template-columns: 1fr; direction: ltr; }
}
@media (max-width: 640px) {
  .mkt-nav { display: none; }
  .mkt-section { padding: 72px 0; }
  #datacenter .mkt-qa-grid { grid-template-columns: 1fr; }
}

/* ---- reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .hub-fade-up, .hub-reveal, .hub-reveal-left,
  .hub-reveal-right, .hub-reveal-scale {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hub-marquee-track, .hub-bg-pan, .mkt-kenburns, .mkt-scroll-cue,
  .mkt-drone-flyover, .mkt-hero-media {
    animation: none !important;
  }
  .hub-hover-lift, .hub-hover-lift:hover,
  .mkt-card, .mkt-card:hover,
  .mkt-btn, .mkt-btn:hover {
    transition: none;
    transform: none;
    box-shadow: none;
  }
  .mkt-accordion-icon { transition: none; }
}

/* ---- footer legal row ---------------------------------------------- */
.mkt-footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mkt-footer-legal a,
.mkt-footer-legal .mkt-footer-link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 2px;
  color: var(--mkt-text-muted);
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.mkt-footer-legal a:hover,
.mkt-footer-legal .mkt-footer-link-btn:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}
.mkt-footer-legal span[aria-hidden] { color: rgba(255, 255, 255, 0.25); font-size: 11px; }

/* ---- cookies consent banner --------------------------------------- */
.mkt-cookies {
  --mkt-focus-ring: var(--amz-squid-ink);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 28px;
  background: #ffffff;
  color: var(--amz-squid-ink);
  border: 0;
  border-top: 1px solid #d5d9d9;
  border-radius: 0;
  box-shadow: 0 -8px 24px rgba(35, 47, 62, 0.16);
  animation: mktCookiesRise 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
/* The dialog receives programmatic focus for announcement. Keep its location
   visible without competing with the stronger rings on interactive controls. */
.mkt-cookies:focus-visible {
  outline: 1px solid rgba(35, 47, 62, 0.35);
  outline-offset: -4px;
}
.mkt-cookies[hidden] { display: none; }
@keyframes mktCookiesRise {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.mkt-cookies-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.mkt-cookies-copy { flex: 1 1 520px; min-width: 260px; }
.mkt-cookies-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--amz-squid-ink);
}
.mkt-cookies-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--amz-mist);
}
.mkt-cookies-body a {
  color: var(--amz-orange-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.mkt-cookies-body a:hover { color: var(--amz-orange-brand); }
.mkt-cookies-actions {
  display: inline-flex;
  gap: 12px;
  flex-shrink: 0;
}
.mkt-cookies-btn {
  padding: 10px 20px;
  font-size: 13px;
  min-height: 40px;
}
.mkt-cookies .mkt-btn-primary {
  background: var(--amz-orange-brand);
  color: #ffffff;
}
.mkt-cookies .mkt-btn-primary:hover {
  background: var(--amz-orange-brand);
}
.mkt-cookies .mkt-btn-outline {
  background: #ffffff;
  color: var(--amz-squid-ink);
  border-color: var(--mkt-control-border);
}
.mkt-cookies .mkt-btn-outline:hover {
  background: var(--amz-off-white);
  border-color: var(--amz-squid-ink);
  color: var(--amz-squid-ink);
}
@media (max-width: 640px) {
  .mkt-cookies { left: 0; right: 0; bottom: 0; padding: 20px 16px; }
  .mkt-cookies-inner { gap: 16px; }
  .mkt-cookies-actions { width: 100%; }
  .mkt-cookies-btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-cookies { animation: none; }
}

/* ---- accessibility utilities --------------------------------------- */
.mkt-hidden {
  display: none !important;
}
.mkt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — hidden by default and revealed on keyboard focus. */
.mkt-skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--amz-orange);
  color: var(--amz-squid-ink);
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: top 0.15s ease;
}
.mkt-skip-link:focus,
.mkt-skip-link:focus-visible {
  top: 12px;
}

/* Focus-visible ring for interactive controls and other focusable elements. */
:focus-visible {
  outline: 3px solid var(--mkt-focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.mkt-btn:focus-visible,
.mkt-program-cta:focus-visible,
.mkt-scroll-cue:focus-visible {
  outline: 3px solid var(--mkt-focus-ring);
  outline-offset: 3px;
}

/* Marquee pause/play control for the auto-scrolling partners strip. */
.mkt-marquee-controls {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.mkt-marquee-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--mkt-text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  min-height: 32px;
}
.mkt-marquee-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}
.mkt-marquee-toggle-icon {
  font-size: 14px;
  line-height: 1;
}

/* Pause the marquee whenever the toggle asks for it, or when any focus
   lands inside the viewport (keyboard users can hover-equivalent). */
.hub-marquee-viewport:focus-within .hub-marquee-track,
[data-marquee-paused] .hub-marquee-track {
  animation-play-state: paused;
}

/* Reserve document-end space while the fixed banner is visible. */
body.mkt-cookies-visible {
  padding-bottom: 180px;
}
/* Keep scroll-into-view targets above the fixed banner. */
html.mkt-cookies-visible {
  scroll-padding-bottom: 200px;
}
@media (max-width: 640px) {
  body.mkt-cookies-visible {
    padding-bottom: 260px;
  }
  html.mkt-cookies-visible {
    scroll-padding-bottom: 280px;
  }
}

/* ---- footer logo and team grid refinements ------------------------- */
.mkt-brand-logo { width: 30px; }
.mkt-teams-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .mkt-teams-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mkt-teams-grid { grid-template-columns: 1fr; }
}

/* ---- generic landing placeholders ----------------------------------- */
.mkt-placeholder-media {
  min-height: 420px;
  border-radius: 16px;
  background: var(--amz-squid-ink);
}
.mkt-placeholder-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  border: 1px dashed var(--mkt-border-strong);
  border-radius: 16px;
  background: var(--mkt-bg-card);
  color: var(--mkt-text-muted);
  text-align: center;
}
.mkt-placeholder-panel .mkt-display { color: var(--mkt-text); }
.mkt-placeholder-panel p { margin: 16px 0 0; }

/* ---- legal placeholder pages --------------------------------------- */
.legal-hero { padding: 96px 28px 72px; background: var(--amz-squid-ink); color: #fff; }
.legal-hero-inner, .legal-body { max-width: 820px; margin: 0 auto; }
.legal-hero h1 { margin: 16px 0 0; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; }
.legal-hero p { margin: 20px 0 0; color: #cbd5df; font-size: 17px; line-height: 1.6; }
.legal-body { padding: 72px 28px 96px; }
.legal-body h2 { margin: 48px 0 12px; color: var(--amz-squid-ink); font-size: 22px; line-height: 1.25; scroll-margin-top: 32px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { margin: 0 0 16px; color: var(--amz-mist); font-size: 15px; line-height: 1.7; }
.legal-toc { margin: 24px 0 48px; padding: 20px 24px; background: var(--amz-off-white); border-radius: 12px; }
.legal-toc-title { margin: 0 0 16px; color: var(--amz-mist); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.legal-toc ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.legal-toc li { margin: 4px 0; font-size: 14px; line-height: 1.5; }
.legal-toc a, .legal-back { color: var(--amz-squid-ink); }
.legal-note { margin: 32px 0; padding: 16px 20px; background: var(--amz-off-white); border-left: 3px solid var(--amz-orange); border-radius: 4px; color: var(--amz-mist); font-size: 13px; line-height: 1.6; }
.legal-back { display: inline-flex; margin: 0 0 32px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .legal-hero { padding: 64px 20px 48px; } .legal-body { padding: 48px 20px 72px; } .legal-toc ul { columns: 1; } }

@keyframes mktDroneFlyover {
  from { transform: scale(1.08) translate3d(-1.5%, 2%, 0); }
  to { transform: scale(1.2) translate3d(2%, -1.5%, 0); }
}
.mkt-drone-flyover {
  will-change: transform;
}
.is-media-enhanced .mkt-drone-flyover {
  animation: mktDroneFlyover 24s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .mkt-drone-flyover { animation: none !important; }
}

.mkt-footer-baseline a {
  color: #b0bac6;
  font-size: 12px;
  text-decoration: none;
}
.mkt-footer-baseline a:hover {
  color: #ffffff;
}

/* ---- documented brand-color deviation -------------------------------
   Per brand direction, semantic accent elements use Amazon orange #f26322,
   including eyebrows, hints, CTAs, testimonial quote marks, timeline labels,
   partner dots, and success accents. This intentionally overrides the WCAG
   contrast remediation values: #f26322 measures 3.19:1 on white and 2.88:1
   on cream. Accordion boundaries use the subtler theme border token. */
.mkt-accordion,
.mkt-accordion[open],
.mkt-accordion .mkt-accordion-icon,
.mkt-accordion[open] .mkt-accordion-icon {
  border-color: var(--mkt-border-strong);
}
.mkt-accordion .mkt-accordion-icon {
  color: var(--amz-orange-brand);
}

/* ---- locations directory (amazon.jobs-style region accordions) ----- */
/* These overrides are scoped to .mkt-locations-accordions so the FAQ
   accordions on the other pages keep their existing card styling. */
.mkt-locations-accordions {
  margin-top: 40px;
  gap: 0;
  border-top: 1px solid var(--mkt-border);
}
.mkt-locations-accordions .mkt-accordion {
  border: 0;
  border-bottom: 1px solid var(--mkt-border);
  border-radius: 0;
  background: transparent;
}
.mkt-locations-accordions .mkt-accordion[open] {
  border-bottom-color: var(--mkt-border);
}
.mkt-locations-accordions .mkt-accordion > summary {
  padding: 20px 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--mkt-text);
}
.mkt-locations-accordions .mkt-accordion-body {
  padding: 0 4px 24px;
}
/* Minimal chevron: points down when collapsed, up when expanded. */
.mkt-locations-accordions .mkt-accordion-icon {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mkt-text);
  font-size: 0;
  position: relative;
}
.mkt-locations-accordions .mkt-accordion-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.mkt-locations-accordions .mkt-accordion[open] .mkt-accordion-icon {
  transform: none;
  background: transparent;
  border-color: transparent;
}
.mkt-locations-accordions .mkt-accordion[open] .mkt-accordion-icon::before {
  transform: translate(-50%, -30%) rotate(-135deg);
}
.mkt-location-subhead {
  margin: 22px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mkt-text);
}
.mkt-location-subhead:first-child { margin-top: 4px; }
.mkt-location-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px 24px;
}
.mkt-location-list a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 0;
  color: var(--mkt-text-muted);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.mkt-location-list a:hover { color: var(--mkt-text); }
.mkt-locations-foot {
  margin: 32px 0 0;
  font-size: 15px;
  color: var(--mkt-text-muted);
}
.mkt-locations-foot a {
  color: var(--mkt-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- language switch ----------------------------------------------- */
.mkt-lang-switch {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(27, 37, 50, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.mkt-lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 14px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mkt-lang-switch a[aria-current="page"] {
  background: #ffffff;
  color: var(--amz-squid-ink);
}
.mkt-lang-switch a:not([aria-current="page"]):hover {
  background: rgba(255, 255, 255, 0.14);
}
@media (max-width: 640px) {
  .mkt-lang-switch { top: 12px; right: 12px; }
}

/* ==========================================================================
   REDESIGN ADDITIONS (2026) — jobs-first compact layout
   Stats band · heading-with-link row · entry-paths grid · teams flow ·
   compact testimonial cards. All reuse existing tokens and the 8px grid.
   ========================================================================== */

/* ---- stats band (dark, directly under hero) ----------------------- */
.mkt-statband {
  background: var(--amz-squid-ink);
  padding: 48px 0;
}
.mkt-statband-inner {
  display: grid;
  gap: 24px;
}
.mkt-statband-stats,
.mkt-statband-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.mkt-statband-stats .mkt-stat { min-width: 0; }
.mkt-statband .mkt-stat-value {
  font-size: clamp(30px, 3.2vw, 44px);
}
.mkt-stat-value-link {
  color: var(--mkt-text);
  text-decoration: none;
}
.mkt-stat-value-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.mkt-statband-actions .mkt-btn {
  min-width: 190px;
  justify-self: start;
}
@media (max-width: 640px) {
  .mkt-statband-stats { grid-template-columns: 1fr; gap: 24px; }
  .mkt-statband .mkt-statband-stats > .mkt-stat:nth-child(1) { order: 1; }
  .mkt-statband .mkt-statband-stats > .mkt-stat:nth-child(3) { order: 2; }
  .mkt-statband .mkt-statband-stats > .mkt-stat:nth-child(2) { order: 3; }
  .mkt-statband-stats .mkt-stat { min-width: 0; border-left: 0; padding-left: 0; gap: 6px; text-align: center; }
  .mkt-statband .mkt-stat-value { font-size: clamp(28px, 10vw, 40px); }
  .mkt-statband .mkt-stat-label { font-size: 13px; min-height: 0; }
  .mkt-statband-actions {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .mkt-statband-actions .mkt-btn { width: 100%; justify-content: center; }
}
/* Tablet: keep all three stats and their aligned actions on one row. */
@media (min-width: 641px) and (max-width: 1024px) {
  .mkt-statband-stats,
  .mkt-statband-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .mkt-statband-actions .mkt-btn { padding: 12px 14px; font-size: 12px; }
}

/* Stats band, tiles + CTA row variant (regional pages only; Aragon is untouched).
   Tiles share row 1 (equal-height orange rules); CTAs share row 2 (aligned tops). */
.mkt-statband--tiles { background: #232f3e; }
.mkt-statband--tiles .mkt-statband-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: 48px;
  row-gap: 36px;
}
.mkt-statband--tiles .mkt-statband-stats .mkt-stat {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  /* A subgrid's own gap overrides the parent's: with gap:0 the 36px row gap
     collapsed and the CTA row sat flush under the label. Keep these equal. */
  row-gap: 36px;
  column-gap: 0;
  min-width: 0;
  padding-left: 0;
  border-left: 0;
}
@supports not (grid-template-rows: subgrid) {
  .mkt-statband--tiles .mkt-statband-stats .mkt-stat { display: flex; flex-direction: column; gap: 36px; }
}
.mkt-statband--tiles .mkt-stat-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-left: 16px;
  border-left: 2px solid var(--amz-orange);
}
.mkt-statband--tiles .mkt-stat-value { font-size: 44px; }
.mkt-statband--tiles .mkt-stat-label { font-size: 13px; min-height: 0; }
.mkt-statband--tiles .mkt-statband-actions {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 49px;
  min-width: 0;
  padding-left: 18px;
}
.mkt-statband--tiles .mkt-statband-actions .mkt-btn {
  box-sizing: border-box;
  justify-content: center;
  width: 256px;
  max-width: 100%;
  min-width: 0;
  height: 49px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: none;
}
.mkt-statband--tiles .mkt-statband-actions .mkt-btn-primary:hover { box-shadow: none; }
.mkt-statband--tiles .mkt-statband-actions .mkt-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.mkt-statband--tiles .mkt-statband-actions .mkt-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}
.mkt-statband--tiles .mkt-statband-actions .mkt-btn:focus-visible,
.mkt-statband--tiles .mkt-stat-value-link:focus-visible {
  outline: 3px solid var(--mkt-focus-ring-dark);
  outline-offset: 3px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .mkt-statband--tiles .mkt-statband-stats { column-gap: 24px; }
  .mkt-statband--tiles .mkt-stat-value { font-size: clamp(32px, 4.2vw, 44px); }
  .mkt-statband--tiles .mkt-statband-actions .mkt-btn { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 640px) {
  /* Phones: the investment stat is hidden (the hero text already says it);
     the two stats that have buttons sit side by side, buttons aligned along
     the bottom, with room between the columns. */
  .mkt-statband--tiles .mkt-statband-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 36px 28px;
  }
  .mkt-statband--tiles .mkt-statband-stats > .mkt-stat { grid-row: auto; }
  .mkt-statband--tiles .mkt-statband-stats > .mkt-stat:first-child { display: none; }
  .mkt-statband--tiles .mkt-statband-stats > .mkt-stat:not(:first-child) { height: 100%; gap: 20px; }
  .mkt-statband--tiles .mkt-statband-stats > .mkt-stat:not(:first-child) .mkt-statband-actions { margin-top: auto; }
  .mkt-statband--tiles .mkt-statband-stats > .mkt-stat:not(:first-child) .mkt-btn {
    padding: 8px 10px;
    font-size: 12.5px;
    line-height: 1.25;
    min-height: 49px;
    height: auto;
    white-space: normal;
    text-align: center;
  }
  .mkt-statband--tiles .mkt-statband-stats .mkt-stat { display: flex; flex-direction: column; gap: 24px; text-align: center; }
  .mkt-statband--tiles .mkt-stat-tile { align-items: center; padding-left: 0; border-left: 0; }
  .mkt-statband--tiles .mkt-stat-value { font-size: clamp(28px, 10vw, 40px); }
  .mkt-statband--tiles .mkt-statband-actions { width: 100%; height: auto; padding-left: 0; justify-content: center; }
  .mkt-statband--tiles .mkt-statband-actions .mkt-btn { width: 100%; }
}

/* Two (or one) stat tiles: keep the 3-column tile width and gap, and centre
   the group in the band instead of leaving it left-aligned. */
.mkt-statband--tiles .mkt-statband-stats:has(> .mkt-stat:last-child:nth-child(-n+2)) {
  --stat-gap: 48px;
  column-gap: var(--stat-gap);
  grid-template-columns: repeat(2, calc((100% - 2 * var(--stat-gap)) / 3));
  justify-content: center;
}
.mkt-statband--tiles .mkt-statband-stats:has(> .mkt-stat:only-child) {
  grid-template-columns: calc((100% - 2 * var(--stat-gap)) / 3);
}
@media (min-width: 641px) and (max-width: 1024px) {
  .mkt-statband--tiles .mkt-statband-stats:has(> .mkt-stat:last-child:nth-child(-n+2)) { --stat-gap: 24px; }
}
@media (max-width: 640px) {
  /* Phones: the investment tile is hidden, so one tile remains; centre it
     at the same width one column has on 3-tile pages. */
  .mkt-statband--tiles .mkt-statband-stats:has(> .mkt-stat:last-child:nth-child(2)) {
    grid-template-columns: calc((100% - 28px) / 2);
  }
  .mkt-statband--tiles .mkt-statband-stats > .mkt-stat:first-child:only-child { display: flex; }
  .mkt-statband--tiles .mkt-statband-stats:has(> .mkt-stat:only-child) {
    grid-template-columns: calc((100% - 28px) / 2);
  }
}

/* ---- section heading with a trailing link ------------------------- */
.mkt-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.mkt-heading-row .mkt-section-heading { margin: 0; }
.mkt-heading-link {
  color: var(--mkt-accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  white-space: nowrap;
}
.mkt-heading-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- entry paths grid (compact image cards) ----------------------- */
.mkt-paths-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(var(--paths, 5), minmax(0, 1fr));
  gap: 24px;
}
.mkt-paths-grid > .mkt-card { display: flex; flex-direction: column; }
a.mkt-card { text-decoration: none; color: inherit; }
/* a path card with no href is informational only — no clickable affordance */
a.mkt-card:not([href]) { cursor: default; }
a.mkt-card:not([href]):hover {
  transform: none;
  border-color: rgba(35, 47, 62, 0.06);
  box-shadow: 0 1px 2px rgba(35, 47, 62, 0.04);
}
.mkt-path-media { aspect-ratio: 16 / 10; }
.mkt-path-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* icon variant for a path card with no photo (e.g. military hires) */
.mkt-path-media.is-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcebd2;
}
.mkt-path-media.is-icon svg { width: 44px; height: 44px; color: var(--amz-orange-dark); }
.mkt-path-body {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}
.mkt-path-hint {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mkt-accent);
  font-weight: 700;
  text-transform: uppercase;
}
.mkt-path-title {
  margin: 0;
  font-size: 17px;
  color: var(--mkt-text);
  font-weight: 700;
  line-height: 1.25;
}
.mkt-path-desc {
  margin: 0;
  color: var(--mkt-text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
@media (max-width: 900px) { .mkt-paths-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mkt-paths-grid { grid-template-columns: 1fr; } }

/* ---- Partner opportunities: partner strip -------------------------- */
.mkt-partner-opportunities { padding: 72px 0; }
.mkt-pstrip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mkt-pstrip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 24px 40px;
  border-right: 1px solid var(--mkt-border);
  color: inherit;
  text-decoration: none;
}
.mkt-pstrip-item:last-child { border-right: 0; }
.mkt-pstrip-dot {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amz-orange);
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.2);
}
.mkt-pstrip-text { min-width: 0; }
.mkt-pstrip-name { color: var(--mkt-text); font-size: 15px; font-weight: 700; line-height: 1.3; }
.mkt-pstrip-type { margin-top: 2px; color: var(--mkt-text-muted); font-size: 12px; line-height: 1.4; }
/* Used once an item becomes a real link (see the comment in the HTML). */
a.mkt-pstrip-item { transition: background-color 0.2s ease; }
a.mkt-pstrip-item:hover { background-color: var(--amz-off-white); }
a.mkt-pstrip-item:focus-visible { outline: 2px solid var(--mkt-focus-ring); outline-offset: -2px; }
.mkt-pstrip-arrow { margin-left: auto; flex: none; color: var(--mkt-accent); }
.mkt-partner-disclaimer {
  margin: 32px 0 0;
  color: var(--mkt-text-muted);
  font-size: 13px;
}
@media (max-width: 1024px) {
  .mkt-pstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-pstrip-item { padding: 22px 28px; border-right: 1px solid var(--mkt-border); }
  .mkt-pstrip-item:nth-child(even) { border-right: 0; }
  .mkt-pstrip-item:nth-child(-n + 2) { border-bottom: 1px solid var(--mkt-border); }
}
@media (max-width: 720px) {
  .mkt-pstrip { grid-template-columns: 1fr; }
  .mkt-pstrip-item { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--mkt-border); }
  .mkt-pstrip-item:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { a.mkt-pstrip-item { transition: none; } }

/* ---- entry paths: early Coursera line ------------------------------ */
.mkt-resource-line {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  color: var(--mkt-text);
  font-size: 16px;
  line-height: 1.5;
}
.mkt-resource-line + .mkt-paths-grid { margin-top: 28px; }
.mkt-resource-line-link {
  color: var(--mkt-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mkt-resource-line-link:hover { text-decoration-thickness: 2px; }

/* ---- Resources section --------------------------------------------- */
.mkt-resources { scroll-margin-top: 24px; }
.mkt-resources-groups { margin-top: 40px; display: grid; gap: 40px; }
.mkt-resources-group-title {
  margin: 0 0 14px;
  color: var(--mkt-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mkt-resource-cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.mkt-resource-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  min-height: 156px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
  color: var(--mkt-text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mkt-resource-card:hover { border-color: rgba(255, 153, 0, 0.4); box-shadow: 0 10px 24px rgba(35, 47, 62, 0.06); transform: translateY(-2px); }
.mkt-resource-card:focus-visible { outline: 2px solid var(--mkt-focus-ring); outline-offset: 3px; }
.mkt-resource-card-hint { color: var(--mkt-accent); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.mkt-resource-card-title { font-size: 17px; font-weight: 700; line-height: 1.25; }
.mkt-resource-card-desc { flex: 1; color: var(--mkt-text-muted); font-size: 13.5px; line-height: 1.5; }
.mkt-resource-card-cta { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .mkt-resource-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .mkt-resource-card { transition: none; }
  .mkt-resource-card:hover { transform: none; }
}

/* ---- teams: icon cards -------------------------------------------- */
.mkt-teams-flow {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.mkt-flow-node {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 24px;
  background: var(--mkt-bg-card);
  border: 1px solid var(--mkt-border);
  border-radius: 16px;
}
.mkt-theme-light .mkt-flow-node { border-color: var(--mkt-border); }
.mkt-flow-icon {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--amz-orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.mkt-flow-icon svg {
  width: 28px;
  height: 28px;
  color: var(--amz-orange-dark);
}
.mkt-flow-title {
  margin: 18px 0 0;
  align-self: stretch;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mkt-text);
  /* fixed height for up to two lines so every description starts on the
     same line across cards, whatever the title length */
  min-height: 40px;
}
.mkt-flow-desc {
  margin: 10px 0 0;
  align-self: stretch;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mkt-text-muted);
}

/* ---- compact testimonial cards ------------------------------------ */
.mkt-testi-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  justify-items: stretch;
  width: 100%;
}
@media (max-width: 640px) { .mkt-testi-grid { grid-template-columns: 1fr; } }
.mkt-testi-card {
  margin: 0;
  background: var(--mkt-bg-card);
  border: 1px solid var(--mkt-border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mkt-theme-light .mkt-testi-card { border-color: rgba(35, 47, 62, 0.08); }
.mkt-testi-card-mark {
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 0.4;
  height: 18px;
  color: var(--mkt-accent);
}
.mkt-testi-card-quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mkt-text);
  flex: 1;
}
.mkt-testi-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.mkt-testi-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.mkt-testi-card-name { font-weight: 700; font-size: 14px; color: var(--mkt-text); }
.mkt-testi-card-role { font-size: 12px; color: var(--mkt-text-muted); margin-top: 2px; }
/* Oregon: 2 x 2 cards share one height */
.mkt-testi-grid--equal { grid-auto-rows: 1fr; }

/* ==========================================================================
   Testimonials left-alignment safeguard + mobile carousels (teams + quotes)
   ========================================================================== */

/* Guarantee the testimonials heading and card grid share the container's
   left edge (no centering), so cards start on the heading's line. */
#testimonials .mkt-section-heading {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
#testimonials .mkt-testi-grid { margin-left: 0; margin-right: 0; }

/* Loop clones exist only for the carousel; hidden where the row isn't one. */
.mkt-testi-card.is-clone { display: none; }
.mkt-flow-node.is-clone { display: none; }

/* ---- carousel dots ------------------------------------------------- */
.mkt-carousel-controls { display: none; }
.mkt-carousel-dots { display: flex; gap: 8px; }
.mkt-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--mkt-border-strong);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.mkt-carousel-dot.is-active { background: var(--mkt-accent); transform: scale(1.35); }
.mkt-carousel-arrow {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--mkt-border-strong);
  background: #ffffff;
  color: var(--mkt-text);
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.mkt-carousel-arrow:hover { border-color: var(--mkt-text-muted); }
.mkt-carousel-arrow:disabled { opacity: 0.35; cursor: default; }

/* ---- from tablet down, the quotes grid becomes a swipe carousel */
@media (max-width: 1024px) {
  .mkt-testi-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
  }
  .mkt-testi-grid::-webkit-scrollbar { display: none; }
  .mkt-testi-card.is-clone { display: flex; }
  .mkt-testi-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0;
  }
  .mkt-teams-flow + .mkt-carousel-controls { display: none; }
  .mkt-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }
}

/* ---- mobile: tighten hero top + hero-to-stats spacing -------------- */
@media (max-width: 640px) {
  .mkt-hero { min-height: 300px; }
  .mkt-hero-content { padding-top: 28px; padding-bottom: 44px; }
  .mkt-scroll-cue { bottom: 16px; }
  .mkt-statband { padding-top: 24px; }
  .mkt-teams-flow {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
  }
  .mkt-teams-flow::-webkit-scrollbar { display: none; }
  .mkt-flow-node,
  .mkt-flow-node.is-clone {
    display: flex;
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
    scroll-snap-align: start;
  }
  .mkt-flow-node .mkt-flow-title,
  .mkt-flow-node .mkt-flow-desc {
    align-self: center;
    width: 100%;
    text-align: center;
  }
  .mkt-teams-flow + .mkt-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }
}

/* ---- featured-regions carousel (homepage) -------------------------- */
.mkt-featured { position: relative; }
.mkt-featured-track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mkt-featured-track::-webkit-scrollbar { display: none; }
.mkt-featured-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
/* controls are always visible for this carousel (unlike the mobile-only ones) */
.mkt-featured .mkt-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* breathing room between a featured region's description and its CTA button */
.mkt-featured-slide .mkt-btn { margin-top: 24px; }

/* ==========================================================================
   Testimonial carousel for more than four quotes
   JS adds .is-carousel to .mkt-testi-grid when it holds more than 4 cards.
   Two cards per view on desktop, one per view at <=1024px.
   ========================================================================== */
.mkt-testi-card-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fcebd2;
  color: #232f3e;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.mkt-testi-grid.is-carousel {
  display: flex;
  flex-wrap: nowrap;
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 24px;
}
.mkt-testi-grid.is-carousel::-webkit-scrollbar { display: none; }
.mkt-testi-grid.is-carousel .mkt-testi-card,
.mkt-testi-grid.is-carousel .mkt-testi-card.is-clone {
  display: flex;
  min-width: 0;
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 24px) / 2);
}
.mkt-testi-grid.is-carousel + .mkt-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.mkt-carousel-toggle { font-size: 12px; }
@media (max-width: 1024px) {
  .mkt-testi-grid.is-carousel { gap: 16px; }
  .mkt-testi-grid.is-carousel .mkt-testi-card,
  .mkt-testi-grid.is-carousel .mkt-testi-card.is-clone { flex: 0 0 100%; }
}

/* Indiana desktop: 4 cards as a 2 x 2 grid on page 1, page 2 holds the
   remaining 2 in one row at the same two column positions and card width.
   Opt-in via data-per-page-desktop="4"; JS sets each card's grid column and
   row. Layout properties only. */
@media (min-width: 1025px) {
  .mkt-testi-grid.is-carousel[data-per-page-desktop="4"] {
    display: grid;
    grid-template-columns: repeat(4, calc((100% - 24px) / 2)); /* 2 columns per page, 1 gap of 24px */
    /* --mkt-testi-h = tallest card (set by JS) so all cards share one height */
    grid-template-rows: var(--mkt-testi-h, auto) var(--mkt-testi-h, auto);
    align-items: stretch;
    scroll-snap-type: none;
  }
  .mkt-testi-grid.is-carousel[data-per-page-desktop="4"] .mkt-testi-card {
    scroll-snap-align: none;
  }
  .mkt-testi-grid.is-carousel[data-per-page-desktop="4"] .mkt-testi-card.is-page-2 { align-self: center; height: var(--mkt-testi-h, auto); }
  .mkt-testi-grid.is-carousel[data-per-page-desktop="4"].is-measuring { grid-template-rows: auto auto; }
  .mkt-testi-grid.is-carousel[data-per-page-desktop="4"].is-measuring .mkt-testi-card { align-self: start; height: auto; }
  .mkt-testi-grid.is-carousel[data-per-page-desktop="4"] .mkt-testi-card.is-clone { display: none; }
  /* Copy of page 1 after the last page: lets Next keep sliding left when it
     loops back (and Prev start from it). Off screen at rest. */
  .mkt-testi-grid.is-carousel[data-per-page-desktop="4"] { grid-auto-columns: calc((100% - 24px) / 2); }
  .mkt-testi-grid.is-carousel[data-per-page-desktop="4"] .mkt-testi-card.is-clone.is-wrap-clone { display: flex; }
}
/* ---- Resources: compact Coursera banner card ------------------------ */
.mkt-resources-featured {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--amz-squid-ink);
  border-radius: 16px;
  color: #ffffff;
}
.mkt-resources-featured::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--amz-orange-brand);
}
.mkt-resources-featured-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.mkt-resources-featured-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.mkt-resources-featured-desc {
  margin: 0;
  max-width: 56ch;
  color: #cbd5df;
  font-size: 14px;
  line-height: 1.55;
}
.mkt-resources-featured .mkt-btn {
  flex: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(242, 99, 34, 0.25);
}
.mkt-resources-featured .mkt-btn:hover { box-shadow: 0 14px 32px rgba(242, 99, 34, 0.35); }
.mkt-resources-featured .mkt-btn:focus-visible {
  outline: 3px solid var(--mkt-focus-ring-dark);
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .mkt-resources-featured {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 20px 24px 23px;
  }
  .mkt-resources-featured .mkt-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ---- Coursera banner: NEW pill ------------------------------------ */
.mkt-resources-featured-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.mkt-resources-featured-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: #f26322;
  color: #ffffff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Entry paths: the banner is the last child of the section container, 48px below the three path tiles. */
#paths .mkt-resources-featured { margin-top: 48px; margin-bottom: 0; }

/* ---- Partner opportunities: logo grid (Mississippi) ---------------- */
.mkt-pgrid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mkt-pgrid > li { margin: 0; padding: 0; min-width: 0; }
.mkt-pgrid-tile {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 294 / 120;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2ddd3;
  border-radius: 12px;
  color: var(--mkt-text);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mkt-pgrid-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mkt-pgrid-name { padding: 0 20px; text-align: center; font-size: 15px; font-weight: 700; line-height: 1.3; }
.mkt-pgrid-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--mkt-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.mkt-pgrid-tile:hover,
.mkt-pgrid-tile:focus-visible { border-color: rgba(242, 99, 34, 0.45); transform: translateY(-2px); }
.mkt-pgrid-tile:hover .mkt-pgrid-arrow,
.mkt-pgrid-tile:focus-visible .mkt-pgrid-arrow { opacity: 1; }
.mkt-pgrid-tile:focus-visible { outline: 2px solid var(--mkt-focus-ring); outline-offset: 2px; }
.mkt-partner-source { margin: 24px 0 0; color: var(--mkt-text-muted);  }
.mkt-partner-source a { color: var(--mkt-accent); text-underline-offset: 2px; }
.mkt-partner-source + .mkt-partner-disclaimer { margin-top: 8px; }
@media (max-width: 1024px) {
  .mkt-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mkt-pgrid { gap: 12px; }
  .mkt-pgrid-tile { aspect-ratio: 3 / 2; }
  .mkt-pgrid-name { padding: 0 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-pgrid-tile,
  .mkt-pgrid-arrow { transition: none; }
  .mkt-pgrid-tile:hover,
  .mkt-pgrid-tile:focus-visible { transform: none; }
}

/* ---- Community websites band (after Resources) --------- */
/* Background comes from the section modifier (white by default, .mkt-section-bg-alt) so the page alternates. */
.mkt-community-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.mkt-community-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
/* Cards reuse .mkt-resource-card (border, hover, focus, motion); only the row layout differs. */
.mkt-community-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; min-height: 0; height: auto; }
.mkt-community-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mkt-community-name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.mkt-community-domain { font-size: 14px; line-height: 1.4; color: var(--mkt-text-muted); overflow-wrap: anywhere; }
.mkt-community-arrow { flex: none; }
@media (max-width: 640px) {
  .mkt-community-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
/* ---- Section action row (button under a section's content) --------- */
.mkt-section-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.mkt-section-actions .mkt-btn { min-height: 44px; box-sizing: border-box; }
@media (max-width: 480px) { .mkt-section-actions .mkt-btn { width: 100%; justify-content: center; } }

/* ---- Hero scroll cue: the EXPLORE word and arrow are one link ------ */
/* Sit above the hero copy so the word is clickable where the boxes overlap, and keep a 44px tap target. */
.mkt-scroll-cue { z-index: 2; min-height: 44px; min-width: 44px; box-sizing: border-box; justify-content: center; }
/* ---- Partner opportunities: "Coming Soon." state (Oct 27 board, Ohio) ---- */
/* 32px below the heading block, centred, 32px regular in the muted text colour. Tokens only. */
.mkt-partner-soon { margin: 32px 0 0; text-align: center; font-size: 32px; line-height: normal; color: var(--mkt-text-muted); }
@media (max-width: 640px) { .mkt-partner-soon { font-size: 24px; } }
/* The section is a programmatic focus target for the "See partner opportunities" button; no ring on the container. */
.mkt-partner-opportunities:focus { outline: none; }

/* ==========================================================================
   News component (merged from news-component.css, 27 Oct 2026)
   Kept at the end of this file so it cascades after the base rules, as the separate file did.
   ========================================================================== */
/* Latest news component. The text-only variant (.mkt-news--text) is used for "News from your local area" on the regional pages.
   Colours come only from existing site tokens (microsite.css). */
.mkt-news { overflow-x: clip; }

.mkt-news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mkt-news-pager { display: flex; align-items: center; gap: 12px; flex: none; }
.mkt-news-pager[hidden] { display: none; }
.mkt-news-arrow {
  width: 40px; height: 40px; flex: none; padding: 0; border-radius: 50%;
  border: 1px solid var(--mkt-border-strong); background: var(--mkt-bg-card); color: var(--mkt-text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.mkt-news-arrow:hover { border-color: var(--mkt-text-muted); }
.mkt-news-arrow:focus-visible { outline: 2px solid var(--mkt-focus-ring); outline-offset: 3px; }
.mkt-news-arrow[aria-disabled="true"] { opacity: .35; cursor: default; }
.mkt-news-arrow[aria-disabled="true"]:hover { border-color: var(--mkt-border-strong); }
.mkt-news-counter {
  min-width: 4.5ch; text-align: center; font-size: 14px; font-weight: 700;
  color: var(--mkt-text); font-variant-numeric: tabular-nums;
}

/* Scroll-snap scroller. Padding + negative margin leave room for hover lift, shadow and focus ring. */
.mkt-news-viewport { margin: 24px -24px -16px; }
.mkt-news-track {
  list-style: none; margin: 0; padding: 8px 24px 40px; display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px;
  overscroll-behavior-x: contain; align-items: stretch;
}
.mkt-news.is-ready .mkt-news-track { scrollbar-width: none; }
.mkt-news.is-ready .mkt-news-track::-webkit-scrollbar { display: none; }
.mkt-news-item { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; display: flex; }
.mkt-news-item.is-page-start { scroll-snap-align: start; scroll-snap-stop: always; }
.mkt-news-article { display: flex; width: 100%; margin: 0; }
.mkt-news-card {
  position: relative; display: flex; flex-direction: column; width: 100%; background: var(--mkt-bg-card);
  border: 1px solid var(--mkt-border); border-radius: 12px; overflow: hidden;
  color: var(--mkt-text); text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mkt-news-card:hover {
  border-color: color-mix(in srgb, var(--amz-orange) 40%, transparent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--amz-squid-ink) 6%, transparent);
  transform: translateY(-2px);
}
.mkt-news-card:focus-visible { outline: 2px solid var(--mkt-focus-ring); outline-offset: 3px; }
.mkt-news-media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--mkt-bg-alt); }
.mkt-news-media--logo {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border-bottom: 1px solid var(--mkt-border); padding: 16px; text-align: center; box-sizing: border-box;
}
.mkt-news-logo-bar { width: 32px; height: 2px; background: var(--mkt-accent); }
.mkt-news-logo-text { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--mkt-text); }
.mkt-news-title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
  margin: 20px 20px 0; font-size: 17px; font-weight: 700; line-height: 1.3;
}
.mkt-news-meta {
  margin: auto 20px 0; padding-top: 16px; padding-bottom: 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.mkt-news-date { font-size: 13px; line-height: 1.4; color: var(--mkt-text-muted); }
.mkt-news-tag {
  padding: 4px 10px; border-radius: 999px; background: var(--mkt-accent-soft); color: var(--mkt-text);
  font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.2;
}

@media (min-width: 641px) and (max-width: 1024px) {
  .mkt-news-item { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .mkt-news-viewport { margin-inline: -16px; }
  .mkt-news-track { gap: 16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .mkt-news-item { flex-basis: 100%; }
  .mkt-news-pager { margin-top: 16px; }
  .mkt-news-head { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-news-card, .mkt-news-arrow { transition: none; }
  .mkt-news-card:hover { transform: none; }
}

/* ---- Text-only variant: .mkt-news--text (no thumbnail, title only) ------------------------------
   Mirrors .mkt-resource-card from microsite.css: same surface, border, radius, padding (20px),
   gap (8px), hover (orange 40% border + soft shadow + 2px lift) and focus ring. Card = title plus the
   external-link arrow; no eyebrow, description or "Read more" link. 4 cards per page above 1024px (the
   base rule), 2 at 641 to 1024px, 1 at 640px and below. Same pager, scroller and equal-height rules as
   the image variant. Tokens only. */
.mkt-news--text .mkt-news-card { gap: 8px; min-height: 132px; padding: 20px; box-sizing: border-box; }
.mkt-news--text .mkt-news-title {
  margin: 0; font-size: 17px; line-height: 1.25; -webkit-line-clamp: 3; line-clamp: 3;
}
.mkt-news--text .mkt-news-card:hover .mkt-news-title,
.mkt-news--text .mkt-news-card:focus-visible .mkt-news-title { text-decoration: underline; text-underline-offset: 3px; }
/* Oct 27 board (Ohio, "LatestNewsSection"): eyebrow "Learn more" + "Latest News", pager top right, 40px between
   heading and cards, cards are title only with no arrow. */
.mkt-news--text .mkt-news-viewport { margin-top: 32px; }

@media (min-width: 641px) and (max-width: 1024px) {
  .mkt-news--text .mkt-news-item { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .mkt-news--text .mkt-news-item { flex-basis: 100%; }
}
