* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-page);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: calc(var(--space-unit) * 2);
  line-height: 1.6;
}

a {
  color: var(--accent-teal-light);
  text-underline-offset: calc(var(--space-unit) / 2);
}

a:hover {
  color: var(--text-primary);
}

.site-shell {
  width: min(calc(var(--space-unit) * 118), calc(100% - var(--space-unit) * 4));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: calc(var(--space-unit) * 10);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  gap: var(--space-unit);
  align-items: center;
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: calc(var(--space-unit) * 3);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: calc(var(--space-unit) * 4);
  height: calc(var(--space-unit) * 3);
  overflow: visible;
}

.brand-mark__teal {
  color: var(--accent-teal);
}

.brand-mark__gold {
  color: var(--accent-gold);
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(calc(var(--space-unit) * 35), 0.72fr);
  gap: calc(var(--space-unit) * 8);
  align-items: center;
  min-height: calc(100vh - var(--space-unit) * 10);
  padding: calc(var(--space-unit) * 10) 0;
}

.main-grid--single {
  grid-template-columns: minmax(0, calc(var(--space-unit) * 80));
  justify-content: center;
}

.eyebrow {
  margin: 0 0 calc(var(--space-unit) * 2);
  color: var(--accent-teal-light);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.5);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

h1 {
  max-width: calc(var(--space-unit) * 80);
  margin: 0;
  font-size: clamp(calc(var(--space-unit) * 5), 7vw, calc(var(--space-unit) * 8));
  line-height: 0.98;
}

h2 {
  margin: 0 0 calc(var(--space-unit) * 2);
  font-size: calc(var(--space-unit) * 3.5);
  line-height: 1.12;
}

.lead {
  max-width: calc(var(--space-unit) * 65);
  margin: calc(var(--space-unit) * 3) 0 0;
  color: var(--text-secondary);
  font-size: calc(var(--space-unit) * 2.25);
}

.accent {
  color: var(--accent-gold);
}

.card {
  padding: calc(var(--space-unit) * 4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  background: var(--bg-surface);
  box-shadow: none;
}

.card p:first-child,
.card h1:first-child,
.card h2:first-child {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.form-stack {
  display: grid;
  gap: calc(var(--space-unit) * 2.5);
}

.field-label {
  display: grid;
  gap: var(--space-unit);
  color: var(--text-secondary);
  font-weight: 600;
}

input[type="email"] {
  width: 100%;
  min-height: calc(var(--space-unit) * 6);
  padding: 0 calc(var(--space-unit) * 1.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  outline: none;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font: inherit;
}

input[type="email"]:focus {
  border-color: var(--accent-teal-light);
  box-shadow: 0 0 0 calc(var(--space-unit) / 2) var(--accent-teal-bg);
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: calc(var(--space-unit) * 1.25);
  align-items: start;
  color: var(--text-secondary);
  font-size: calc(var(--space-unit) * 1.75);
}

.consent input {
  width: calc(var(--space-unit) * 2.25);
  height: calc(var(--space-unit) * 2.25);
  margin: calc(var(--space-unit) / 2) 0 0;
  accent-color: var(--accent-teal);
}

button {
  min-height: calc(var(--space-unit) * 6);
  padding: 0 calc(var(--space-unit) * 2.5);
  border: 1px solid var(--accent-teal);
  border-radius: var(--radius-m);
  background: var(--accent-teal);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: calc(var(--space-unit) * 2);
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  border-color: var(--accent-teal-light);
  background: var(--accent-teal-light);
  color: var(--bg-page);
}

.status-mark {
  display: inline-grid;
  width: calc(var(--space-unit) * 6);
  height: calc(var(--space-unit) * 6);
  margin-bottom: calc(var(--space-unit) * 3);
  place-items: center;
  border: 1px solid var(--accent-teal);
  border-radius: 50%;
  background: var(--accent-teal-bg);
  color: var(--accent-teal-light);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 2.5);
}

.privacy-copy {
  color: var(--text-secondary);
}

.privacy-copy h1 {
  font-size: clamp(calc(var(--space-unit) * 4), 7vw, calc(var(--space-unit) * 6));
}

.site-footer {
  padding: calc(var(--space-unit) * 3) 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.5);
}

@media (max-width: 720px) {
  .main-grid {
    grid-template-columns: 1fr;
    gap: calc(var(--space-unit) * 5);
    align-content: center;
    padding: calc(var(--space-unit) * 6) 0;
  }

  .main-grid--single {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(calc(var(--space-unit) * 4.5), 14vw, calc(var(--space-unit) * 6));
  }
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(calc(var(--space-unit) * 35), 0.72fr);
  gap: calc(var(--space-unit) * 8);
  align-items: center;
  padding: calc(var(--space-unit) * 10) 0;
}

.catalog-hero__copy h1 {
  font-size: clamp(calc(var(--space-unit) * 5), 7vw, calc(var(--space-unit) * 8));
}

.catalog-hero__register {
  align-self: stretch;
}

.balance-card {
  display: grid;
  padding: calc(var(--space-unit) * 4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  background: var(--bg-surface);
  color: var(--text-secondary);
  text-align: center;
}

.balance-card__label {
  color: var(--accent-teal-light);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.balance-card strong {
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: calc(var(--space-unit) * 9);
  line-height: 1.1;
}

.catalog-section {
  padding: calc(var(--space-unit) * 4) 0 calc(var(--space-unit) * 12);
}

.section-heading {
  display: flex;
  gap: calc(var(--space-unit) * 4);
  align-items: end;
  justify-content: space-between;
  margin-bottom: calc(var(--space-unit) * 4);
}

.section-heading h2 {
  margin-bottom: 0;
}

.fiction-notice {
  display: inline-block;
  max-width: calc(var(--space-unit) * 55);
  margin: 0;
  padding: var(--space-unit) calc(var(--space-unit) * 1.5);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-l) * 2);
  background: var(--bg-surface-2);
  color: var(--text-secondary);
  font-size: calc(var(--space-unit) * 1.5);
}

.organisation-grid {
  display: grid;
  gap: calc(var(--space-unit) * 3);
}

.organisation-card {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  background: var(--bg-surface);
}

.organisation-card__header {
  padding: calc(var(--space-unit) * 3);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface-2);
}

