:root {
  --paper: #f4efe6;
  --paper-soft: #fbf8f1;
  --paper-deep: #e8dfcf;
  --ink: #16140f;
  --ink-soft: #3a362c;
  --muted: #6b6557;
  --line: #d8cebc;
  --line-dark: #453f34;
  --terracotta: #b14a2a;
  --terracotta-dark: #84331f;
  --forest: #4f6756;
  --steel: #315d70;
  --white: #fff7ee;
  --shadow: 0 20px 60px rgba(22, 20, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  color: var(--white);
  font-size: 4.25rem;
}

h2 {
  max-width: 780px;
  font-size: 3.5rem;
}

h3 {
  font-size: 1.65rem;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 10px 32px;
  border-bottom: 1px solid rgba(216, 206, 188, 0.75);
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 300px;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-ecm {
  max-width: 108px;
  height: 38px;
}

.brand-logo-aprende {
  max-width: 198px;
  height: 44px;
}

.brand-divider {
  width: 1px;
  height: 36px;
  background: rgba(22, 20, 15, 0.22);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  border-bottom-color: var(--terracotta);
}

.header-cta,
.btn,
.resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.header-cta {
  min-width: 136px;
  padding: 0 18px;
  background: var(--terracotta);
  color: var(--white);
}

.header-cta:hover,
.btn-primary:hover,
.resource-link:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-soft);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 84svh;
  overflow: hidden;
  background: var(--ink);
}

main section {
  scroll-margin-top: 78px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 20, 15, 0.86) 0%, rgba(22, 20, 15, 0.66) 42%, rgba(22, 20, 15, 0.24) 100%),
    linear-gradient(180deg, rgba(22, 20, 15, 0.18) 0%, rgba(22, 20, 15, 0.84) 100%),
    url("assets/webinar-ai-act-hero.png") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 138px;
}

.eyebrow,
.section-kicker,
.card-index {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
  color: #e9d4c7;
}

.hero-lede {
  max-width: 690px;
  margin-top: 24px;
  color: #efe3d2;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-width: 170px;
  padding: 0 22px;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-secondary {
  border-color: rgba(255, 247, 238, 0.7);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-large {
  min-width: 220px;
  margin-top: 8px;
}

.hero-meta {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 247, 238, 0.22);
  background: rgba(22, 20, 15, 0.78);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.hero-meta article {
  min-height: 112px;
  padding: 22px 32px;
  border-right: 1px solid rgba(255, 247, 238, 0.16);
}

.hero-meta span {
  display: block;
  margin-bottom: 8px;
  color: #d3c9b3;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  max-width: 420px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.two-column,
.meeting-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
}

.notice-section {
  padding: 92px 0;
  background: var(--ink);
  color: var(--white);
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--terracotta);
  font-size: 1.08rem;
  font-weight: 700;
}

.notice-section .section-kicker {
  color: #e5a082;
}

.notice-copy {
  display: grid;
  gap: 22px;
  color: #d3c9b3;
  font-size: 1.06rem;
}

.source-note {
  padding-top: 4px;
  color: #a79d89;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", ui-monospace, monospace;
  font-size: 0.75rem;
}

.source-note a {
  border-bottom: 1px solid rgba(229, 160, 130, 0.7);
  color: #f1c7b6;
}

.implication-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.implication-card,
.resource-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 290px;
  padding: 28px;
  border-radius: 8px;
}

.implication-card {
  background: #201d17;
}

.implication-card .card-index {
  color: #e5a082;
}

.implication-card h3 {
  color: var(--white);
}

.implication-card p {
  color: #c9bda8;
  font-size: 0.94rem;
}

.webinar-section,
.materials-section {
  padding: 92px 0;
}

.webinar-section {
  background: var(--paper-soft);
}

.section-intro {
  display: grid;
  gap: 18px;
}

