/* ============================================================
   INNER PAGES — rich layouts
   ============================================================ */

/* --- Split hero (image + text) --- */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 640px;
  padding-top: 90px;    /* ← increase from 100 to accommodate the sticky header */
  background: var(--soft);
  overflow: hidden;
}

.split-hero-text {
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  margin-left: auto;
}
.split-hero-text .eyebrow {
  margin-bottom: 24px;
}
.split-hero-text h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  line-height: 1.08;
}
.split-hero-text h1 span {
  color: var(--teal);
}
.split-hero-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.split-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.split-hero-visual {
  position: relative;
  background: var(--teal);
  overflow: hidden;
}
.split-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,71,72,0.25), transparent 60%);
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .split-hero { grid-template-columns: 1fr; min-height: auto; }
  .split-hero-text { max-width: 100%; padding: 80px 30px; }
  .split-hero-visual { min-height: 400px; }
}

/* --- Stat band --- */
.stat-band {
  background: var(--teal-dark);
  color: #fff;
  padding: 60px 0;
}
.stat-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-band-item {
  position: relative;
}
.stat-band-item + .stat-band-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.stat-band-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-band-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 767.98px) {
  .stat-band-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat-band-item + .stat-band-item::before { display: none; }
}

/* --- Story section --- */
.story-section {
  padding: 110px 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.story-text h2 {
  margin-bottom: 26px;
}
.story-text p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.story-visual {
  position: relative;
  padding: 0 40px 40px 0;
}
.story-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.story-pullquote {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--gold);
  padding: 32px 36px;
  max-width: 320px;
  border-radius: 4px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}
.story-pullquote p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.4;
  margin: 0 0 10px;
}
.story-pullquote span {
  font-size: 0.85rem;
  color: var(--teal-dark);
  opacity: 0.75;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .story-grid { grid-template-columns: 1fr; gap: 50px; }
  .story-visual img { height: 420px; }
  .story-visual { padding: 0 20px 20px 0; }
  .story-pullquote { padding: 24px 26px; max-width: 280px; }
}

/* --- Value cards with images --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.value-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(14,49,50,0.06);
  transition: 0.3s;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(14,49,50,0.11);
}
.value-card-image {
  height: 180px;
  background: var(--teal);
  position: relative;
  overflow: hidden;
}
.value-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.value-card-body {
  padding: 30px 32px 34px;
}
.value-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0,91,92,0.08);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
  margin-top: -56px;
  position: relative;
  z-index: 1;
  border: 4px solid #fff;
  background: #eaf4f2;
}
.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.value-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 767.98px) {
  .value-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Timeline (our journey) --- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  text-align: center;
}
.timeline-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-weight: 800;
  font-size: 0.9rem;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--gold);
  position: relative;
  z-index: 1;
}
.timeline-year {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.timeline-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}
@media (max-width: 767.98px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px; }
  .timeline::before { display: none; }
}

/* --- Team feature photo --- */
.team-feature {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 420px;
  background: var(--teal);
}
.team-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.team-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,55,56,0.92) 0%, rgba(0,55,56,0.55) 45%, rgba(0,55,56,0.15) 100%);
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.team-feature-overlay h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.team-feature-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

/* --- Section heads (bigger, closer to homepage style) --- */
.rich-heading {
  margin-bottom: 50px;
}
.rich-heading.center {
  text-align: center;
}
.rich-heading .eyebrow {
  margin-bottom: 18px;
}
.rich-heading .eyebrow.center {
  justify-content: center;
}
.rich-heading h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  max-width: 780px;
}
.rich-heading.center h2 { margin-left: auto; margin-right: auto; }
.rich-heading p {
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 640px;
  margin: 0;
}
.rich-heading.center p { margin-left: auto; margin-right: auto; }

/* --- Split feature block (image + text alternating) --- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.feature-block:last-of-type {
  border-bottom: none;
}
.feature-block.reverse {
  direction: rtl;
}
.feature-block.reverse > * {
  direction: ltr;
}
.feature-block-visual {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(14,49,50,0.12);
}
.feature-block-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}
.feature-block-text h3 {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.feature-block-text p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.feature-block-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
}
.feature-block-list li {
  padding: 10px 0 10px 34px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.feature-block-list li:last-child { border-bottom: none; }
.feature-block-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,91,92,0.08);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
}
@media (max-width: 991.98px) {
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; padding: 50px 0; }
  .feature-block-visual img { height: 340px; }
}

/* --- CTA band --- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 90px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,182,36,0.18), transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 34px;
}

/* --- Numbered process (services) --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.process-step {
  background: #fff;
  padding: 40px 34px;
  border-radius: 4px;
  box-shadow: 0 12px 35px rgba(14,49,50,0.06);
  position: relative;
}
.process-step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0,91,92,0.12);
  line-height: 1;
  margin-bottom: 20px;
}
.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 767.98px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* --- Legal pages --- */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
}
.legal-meta {
  display: flex;
  gap: 30px;
  padding: 20px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.legal-meta-item {
  font-size: 0.85rem;
}
.legal-meta-item strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 4px;
}
.legal-meta-item span {
  color: var(--muted);
}
.legal-toc {
  background: var(--soft);
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  margin-bottom: 50px;
}
.legal-toc-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 16px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 40px;
}
.legal-toc li {
  margin-bottom: 8px;
  font-size: 0.92rem;
  break-inside: avoid;
}
.legal-toc a {
  color: var(--teal);
  text-decoration: none;
}
.legal-toc a:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
}