.organisation-card__header h3 {
  margin: 0 0 var(--space-unit);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: calc(var(--space-unit) * 4);
}

.organisation-card__header > p:last-child {
  margin: 0;
  color: var(--text-secondary);
}

.organisation-card__type,
.demo-card__type {
  margin: 0 0 var(--space-unit);
  color: var(--accent-teal-light);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-list {
  display: grid;
  padding: calc(var(--space-unit) * 3);
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-unit) calc(var(--space-unit) * 4);
  align-items: center;
}

.demo-card h4 {
  grid-column: 1;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: calc(var(--space-unit) * 3);
}

.demo-card > p:not(.demo-card__type) {
  grid-column: 1;
  margin: 0;
  color: var(--text-secondary);
}

.demo-card .demo-start,
.demo-card .button-link {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.button-link {
  display: inline-flex;
  min-height: calc(var(--space-unit) * 6);
  padding: 0 calc(var(--space-unit) * 2.5);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-teal);
  border-radius: var(--radius-m);
  background: var(--accent-teal);
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}

.button-link:hover {
  border-color: var(--accent-teal-light);
  background: var(--accent-teal-light);
  color: var(--bg-page);
}

button:disabled {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: not-allowed;
}

.form-status,
.conversation-error {
  min-height: calc(var(--space-unit) * 3);
  color: var(--accent-gold);
}

.conversation-shell {
  width: min(calc(var(--space-unit) * 92), 100%);
  margin: 0 auto;
  padding: calc(var(--space-unit) * 6) 0 calc(var(--space-unit) * 10);
}

.conversation-heading {
  display: flex;
  gap: calc(var(--space-unit) * 3);
  align-items: end;
  justify-content: space-between;
  margin-bottom: calc(var(--space-unit) * 4);
}

.conversation-heading h1 {
  font-size: clamp(calc(var(--space-unit) * 4), 7vw, calc(var(--space-unit) * 6));
  line-height: 1.05;
}

.role-card {
  margin-bottom: calc(var(--space-unit) * 2);
  padding: calc(var(--space-unit) * 2.5);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-m);
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.role-card p {
  margin: 0;
}

.role-card__label {
  margin-bottom: var(--space-unit) !important;
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.4);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-teal-light);
  font-size: calc(var(--space-unit) * 1.5);
  text-decoration: underline;
}

