/* Hallmark · brand: IT Expert · custom webinar landing · light field with indigo actions */
/* Critique: the hero visual supports the topic, and the learning outcomes lead into the programme. */
:root {
  color-scheme: light;
  --paper: #fbfcff;
  --surface: #f0f3fb;
  --white: #fefdff;
  --ink: #131e3e;
  --muted: #485675;
  --line: #d9e2f0;
  --field-edge: #7b89a6;
  --brand: #3e51ab;
  --brand-hover: #303f86;
  --brand-light: #e3eaff;
  --lilac-light: #ece6fa;
  --aqua-light: #dceff3;
  --visual-field: #dbe6fc;
  --visual-light: #f0f6ff;
  --visual-edge: #aebfed;
  --footer-wave: #8293df;
  --focus: #354aaf;
  --disabled-fill: #e2e8f4;
  --disabled-ink: #55617d;
  --form-error: #a82035;
  --dialog-backdrop: rgb(19 30 62 / .57);
  --font: Museo, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --gap: 40px;
  --item-heading-size: clamp(1.2rem, 1.85vw, 1.55rem);
}

@font-face {
  font-family: Museo;
  src: url("../../local/templates/kennet/fonts/MuseoSansCyrl-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: Museo;
  src: url("../../local/templates/kennet/fonts/MuseoSansCyrl-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body { color: var(--ink); background: var(--paper); font: 300 17px/1.55 var(--font); font-synthesis: none; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 80px), var(--wrap)); margin-inline: auto; }
.webinar-finished-content { display: none; }
.webinar-finished .webinar-content > section:not(.webinar-finished-content),
.webinar-finished .masthead nav,
.webinar-finished .header-cta,
.webinar-finished .mobile-cta { display: none; }
.webinar-finished .webinar-finished-content {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-block: clamp(64px, 10vw, 144px);
  text-align: center;
}
.webinar-finished-content h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3.5rem); }
.webinar-finished-content p { margin: 0; }
.webinar-finished-status { color: var(--brand-hover); font-weight: 700; }
.webinar-finished-content .cta { margin-block-start: 8px; }
.recording-pending { color: var(--muted); }

.masthead {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: block; width: 132px; height: auto; }
.masthead nav { display: flex; align-items: center; gap: 32px; }
.masthead a { text-decoration: none; }
.masthead nav a { color: var(--muted); }
.masthead a:hover { text-decoration: underline; }
.header-cta {
  color: var(--brand-hover);
  border: 1px solid var(--visual-edge);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--gap);
  padding-block-start: 64px;
}
h1, h2, h3 { margin: 0; min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
h1, h2 { letter-spacing: -.052em; line-height: 1.04; }
h1 { font-size: clamp(2rem, 4.1vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.7vw, 3.5rem); font-weight: 700; }
h3 { font-size: var(--item-heading-size); line-height: 1.22; }
p { text-wrap: pretty; }
.hero-label { margin: 0 0 12px; color: var(--brand-hover); font-size: .875rem; font-weight: 700; }
.subtitle { margin: 16px 0 0; font-size: clamp(1.25rem, 2.25vw, 1.9rem); letter-spacing: -.025em; line-height: 1.18; }
.lead { color: var(--muted); max-width: 48ch; margin: 20px 0 28px; }
.cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}
.cta[href]:hover { background: var(--brand-hover); }
.cta[href]:active, .header-cta:active { transform: translateY(1px); }
.cta:disabled { background: var(--disabled-fill); color: var(--disabled-ink); cursor: not-allowed; }

