:root {
  color-scheme: light;
  --paper: #fbf0d9;
  --paper-deep: #f3e5c7;
  --paper-card: #fff3dc;
  --paper-frame: #f8e7c4;
  --paper-shadow: #e8d4af;
  --ink: #20352c;
  --ink-soft: #41544a;
  --green: #2d5947;
  --green-dark: #214435;
  --green-light: #edeedc;
  --coral: #944a3c;
  --coral-light: #f3e0d8;
  --line: #dbcaab;
  --heading: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
}

h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

[id] { scroll-margin-block-start: 1rem; }

.shell {
  width: min(100% - 5rem, 72rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset: .5rem auto auto .5rem;
  padding: .6rem 1rem;
  transform: translateY(calc(-100% - 1rem));
  background: var(--paper);
  color: var(--green-dark);
}

.skip-link:focus { transform: none; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: #f6e8cb;
}

.header-layout, .footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 4.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font: 700 1.4rem/1.1 var(--heading);
  white-space: nowrap;
}

.speech-mark {
  position: relative;
  display: block;
  flex: none;
  width: 2rem;
  height: 1.85rem;
}

.speech-mark span {
  position: absolute;
  display: block;
  width: 1.28rem;
  height: .93rem;
  border: 1.5px solid var(--green-dark);
  border-radius: .36rem;
  background: var(--green-light);
}

.speech-mark span::after {
  position: absolute;
  bottom: -.21rem;
  width: .32rem;
  height: .32rem;
  content: "";
  border: inherit;
  border-top: 0;
  border-left: 0;
  background: inherit;
  transform: rotate(45deg);
}

.speech-mark span:first-child { inset: .12rem auto auto 0; }
.speech-mark span:first-child::after { left: .22rem; }
.speech-mark span:last-child {
  inset: auto 0 .22rem auto;
  background: var(--coral-light);
}
.speech-mark span:last-child::after { right: .22rem; }

nav {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 3vw, 2rem);
}

.header-actions {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(.5rem, 1.6vw, 1.25rem);
}

.header-actions > nav { min-width: 0; }
.language-switch {
  flex: none;
  gap: .12rem;
  padding: .18rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
}

.language-switch a {
  display: grid;
  min-width: 1.85rem;
  min-height: 2rem;
  padding: .15rem .25rem;
  place-items: center;
  border-radius: .26rem;
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
}

.language-switch a:hover { background: var(--paper); }
.language-switch a[aria-current] { background: var(--green); color: white; }

.nav-link {
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: .22em;
}

.nav-link:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .64rem 1.32rem;
  border: 1px solid transparent;
  border-radius: .46rem;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 .15rem 0 var(--green-dark);
}

.button-primary:hover { background: var(--green-dark); }

.button-outline {
  min-height: 2.65rem;
  padding-inline: .92rem;
  border-color: var(--green);
  color: var(--green-dark);
  font-size: .9rem;
}

.button-outline:hover { background: var(--green-light); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.4rem, 2.5vw, 2rem) clamp(2.2rem, 4.5vw, 4.75rem);
  padding-block: clamp(1.8rem, 3.5vw, 3.25rem) clamp(2.5rem, 5vw, 4.5rem);
}

.hero-presenter {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(.8rem, 2vw, 1.4rem);
}

.hero-presenter img {
  flex: none;
  width: clamp(6.75rem, 10.25vw, 9.25rem);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: .65rem;
}