.text-button:hover {
  border: 0;
  background: transparent;
  color: var(--text-primary);
}

.conversation-progress {
  display: flex;
  justify-content: space-between;
  margin: calc(var(--space-unit) * 2) 0;
  padding-bottom: var(--space-unit);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.5);
}

.phase-progress {
  display: grid;
  margin: calc(var(--space-unit) * 3) 0 calc(var(--space-unit) * 2);
  gap: calc(var(--space-unit) * 1.5);
  justify-items: center;
}

.phase-progress[hidden],
.phase-transition[hidden] {
  display: none;
}

.phase-progress__label,
.phase-transition__label {
  margin: 0;
  color: var(--text-secondary);
  font-size: calc(var(--space-unit) * 1.6);
  text-align: center;
}

.phase-dots {
  display: flex;
  gap: calc(var(--space-unit) * 2.25);
  align-items: center;
  justify-content: center;
}

.phase-dots__dot {
  width: calc(var(--space-unit) * 1.8);
  height: calc(var(--space-unit) * 1.8);
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  transition: border-color 300ms ease, background-color 300ms ease, transform 300ms ease;
}

.phase-dots__dot.is-complete {
  border-color: var(--accent-teal);
  background: var(--accent-teal);
}

.phase-dots__dot.is-current {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  transform: scale(1.18);
}

.phase-transition {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  padding: clamp(24px, 6vw, 80px);
  place-items: center;
  background: color-mix(in srgb, var(--bg-page) 96%, transparent);
  opacity: 0;
  transition: opacity 650ms ease;
}

.phase-transition.is-visible {
  opacity: 1;
}

.phase-transition.is-leaving {
  pointer-events: none;
}

.phase-transition__content {
  display: grid;
  width: min(100%, 960px);
  gap: clamp(20px, 4vw, 40px);
  justify-items: center;
  text-align: center;
  transform: translateY(12px);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.phase-transition.is-visible .phase-transition__content {
  transform: translateY(0);
}

.phase-dots--jumbo .phase-dots__dot {
  width: clamp(14px, 2vw, 20px);
  height: clamp(14px, 2vw, 20px);
}

.phase-transition__message {
  max-width: 18ch;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.message-list {
  display: flex;
  min-height: calc(var(--space-unit) * 24);
  padding: calc(var(--space-unit) * 2) 0;
  flex-direction: column;
  gap: calc(var(--space-unit) * 1.5);
}

.message {
  max-width: 82%;
  margin: 0;
  padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message--assistant {
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-s);
  background: var(--bg-surface);
  color: var(--text-primary);
}

.message--user {
  align-self: flex-end;
  border-color: var(--accent-teal);
  border-bottom-right-radius: var(--radius-s);
  background: var(--accent-teal-bg);
  color: var(--text-primary);
}

.typing-indicator {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.5);
}

.recap-loader {
  min-height: calc(var(--space-unit) * 24);
  padding: calc(var(--space-unit) * 5) calc(var(--space-unit) * 2);
  place-items: center;
  align-content: center;
  gap: calc(var(--space-unit) * 2);
  color: var(--text-muted);
  text-align: center;
}

.recap-loader:not([hidden]) {
  display: grid;
}

.recap-loader p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  text-wrap: balance;
}

.recap-loader__dots {
  display: flex;
  gap: var(--space-unit);
}

.recap-loader__dots span {
  width: calc(var(--space-unit) * 1.5);
  height: calc(var(--space-unit) * 1.5);
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-surface);
  animation: recap-pulse 1.2s ease-in-out infinite;
}

.recap-loader__dots span:nth-child(2) {
  animation-delay: 150ms;
}

.recap-loader__dots span:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes recap-pulse {
  0%, 60%, 100% { transform: scale(0.8); opacity: 0.45; }
  30% { transform: scale(1); opacity: 1; background: var(--accent-gold); }
}

