@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/geist-latin.woff2") format("woff2");
}

:root {
  --paper: #ffffff;
  --mist: #f6f6f7;
  --rule: #e6e6e9;
  --rule-strong: #8e9199;
  --ink: #0d0e10;
  --ink-2: #4c5057;
  --ink-3: #62666e;
  --red: #d71920;
  --red-deep: #b5131a;
  --red-tint: #fdf1f1;
  --error: #b3121a;

  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* Organiser lockup */
.top { border-bottom: 1px solid var(--rule); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.hosts { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.hosts li { display: flex; align-items: center; }
.hosts li + li { margin-left: 28px; padding-left: 28px; border-left: 1px solid var(--rule); }
.hosts__cyberdome { height: 38px; width: auto; }
.hosts__splunk { height: 38px; width: auto; }
.hosts__redington { height: 28px; width: auto; }
.top__label { font-size: 0.875rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; }

/* Hero: facts on the left, registration on the right */
.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 88px);
  grid-template-areas: "lead card" "about card"; grid-template-rows: auto 1fr;
  align-items: start;
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 9vw, 112px);
}
h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em;
  max-width: 13ch;
}
.hero__sub {
  margin-top: 20px; max-width: 30ch;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-2);
}
.hero__lead { grid-area: lead; }
.hero__about { grid-area: about; margin-top: 48px; max-width: 58ch; }
.hero__about h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.hero__about p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; }
.hero__about p + p { margin-top: 12px; }

