:root {
  --ink: #1a1a1a;
  --ink-soft: #5a5a5a;
  --paper: #ffffff;
  --paper-muted: #f6f6f6;
  --paper-deep: #eeeeee;
  --accent: #9c3404;
  --accent-hover: #cf4504;
  --accent-soft: #f7efe9;
  --ok: #1a6b4a;
  --err: #9b1c1c;
  --line: rgba(0, 0, 0, 0.08);
  --radius: 4px;
  --max: 68rem;
  --font-sans: Inter, Rubik, "Open Sans", Roboto, sans-serif;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --fep-primary: #9c3404;
  --fep-primary-hover: #cf4504;

  --fep-container-pad: 0.75rem;
  --fep-nav-font: var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

#header .fep-container,
#footer .fep-container {
  width: 100%;
  margin-inline: auto;
  padding-left: var(--fep-container-pad);
  padding-right: var(--fep-container-pad);
  box-sizing: border-box;
}

@media (min-width: 576px) {
  #header .fep-container,
  #footer .fep-container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  #header .fep-container,
  #footer .fep-container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  #header .fep-container,
  #footer .fep-container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  #header .fep-container,
  #footer .fep-container {
    max-width: 1200px;
  }
}

#header {
  background: #fff;
  position: relative;
  z-index: 100;
  font-family: var(--fep-nav-font);
}

#header .fep-container {
  position: relative;
}

#header .fep-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

#header .fep-brand {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  margin-top: 0.5rem;
}

@media (min-width: 992px) {
  #header .fep-brand {
    margin-right: 50px;
  }
}

#header .fep-brand img {
  display: block;
  height: auto;
  max-height: 80px;
  max-width: 140px;
  width: auto;
}

#header .fep-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #121212;
}

#header .fep-nav-toggle svg {
  display: block;
  fill: currentColor;
}

#header .fep-nav-collapse {
  margin-left: auto;
}

#header .fep-nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
}

@media (min-width: 992px) {

  #header .fep-nav {
    height: 80px;
    align-items: stretch;
  }
}

#header .fep-nav a {
  display: block;
  padding: 28px 15px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

#header .fep-nav a:hover {
  color: var(--fep-primary-hover);
}

#header .fep-nav .fep-login {
  box-sizing: border-box;
  padding: 20px 15px 28px 15px;
}

@media (min-width: 992px) {
  #header .fep-nav .fep-login {
    height: 80px;
  }
}

#header .fep-btn-login {
  display: inline-block;
  padding: 7.36px 16px;
  border: 1px solid var(--fep-primary);
  color: var(--fep-primary);
  background: transparent;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  border-radius: 0.2rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#header .fep-btn-login:hover {
  background: var(--fep-primary-hover);
  border-color: var(--fep-primary-hover);
  color: #fff;
}

@media (max-width: 991px) {
  #header .fep-nav-toggle {
    display: inline-flex;
  }

  #header .fep-nav-collapse {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0 1rem;
    z-index: 200;
  }

  #header .fep-nav-collapse.is-open {
    display: block;
  }

  #header .fep-nav {
    flex-direction: column;
    align-items: stretch;
  }

  #header .fep-nav a {
    padding: 0.85rem 1rem;
  }

  #header .fep-nav .fep-login {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
}

.hero {
  position: relative;
  margin-top: 6rem;
  padding: clamp(2rem, 5vw, 3rem) 0;
  overflow: hidden;
  background-color: var(--paper-muted);
  background-image: url("../assets/bck.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  max-width: 36rem;
  margin: 0 0 0.75rem;
  color: var(--accent);
  animation: rise 0.8s ease-out 0.08s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 14ch;
  color: var(--ink);
  animation: rise 0.8s ease-out 0.16s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  animation: rise 0.8s ease-out 0.2s both;
}

.hero-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta__item svg {
  flex-shrink: 0;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
  justify-content: center;
  animation: rise 0.8s ease-out 0.24s both;
}

.hero-cal {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.hero-cal svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.hero-cal:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}

.hero-cal:hover svg {
  opacity: 1;
}

.hero-cal:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.875rem;
  padding: 0.7rem 1.4rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--accent);
  border-width: 1px;
  border-color: rgba(156, 52, 4, 0.28);
}