.message-composer {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: var(--space-unit);
  padding: calc(var(--space-unit) * 2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  background: var(--bg-surface);
}

/* The hidden attribute needs an explicit guard: the class selector's
   display would otherwise outrank the browser default for [hidden]. */
.message-composer[hidden] {
  display: none;
}

.message-composer textarea {
  width: 100%;
  min-height: calc(var(--space-unit) * 10);
  resize: vertical;
  padding: calc(var(--space-unit) * 1.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  outline: none;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font: inherit;
}

.message-composer textarea:focus {
  border-color: var(--accent-teal-light);
  box-shadow: 0 0 0 calc(var(--space-unit) / 2) var(--accent-teal-bg);
}

.message-composer__actions {
  display: flex;
  gap: calc(var(--space-unit) * 2);
  align-items: center;
  justify-content: flex-end;
}

.virtual-respondent {
  margin: 0 0 calc(var(--space-unit) * 2.5);
  overflow: hidden;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-l);
  background: var(--bg-surface);
}

.virtual-respondent__header {
  display: flex;
  min-height: calc(var(--space-unit) * 8);
  padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);
  gap: calc(var(--space-unit) * 2);
  align-items: center;
  justify-content: space-between;
}

.virtual-respondent__header > span:first-child {
  display: grid;
  gap: 2px;
}

.virtual-respondent__header strong {
  color: var(--text-primary);
  font-size: calc(var(--space-unit) * 2.1);
}

.virtual-respondent__header small,
.virtual-respondent__intro,
.virtual-respondent__status {
  color: var(--text-muted);
}

.virtual-respondent__badge {
  padding: calc(var(--space-unit) * 0.5) var(--space-unit);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-pill);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.2);
  letter-spacing: 0.08em;
}

.virtual-respondent__body {
  padding: calc(var(--space-unit) * 2.5);
  border-top: 1px solid var(--border);
  background: var(--bg-surface-2);
}

.virtual-respondent__intro {
  max-width: 72ch;
  margin: 0 0 calc(var(--space-unit) * 2.5);
  font-size: calc(var(--space-unit) * 1.6);
}

.virtual-respondent__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: var(--space-unit);
  align-items: end;
}

.virtual-respondent__details {
  margin-top: calc(var(--space-unit) * 1.5);
  border-top: 1px solid var(--border);
}

.virtual-respondent__details > summary {
  display: flex;
  min-height: calc(var(--space-unit) * 5.5);
  gap: var(--space-unit);
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.virtual-respondent__details > summary::-webkit-details-marker {
  display: none;
}

.virtual-respondent__details-action::after {
  color: var(--accent-teal-light);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.35);
  content: "Näytä";
}

.virtual-respondent__details[open] .virtual-respondent__details-action::after {
  content: "Piilota";
}

.virtual-respondent__profile-editor {
  padding-top: var(--space-unit);
}

.virtual-respondent__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--space-unit) * 1.5);
}

.virtual-respondent__wide {
  grid-column: 1 / -1;
}

.virtual-respondent input,
.virtual-respondent select,
.virtual-respondent textarea {
  width: 100%;
  min-height: calc(var(--space-unit) * 5.5);
  padding: var(--space-unit) calc(var(--space-unit) * 1.25);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  outline: none;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font: inherit;
}

.virtual-respondent textarea {
  min-height: auto;
  resize: vertical;
}

.virtual-respondent input:focus,
.virtual-respondent select:focus,
.virtual-respondent textarea:focus {
  border-color: var(--accent-teal-light);
  box-shadow: 0 0 0 calc(var(--space-unit) / 2) var(--accent-teal-bg);
}

.virtual-respondent__profile-actions {
  display: flex;
  margin-top: calc(var(--space-unit) * 2.5);
  gap: var(--space-unit);
  align-items: center;
  justify-content: flex-end;
}

.virtual-respondent__status {
  min-height: 0;
  margin: var(--space-unit) 0 0;
  font-size: calc(var(--space-unit) * 1.45);
}

