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

:root {
  --font-sans: Lexend, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --reg-navy: #0f2744;
  --reg-navy-soft: #1e3a5f;
  --reg-line: #7dd3fc;
  --reg-border: #e0e0e0;
  --reg-muted: #6b7280;
  --reg-bg: #f8fafc;
  --ty-navy: #0f2744;
  --ty-navy-soft: #1e3a5f;
  --ty-border: #e2e8f0;
  --ty-muted: #64748b;
  --ty-bg: #f1f5f9;
  --ty-accent: #29abe2;
  --ty-accent-deep: #1f94d5;
  --ty-teal: #14b8a6;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.reg-page {
  margin: 0;
  min-height: 100vh;
  background: var(--reg-bg);
  color: #111;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.reg-main {
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem) clamp(3rem, 6vw, 4rem);
}

.reg-container {
  max-width: 960px;
  margin: 0 auto;
}

.reg-back-nav {
  margin-bottom: clamp(1rem, 3vw, 1.35rem);
}

.reg-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem 0.55rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--reg-border);
  font-size: clamp(0.88rem, 1.65vw, 0.95rem);
  font-weight: 600;
  color: var(--reg-navy-soft);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.reg-back-home:hover {
  border-color: #cbd5e1;
  color: var(--reg-navy);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.reg-back-home:focus-visible {
  outline: 2px solid #29abe2;
  outline-offset: 3px;
}

.reg-back-icon {
  font-size: 1.05em;
  line-height: 1;
}

.reg-after-steps {
  max-width: 38rem;
  margin: 0 auto clamp(1.5rem, 3.5vw, 2rem);
  padding: clamp(1.1rem, 2.8vw, 1.45rem) clamp(1.25rem, 3vw, 1.65rem);
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(41, 171, 226, 0.22);
  background: linear-gradient(165deg, rgba(232, 248, 252, 0.95) 0%, rgba(241, 249, 255, 0.92) 50%, rgba(248, 250, 252, 0.98) 100%);
  box-shadow: 0 6px 26px rgba(41, 171, 226, 0.08), 0 2px 10px rgba(15, 39, 68, 0.04);
}

.reg-after-steps-text {
  margin: 0;
  font-size: clamp(0.94rem, 2vw, 1.06rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--reg-navy-soft);
}

.reg-sheet {
  background: #fff;
  border: 1px solid var(--reg-border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.04);
  padding: clamp(1.75rem, 4vw, 2.35rem) clamp(1.25rem, 3.5vw, 2rem) clamp(2rem, 4.5vw, 2.65rem);
}

.reg-steps-panel {
  margin-bottom: clamp(1.35rem, 3.5vw, 2rem);
}

.reg-steps-intro {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.reg-flow-heading {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
}

.reg-flow-tagline {
  margin: 0;
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  font-weight: 400;
  color: #64748b;
}

.reg-steps-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-bottom: clamp(1.5rem, 3.5vw, 2rem);
}

.reg-flow-step {
  position: relative;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  padding-bottom: 0.35rem;
  text-align: center;
  min-width: 0;
}

.reg-pin {
  position: relative;
  width: clamp(3.75rem, 10vw, 4.35rem);
  height: clamp(3.75rem, 10vw, 4.35rem);
  margin: 0 auto 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #2dd4bf 0%, #14b8a6 52%, #0d9488 100%);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.32);
}

.reg-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 13px solid #0d9488;
}

.reg-pin-icon {
  position: relative;
  z-index: 1;
  width: 56%;
  height: 56%;
}

.reg-flow-num {
  display: block;
  margin: 0.95rem 0 0.3rem;
  font-size: clamp(0.8rem, 1.55vw, 0.9rem);
  font-weight: 600;
  color: #64748b;
}

.reg-flow-step-title {
  margin: 0 0 0.55rem;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  font-weight: 700;
  color: #111;
}

.reg-flow-desc {
  margin: 0;
  font-size: clamp(0.8rem, 1.6vw, 0.92rem);
  font-weight: 400;
  line-height: 1.55;
  color: #64748b;
}