.legal-page h2 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  margin: 50px 0 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.legal-page h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-page h3 {
  font-size: 1.1rem;
  margin: 32px 0 14px;
}
.legal-page p {
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.legal-page ul, .legal-page ol {
  margin: 0 0 24px;
  padding-left: 22px;
}
.legal-page li {
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 10px;
  color: var(--muted);
}
.legal-page li strong {
  color: var(--ink);
  font-weight: 700;
}
.legal-page a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(0,91,92,0.3);
  text-underline-offset: 3px;
}

.legal-callout {
  background: #fffbea;
  border-left: 3px solid var(--gold);
  padding: 20px 26px;
  margin: 30px 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
}
.legal-callout strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.legal-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}
.legal-footer a { color: var(--teal); }


/* ============================================================
   SIGNUP PAGE
   ============================================================ */
.signup-page {
  background: var(--soft);
}

.signup-shell {
  padding: 140px 0 100px;
  min-height: 100vh;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left panel */
.signup-side {
  padding-top: 40px;
  position: sticky;
  top: 120px;
}
.signup-side h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  line-height: 1.15;
}
.signup-side > p {
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 36px;
  color: var(--muted);
}

.signup-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.signup-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.signup-benefits li:last-child {
  border-bottom: none;
}
.signup-benefits i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 91, 92, 0.08);
  color: var(--teal);
  flex-shrink: 0;
  font-size: 1rem;
}
.signup-benefits strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.signup-benefits span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.signup-side-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(14, 49, 50, 0.05);
  font-size: 0.9rem;
  color: var(--muted);
}
.signup-side-note svg {
  color: var(--gold);
  flex-shrink: 0;
}
.signup-side-note a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}
.signup-side-note a:hover {
  text-decoration: underline;
}

/* Right panel — form card */
.signup-card {
  background: #fff;
  border-radius: 8px;
  padding: 50px 50px 46px;
  box-shadow: 0 20px 60px rgba(14, 49, 50, 0.08);
}

.signup-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.signup-alert.danger {
  background: #fdecec;
  border-left: 3px solid #e53e3e;
  color: #b93535;
}
.signup-alert i {
  margin-top: 2px;
  flex-shrink: 0;
}

/* Form sections */
.signup-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.signup-section:first-of-type {
  padding-top: 0;
}
.signup-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.signup-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
}

.signup-section-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Form rows */
.signup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.signup-card .form-group {
  margin-bottom: 20px;
}
.signup-card .form-group:last-child {
  margin-bottom: 0;
}

.signup-card .form-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.signup-card .form-label .optional {
  font-weight: 400;
  color: var(--muted);
}

.signup-card .form-input {
  width: 100%;
  background: #fff;
  border: 1px solid #dde5e2;
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--ink);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.signup-card .form-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 91, 92, 0.1);
}
.signup-card .form-input::placeholder {
  color: #b1b8b8;
}

.signup-card .form-group.has-error .form-input {
  border-color: #e53e3e;
}
.signup-card .form-group.has-error .form-input:focus {
  box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

.field-error {
  font-size: 0.82rem;
  color: #b93535;
  margin-top: 6px;
  line-height: 1.45;
}

.signup-card .form-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.45;
}

/* Password field with show/hide */
.pw-field {
  position: relative;
}
.pw-field .form-input {
  padding-right: 48px;
}
.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.15s, background 0.15s;
}
.pw-toggle:hover {
  color: var(--teal);
  background: rgba(0, 91, 92, 0.06);
}

/* Password strength meter */
.pw-meter {
  margin-top: 10px;
}
.pw-meter-bar {
  height: 4px;
  background: #e6ecea;
  border-radius: 2px;
  overflow: hidden;
}
.pw-meter-fill {
  height: 100%;
  width: 0;
  background: #ef4444;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}
.pw-meter-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

/* Checkboxes */
.signup-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}
.signup-check:first-of-type {
  padding-top: 0;
}
.signup-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #cdd8d6;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all 0.15s;
  background: #fff;
}
.signup-check input[type="checkbox"]:hover {
  border-color: var(--teal);
}
.signup-check input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}
.signup-check input[type="checkbox"]:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #fff;
  font-size: 0.65rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.signup-check a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0,91,92,0.3);
  text-underline-offset: 2px;
}
.signup-check a:hover {
  text-decoration-color: var(--teal);
}
.signup-check.has-error input[type="checkbox"] {
  border-color: #e53e3e;
}

/* Submit */
.signup-actions {
  margin-top: 30px;
}
.signup-actions .btn {
  width: 100%;
  padding: 15px 20px;
  font-size: 1rem;
}

.signup-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.signup-footer-note i {
  color: var(--teal);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .signup-shell {
    padding: 120px 0 80px;
  }
  .signup-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .signup-side {
    position: static;
    padding-top: 0;
  }
  .signup-card {
    padding: 36px 28px 32px;
  }
}

@media (max-width: 560px) {
  .signup-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .signup-card {
    padding: 28px 22px;
    border-radius: 6px;
  }
  .signup-benefits li {
    padding: 14px 0;
  }
}