.secondary-button {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.secondary-button:hover {
  border-color: var(--accent-teal-light);
  background: var(--accent-teal-bg);
  color: var(--text-primary);
}

.character-count {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: calc(var(--space-unit) * 1.4);
}

.screen-report {
  margin-top: calc(var(--space-unit) * 6);
  padding: calc(var(--space-unit) * 4);
  border: 1px solid var(--border-strong);
  border-top: calc(var(--space-unit) / 2) solid var(--accent-teal);
  border-radius: var(--radius-l);
  background: var(--bg-surface);
}

.screen-report h2 {
  font-size: calc(var(--space-unit) * 4);
}

.screen-report__note {
  margin-bottom: calc(var(--space-unit) * 4);
  padding: calc(var(--space-unit) * 2);
  border-left: calc(var(--space-unit) / 2) solid var(--accent-gold);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  background: var(--bg-surface-2);
  color: var(--text-secondary);
}

.screen-report__content {
  color: var(--text-secondary);
}

.chain-phase-report + .chain-phase-report {
  margin-top: calc(var(--space-unit) * 5);
  padding-top: calc(var(--space-unit) * 4);
  border-top: 1px solid var(--border);
}

.screen-report__content h1,
.screen-report__content h2,
.screen-report__content h3 {
  color: var(--text-primary);
  font-family: var(--font-display);
}

.screen-report__content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.screen-report__content th,
.screen-report__content td {
  padding: var(--space-unit);
  border: 1px solid var(--border);
  text-align: left;
}

.screen-report__content blockquote {
  margin-left: 0;
  padding-left: calc(var(--space-unit) * 2);
  border-left: calc(var(--space-unit) / 2) solid var(--accent-teal);
}

.report-email-status {
  margin: var(--space-5) 0 0;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent-teal) 9%, white);
  color: var(--ink-strong);
  font-size: 0.94rem;
}

.screen-report__footer {
  display: flex;
  gap: calc(var(--space-unit) * 2);
  align-items: center;
  justify-content: space-between;
  margin-top: calc(var(--space-unit) * 4);
  padding-top: calc(var(--space-unit) * 3);
  border-top: 1px solid var(--border);
}

.screen-report__footer p {
  margin: 0;
}

.conversation-state {
  margin-top: calc(var(--space-unit) * 4);
}

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

@media (max-width: 720px) {
  .catalog-hero {
    grid-template-columns: 1fr;
    gap: calc(var(--space-unit) * 5);
    padding: calc(var(--space-unit) * 6) 0;
  }

  .section-heading,
  .conversation-heading,
  .screen-report__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-card {
    grid-template-columns: 1fr;
  }

  .demo-card .demo-start,
  .demo-card .button-link {
    grid-column: 1;
    grid-row: auto;
    margin-top: calc(var(--space-unit) * 2);
  }

  .conversation-shell {
    padding-top: calc(var(--space-unit) * 4);
  }

  .message {
    max-width: 92%;
  }

  .message-composer {
    margin: 0 calc(var(--space-unit) * -1);
    border-radius: var(--radius-m) var(--radius-m) 0 0;
  }

  .virtual-respondent__fields {
    grid-template-columns: 1fr;
  }

  .virtual-respondent__wide {
    grid-column: auto;
  }

  .virtual-respondent__toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .virtual-respondent__toolbar #virtual-generate {
    grid-column: 1 / -1;
  }

  .virtual-respondent__profile-actions button {
    width: 100%;
  }

  .screen-report {
    padding: calc(var(--space-unit) * 2.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phase-transition,
  .phase-transition__content,
  .phase-dots__dot {
    transition-duration: 0.01ms;
  }

  .recap-loader__dots span {
    animation: none;
  }
}

/* Yhteinen Kanavana-kehys ja palvelukohtaiset demovalikot. */
.site-shell {
  width: min(1080px, calc(100% - 40px));
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 0;
  background: var(--paper);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: block;
  width: 240px;
}

.logo-link img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.main-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--petrol-700);
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  min-height: 0;
  padding: 12px;
  border: 0;
  background: transparent;
}

.menu-button:hover {
  border: 0;
  background: transparent;
}

.menu-button > span[aria-hidden] {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.demo-selector-hero {
  max-width: 850px;
  padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 7vw, 72px);
}

.demo-selector-hero h1,
.service-hero h1 {
  max-width: 12ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.trial-balance--inline {
  display: inline-block;
  margin: 32px 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--ink-muted);
}

