@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* Flash messages (auth feedback, etc.) */
.flash-messages {
  max-width: 560px;
  margin: 18px auto 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flash-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid var(--idthw-border);
}
.flash-error {
  background: #fdecea;
  color: #8a1c1c;
  border-color: rgba(138, 28, 28, 0.35);
}

:root {
  --idthw-navy: #071f40;
  --idthw-navy-deep: #04172f;
  --idthw-navy-soft: #102b52;
  --idthw-gold: #c38b36;
  --idthw-gold-soft: #d9b77f;
  --idthw-gold-pale: #e4c998;
  --idthw-ivory: #f6f1e9;
  --idthw-ivory-light: #fbf7f0;
  --idthw-ink: #071f40;
  --idthw-muted: #5d6f8a;
  --idthw-border: rgba(195, 139, 54, 0.45);
  --idthw-border-strong: rgba(195, 139, 54, 0.72);
  --idthw-shadow: 0 18px 55px rgba(7, 31, 64, 0.08);
  --idthw-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --idthw-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--idthw-ivory);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--idthw-ink);
  font-family: var(--idthw-sans);
  background:
    radial-gradient(circle at 26% 17%, rgba(255, 255, 255, 0.78) 0, rgba(255, 255, 255, 0.28) 32%, transparent 56%),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.60) 0, rgba(255, 255, 255, 0.22) 34%, transparent 61%),
    linear-gradient(180deg, #fbf8f3 0%, var(--idthw-ivory) 100%);
}

body.idthw-page {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

/* --------------------------------------------------------------------------
   Shared header
   -------------------------------------------------------------------------- */
.site-header {
  flex: 0 0 auto;
  height: 80px;
  background:
    radial-gradient(circle at 18% 50%, rgba(18, 55, 98, 0.75) 0, rgba(7, 31, 64, 0.98) 38%, var(--idthw-navy-deep) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(195, 139, 54, 0.22);
  box-shadow: none;
}

.site-header__inner {
  width: min(1224px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-lockup__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  transform: translateY(-1px);
}

.brand-lockup__title {
  font-family: var(--idthw-serif);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.076em;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.brand-lockup__subtitle {
  font-family: var(--idthw-serif);
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.145em;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 80px;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--idthw-sans);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.13em;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease, opacity 160ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--idthw-gold-pale);
  outline: none;
}

.site-header__nav-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__cta {
  min-height: 38px;
  padding: 0 20px;
  font-size: 11px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   User menu (dropdown)
   -------------------------------------------------------------------------- */
.user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user-menu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(195, 139, 54, 0.52);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.user-menu__trigger:hover,
.user-menu__trigger:focus-visible {
  border-color: rgba(228, 201, 152, 0.78);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.user-menu__trigger[aria-expanded="true"] {
  border-color: rgba(228, 201, 152, 0.78);
  background: rgba(255, 255, 255, 0.05);
}

.user-menu__icon {
  display: block;
  width: 22px;
  height: 22px;
}

.user-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 6px;
  background: var(--idthw-ivory);
  border: 1px solid var(--idthw-border);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(7, 31, 64, 0.18);
  z-index: 100;
}

.user-menu__item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-family: var(--idthw-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--idthw-ink);
  background: none;
  border: none;
  border-radius: 3px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.user-menu__item:hover,
.user-menu__item:focus-visible {
  background: rgba(195, 139, 54, 0.10);
  outline: none;
}

.user-menu__item--logout {
  color: var(--idthw-gold);
  border-top: 1px solid var(--idthw-border);
  margin-top: 4px;
  padding-top: 12px;
  border-radius: 0 0 3px 3px;
}

.user-menu__item--logout:hover,
.user-menu__item--logout:focus-visible {
  color: var(--idthw-navy);
  background: rgba(195, 139, 54, 0.14);
}

.user-menu__dropdown form {
  margin: 0;
}

/* Nav-style trigger rendered with the open state (mirrors user-menu__trigger) */
.site-header__cta[aria-expanded="true"] {
  border-color: rgba(228, 201, 152, 0.78);
  background: rgba(255, 255, 255, 0.05);
}

/* Nested sub-items (e.g. module links grouped under "Modules") */
.user-menu__item--sub {
  padding-left: 28px;
  font-weight: 500;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.04em;
  color: rgba(7, 31, 64, 0.72);
}

.user-menu__item--sub:hover,
.user-menu__item--sub:focus-visible {
  color: var(--idthw-ink);
}

/* --------------------------------------------------------------------------
   Header/Footer utility classes
   -------------------------------------------------------------------------- */
.site-header--hidden {
  display: none;
}

.site-footer--hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   Common card patterns
   -------------------------------------------------------------------------- */
.card {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0.56) 58%, transparent 100%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(195, 139, 54, 0.26);
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(7, 31, 64, 0.09);
}

.card--light {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.78) 0, rgba(255, 255, 255, 0.28) 42%, transparent 70%),
    rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(195, 139, 54, 0.50);
  box-shadow: 0 19px 55px rgba(7, 31, 64, 0.08);
}