.hero-visual {
  grid-row: 1;
  grid-column: 2;
  margin: 0;
  min-width: 0;
  border-radius: 24px;
  padding: clamp(24px, 3.9vw, 56px);
  background: radial-gradient(ellipse at 85% 13%, var(--visual-light) 7%, transparent 62%), var(--visual-field);
}
.hero-image { display: block; width: 100%; height: auto; padding: 0; background: none; }
.hero-visual figcaption { font-size: clamp(1rem, 2.12vw, 1.42rem); line-height: 1.25; font-weight: 700; }
.workflow { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.workflow-step, .sample { position: relative; justify-self: start; background: var(--white); }
.workflow-step {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--visual-edge);
  padding: 8px 16px;
  font-size: .93rem;
  font-weight: 700;
}
.workflow-step:nth-child(2) { margin-inline-start: 24px; }
.workflow > li + li::before {
  content: "";
  position: absolute;
  inset-block-end: 100%;
  inset-inline-start: 16px;
  width: 24px;
  height: 12px;
  border-inline-start: 1px solid var(--brand);
  border-block-end: 1px solid var(--brand);
  transform: translateX(-24px);
}
.sample {
  width: calc(100% - 48px);
  margin-inline-start: 48px;
  border: 1px solid var(--visual-edge);
  border-radius: 12px;
  padding: 16px 20px;
  animation: reveal-sample .65s ease-out both;
}
.sample-file { color: var(--brand-hover); font-weight: 700; font-size: .84rem; margin-bottom: 4px; }
.sample strong { display: block; line-height: 1.23; }
.sample ul { color: var(--muted); margin: 8px 0 0; padding-inline-start: 16px; font-size: .875rem; }
@keyframes reveal-sample { from { opacity: .7; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

.event-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 0;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}
.event-facts div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.event-facts dt { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.event-facts dt svg { flex: none; color: var(--brand-hover); }
.event-facts dd { margin: 4px 0 0; font-size: 1.12rem; font-weight: 700; }
.event-facts dd span { display: block; color: var(--muted); font-size: .875rem; font-weight: 300; }
.event-facts a, .speaker-links a, .consent a { color: var(--brand-hover); }

.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--gap); align-items: start; padding-block: 80px 48px; }
.why > h2, .outcomes > h2, .agenda h2, .audience > h2 {
  font-size: clamp(1.625rem, 2.55vw, 2.375rem);
  line-height: 1.13;
  letter-spacing: -.035em;
}
.why p { margin: 0; color: var(--muted); font-size: 1.14rem; }
.outcomes { padding-block: 24px 80px; }
.outcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; margin-top: 24px; }
.outcome-grid article { background: var(--surface); padding: clamp(20px, 2.5vw, 36px); border-radius: 16px; }
.outcome-visual {
  display: grid;
  min-height: 80px;
  place-items: center;
  margin-block-end: 20px;
  border-radius: 8px;
  color: var(--brand-hover);
  background: var(--brand-light);
}
.outcome-grid article:nth-child(3n + 2) .outcome-visual { background: var(--lilac-light); }
.outcome-grid article:nth-child(3n) .outcome-visual { background: var(--aqua-light); }
.outcome-visual .section-icon { width: 40px; height: 40px; }
.outcome-grid h3 { color: var(--brand-hover); }
.outcome-grid p, .agenda p { margin: 8px 0 0; color: var(--muted); }

.agenda { background: var(--surface); }
.agenda-image {
  display: block;
  width: 100%;
  height: auto;
  margin-block-start: 24px;
  border-radius: 12px;
  mix-blend-mode: multiply;
}
.split, .speaker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--gap); }
.split { padding-block: clamp(48px, 6vw, 88px); }
.agenda-list { margin: 0; padding: 0 0 0 32px; }
.agenda li { padding: 16px 0 16px 8px; border-top: 1px solid var(--visual-edge); }
.agenda li:last-child { border-bottom: 1px solid var(--visual-edge); }
.agenda li::marker { color: var(--ink); font-family: var(--font); font-size: var(--item-heading-size); font-weight: 700; }
.audience dl, .experience { margin: 0; }
.audience dl > div { position: relative; padding-block: 16px; border-top: 1px solid var(--line); }
.audience dl > div:last-child { border-bottom: 1px solid var(--line); }
.audience dl > div:has(.section-icon) { padding-inline-start: 64px; }
.audience dt { font-weight: 700; }
.audience dt .section-icon {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 0;
  box-sizing: content-box;
  padding: 12px;
  border-radius: 8px;
  color: var(--brand-hover);
  background: var(--brand-light);
}
.audience div:nth-child(3n + 2) dt .section-icon { background: var(--lilac-light); }
.audience div:nth-child(3n) dt .section-icon { background: var(--aqua-light); }
.audience dd { margin: 4px 0 0; color: var(--muted); }