.service-selector {
  display: grid;
  padding-bottom: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-choice {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: clamp(28px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  flex-direction: column;
  background: var(--surface);
}

.service-choice::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: var(--petrol-700);
  content: "";
}

.service-choice--kysely::before {
  background: var(--gold);
}

.service-choice__number {
  position: absolute;
  top: 12px;
  right: 26px;
  color: var(--sand);
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
}

.service-choice .eyebrow,
.service-choice h2,
.service-choice > p:not(.eyebrow),
.service-choice .button-link {
  position: relative;
}

.service-choice h2 {
  max-width: 12ch;
  margin: 8px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  text-wrap: balance;
}

.service-choice > p:not(.eyebrow) {
  max-width: 42ch;
  margin: 0 0 32px;
  color: var(--ink-muted);
}

.service-choice .button-link {
  width: fit-content;
  margin-top: auto;
}

.selector-note {
  max-width: 70ch;
  margin: 0 0 clamp(64px, 10vw, 112px);
  color: var(--ink-muted);
}

.service-hero {
  display: grid;
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: end;
}

.service-hero .lead {
  max-width: 62ch;
}

.service-steps {
  display: grid;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  background: var(--surface);
}

.service-steps span {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  place-items: center;
  background: var(--petrol-700);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.service-steps p {
  margin: 0;
  color: var(--ink-muted);
}

.service-tabs {
  display: flex;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  gap: 4px;
  background: var(--surface);
}

.service-tabs a {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.service-tabs a[aria-current="page"] {
  background: var(--petrol-700);
  color: #fff;
}

.organisation-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.organisation-card--choice {
  display: flex;
  min-height: 550px;
  flex-direction: column;
}

.organisation-card--choice .organisation-card__header {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.organisation-monogram {
  position: absolute;
  top: 10px;
  right: 18px;
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
}

.organisation-card--choice .organisation-card__header > *:not(.organisation-monogram) {
  position: relative;
}

.organisation-card--choice .organisation-card__header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.organisation-card--choice .demo-card {
  display: flex;
  padding: 28px;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
}

.organisation-card--choice .demo-card h4 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.08;
}

.organisation-card--choice .demo-card > p:not(.demo-card__type) {
  margin: 0 0 28px;
  color: var(--ink-muted);
}

.organisation-card--choice .demo-card .button-link,
.organisation-card--choice .demo-card button {
  width: 100%;
  margin-top: auto;
}

.registration-section {
  display: grid;
  margin-bottom: clamp(72px, 10vw, 120px);
  padding: clamp(32px, 6vw, 64px);
  border-radius: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 7vw, 80px);
  align-items: center;
  background: var(--sand);
}

.builder-access-notice {
  display: grid;
  margin: clamp(32px, 5vw, 64px) 0 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--hairline);
  border-left: 6px solid var(--gold);
  border-radius: 18px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--surface);
}

.builder-access-notice .status-mark {
  margin: 0;
}

.builder-access-notice h1 {
  margin: 4px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.builder-access-notice p:not(.eyebrow) {
  max-width: 62ch;
  color: var(--ink-muted);
}

.builder-access-notice .button-link {
  margin-top: 10px;
}

.registration-section__copy h2 {
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
  text-wrap: balance;
}

.registration-section__copy > p:last-child {
  max-width: 52ch;
  color: var(--ink-muted);
}

.registration-section .card {
  margin: 0;
}

.organisation-card--choice .demo-card .job-posting-link {
  width: fit-content;
  min-height: auto;
  margin: 0 0 24px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--petrol-900);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}

.organisation-card--choice .demo-card .job-posting-link:hover {
  border-color: var(--gold-ink);
  background: transparent;
  color: var(--gold-ink);
}