.reg-flow-connector {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding: 0.35rem 0 0.45rem;
  color: #14b8a6;
}

.reg-flow-arrow-svg {
  display: block;
}

.reg-flow-arrow--desktop {
  display: none;
}

.reg-flow-arrow--mobile {
  display: block;
  width: 48px;
  height: clamp(64px, 18vw, 104px);
  margin: 0 auto;
}

.reg-form-section {
  margin: 0;
  padding: 0;
  border: none;
}

.reg-enroll-head {
  margin-bottom: 1.25rem;
}

.reg-section-title {
  margin: 0;
  font-size: clamp(1.12rem, 2.4vw, 1.32rem);
  font-weight: 700;
  color: var(--reg-navy);
  letter-spacing: -0.02em;
}

.reg-title-line {
  display: block;
  height: 2px;
  margin-top: 0.65rem;
  max-width: 100%;
  background: linear-gradient(90deg, var(--reg-line) 0%, rgba(125, 211, 252, 0.35) 100%);
  border-radius: 1px;
}

.reg-title-line--form {
  max-width: min(100%, 22rem);
}

.reg-form {
  margin-top: 0.25rem;
}

.reg-grid {
  display: grid;
  gap: clamp(1rem, 3vw, 1.35rem);
}

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

@media (max-width: 640px) {
  .reg-grid--2 {
    grid-template-columns: 1fr;
  }

  .reg-sheet {
    padding-left: clamp(1rem, 4vw, 1.35rem);
    padding-right: clamp(1rem, 4vw, 1.35rem);
  }
}

@media (min-width: 1024px) {
  .reg-steps-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0 min(0.75vw, 0.5rem);
    align-items: center;
  }

  .reg-flow-step {
    width: auto;
    max-width: none;
    margin-inline: 0;
    padding-bottom: 0.75rem;
  }

  .reg-flow-connector {
    width: clamp(44px, 12vw, 112px);
    min-width: 36px;
    padding: 0;
    display: block;
  }

  .reg-flow-arrow--desktop {
    display: block;
    width: 100%;
    height: auto;
    min-height: 36px;
  }

  .reg-flow-arrow--mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .reg-steps-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0 clamp(0.12rem, 2.2vw, 0.4rem);
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .reg-flow-step {
    width: auto;
    max-width: none;
    margin-inline: 0;
    padding-bottom: 0;
    min-width: 0;
    text-align: center;
  }

  .reg-pin::after {
    display: none;
  }

  .reg-pin {
    width: clamp(2.25rem, 17vw, 3rem);
    height: clamp(2.25rem, 17vw, 3rem);
    margin: 0 auto 0.15rem;
  }

  .reg-pin-icon {
    width: 52%;
    height: 52%;
  }

  .reg-flow-num {
    margin: 0.4rem 0 0.18rem;
    font-size: clamp(0.6rem, 2.8vw, 0.72rem);
  }

  .reg-flow-step-title {
    margin: 0 0 0.28rem;
    font-size: clamp(0.64rem, 3.1vw, 0.8rem);
    line-height: 1.22;
  }

  .reg-flow-desc {
    font-size: clamp(0.58rem, 2.75vw, 0.72rem);
    line-height: 1.38;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .reg-flow-connector {
    width: clamp(12px, 4.5vw, 32px);
    min-width: 10px;
    padding: 0;
    align-self: center;
  }

  .reg-flow-arrow--desktop {
    display: block;
    width: 100%;
    height: auto;
    min-height: 20px;
  }

  .reg-flow-arrow--mobile {
    display: none;
  }
}

.reg-field {
  margin-bottom: clamp(1rem, 2.5vw, 1.25rem);
}

.reg-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: clamp(0.88rem, 1.5vw, 0.95rem);
  font-weight: 600;
  color: #111;
}

.reg-req {
  color: #dc2626;
  font-weight: 700;
}