.speaker {
  align-items: center;
  padding-block: 40px 80px;
}
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; border-radius: 16px; }
.speaker-copy { min-width: 0; }
.speaker-role { color: var(--muted); margin: 0 0 8px; font-size: .88rem; }
.speaker-title { margin: 8px 0 0; color: var(--brand-hover); font-weight: 700; }
.experience > div { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-block: 8px; }
.experience dt { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.experience dd { margin: 0; }
.speaker-links { display: flex; gap: 8px 24px; flex-wrap: wrap; margin-top: 12px; font-size: .93rem; }

.registration { background: var(--brand-light); }
.registration-intro > p { color: var(--muted); max-width: 46ch; }
.registration-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  max-width: 440px;
  margin-block: 24px;
  padding: clamp(16px, 3vw, 24px);
  border-radius: 12px;
  background: var(--paper);
}
.registration-event-date { display: flex; gap: 16px; align-items: center; }
.registration-event-date .section-icon { width: 32px; height: 32px; flex: none; color: var(--brand-hover); }
.registration-event time { display: block; font-size: 1.4rem; font-weight: 700; line-height: 1.15; }
.registration-event-date span { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.registration-format { padding: 4px 12px; border-radius: 8px; background: var(--brand-light); color: var(--brand-hover); font-size: .875rem; font-weight: 700; }
.form { border-radius: 16px; background: var(--paper); padding: clamp(16px, 3vw, 36px); }
.form-status { margin: 0 0 16px; color: var(--brand-hover); }
.form-status:empty { margin: 0; }
.form-status-error, .field-message { color: var(--form-error); }
.field-message { font-size: .85rem; font-weight: 300; }
.consent + .field-message { display: block; margin: 0 0 12px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields label { display: grid; align-content: start; gap: 4px; font-size: .89rem; font-weight: 700; }
@supports (grid-template-rows: subgrid) {
  .fields { row-gap: 8px; }
  .fields label { grid-row: span 3; grid-template-rows: subgrid; }
  .fields input, .fields textarea { grid-row: 2; }
  .fields .field-message { grid-row: 3; }
}
.fields input, .fields textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--field-edge);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}
.fields input:hover, .fields textarea:hover { border-color: var(--brand); }
.fields [aria-invalid="true"] { border-color: var(--form-error); }
.fields textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
.consent { display: flex; align-items: baseline; gap: 8px; margin-block: 20px; font-size: .88rem; }
.consent input { accent-color: var(--brand); }
.registration-success {
  width: min(calc(100% - 40px), 440px);
  max-width: none;
  padding: clamp(24px, 4vw, 40px);
  border: 0;
  border-radius: 16px;
  color: var(--ink);
  background: var(--paper);
}
.registration-success::backdrop { background: var(--dialog-backdrop); }
.registration-success h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.registration-success p { color: var(--muted); margin: 16px 0 24px; }
.archive { align-self: center; justify-self: start; }

.footer-main {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-block: clamp(40px, 5vw, 72px);
  text-align: center;
}
.footer-home { display: inline-block; }
.footer-home img { display: block; }
.footer-main p { margin: 0; color: var(--muted); }
.footer-main .cta { min-inline-size: 160px; }
.footer-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-style: normal; color: var(--brand-hover); }
.footer-contacts a:hover { color: var(--ink); }
.footer-wave { display: block; width: 100%; height: clamp(40px, 6vw, 88px); margin-block-end: -1px; }
.footer-wave path:nth-child(1) { fill: var(--brand-light); }
.footer-wave path:nth-child(2) { fill: var(--footer-wave); }
.footer-wave path:nth-child(3) { fill: var(--brand); }
.footer-base { background: var(--brand); color: var(--white); }
.footer-base-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px 24px; }
.footer-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--white);
  border-radius: 50%;
}
.footer-top:hover { color: var(--brand-hover); background: var(--white); }
.footer-top:focus-visible { outline-color: var(--white); }
.mobile-cta { display: none; }

@media (max-width: 920px) {
  :root { --gap: 24px; }
  .wrap { width: calc(100% - 48px); }
  .masthead nav { gap: 16px; }
}

@media (max-width: 740px) {
  .hero, .why, .split, .speaker { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block-start: 40px; }
  .hero-visual { grid-row: auto; grid-column: auto; }
  .masthead { min-height: 72px; gap: 12px; }
  .masthead nav { display: none; }
  .brand { width: 108px; }
  .header-cta { padding-inline: 12px; font-size: .79rem; }
  .why, .outcomes, .speaker { padding-block-end: 48px; }
  .speaker .portrait { max-width: 408px; }
  .outcome-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: clamp(1.875rem, 8vw, 2.75rem); }
  .hero-copy .cta { width: 100%; }
  .event-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .event-facts div + div { padding-inline-start: 12px; }
  .event-facts div:last-child { grid-column: 1 / -1; padding: 12px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .mobile-cta { display: inline-flex; position: fixed; z-index: 200; inset-inline: 20px; bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 450px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .experience > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sample { width: calc(100% - 24px); margin-inline-start: 24px; }
  .workflow-step:nth-child(2) { margin-inline-start: 12px; }
  .workflow > li + li::before { width: 12px; transform: translateX(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .sample { animation: none; }
}