.job-dialog {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: min(92vh, 980px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(28, 24, 21, 0.28);
}

.job-dialog::backdrop {
  background: rgba(28, 24, 21, 0.68);
  backdrop-filter: blur(3px);
}

.job-dialog__frame {
  max-height: min(92vh, 980px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.job-dialog__topbar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: 64px;
  padding: 10px 18px 10px 24px;
  border-bottom: 1px solid var(--hairline);
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
}

.job-dialog__topbar p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.job-dialog__close {
  min-height: 40px;
  padding: 0 16px;
  border-color: var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
}

.job-dialog__close:hover {
  border-color: var(--petrol-700);
  background: var(--surface);
  color: var(--petrol-900);
}

.language-dialog {
  width: min(860px, calc(100% - 32px));
  max-width: none;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  background: var(--bg-page);
  color: var(--text-primary);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  transition: opacity 220ms ease, transform 220ms ease;
}

.language-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  transition: background 220ms ease, backdrop-filter 220ms ease;
}

.language-dialog.is-leaving {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

.language-dialog.is-leaving::backdrop {
  background: transparent;
  backdrop-filter: blur(0);
}

.language-dialog__frame {
  display: grid;
  min-height: min(560px, 86vh);
  max-height: 92vh;
  padding: clamp(24px, 5vw, 48px);
  overflow-y: auto;
  align-content: start;
}

.language-dialog__header {
  display: flex;
  gap: calc(var(--space-unit) * 2);
  align-items: start;
  justify-content: space-between;
}

.language-dialog__header .eyebrow {
  margin: 0;
}

.language-dialog__close {
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-color: var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.language-dialog__setup {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
}

.language-start-form {
  display: grid;
  gap: clamp(24px, 4vw, 32px);
}

.language-select {
  position: relative;
}

.language-select select {
  width: 100%;
  min-height: 78px;
  padding: 18px 64px 14px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  appearance: none;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  text-align: start;
  cursor: pointer;
}

.language-select select:hover,
.language-select select:focus-visible {
  border-color: var(--accent-teal-light);
  box-shadow: 0 0 0 3px var(--accent-teal-bg);
}

.language-select__arrow {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 0;
  height: 0;
  border-top: 14px solid var(--text-primary);
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  pointer-events: none;
  transform: translateY(-35%);
}

.language-select select[dir="rtl"] {
  padding-right: 20px;
  padding-left: 64px;
}

.language-select:has(select[dir="rtl"]) .language-select__arrow {
  right: auto;
  left: 24px;
}

@supports (appearance: base-select) {
  .language-select select,
  .language-select select::picker(select) {
    appearance: base-select;
  }

  .language-select select::picker(select) {
    margin-block: 8px;
    padding: 8px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-m);
    background: var(--bg-surface);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  }

  .language-select select option {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: calc(var(--radius-m) - 4px);
    align-content: center;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.05rem;
  }

  .language-select select option:hover,
  .language-select select option:focus-visible,
  .language-select select option:checked {
    background: var(--accent-teal-bg);
    color: var(--text-primary);
  }

  .language-select__arrow {
    display: none;
  }
}

.language-dlp-notice {
  padding: calc(var(--space-unit) * 2.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.language-dlp-notice h3,
.language-dlp-notice p {
  margin-top: 0;
}

.language-dlp-notice p:last-child {
  margin-bottom: 0;
}

.language-start-form__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.language-consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--text-primary);
  cursor: pointer;
}

.language-consent input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--accent-teal);
}

.language-consent:has(input:disabled) {
  color: var(--text-muted);
  cursor: default;
}

.language-start {
  min-width: 154px;
}

.language-start-error {
  margin: -12px 0 0;
  color: var(--error-text, #9b2c2c);
  font-weight: 600;
}

.language-dialog__loading[hidden],
.language-dialog__setup[hidden] {
  display: none;
}

.language-dialog__loading {
  display: grid;
  min-height: min(464px, 74vh);
  place-content: center;
  justify-items: center;
  gap: 24px;
  color: var(--text-primary);
  text-align: center;
}

.language-dialog__loading p {
  max-width: 28ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 600;
}

.language-loading-mark {
  position: relative;
  width: 72px;
  height: 72px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  animation: language-loading-orbit 1.8s linear infinite;
}

.language-loading-mark::after {
  position: absolute;
  inset: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  content: "";
}

.language-loading-mark span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-teal);
}

.language-loading-mark span:nth-child(1) {
  top: -6px;
  left: 29px;
}

.language-loading-mark span:nth-child(2) {
  right: 2px;
  bottom: 6px;
  background: var(--accent-gold);
}

.language-loading-mark span:nth-child(3) {
  bottom: 6px;
  left: 2px;
  background: var(--text-primary);
}

@keyframes language-loading-orbit {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .language-dialog,
  .language-dialog::backdrop {
    transition-duration: 0.01ms;
  }

  .language-loading-mark {
    animation: none;
  }
}

@media (max-width: 620px) {
  .language-dialog__frame {
    min-height: 0;
    padding: 24px 20px;
  }

  .language-dialog__header {
    align-items: center;
  }

  .language-select select {
    min-height: 68px;
    padding-left: 16px;
    font-size: 1.08rem;
  }

  .language-start-form__actions {
    grid-template-columns: 1fr;
  }

  .language-start {
    width: 100%;
  }
}

.job-posting {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 44px 72px;
}