.btn--ghost:hover:not(:disabled) {
  background: var(--accent-soft);
  color: #9c3404;
  border-color: rgba(156, 52, 4, 0.45);
}

.btn--small {
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
}

.btn--danger {
  background: transparent;
  color: var(--err);
  font-weight: 400;
  border-width: 1px;
  border-color: rgba(155, 28, 28, 0.28);
}

.btn--danger:hover:not(:disabled) {
  background: #fce8e8;
  border-color: rgba(155, 28, 28, 0.45);
}

.btn--dev {
  background: #15803d;
  color: #fff;
  border-color: #15803d;
}

.btn--dev:hover:not(:disabled) {
  background: #166534;
  border-color: #166534;
  color: #fff;
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--paper);
}

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

.section__head {
  max-width: none;
  margin-bottom: 2rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.section__head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.facts li {
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-right: none;
  box-shadow: none;
}

.facts strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.facts span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.facts .fact-footnote {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-soft);
}

.facts a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.facts a:hover {
  color: var(--accent);
}

.price-block {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.price-block > * > * {
  max-width: 75%;
}

.price-block > :last-child {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .price-block {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    gap: 2.5rem;
  }

  .price-block > :last-child {
    padding-top: 0;
    padding-left: 2.5rem;
    border-top: none;
    border-left: 1px solid var(--line);
    align-self: stretch;
  }
}

.price-hero {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.15;
  margin: 0;
}

.price-list {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.price-list li + li {
  margin-top: 0.5rem;
}

.price-footnote {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.price-includes-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.price-includes-title + .price-list {
  margin-top: 1rem;
}

.agenda {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.agenda > li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 480px) {
  .agenda > li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.agenda time {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.agenda h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.agenda h3 svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.72;
}

.agenda p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.agenda__group {
  margin-top: 0.55rem;
}

.agenda__heading {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
}

.agenda__modules {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  counter-reset: agenda-module;
}

.agenda__modules > li {
  display: list-item;
  grid-template-columns: none;
  padding: 0;
  border: 0;
  position: relative;
  counter-increment: agenda-module;
}

.agenda__module h4 {
  margin: 0;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  position: relative;
}

.agenda__module h4::before {
  content: counter(agenda-module) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 400;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.agenda__topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  counter-reset: agenda-topic;
}

.agenda__topics > li {
  display: list-item;
  grid-template-columns: none;
  padding: 0 0 0 1.5rem;
  border: 0;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  counter-increment: agenda-topic;
}

.agenda__topics > li::before {
  content: counter(agenda-topic) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.agenda__topics ul {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.agenda__topics ul li {
  display: list-item;
  grid-template-columns: none;
  padding: 0 0 0 0.95rem;
  border: 0;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.agenda__topics ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
  border-radius: 1px;
}

.lecturer {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 700px) {
  .lecturer {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
  }
}

.lecturer__photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  border: 0;
}

.lecturer h3 {
  margin: 0 0 0.25rem;
}

.lecturer__role {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.lecturer p {
  margin: 0;
  color: var(--ink-soft);
}

.venue {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .venue {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: start;
  }
}

.venue__info p {
  margin: 0;
}

.venue__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 1rem;
}

.venue__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
}

.venue__link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.venue__link svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.venue__map {
  position: relative;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
}

.venue__map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

@media (min-width: 768px) {
  .venue__map iframe {
    height: 320px;
  }
}

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.form-panel + .form-panel {
  margin-top: 2rem;
}

.form-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.form-panel > .form-intro {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}

.form-hint {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.capacity-note {
  margin: -0.75rem 0 1.5rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  color: var(--ink);
  background: #e6f5ee;
  border: 1px solid #b7dfcb;
  border-radius: var(--radius);
}

.capacity-note__available {
  color: var(--ok);
  font-weight: 600;
}

.capacity-note.is-full {
  background: #fce8e8;
  border-color: #f0bdbd;
  color: var(--ink);
}

.capacity-note__full {
  color: var(--err);
  font-weight: 600;
}

.form-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 1rem;
  padding-bottom: 0;
}

.form-section h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.field-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .field-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.error-text {
  color: var(--err);
  font-size: 0.875rem;
}

.field .error-text {
  display: none;
}

.field.is-invalid .error-text {
  display: block;
}

.field.is-invalid input {
  border-color: var(--err);
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #d0d0d0;
  border-radius: var(--radius);
}

input:focus {
  border-color: var(--accent);
}

.radio-row,
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

#early-performance-wrap:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.radio-row label,
.checkbox-row label {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 500;
  cursor: pointer;
}

.radio-row input,
.checkbox-row input {
  margin-top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.participant {
  padding: 1rem;
  background: var(--paper-muted);
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}

.participant__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.participant__title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.participant__head h4 {
  margin: 0;
  font-size: 1.25rem;
}

.participant__price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.participant-contact-check {
  margin-top: 1rem;
}

.participant-contact-check label {
  font-weight: 500;
  font-size: 0.95rem;
}

.promo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
}

.promo-row .field {
  flex: 1 1 12rem;
  max-width: 100%;
}

@media (min-width: 600px) {
  .promo-row .field {
    flex: 0 1 50%;
    max-width: 50%;
  }
}

.promo-status {
  margin-top: 0.65rem;
  font-size: 0.95rem;
}

.promo-status.is-ok {
  color: var(--ok);
}

.promo-status.is-err {
  color: var(--err);
}

.summary {
  background: var(--paper-muted);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
}

.summary h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.summary__meta {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.summary__meta .row span:last-child {
  text-align: right;
  max-width: 22rem;
}

.summary dl {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.summary .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}

.summary__participants {
  display: grid;
  gap: 0.35rem;
  margin: 0.35rem 0 0.65rem;
}

.summary__participants .row span:last-child {
  text-align: right;
}

.summary .row--total {
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.vat-note {
  font-size: 0.75em;
  font-weight: 400;
  color: var(--ink-soft);
  opacity: 0.85;
  white-space: nowrap;
}

.participant__price .vat-note {
  font-size: 0.8em;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.form-microcopy {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0;
}

.error-summary {
  display: none;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  background: #fce8e8;
  border-left: 4px solid var(--err);
}

.error-summary.is-visible {
  display: block;
}

.error-summary h3 {
  margin: 0 0 0.5rem;
  color: var(--err);
  font-size: 1.05rem;
}

.error-summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.status-region {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  display: none;
}

.status-region.is-visible {
  display: block;
}

.status-region.is-ok {
  background: #e6f5ee;
  border-left: 4px solid var(--ok);
}

.status-region.is-warn {
  background: #fff6e0;
  border-left: 4px solid #c48a00;
}

.status-region.is-err {
  background: #fce8e8;
  border-left: 4px solid var(--err);
}

.status-region--result {
  margin-top: 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-left-width: 4px;
}

.status-result-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 1rem;
  color: var(--ok);
}

.status-result-icon svg {
  display: block;
}

.status-result-icon--warn {
  color: #c48a00;
}

.status-region--result h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.status-region--result p {
  margin: 0 0 0.75rem;
}

.status-region--result ol {
  margin: 0 0 0.75rem;
  padding-left: 1.35rem;
}

.status-region--result ol li {
  margin: 0 0 0.35rem;
}

.status-region--result ol li:last-child {
  margin-bottom: 0;
}

.status-region--result p:last-child {
  margin-bottom: 0;
}

.status-region--result .btn {
  margin-top: 0.85rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#footer {
  background-color: #f5f5f5;
  color: #000;
  margin-top: 0;
  font-family: var(--fep-nav-font);
  font-size: 16px;
  line-height: 24px;
}

#footer .fep-container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#footer .fep-footer-grid {
  display: flex;
  flex-wrap: wrap;

  margin-top: -1.5rem;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

#footer .fep-footer-grid > * {
  box-sizing: border-box;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-top: 1.5rem;

  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  #footer .fep-footer-brand,
  #footer .fep-footer-col {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
}

@media (min-width: 1200px) {
  #footer .fep-footer-brand {
    width: 50%;
  }

  #footer .fep-footer-col {
    width: 25%;
  }
}

@media (max-width: 991px) {
  #footer .fep-footer-brand,
  #footer .fep-footer-col {
    flex: 0 0 auto;
    width: 100%;
  }
}

#footer .fep-footer-brand > a {
  display: block;
  line-height: 0;
}

#footer .fep-footer-brand img {
  display: block;
  height: 90px;
  width: auto;
}