/* --------------------------------------------------------------------------
   Common button patterns
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--idthw-sans);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.10em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn--primary {
  color: #fff;
  background:
    linear-gradient(180deg, #082345 0%, #061a34 100%);
  border: 1px solid rgba(217, 183, 127, 0.25);
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(7, 31, 64, 0.18);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  border-color: rgba(217, 183, 127, 0.58);
  box-shadow: 0 16px 34px rgba(7, 31, 64, 0.24);
}

.btn--gold {
  color: #fff;
  background: linear-gradient(180deg, #d2aa5e 0%, #bc8833 100%);
  border: 1px solid rgba(228, 201, 152, 0.42);
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: linear-gradient(180deg, #ebca82, #d2a456);
}

.btn--outline {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(195, 139, 54, 0.52);
  border-radius: 3px;
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: rgba(228, 201, 152, 0.78);
  background: rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   Common main container pattern
   -------------------------------------------------------------------------- */
.page-main {
  flex: 1 0 auto;
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0.42) 32%, transparent 62%),
    linear-gradient(180deg, #fbf8f2 0%, #f5efe6 100%);
}

.page-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Signup page
   -------------------------------------------------------------------------- */
.signup-main {
  flex: 1 0 auto;
  padding: 26px 0 12px;
}

.signup-shell {
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 32px;
  align-items: stretch;
}

.ornate-panel {
  position: relative;
  background:
    radial-gradient(circle at 50% 5%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.24) 28%, transparent 55%),
    rgba(255, 255, 255, 0.18);
  border: 1px solid var(--idthw-border);
  box-shadow: var(--idthw-shadow);
}

.ornate-panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background:
    linear-gradient(var(--idthw-border-strong), var(--idthw-border-strong)) left top / 20px 1px no-repeat,
    linear-gradient(var(--idthw-border-strong), var(--idthw-border-strong)) left top / 1px 20px no-repeat,
    linear-gradient(var(--idthw-border-strong), var(--idthw-border-strong)) right top / 20px 1px no-repeat,
    linear-gradient(var(--idthw-border-strong), var(--idthw-border-strong)) right top / 1px 20px no-repeat,
    linear-gradient(var(--idthw-border-strong), var(--idthw-border-strong)) left bottom / 20px 1px no-repeat,
    linear-gradient(var(--idthw-border-strong), var(--idthw-border-strong)) left bottom / 1px 20px no-repeat,
    linear-gradient(var(--idthw-border-strong), var(--idthw-border-strong)) right bottom / 20px 1px no-repeat,
    linear-gradient(var(--idthw-border-strong), var(--idthw-border-strong)) right bottom / 1px 20px no-repeat;
}

.journey-panel {
  min-height: 790px;
  padding: 43px 34px 18px;
}

.form-panel {
  min-height: 790px;
  padding: 40px 52px 40px;
}

.panel-lock {
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--idthw-gold);
  background: var(--idthw-ivory-light);
  border: 1px solid var(--idthw-border-strong);
  border-radius: 999px;
  box-shadow: 0 0 0 12px var(--idthw-ivory), 0 10px 26px rgba(7, 31, 64, 0.07);
  transform: translateX(-50%);
}