.job-posting__notice {
  display: grid;
  padding: 16px 18px;
  border: 1px solid var(--ink);
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
}

.job-posting__notice > span {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--ink);
}

.job-posting__notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.job-posting__hero {
  padding: 56px 0 52px;
  border-bottom: 1px solid var(--hairline);
}

.job-posting__brand {
  display: flex;
  margin-bottom: 28px;
  gap: 12px;
  align-items: center;
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.job-posting__brand span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--petrol-900);
  color: #fff;
}

.job-posting__hero h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 5.8rem);
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.job-posting__tags {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 8px;
}

.job-posting__tags span {
  padding: 7px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.job-posting__intro {
  margin: 36px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  line-height: 1.45;
}

.job-posting__section {
  margin-top: 52px;
}

.job-posting__section h3,
.job-posting__apply h3 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.job-posting__section > p,
.job-posting__quote p,
.job-posting__columns p,
.job-posting__apply > p {
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.job-posting__section > p {
  margin: 0 0 18px;
}

.job-posting__quote {
  padding-left: 26px;
  border-left: 3px solid var(--petrol-700);
}

.job-posting__quote p {
  margin: 0 0 18px;
}

.job-posting__quote p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

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

.job-posting__columns > div {
  padding: 26px;
  border: 1px solid var(--hairline);
  background: var(--surface);
}

.job-posting__columns h4 {
  margin: 0 0 12px;
  color: var(--petrol-900);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-posting__columns p {
  margin: 0;
  font-size: 0.96rem;
}

.job-posting__list {
  margin: 0 0 24px;
  padding: 0;
  border-bottom: 1px solid var(--hairline);
  list-style: none;
}

.job-posting__list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-muted);
}

.job-posting__list li::before {
  position: absolute;
  top: 12px;
  left: 2px;
  color: var(--gold-ink);
  content: "—";
}

.job-posting__apply {
  margin-top: 60px;
  padding: clamp(28px, 6vw, 52px);
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}

.job-posting__apply .eyebrow {
  color: var(--gold);
}

.job-posting__apply h3 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
}

.job-posting__apply > p {
  color: #d8d3ce;
}

.job-posting__apply .button-link,
.job-posting__apply .demo-start {
  width: fit-content;
  margin-top: 18px;
}

.site-footer {
  padding: 0;
  border: 0;
  background: #171310;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  padding-block: clamp(72px, 9vw, 112px) 36px;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(64px, 10vw, 140px);
}

.footer-logo {
  display: block;
  width: 240px;
  text-decoration: none;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-brand blockquote {
  margin: 54px 0 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form h2 {
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label > span {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--gold);
  border-radius: var(--radius-ctrl);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form input {
  min-height: 52px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form button {
  width: 160px;
  margin-top: 8px;
}

.business-info {
  margin: 28px 0 0;
  grid-column: 1 / -1;
  color: #d8d3ce;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .organisation-grid--three {
    grid-template-columns: 1fr;
  }

  .organisation-card--choice {
    min-height: 0;
  }

  .organisation-card--choice .organisation-card__header {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 32px, 1080px);
  }

  .header-inner {
    min-height: 68px;
  }

  .logo-link {
    width: min(240px, calc(100% - 56px));
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 14px 16px 20px;
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 48px;
    padding: 12px 4px;
  }

  .main-nav a[aria-current="page"]::after {
    display: none;
  }

  .service-selector,
  .service-hero,
  .registration-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-choice {
    min-height: 340px;
  }

  .service-hero {
    gap: 32px;
  }

  .service-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-tabs a {
    display: grid;
    padding-inline: 10px;
    place-items: center;
    text-align: center;
  }

  .registration-section {
    padding: 28px 20px;
  }

  .job-posting {
    padding: 20px 20px 48px;
  }

  .job-dialog__topbar {
    min-height: 58px;
    padding-inline: 16px 10px;
  }

  .job-posting__hero {
    padding: 42px 0 40px;
  }

  .job-posting__columns {
    grid-template-columns: 1fr;
  }

  .job-posting__apply {
    margin-right: -8px;
    margin-left: -8px;
  }

  .footer-grid {
    gap: 68px;
  }

  .footer-brand blockquote {
    max-width: 12ch;
    margin-inline: auto;
  }

  .business-info {
    grid-column: auto;
  }
}