.facts {
  display: grid; grid-template-columns: 1fr; margin: 36px 0 0; max-width: 560px;
  border: 1px solid var(--rule); border-radius: var(--radius);
}
.facts__item { display: grid; grid-template-columns: 6.5rem 1fr; align-items: baseline; padding: 14px 18px; }
.facts__item + .facts__item { border-top: 1px solid var(--rule); }
.facts dt {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-size: 0.8125rem; font-weight: 500; color: var(--ink-3);
}
.facts dt svg { width: 16px; height: 16px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.facts dd { margin: 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.facts dd span { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.975rem; }

/* Registration card */
.card {
  grid-area: card; position: sticky; top: 24px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 1px 2px rgba(13, 14, 16, 0.04), 0 18px 48px -24px rgba(13, 14, 16, 0.18);
  scroll-margin-top: 16px;
}
.card__head h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.card__head p { margin-top: 6px; color: var(--ink-2); font-size: 0.95rem; }
.card__closes { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--ink-3); }

.form { display: grid; gap: 16px; margin-top: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: 7px;
  font: 400 1rem/1 var(--font);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:hover { border-color: #6e727a; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13, 14, 16, 0.08); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 18, 26, 0.12); }
.field__error { margin-top: 6px; color: var(--error); font-size: 0.85rem; line-height: 1.4; }
.field__error:empty { display: none; }
.field .check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0; font-weight: 400; cursor: pointer; }
.check.check--form { margin: 4px 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.check--form a { color: var(--ink); }
.field input[type="checkbox"] { width: 22px; height: 22px; padding: 0; flex: none; margin: 1px 0 0; accent-color: var(--red); }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.verify:empty { display: none; }
.verify--preview {
  display: flex; align-items: center; min-height: 58px; padding: 10px 14px;
  background: var(--mist); border: 1px dashed #c4c4ca; border-radius: 7px;
  font-size: 0.85rem; color: var(--ink-3);
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 52px; margin-top: 4px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--red); color: #fff;
  font: 600 1rem/1 var(--font); letter-spacing: -0.005em;
  transition: background 0.15s;
}
.button:hover { background: var(--red-deep); }
.button[disabled] { cursor: not-allowed; background: #e3666b; }
.button[aria-busy="true"] { cursor: progress; }
.button__busy {
  display: none; width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
.button[aria-busy="true"] .button__busy { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__status { font-size: 0.925rem; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
.form__privacy { font-size: 0.8rem; line-height: 1.55; color: var(--ink-3); }

.outcome { margin-top: 24px; outline: none; }
.outcome h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.outcome p { margin-top: 10px; color: var(--ink-2); font-size: 0.975rem; }
.outcome__help { font-size: 0.9rem !important; }
.outcome__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 50%; background: var(--red-tint);
}
.outcome__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.outcome:not([hidden]) .outcome__icon { animation: pop 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* Secondary pages: privacy notice and unsubscribe */
.top__back { font-size: 0.925rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.top__back:hover { color: var(--ink); }
.doc { max-width: 720px; padding-block: clamp(40px, 7vw, 80px); }
.doc h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; max-width: none; }
.doc__meta { margin-top: 12px; color: var(--ink-3); font-size: 0.925rem; }
.doc h2 { margin: 36px 0 10px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); font-size: 1.0125rem; line-height: 1.7; }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.doc p + p, .doc ul + p { margin-top: 12px; }
.doc strong { color: var(--ink); font-weight: 600; }
.fill { background: #fff1c2; color: #7a4b00; padding: 0 3px; border-radius: 3px; }
.narrow { max-width: 520px; padding-block: clamp(40px, 9vw, 96px); }
.card--solo { position: static; }
.card__title { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em; max-width: none; }
.card__text { margin-top: 8px; color: var(--ink-2); }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0 20px; font-size: 1rem; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); }
.outcome h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.card--solo .outcome { margin-top: 0; }
.restore { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); }
.restore__text { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 10px; }
.button--quiet { background: var(--paper); color: var(--ink); border: 1px solid var(--rule-strong); }
.button--quiet:hover { background: var(--mist); }
.card__fallback { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.875rem; color: var(--ink-3); }

/* Key points, written as a "what we'll get into" list */
.points__title { margin-top: 32px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 30px; color: var(--ink); font-size: 1.0625rem; line-height: 1.5; }
.points li::before {
  content: ""; position: absolute; left: 2px; top: 0.2em; width: 16px; height: 16px;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 2v6.5a2 2 0 0 0 2 2h8%27/%3E%3Cpath d=%27M10 7.5l3 3-3 3%27/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 2v6.5a2 2 0 0 0 2 2h8%27/%3E%3Cpath d=%27M10 7.5l3 3-3 3%27/%3E%3C/svg%3E") center / contain no-repeat;
}
.points li.is-key { font-weight: 600; }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 28px 88px; font-size: 0.875rem; color: var(--ink-3);
}

/* Preview-only state switcher (absent when config.apiUrl is set) */
.preview-bar {
  position: fixed; right: 12px; top: 12px; z-index: 20;
  display: flex; flex-direction: column; gap: 2px; align-items: stretch; text-align: left; padding: 5px; border-radius: 9px;
  background: rgba(13, 14, 16, 0.92); color: #fff; font-size: 0.75rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}
.preview-bar button:not(.preview-bar__toggle) { display: none; }
.preview-bar.is-open button { display: block; }
.preview-bar__toggle { color: #ffb3b6 !important; font-weight: 600 !important; }
.preview-bar button {
  font: 500 0.75rem/1 var(--font); color: #fff; background: transparent; cursor: pointer; white-space: nowrap;
  border: 0; border-radius: 6px; padding: 7px 9px;
}
.preview-bar button:hover { background: rgba(255, 255, 255, 0.12); }

/* Phone register dock: hidden on wide screens and while the form is on screen */
.dock { display: none; }

/* Desktop: larger type and organiser marks */
@media (min-width: 901px) {
  body { font-size: 1.125rem; }
  .top__inner { padding-block: 28px; }
  .hosts li + li { margin-left: 40px; padding-left: 40px; }
  .hosts__cyberdome { height: 52px; }
  .hosts__splunk { height: 54px; }
  .hosts__redington { height: 40px; }
  .top__label { font-size: 1rem; }
  h1 { font-size: clamp(3.5rem, 5.4vw, 4.75rem); max-width: 14ch; }
  .hero__sub { font-size: 1.75rem; max-width: 28ch; }
  .facts dt { font-size: 0.95rem; }
  .facts dt svg { width: 18px; height: 18px; }
  .facts dd { font-size: 1.25rem; }
  .facts dd span { font-size: 1.1rem; }
  .hero__about h2 { font-size: 1.375rem; }
  .hero__about p, .points li { font-size: 1.1875rem; }
  .points__title { font-size: 1.25rem; }
  .points li::before { width: 18px; height: 18px; }
  .card__head h2 { font-size: 1.75rem; }
  .card__head p { font-size: 1.05rem; }
  .field label { font-size: 1rem; }
  .field input { height: 54px; font-size: 1.0625rem; }
  .button { height: 56px; font-size: 1.0625rem; }
  .form__privacy { font-size: 0.875rem; }
  .card__closes { font-size: 0.95rem; }
  .footer { font-size: 0.95rem; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "lead" "card" "about"; grid-template-rows: none; row-gap: 32px; }
  .hero__about { margin-top: 8px; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--rule);
    box-shadow: 0 -8px 24px -16px rgba(13, 14, 16, 0.25);
    text-decoration: none; color: var(--ink);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .dock.is-hidden { transform: translateY(110%); }
  .dock__when { font-size: 0.875rem; line-height: 1.3; color: var(--ink-2); white-space: nowrap; }
  .dock__when strong { color: var(--ink); font-weight: 600; }
  .dock__go {
    flex: none; display: inline-flex; align-items: center; height: 46px; padding: 0 20px;
    border-radius: 8px; background: var(--red); color: #fff; font-weight: 600;
  }
  .footer { padding-bottom: 104px; }
  .card { position: static; }
  .top__label { display: none; }
}

@media (max-width: 560px) {
  .hero { padding-top: 32px; padding-bottom: 48px; }
  h1 { font-size: 2.45rem; }
  .hero__sub { margin-top: 14px; font-size: 1.15rem; }
  .facts { margin-top: 28px; }
  .facts__item { grid-template-columns: 5.4rem 1fr; padding: 13px 14px; }
  .facts dd { font-size: 1rem; }
  .card { padding: 22px 18px; }
  .preview-bar { right: 8px; top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .top__inner { justify-content: center; padding-block: 18px; }
  .top__inner--doc { justify-content: space-between; }
  .hosts li + li { margin-left: 16px; padding-left: 16px; }
  .hosts__cyberdome { height: 28px; }
  .hosts__splunk { height: 27px; }
  .hosts__redington { height: 21px; }
  .field-row { grid-template-columns: 1fr; }
}

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