.reg-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--reg-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: clamp(0.92rem, 1.6vw, 1rem);
  color: #111;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.reg-input::placeholder {
  color: #9ca3af;
}

.reg-input:hover {
  border-color: #cbd5e1;
}

.reg-input:focus {
  outline: none;
  border-color: #29abe2;
  box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.2);
}

.reg-fieldset {
  margin: clamp(1.35rem, 3vw, 1.75rem) 0;
  padding: 0;
  border: none;
}

.reg-legend {
  padding: 0;
  margin-bottom: 0.85rem;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 700;
  color: var(--reg-navy);
}

.reg-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reg-check-item {
  margin-bottom: 0.65rem;
}

.reg-check-item:last-child {
  margin-bottom: 0;
}

.reg-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: clamp(0.88rem, 1.55vw, 0.97rem);
  color: #374151;
  cursor: pointer;
  line-height: 1.5;
}

.reg-check-label input {
  margin-top: 0.28rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #29abe2;
}

.reg-pay-wrap {
  margin: clamp(1.5rem, 4vw, 2rem) 0;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  background: #f1f5f9;
  border: 1px solid var(--reg-border);
  border-radius: 10px;
}

.reg-subheading {
  margin: 0 0 1.15rem;
  font-size: clamp(0.98rem, 1.85vw, 1.08rem);
  font-weight: 700;
  color: var(--reg-navy);
  line-height: 1.45;
}

.reg-pay-note {
  display: block;
  margin-top: 0.35rem;
  font-weight: 600;
  color: #475569;
  font-size: 0.92em;
}

.reg-pay-option {
  margin-bottom: 1.35rem;
}

.reg-pay-option:last-of-type {
  margin-bottom: 0;
}

.reg-radio-head {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 600;
  font-size: clamp(0.92rem, 1.65vw, 1rem);
  color: #1e293b;
  cursor: pointer;
  margin-bottom: 0.65rem;
}

.reg-radio {
  margin-top: 0.28rem;
  flex-shrink: 0;
  accent-color: #29abe2;
}

.reg-account-box {
  margin-left: 1.65rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--reg-border);
  border-radius: 8px;
}

@media (max-width: 560px) {
  .reg-account-box {
    margin-left: 0;
  }
}

.reg-account-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.65rem;
}

.reg-account-row:last-child {
  margin-bottom: 0;
}

.reg-account-label {
  flex-shrink: 0;
  font-size: clamp(0.82rem, 1.4vw, 0.9rem);
  font-weight: 600;
  color: #0a0a0a;
}

.reg-account-field {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.reg-account-field:has(.reg-account-inline--iban) {
  flex: 0 1 auto;
}

.reg-account-inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  flex: 0 1 auto;
  max-width: min(11.75rem, 72vw);
  min-width: 0;
  padding: 0.35rem 0.45rem;
  background: #fff;
  border: 1px solid var(--reg-border);
  border-radius: 8px;
  box-sizing: border-box;
}

.reg-account-inline .reg-account-value {
  min-width: 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0.15rem;
  margin: 0;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: clamp(0.82rem, 1.45vw, 0.92rem);
  font-weight: 600;
  color: #0a0a0a;
  background: transparent;
  border: none;
  border-radius: 0;
}

.reg-account-inline:not(.reg-account-inline--iban) .reg-account-value {
  flex: 1;
}