.hero-presenter-title {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-presenter-title strong {
  display: block;
  margin-top: .15rem;
  color: var(--green-dark);
  font: 600 clamp(1.65rem, 4.5vw, 2.4rem)/1.1 var(--heading);
  white-space: nowrap;
}

h1, h2, h3 { font-family: var(--heading); }

h1 {
  font-size: clamp(2.9rem, 5.2vw, 4.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.042em;
  text-wrap: balance;
}

h1 em {
  display: block;
  color: var(--coral);
  font-weight: inherit;
}

.hero-lead {
  max-width: 27rem;
  margin-block: 1.45rem 1.72rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-art {
  min-width: 0;
  padding: clamp(.42rem, 1vw, .65rem);
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--paper-frame);
  box-shadow: 0 .45rem 1.25rem rgb(87 57 25 / .09);
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: .35rem;
}

.comparison {
  padding-block: clamp(3rem, 6.2vw, 5.5rem);
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

.section-intro { margin-bottom: 1.9rem; }

.section-intro p {
  max-width: 46rem;
  margin-top: .75rem;
  color: var(--ink-soft);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 500;
  line-height: 1.09;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1.47fr) minmax(0, 1fr);
  align-items: stretch;
  gap: .85rem;
}

.pair + .pair { margin-top: .85rem; }

.problem, .solution {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: .65rem;
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  background: var(--paper-card);
}

.problem-art {
  min-width: 0;
  padding: .7rem;
}

.problem-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: .38rem;
}

.problem-copy { padding: 1.2rem 1.5rem 1.22rem .48rem; }

.solution {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem clamp(1.25rem, 3vw, 2.35rem);
  border-color: #d1d6ba;
  background: var(--green-light);
}

.marker {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .57rem;
  font-size: .875rem;
  font-weight: 700;
}

.marker span {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  font-size: .8rem;
  line-height: 1;
}

.marker-problem { color: var(--coral); }
.marker-problem span { background: var(--coral-light); }
.marker-solution { color: var(--green-dark); }
.marker-solution span { background: #dbe8d6; }

h3 {
  font-size: clamp(1.28rem, 2.15vw, 1.7rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.022em;
  text-wrap: pretty;
}

.problem h3 ~ p,
.solution h3 ~ p,
.step-list h3 + p {
  margin-top: .57rem;
  color: var(--ink-soft);
}

.steps { padding-block: clamp(3.2rem, 6vw, 5.5rem); }

.event-flow {
  padding-block: clamp(2.6rem, 4.8vw, 4rem);
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

.event-requirements {
  max-width: 46rem;
  margin-top: .75rem;
  color: var(--ink-soft);
}

.event-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.65rem;
}

.event-stage {
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--paper-card);
}

.event-stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: .38rem;
}

.event-stage p {
  margin-top: .57rem;
  color: var(--ink-soft);
}

.event-booking {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
  padding: clamp(1rem, 2.4vw, 1.55rem);
  border: 1px solid #d1d6ba;
  border-radius: .65rem;
  background: var(--green-light);
}

.event-price { color: var(--ink-soft); }
.event-price strong {
  display: block;
  color: var(--green-dark);
  font: 500 1.65rem/1.2 var(--heading);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin: 1.8rem 0 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.step-list li {
  position: relative;
  min-width: 0;
  padding-top: 3.35rem;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.step-list li::before {
  position: absolute;
  top: .7rem;
  left: 0;
  display: grid;
  width: 1.95rem;
  height: 1.95rem;
  place-items: center;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  content: counter(step);
  font: 700 .95rem/1 var(--heading);
}

.registration {
  padding-block: clamp(2.8rem, 5.8vw, 5rem);
  background: var(--green-dark);
  color: var(--paper);
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 2rem clamp(2rem, 7vw, 7rem);
}

.registration-copy { padding-top: .65rem; }

.registration-copy h2 { font-size: clamp(2.55rem, 5vw, 4.5rem); }

.registration-copy p {
  max-width: 24rem;
  margin-top: 1rem;
  color: #e3ebe2;
  font-size: clamp(1.02rem, 1.8vw, 1.23rem);
}

.registration-card {
  min-width: 0;
  padding: clamp(1.35rem, 3.2vw, 2rem);
  border-radius: .65rem;
  background: var(--paper-card);
  color: var(--ink);
}

.registration-choices {
  display: grid;
  gap: .85rem;
}

.registration-card p {
  margin-block: .4rem .8rem;
  color: var(--ink-soft);
}

.signup {
  max-width: 59rem;
  padding-block: clamp(2.4rem, 6vw, 5rem);
}

.signup-intro p {
  max-width: 36rem;
  margin-top: .8rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.signup-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  max-width: 30rem;
  margin-block: 1.4rem 1.7rem;
}

.signup-paths a {
  display: grid;
  min-height: 3rem;
  place-items: center;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--paper-card);
  color: var(--green-dark);
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.signup-paths a:hover { border-color: var(--green-dark); }
.signup-paths a[aria-current] {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--paper);
}

.signup-panel {
  padding: clamp(1.05rem, 4vw, 2.45rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--paper-card);
}

.signup-panel + .signup-panel { margin-top: 1.3rem; }
.signup-panel[hidden] + .signup-panel { margin-top: 0; }
.signup-panel > p:not(.signup-status) {
  max-width: 42rem;
  margin-top: .7rem;
  color: var(--ink-soft);
}

.signup-form {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.35rem;
}

.signup-form[hidden] { display: none; }
.signup-form > .button { justify-self: start; font-family: inherit; }
.signup-form > .button:disabled { cursor: default; opacity: .68; }

.signup-fieldset,
.signup-option-group {
  min-width: 0;
  margin: 0;
}

.signup-fieldset {
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.signup-fieldset > legend {
  padding: 0 .45rem 0 0;
  font: 500 1.38rem/1.2 var(--heading);
}

.signup-fields,
.signup-interests {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1rem;
}

.signup-field {
  display: grid;
  align-content: start;
  gap: .3rem;
  min-width: 0;
}

.signup-field > span { font-weight: 650; }
.signup-field small,
.signup-check small {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 400;
}

.signup-field > span > small { margin-left: .28rem; }
.signup-field-wide { grid-column: 1 / -1; }
.signup-field :is(input, select, textarea) {
  width: 100%;
  min-height: 2.8rem;
  padding: .55rem .65rem;
  border: 1px solid #aa9b80;
  border-radius: .35rem;
  background: #fffcf4;
  color: var(--ink);
  font: inherit;
}

.signup-field textarea { resize: vertical; }
.signup-field input::file-selector-button {
  margin-right: .55rem;
  padding: .35rem .5rem;
  border: 1px solid var(--green);
  border-radius: .25rem;
  background: var(--green-light);
  color: var(--green-dark);
  font: inherit;
  cursor: pointer;
}

.signup-hint {
  margin-block: .35rem .7rem;
  color: var(--ink-soft);
  font-size: .94rem;
}

.signup-options,
.signup-consents {
  display: grid;
  gap: .55rem;
}

.signup-check {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  align-items: start;
  gap: .65rem;
  padding-block: .24rem;
  cursor: pointer;
}

.signup-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin: .22rem 0 0;
  accent-color: var(--green);
}

.signup-check small { display: block; }
.signup-photo-choice { margin-top: .6rem; }
.signup-photo-choice[hidden] { display: none; }
.signup-social { margin-top: .95rem; }

.signup-networks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: .55rem;
}

.signup-network {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: #fffcf4;
}

.signup-network summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.85rem;
  padding: .5rem .72rem;
  color: var(--green-dark);
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.signup-network summary::-webkit-details-marker { display: none; }
.signup-network summary::after {
  width: .43rem;
  height: .43rem;
  margin-inline: auto .18rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(-45deg);
}

.signup-network[open] summary::after { transform: rotate(45deg); }
.signup-network summary svg { flex: 0 0 1.35rem; width: 1.35rem; height: 1.35rem; }
.signup-network .signup-field { padding: .2rem .72rem .72rem; }

.signup-option-group {
  padding: .65rem .8rem .85rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
}

.signup-option-group > legend {
  padding-inline: .2rem;
  font-weight: 650;
}

.signup-option-group > .signup-field,
.signup-connections { margin-top: .85rem; }

.signup-consents {
  padding: .9rem 1rem;
  border-radius: .4rem;
  background: var(--paper-deep);
}

.signup-consents p { color: var(--ink-soft); }
.signup-consents a { text-underline-offset: .15em; }

.signup-message,
.signup-status:not(:empty) {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: var(--paper-deep);
}

.signup-status[data-state="error"] { background: var(--coral-light); }
.signup-status[data-state="success"] {
  background: var(--green-light);
  color: var(--green-dark);
}

.site-footer { color: var(--ink-soft); }
.footer-layout .brand { color: var(--ink); }

@media (max-width: 61rem) {
  .problem { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .problem-copy { padding-right: 1rem; }
}

@media (max-width: 52rem) {
  .shell { width: min(100% - 3rem, 72rem); }
  .hero { column-gap: 1.55rem; }
  h1 { font-size: clamp(2.4rem, 6vw, 3.75rem); }
  .problem { grid-template-columns: minmax(0, 1fr); align-content: center; }
  .problem-art { padding: .6rem .65rem 0; }
  .problem-copy { padding: .8rem 1.2rem 1.2rem; }
  .solution { padding: 1.2rem; }
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
  .shell { width: min(100% - 2rem, 32rem); }
  .header-layout, .footer-layout { min-height: 4.2rem; }
  .site-header .brand { font-size: 1.2rem; gap: .45rem; }
  .nav-link { display: none; }
  .header-actions > .nav-link { display: inline; }
  .header-actions .button { min-width: 0; }
  .header-layout { gap: .55rem; }
  .button-outline { min-height: 2.55rem; padding-inline: .66rem; font-size: .85rem; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.45rem;
    padding-block: 1.6rem 2.45rem;
  }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(2.45rem, 8.9vw, 4.1rem); }
  .hero-lead { margin: 1rem auto 1.25rem; }
  .section-intro { margin-bottom: 1.3rem; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pair + .pair { margin-top: 1.15rem; }
  .problem {
    grid-template-columns: minmax(0, 1fr);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .problem-art { width: min(100%, 22rem); margin-inline: auto; }
  .problem-copy, .solution { padding: .92rem 1rem 1.05rem; }
  .solution {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .step-list { grid-template-columns: minmax(0, 1fr); gap: .95rem; }
  .step-list li { padding: .85rem 0 .25rem 2.65rem; }
  .step-list li::before { top: .8rem; }
  .event-stages { grid-template-columns: minmax(0, 1fr); }
  .registration-layout { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; }
  .registration-copy { padding-top: 0; }
  .signup-fields, .signup-interests, .signup-networks { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 22rem) {
  .header-layout { gap: .45rem; }
  .site-header .brand { font-size: 1.03rem; }
  .site-header .speech-mark { display: none; }
  .site-header .button-outline { padding-inline: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
