:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #666666;
  --paper: #ffffff;
  --panel: #ffffff;
  --line: #e5e5e5;
  --green: #1f6a4e;
  --green-dark: #123d31;
  --amber: #d99a2b;
  --red: #b84c35;
  --blue: #426f8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

main {
  min-height: 100vh;
}

.portal-shell,
.content-section,
.registration-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.portal-shell {
  padding: 24px 0 0;
}

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fffaf0;
  letter-spacing: 0;
}

.seat-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 14px;
  background: var(--panel);
}

.intro-panel,
.content-section {
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.intro-panel {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 6vw, 72px) 0;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-brand {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.92;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.lede {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.trust-line {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

.credibility-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.credibility-link:hover {
  text-decoration: underline;
}

.credibility-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 38px;
}

.stats-row div,
.agenda-list div,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.stats-row div {
  padding: 16px;
}

.stats-row span,
.agenda-list span,
.feature-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-row strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1rem, 2vw, 1.32rem);
}

.system-visual {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.system-card {
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: #ffffff;
}

.system-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 250, 240, 0.52);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.system-card strong {
  display: block;
  margin-top: 22px;
  font-size: 1.15rem;
}

.system-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.newspaper {
  background: var(--green-dark);
}

.brain {
  background: var(--blue);
}

.accountant {
  background: #7b5d2c;
}

.watchman {
  background: var(--red);
}

.connector {
  display: none;
}

.registration-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(24px, 4vw, 38px);
}

.panel-head {
  margin-bottom: 26px;
}

.panel-head h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.panel-head p:not(.eyebrow),
.form-note,
.payment-note,
.content-section p {
  color: var(--muted);
}

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

.field-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.86rem;
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
  transition: border-color 160ms ease, outline-color 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: #fff;
  outline: 3px solid rgba(31, 106, 78, 0.14);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-row span {
  min-width: 0;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

.error-message {
  display: block;
  min-height: 19px;
  margin-top: 4px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: background 160ms ease, opacity 160ms ease;
}

.primary-button {
  width: 100%;
  border: 0;
  background: var(--green-dark);
  color: #ffffff;
}

.primary-button:hover {
  background: var(--green);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.secondary-button {
  border: 1px solid rgba(18, 61, 49, 0.24);
  background: #ffffff;
  color: var(--green-dark);
  padding: 0 16px;
  text-decoration: none;
}

.form-note {
  margin: 13px 0 0;
  font-size: 0.86rem;
}

.submit-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.submit-status.error {
  color: var(--red);
}

.success-card {
  border: 1px solid rgba(31, 106, 78, 0.22);
  border-radius: 8px;
  background: rgba(31, 106, 78, 0.08);
  padding: 20px;
}

.success-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 1.18rem;
}

.success-card p {
  color: var(--muted);
}

.content-section {
  margin-bottom: 0;
  padding: clamp(28px, 5vw, 54px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

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

.feature-grid article {
  padding: 20px;
}

.feature-grid article span {
  color: var(--green);
}

.feature-grid article p {
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
}

.agenda-list {
  display: grid;
  gap: 14px;
}

.agenda-list div {
  padding: 22px;
}

.agenda-list strong {
  display: block;
  margin: 6px 0;
  font-size: 1.35rem;
}

.about-section p {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.registration-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: clamp(28px, 5vw, 54px) 0 64px;
}

.price-callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.price-callout strong,
.price-callout span {
  display: block;
}

.price-callout strong {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.18rem;
}

.price-callout span {
  color: var(--muted);
}

@media (max-width: 980px) {
  .split-section,
  .registration-wrap {
    grid-template-columns: 1fr;
  }

  .intro-panel {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  .portal-shell,
  .content-section,
  .registration-wrap {
    width: min(100% - 20px, 1180px);
  }

  .brand-strip,
  .stats-row,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .brand-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.7rem, 11vw, 3.25rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.08;
  }

  .panel-head h2 {
    font-size: clamp(1.8rem, 7.4vw, 2.08rem);
  }

  .system-visual,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .system-card {
    min-height: 116px;
  }
}

@media (max-width: 520px) {
  .portal-shell,
  .content-section,
  .registration-wrap {
    width: min(calc(100% - 20px), 355px);
    margin-left: 10px;
    margin-right: auto;
  }

  h1 {
    max-width: 100%;
    font-size: 2.7rem;
  }

  h2,
  .panel-head h2 {
    font-size: 2rem;
  }

  .trust-line,
  .lede,
  .content-section p,
  .form-note {
    font-size: 0.96rem;
  }
}
