:root {
  color-scheme: light;
  --tnz-navy: #210f47;
  --tnz-blue: #1057fc;
  --tnz-grey: #f7f7f7;
  --tnz-grey-2: #f3f2f5;
  --tnz-body: #4b566f;
  --tnz-line: #dedce3;
  --tnz-white: #ffffff;
  --tnz-green: #117a4b;
  --tnz-danger: #a62d2d;
  --tnz-amber: #ffc107;
  --content-width: 1140px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--tnz-white);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--tnz-white);
  color: var(--tnz-navy);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--tnz-blue); }

.site-header {
  border-bottom: 1px solid #e9e9e9;
  background: var(--tnz-white);
}

.header-inner,
.footer-inner,
main {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--tnz-navy);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
}

.brand span {
  padding-left: 20px;
  border-left: 1px solid var(--tnz-line);
}

.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tnz-green);
  font-size: 0.875rem;
  font-weight: 700;
}

.secure-label > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgb(17 122 75 / 12%);
}

main { padding: clamp(64px, 9vw, 104px) 0 96px; }

.hero {
  max-width: 820px;
  margin-bottom: clamp(38px, 6vw, 56px);
}

.eyebrow,
.overline {
  margin: 0 0 14px;
  color: var(--tnz-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--tnz-body);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.onboarding-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  overflow: hidden;
  border: 5px solid var(--tnz-navy);
  border-radius: 2rem;
  background: var(--tnz-white);
}

.signup-panel,
.details-panel { padding: clamp(32px, 5vw, 56px); }

.details-panel {
  border-left: 1px solid var(--tnz-line);
  background: var(--tnz-grey);
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.step-number,
.steps > li > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--tnz-blue);
  color: var(--tnz-white);
  font-weight: 800;
}

.step-number {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.customer-summary {
  margin: 32px 0 20px;
  padding: 18px 20px;
  border-left: 4px solid var(--tnz-blue);
  background: var(--tnz-grey-2);
}

.customer-summary span {
  display: block;
  margin-bottom: 5px;
  color: var(--tnz-body);
  font-size: 0.82rem;
}

.customer-summary strong { font-size: 1.05rem; }

.status {
  margin: 30px 0 20px;
  padding: 16px 18px;
  border: 1px solid var(--tnz-line);
  border-radius: 6px;
  background: var(--tnz-grey);
  color: var(--tnz-body);
  line-height: 1.5;
}

.status-ready {
  border-color: #bfd8ff;
  background: #eef4ff;
  color: #173f88;
}

.status-error {
  border-color: #f0c5c5;
  background: #fff2f2;
  color: var(--tnz-danger);
}

.status-success {
  border-color: #b9ddcc;
  background: #edf8f2;
  color: var(--tnz-green);
  font-weight: 700;
}

.primary-button {
  width: 100%;
  min-height: 54px;
  padding: 13px 24px;
  border: 2px solid var(--tnz-blue);
  border-radius: 0;
  background: var(--tnz-blue);
  color: var(--tnz-white);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.primary-button span {
  margin-left: 8px;
  font-size: 1.2em;
}

.primary-button:hover:not(:disabled) {
  background: transparent;
  color: var(--tnz-blue);
}

.primary-button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--tnz-amber);
  outline-offset: 3px;
}

.primary-button:disabled {
  border-color: #70788b;
  background: #70788b;
  cursor: not-allowed;
  opacity: 0.72;
}

.fine-print {
  margin: 18px 0 0;
  color: var(--tnz-body);
  font-size: 0.84rem;
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--tnz-line);
}

.steps li:first-child { padding-top: 0; }

.steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.steps > li > span {
  width: 34px;
  height: 34px;
  font-size: 0.82rem;
}

.steps strong {
  display: block;
  margin: 4px 0 5px;
}

.steps p {
  margin-bottom: 0;
  color: var(--tnz-body);
  line-height: 1.5;
}

.reminder-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid #ead58b;
  border-left: 5px solid var(--tnz-amber);
  border-radius: 1.2rem;
  background: #fff9e8;
}

.callout-icon {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--tnz-navy);
  color: var(--tnz-white);
  font-weight: 800;
}

.reminder-callout p {
  margin: 3px 0 0;
  color: var(--tnz-navy);
  line-height: 1.55;
}

.permission-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 52px;
  margin-top: 28px;
  padding: clamp(30px, 5vw, 46px);
  border-radius: 1.2rem;
  background: var(--tnz-grey);
}

.permission-note > p {
  margin: 0;
  color: var(--tnz-body);
  line-height: 1.7;
}

footer {
  background: var(--tnz-navy);
  color: var(--tnz-white);
}

.footer-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.9rem;
}

footer a {
  color: var(--tnz-white);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-button {
  border: 2px solid var(--tnz-white);
  padding: 11px 18px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.footer-button-secondary:hover {
  background: var(--tnz-white);
  color: var(--tnz-navy);
}

.footer-button-primary {
  border-color: var(--tnz-blue);
  background: var(--tnz-blue);
}

.footer-button-primary:hover {
  border-color: var(--tnz-white);
  background: var(--tnz-white);
  color: var(--tnz-navy);
}

@media (max-width: 820px) {
  .onboarding-card,
  .permission-note { grid-template-columns: 1fr; }

  .details-panel {
    border-top: 1px solid var(--tnz-line);
    border-left: 0;
  }

  .permission-note { gap: 20px; }
}

@media (max-width: 560px) {
  .header-inner,
  .footer-inner,
  main { width: min(calc(100% - 28px), var(--content-width)); }

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

  .brand { gap: 0; }

  .brand img { width: 124px; }

  .brand span { display: none; }

  .secure-label { font-size: 0; }

  .secure-label::after {
    content: "Secure";
    font-size: 0.8rem;
  }

  main { padding: 48px 0 64px; }

  .onboarding-card {
    border-width: 4px;
    border-radius: 1.35rem;
  }

  .signup-panel,
  .details-panel { padding: 28px 24px; }

  .panel-heading { align-items: flex-start; }

  .reminder-callout { padding: 20px; }

  .permission-note { padding: 28px 24px; }

  .footer-inner {
    min-height: auto;
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions { width: 100%; }

  .footer-button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