.reg-account-inline.reg-account-inline--iban {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  flex: 0 0 auto;
  align-items: center;
  align-self: flex-start;
  gap: 0.28rem;
  padding: 0.38rem 0.42rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

.reg-account-inline.reg-account-inline--iban .reg-account-value.reg-account-value--iban {
  flex: 0 0 auto;
  width: max-content;
  max-width: min(100%, 100vw - 3rem);
  padding: 0;
  margin: 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: #1a1a1a;
}

.reg-account-inline--iban .reg-copy-btn {
  align-self: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.22rem;
}

.reg-account-inline--iban .reg-account-value--iban::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.reg-account-value {
  padding: 0.2rem 0.45rem;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: clamp(0.82rem, 1.45vw, 0.92rem);
  font-weight: 500;
  color: #0f172a;
  background: #fff;
  border: 1px solid var(--reg-border);
  border-radius: 4px;
}

.reg-account-value--iban {
  font-size: clamp(0.78rem, 1.35vw, 0.88rem);
}

.reg-account-inline .reg-copy-btn {
  flex-shrink: 0;
  margin: 0;
  padding: 0.32rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #0a0a0a;
  box-shadow: none;
}

.reg-account-inline .reg-copy-btn:hover {
  background: #f1f5f9;
  border-color: transparent;
  color: #0a0a0a;
}

.reg-account-inline .reg-copy-btn:focus-visible {
  outline: 2px solid #29abe2;
  outline-offset: 1px;
}

.reg-account-inline .reg-account-value::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (max-width: 560px) {
  .reg-account-row {
    align-items: stretch;
    flex-direction: column;
    gap: 0.35rem;
  }

  .reg-account-field {
    flex-wrap: wrap;
    width: 100%;
    gap: 0.35rem 0.45rem;
  }

  .reg-account-inline {
    max-width: min(11.75rem, calc(100% - 4.25rem));
  }

  .reg-account-inline.reg-account-inline--iban {
    width: max-content;
    max-width: calc(100vw - 2.5rem);
  }

  .reg-account-inline.reg-account-inline--iban .reg-account-value.reg-account-value--iban {
    max-width: min(100%, calc(100vw - 4rem));
  }
}

.reg-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.45rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  color: var(--reg-navy-soft);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.reg-copy-icon {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
}

.reg-copy-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.reg-copy-btn:focus-visible {
  outline: 2px solid #29abe2;
  outline-offset: 2px;
}

.reg-copied {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: clamp(0.76rem, 1.35vw, 0.84rem);
  font-weight: 700;
  color: #059669;
}

.reg-note {
  margin: clamp(1.25rem, 3vw, 1.5rem) 0;
  font-size: clamp(0.9rem, 1.65vw, 0.98rem);
  color: #475569;
  line-height: 1.65;
}

.reg-file-wrap {
  position: relative;
}

.reg-file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.reg-file-input:focus + .reg-file-fake {
  outline: 2px solid #29abe2;
  outline-offset: 2px;
}

.reg-file-fake {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--reg-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.reg-file-fake:hover {
  border-color: #cbd5e1;
}

.reg-file-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--reg-border);
  font-size: clamp(0.82rem, 1.45vw, 0.9rem);
  font-weight: 600;
  color: var(--reg-navy-soft);
}

.reg-file-name {
  font-size: clamp(0.82rem, 1.45vw, 0.92rem);
  color: var(--reg-muted);
}