.panel-lock::before,
.panel-lock::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--idthw-border-strong);
}

.panel-lock::before {
  right: calc(100% + 16px);
}

.panel-lock::after {
  left: calc(100% + 16px);
}

.panel-lock svg {
  width: 22px;
  height: 22px;
}

.journey-hero {
  max-width: 520px;
  margin: 0 auto 24px;
  text-align: center;
}

.journey-title {
  margin: 2px 0 20px;
  font-family: var(--idthw-serif);
  color: var(--idthw-navy);
  font-size: clamp(30px, 2.15vw, 34px);
  line-height: 0.94;
  letter-spacing: 0.035em;
  font-weight: 700;
  text-transform: uppercase;
}

.journey-title .gold {
  color: var(--idthw-gold);
}

.diamond-rule {
  position: relative;
  width: 56px;
  height: 14px;
  margin: 0 auto 12px;
}

.diamond-rule::before,
.diamond-rule::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--idthw-gold-soft);
}

.diamond-rule::before {
  left: 0;
}

.diamond-rule::after {
  right: 0;
}

.diamond-rule span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--idthw-gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.journey-intro {
  margin: 0;
  color: var(--idthw-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.32;
}

.feature-list {
  margin: 30px 0 0;
  padding: 0 8px;
  list-style: none;
}

.feature-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 8px 0 9px;
  border-top: 1px solid rgba(195, 139, 54, 0.38);
}

.feature-item:last-child {
  margin-top: 4px;
  padding: 9px 12px 8px;
  border: 1px solid rgba(195, 139, 54, 0.50);
  border-radius: 3px;
}

.feature-icon {
  width: 42px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--idthw-gold);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.55;
}

.feature-copy h3 {
  margin: 0 0 2px;
  font-family: var(--idthw-serif);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--idthw-navy);
}

.feature-copy p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.22;
  color: #0b203c;
}

.feature-copy em {
  color: #243954;
  font-size: 12px;
}

.signup-card {
  position: relative;
  z-index: 1;
  max-width: 532px;
  margin: 0 auto;
}

.signup-heading {
  margin: 2px 0 8px;
  text-align: center;
  font-family: var(--idthw-serif);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--idthw-navy);
}

.signup-step {
  margin: 0 0 9px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.2;
  font-style: italic;
  color: var(--idthw-muted);
}

.signup-form {
  margin-top: 10px;
}

.form-field {
  margin: 0 0 25px;
}