#footer .fep-footer-copy {
  margin: 1.5rem 0;
  font-size: 14px;
  line-height: 21px;
}

#footer .fep-footer-copy p {
  margin: 0;
}

#footer .fep-fb {

  display: inline;
  text-decoration: none;
}

#footer .fep-fb img {
  display: inline;
  height: 48px;
  width: auto;
  vertical-align: middle;
}

#footer .fep-footer-col-title {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

#footer .fep-footer-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

#footer .fep-footer-list li {
  margin: 0 0 0.5rem;
  line-height: 24px;
}

#footer a {
  color: #121212;
  text-decoration: none;
}

#footer .fep-footer-list a {
  font-size: 16px;
  line-height: 24px;
}

#footer a:hover {
  color: var(--fep-primary-hover);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.buyer-company,
.buyer-person {
  display: none;
}

.buyer-company.is-active,
.buyer-person.is-active {
  display: block;
}

.legal-page {
  padding: 2rem 0 4rem;
  border-bottom: 1px solid var(--line);
}

.legal-page h1 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
}

.legal-page .meta {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 2rem 0 0.65rem;
}

.legal-page h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-page ul,
.legal-page ol {
  padding-left: 2rem;
}

.legal-page ol ol {
  margin: 0.35rem 0 0.15rem;
  padding-left: 1.35rem;
  list-style-type: lower-alpha;
}