.reg-submit {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  padding: 0.95rem 2rem;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: clamp(0.95rem, 1.85vw, 1.05rem);
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #4eb8d4 0%, #29abe2 50%, #1f94d5 100%);
  box-shadow: 0 8px 24px rgba(41, 171, 226, 0.35);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.reg-submit:hover {
  filter: brightness(1.05);
}

.reg-submit:focus-visible {
  outline: 2px solid #29abe2;
  outline-offset: 3px;
}

.reg-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.reg-submit:disabled:hover {
  filter: none;
}

.reg-form-message {
  margin: 0;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.45;
  color: #991b1b;
  background: rgba(254, 226, 226, 0.9);
  border: 1px solid rgba(252, 165, 165, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .reg-submit {
    transition: none;
  }

  .reg-submit:hover {
    transform: none;
  }
}

.reg-footer {
  padding: 1rem clamp(1rem, 4vw, 2rem) 1.75rem;
  border-top: 1px solid var(--reg-border);
  background: #fff;
}

.reg-footer-copy {
  margin: 0;
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(0.78rem, 1.35vw, 0.85rem);
  color: var(--reg-muted);
}

.reg-footer-link {
  font-weight: 600;
  color: var(--reg-accent-deep, #1f94d5);
  text-decoration: none;
}

.reg-footer-link:hover {
  text-decoration: underline;
}

.reg-footer-link:focus-visible {
  outline: 2px solid var(--reg-accent, #29abe2);
  outline-offset: 3px;
  border-radius: 4px;
}

.reg-success-embed[hidden] {
  display: none !important;
}

body.reg-success-view {
  background: linear-gradient(180deg, #e8f4fc 0%, #f1f5f9 42%, #f8fafc 100%);
}

body.reg-success-view .reg-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 100vh;
}

body.reg-success-view .reg-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  width: 100%;
  padding: 0;
}

body.reg-success-view #reg-flow,
body.reg-success-view #reg-page-footer {
  display: none;
}

body.reg-success-view .reg-success-embed {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.reg-success-view .reg-success-embed .ty-main {
  flex: 1;
}

body.reg-page.reg-success-view {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.ty-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #e8f4fc 0%, var(--ty-bg) 42%, #f8fafc 100%);
  color: #111;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.ty-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem);
}

.ty-inner {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.ty-card {
  background: #fff;
  border: 1px solid var(--ty-border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07), 0 8px 24px rgba(15, 23, 42, 0.04);
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.35rem, 4vw, 2.25rem) clamp(2.25rem, 5vw, 3rem);
}

.ty-hero {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.ty-icon-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 12vw, 4.25rem);
  height: clamp(3.5rem, 12vw, 4.25rem);
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #5ec4e8 0%, var(--ty-accent) 45%, var(--ty-accent-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(41, 171, 226, 0.35);
}

.ty-icon-hero svg {
  display: block;
  width: clamp(1.65rem, 5vw, 2rem);
  height: clamp(1.65rem, 5vw, 2rem);
}

.ty-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 4.5vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ty-navy);
}

.ty-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  font-weight: 600;
  color: var(--ty-navy-soft);
}

.ty-subtitle .ty-inline-icon {
  flex-shrink: 0;
  color: var(--ty-accent);
}

.ty-intro {
  margin: 0;
  font-size: clamp(0.94rem, 2vw, 1.02rem);
  color: var(--ty-muted);
  line-height: 1.6;
  max-width: 32rem;
  margin-inline: auto;
}

.ty-section {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  padding-top: clamp(1.35rem, 3.5vw, 1.75rem);
  border-top: 1px solid var(--ty-border);
}

.ty-section:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.ty-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ty-navy);
  text-align: center;
}

.ty-section-title svg {
  flex-shrink: 0;
  color: var(--ty-teal);
}

.ty-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ty-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: clamp(0.9rem, 1.9vw, 0.98rem);
  color: #334155;
  line-height: 1.55;
}

.ty-list li:last-child {
  margin-bottom: 0;
}

.ty-li-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  color: var(--ty-accent);
}

.ty-note {
  margin: clamp(1rem, 3vw, 1.35rem) 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  font-size: clamp(0.88rem, 1.85vw, 0.94rem);
  color: var(--ty-navy-soft);
  text-align: center;
  line-height: 1.55;
}

.ty-section-title--community svg {
  color: var(--ty-accent);
}

.ty-community-lede {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  font-size: clamp(0.9rem, 2vw, 0.98rem);
  line-height: 1.62;
  color: #475569;
  text-align: center;
}

.ty-community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 3vw, 1.15rem);
}

.ty-community-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.35rem, 4vw, 1.65rem) clamp(1rem, 3vw, 1.35rem);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ty-community-card--wa {
  background: linear-gradient(165deg, #ecfdf5 0%, #d1fae5 45%, #ecfdf5 100%);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 36px rgba(16, 185, 129, 0.18), 0 4px 14px rgba(15, 23, 42, 0.06);
}

.ty-community-card--fb {
  background: linear-gradient(165deg, #eff6ff 0%, #dbeafe 48%, #eff6ff 100%);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 36px rgba(37, 99, 235, 0.16), 0 4px 14px rgba(15, 23, 42, 0.06);
}

.ty-community-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.12);
}