.form-label {
  display: block;
  margin: 0 0 9px;
  color: var(--idthw-navy);
  font-family: var(--idthw-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.form-control-wrap {
  position: relative;
}

.form-control {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(195, 139, 54, 0.38);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--idthw-navy);
  font-family: var(--idthw-sans);
  font-size: 15px;
  line-height: 1;
  padding: 0 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-control::placeholder {
  color: #607292;
  opacity: 1;
}

.form-control:focus {
  border-color: var(--idthw-gold);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(195, 139, 54, 0.13);
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #526782;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle-icon {
  width: 18px;
  height: 18px;
  /* SVGs use hardcoded #fff; brightness(0.25) converts white to solid
     #404040 dark gray without opacity, so both icons match regardless
     of stroke thickness differences between the two SVG files. */
  filter: brightness(0.25);
  transition: filter 160ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  outline: none;
}

.password-toggle:hover .password-toggle-icon,
.password-toggle:focus-visible .password-toggle-icon {
  filter: sepia(1) saturate(2.5) hue-rotate(5deg) brightness(0.85);
}

.password-toggle.is-revealed .password-toggle-icon {
  filter: sepia(1) saturate(2.5) hue-rotate(5deg) brightness(0.85);
}

.checkbox-list {
  margin: 9px 0 28px;
  display: grid;
  gap: 15px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: #536781;
  font-size: 12px;
  line-height: 1.55;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  appearance: none;
  border: 1px solid rgba(195, 139, 54, 0.35);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.30);
  cursor: pointer;
}

.checkbox-row input:checked {
  background:
    linear-gradient(135deg, transparent 0 38%, #fff 38% 48%, transparent 48%),
    linear-gradient(45deg, transparent 0 42%, #fff 42% 54%, transparent 54%),
    var(--idthw-gold);
  border-color: var(--idthw-gold);
}

.checkbox-row a {
  color: #a46f26;
}

.primary-cta {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 20px;
  color: #fff;
  background:
    linear-gradient(180deg, #082449 0%, var(--idthw-navy-deep) 100%);
  border: 0;
  border-radius: 2px;
  box-shadow: 0 12px 24px rgba(7, 31, 64, 0.18);
  font-family: var(--idthw-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(7, 31, 64, 0.22);
  outline: none;
}

.primary-cta svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Login page
   -------------------------------------------------------------------------- */
.login-main {
  flex: 1 0 auto;
  padding: 26px 0 12px;
}

.login-shell {
  width: min(520px, calc(100% - 48px));
  margin: 0 auto;
}

.login-shell .form-panel {
  min-height: 0;
  padding: 44px 48px 36px;
}

.login-card {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

.login-heading {
  margin: 2px 0 10px;
  font-family: var(--idthw-serif);
  color: var(--idthw-navy);
  font-size: clamp(26px, 2vw, 30px);
  line-height: 1;
  letter-spacing: 0.035em;
  font-weight: 700;
  text-transform: uppercase;
}

.login-subtitle {
  margin: 0 0 6px;
  color: var(--idthw-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.4;
  font-style: italic;
}

.login-form {
  margin-top: 18px;
  text-align: left;
}

.signup-note {
  margin: 26px 0 0;
  text-align: center;
  color: var(--idthw-muted);
  font-family: var(--idthw-sans);
  font-size: 13px;
  line-height: 1.6;
}

.signup-note a {
  display: inline-block;
  margin: 10px 0 0;
  padding: 9px 22px;
  color: var(--idthw-gold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--idthw-gold-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.30);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.signup-note a:hover,
.signup-note a:focus-visible {
  background: var(--idthw-gold);
  color: #fff;
  border-color: var(--idthw-gold);
  transform: translateY(-1px);
  outline: none;
}

/* --------------------------------------------------------------------------
   Shared footer
   -------------------------------------------------------------------------- */
.site-footer {
  flex: 0 0 auto;
  min-height: 132px;
  padding: 14px 0 12px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, #102b52 0, var(--idthw-navy) 42%, var(--idthw-navy-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-footer__inner {
  width: min(1224px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.footer-mark {
  width: 42px;
  height: 42px;
  margin: 0 auto 9px;
  display: block;
}

.footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.3;
  font-style: italic;
}

.footer-rule {
  margin: 5px auto 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--idthw-gold-pale);
  outline: none;
}

/* --------------------------------------------------------------------------
   Responsive behavior
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .site-header {
    height: auto;
  }

  .site-header__inner {
    min-height: 80px;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav__link {
    min-height: 28px;
  }

  .site-header__nav-group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-header__cta {
    width: 100%;
  }

  .signup-shell {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 36px));
  }

  .journey-panel,
  .form-panel {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .site-footer__inner {
    width: min(100% - 28px, 1224px);
  }

  .brand-lockup__title {
    font-size: 15px;
  }

  .brand-lockup__subtitle {
    font-size: 10px;
    letter-spacing: 0.095em;
  }

  .signup-main {
    padding-top: 18px;
  }

  .signup-shell {
    width: min(100% - 24px, 760px);
    gap: 18px;
  }

  .login-shell {
    width: min(100% - 24px, 520px);
  }

  .login-shell .form-panel {
    padding: 36px 22px 28px;
  }

  .journey-panel,
  .form-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .journey-panel {
    padding-top: 48px;
  }

  .feature-list {
    padding: 0;
  }

  .feature-item,
  .feature-item:last-child {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .feature-icon {
    width: 34px;
  }

  .feature-icon svg {
    width: 27px;
    height: 27px;
  }

  .signup-heading {
    font-size: 30px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}