.legal-page li + li {
  margin-top: 0.35rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.modal {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  max-width: min(48rem, calc(100vw - 2rem));
  max-height: min(90vh, 48rem);
  width: 100%;
  color: var(--ink);
  background: transparent;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.modal::backdrop {
  background: rgba(26, 26, 26, 0.55);
}

.modal__panel {
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 40rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-muted);
  flex-shrink: 0;
}

.modal__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink);
}

.modal__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin: -0.25rem -0.35rem 0 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover,
.modal__close:focus-visible {
  color: var(--ink);
  background: var(--paper-deep);
}

.modal__body {
  padding: 1.25rem 1.35rem 1.5rem;
  overflow: auto;
  font-size: 0.98rem;
  line-height: 1.55;
}

.modal__body .meta {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.modal__body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 1.5rem 0 0.65rem;
}

.modal__body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 1.15rem 0 0.5rem;
}

.modal__body h3:first-of-type {
  margin-top: 0;
}

.modal__body p {
  margin: 0 0 0.75rem;
}

.modal__body ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.modal__body ol ol {
  margin: 0.35rem 0 0.15rem;
  padding-left: 1.15rem;
  list-style-type: lower-alpha;
}

.modal__body li + li {
  margin-top: 0.35rem;
}

.modal__body a {
  text-underline-offset: 2px;
}