.section-intro p:not(.section-kicker) {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-intro.compact {
  margin-bottom: 34px;
}

#materials-title {
  max-width: none;
  white-space: nowrap;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.resource-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.featured-resource {
  border-top: 5px solid var(--terracotta);
}

.resource-card .card-index,
.material-row .card-index {
  color: var(--terracotta);
}

.resource-card p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.resource-link {
  width: fit-content;
  min-width: 160px;
  padding: 0 18px;
  background: var(--terracotta);
  color: var(--white);
}

.materials-section {
  background: var(--paper);
}

.material-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.material-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 128px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.material-row strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.material-row small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.row-arrow {
  display: inline-grid;
  place-items: center;
  min-width: 78px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--terracotta-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.material-row:hover .row-arrow {
  background: var(--ink);
  color: var(--white);
}

.team-section {
  padding: 92px 0;
  background: #1d3056;
  color: var(--white);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1fr);
  gap: 72px;
  align-items: start;
}

.team-copy {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 26px;
}

.team-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ff6b2a;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", ui-monospace, monospace;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-kicker span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 34px;
  border-radius: 5px;
  background: #cf430d;
  color: #fff7ee;
  letter-spacing: 0;
}

.team-copy h2 {
  max-width: 570px;
  font-size: 2.9rem;
  color: var(--white);
}

.team-copy p:not(.team-kicker):not(.team-emphasis) {
  max-width: 610px;
  color: #dbe2f2;
  font-size: 1.08rem;
}

.team-emphasis {
  color: #ffd3bf;
  font-weight: 700;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.team-card {
  min-height: 230px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.team-card img {
  width: 78px;
  height: 78px;
  margin-bottom: 14px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  object-fit: cover;
  background: #dce3ef;
}

.team-card h3 {
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
}

.team-card p {
  margin-top: 8px;
  color: #d5dcec;
  font-size: 0.92rem;
  line-height: 1.45;
}

.help-section {
  padding: 98px 0;
  background: var(--forest);
  color: var(--white);
}

.help-section .section-kicker {
  color: #f0c8b7;
}

.meeting-copy {
  display: grid;
  gap: 20px;
  color: #ecf0e7;
  font-size: 1.06rem;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  color: #d3c9b3;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 18px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-logo-ecm {
    max-width: 88px;
    height: 31px;
  }

  .brand-logo-aprende {
    max-width: 162px;
    height: 36px;
  }

  .brand-divider {
    height: 30px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 65px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-soft);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: grid;
    gap: 8px;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 32px, 720px);
    padding: 62px 0 56px;
  }

  .hero-meta {
    position: relative;
    grid-template-columns: 1fr;
  }

  .hero-meta article {
    min-height: auto;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 247, 238, 0.13);
  }

  .two-column,
  .meeting-layout,
  .implication-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .two-column,
  .meeting-layout {
    gap: 34px;
  }

  .notice-section,
  .webinar-section,
  .materials-section,
  .team-section,
  .help-section {
    padding: 68px 0;
  }

  #materials-title {
    white-space: normal;
  }

  .team-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .team-copy {
    position: static;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .material-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .row-arrow {
    width: fit-content;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header {
    gap: 8px;
    min-height: 58px;
    padding: 8px 12px;
  }

  .brand {
    gap: 7px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  .brand-logo-ecm {
    max-width: 70px;
    height: 25px;
  }

  .brand-logo-aprende {
    max-width: 132px;
    height: 30px;
  }

  .brand-divider {
    height: 24px;
  }

  .section-shell,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding: 52px 0 44px;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .hero-meta article {
    padding: 14px 16px;
  }

  .hero-actions,
  .btn,
  .resource-link {
    width: 100%;
  }

  .implication-card,
  .resource-card,
  .team-card {
    min-height: auto;
    padding: 22px;
  }

  .material-row strong {
    font-size: 1.18rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 380px) {
  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .brand-logo-ecm {
    max-width: 62px;
    height: 22px;
  }

  .brand-logo-aprende {
    max-width: 120px;
    height: 27px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .section-shell,
  .footer-inner,
  .hero-inner {
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