.ty-community-card:focus-visible {
  outline: 3px solid var(--ty-accent);
  outline-offset: 3px;
}

.ty-community-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.75rem, 14vw, 4.5rem);
  height: clamp(3.75rem, 14vw, 4.5rem);
  margin-bottom: 0.85rem;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.ty-community-icon-wrap--wa {
  background: #25d366;
  color: #fff;
}

.ty-community-icon-wrap--fb {
  background: #1877f2;
  color: #fff;
}

.ty-community-brand {
  width: clamp(2rem, 8vw, 2.35rem);
  height: clamp(2rem, 8vw, 2.35rem);
  display: block;
}

.ty-community-card-title {
  font-size: clamp(1.08rem, 2.8vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ty-navy);
  margin-bottom: 0.45rem;
}

.ty-community-card-text {
  font-size: clamp(0.85rem, 1.85vw, 0.93rem);
  line-height: 1.55;
  color: #475569;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.ty-community-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: clamp(0.82rem, 1.75vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.ty-community-card--wa .ty-community-cta {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4);
}

.ty-community-card--fb .ty-community-cta {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.35);
}

@media (max-width: 520px) {
  .ty-community-grid {
    grid-template-columns: 1fr;
  }
}

.ty-two-col .ty-subsection {
  margin-top: 1.15rem;
}

.ty-subsection-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  font-size: clamp(0.95rem, 2vw, 1.02rem);
  font-weight: 700;
  color: var(--ty-navy-soft);
}

.ty-subsection-head svg {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--ty-accent);
}

.ty-subsection p,
.ty-subsection .ty-muted-line {
  margin: 0;
  padding-left: calc(1.35rem + 0.45rem);
  font-size: clamp(0.88rem, 1.85vw, 0.94rem);
  color: var(--ty-muted);
  line-height: 1.55;
}

.ty-muted-line {
  margin-top: 0.35rem !important;
}

.ty-blurb {
  margin-bottom: 1rem;
}

.ty-muted-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.35rem !important;
  padding-left: calc(1.35rem + 0.45rem) !important;
}

.ty-tiny-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  color: var(--ty-accent);
}

.ty-support {
  font-size: clamp(0.9rem, 2vw, 0.96rem);
  color: #334155;
  line-height: 1.6;
  text-align: center;
}

.ty-support a {
  color: var(--ty-accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.ty-support a:hover {
  text-decoration: underline;
}

.ty-closing {
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
  padding-top: clamp(1.25rem, 3vw, 1.5rem);
  border-top: 1px solid var(--ty-border);
  text-align: center;
  font-size: clamp(0.95rem, 2.1vw, 1.02rem);
  font-weight: 600;
  color: var(--ty-navy-soft);
}

.ty-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vw, 2rem);
}

.ty-btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: clamp(0.9rem, 2vw, 0.96rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, #4eb8d4 0%, var(--ty-accent) 50%, var(--ty-accent-deep) 100%);
  box-shadow: 0 8px 22px rgba(41, 171, 226, 0.35);
  transition: filter 0.2s ease;
}

.ty-btn-home:hover {
  filter: brightness(1.05);
}

.ty-btn-home:focus-visible {
  outline: 2px solid var(--ty-accent);
  outline-offset: 3px;
}

.ty-footer {
  padding: 1rem 1rem 1.5rem;
  text-align: center;
  font-size: clamp(0.78rem, 1.4vw, 0.85rem);
  color: var(--ty-muted);
}

.ty-footer-link {
  font-weight: 600;
  color: var(--ty-accent-deep);
  text-decoration: none;
}

.ty-footer-link:hover {
  text-decoration: underline;
}

.ty-footer-link:focus-visible {
  outline: 2px solid var(--ty-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .ty-community-card:hover {
    transform: none;
  }

  .ty-btn-home {
    transition: none;
  }
}
