﻿:root {
  --brand-ink: #0f1a2b;
  --brand-slate: #4a5b73;
  --brand-ice: #edf1f6;
  --brand-lagoon: #1b4d77;
  --brand-coral: #ff6b4a;
  --brand-mint: #18a57a;
  --surface: #f7f4ef;
  --surface-alt: #ffffff;
  --shadow: 0 30px 70px -50px rgba(15, 26, 43, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--brand-ink);
  background: radial-gradient(circle at top left, #f9efe6 0%, #f2f6fb 48%, #f6f9f4 100%);
  margin: 0;
}

body.start-modal-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: "Fraunces", "Times New Roman", serif;
  color: var(--brand-ink);
}

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

a:hover {
  color: var(--brand-lagoon);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-mint);
  margin-bottom: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 239, 0.8);
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
}

.topbar {
  background: var(--brand-ink);
  color: #fff;
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  gap: 1rem;
}

.topbar-inner > span {
  color: #fff;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-btn.is-active,
.lang-btn:hover {
  background: #fff;
  color: var(--brand-ink);
  border-color: #fff;
}

.topbar-label {
  color: #fff;
  font-weight: 700;
}

.topbar a {
  color: #fff;
  font-weight: 500;
}

body.np-language {
  font-family: "Noto Sans Devanagari", "DM Sans", "Nirmala UI", "Mangal", "Segoe UI", sans-serif;
}

body.np-language h1,
body.np-language h2,
body.np-language h3,
body.np-language h4,
body.np-language h5,
body.np-language h6,
body.np-language .brand,
body.np-language .eyebrow {
  font-family: "Noto Sans Devanagari", "DM Sans", "Nirmala UI", "Mangal", "Segoe UI", sans-serif;
}

.topbar .divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.nav-shell {
  padding: 0.15rem 0;
}

.site-header .navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.brand {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-brand-logo {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  font-weight: 500;
  color: var(--brand-ink);
  padding: 0.2rem 0.4rem;
}

.nav-cta {
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.start-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 26, 43, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 1200;
}

.start-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.start-modal {
  position: relative;
  width: min(100%, 1250px);
  background: linear-gradient(180deg, #fffcf8 0%, #fff 100%);
  border-radius: 26px;
  padding: 2.25rem 3.1rem 3rem;
  box-shadow: 0 40px 100px -52px rgba(15, 26, 43, 0.5);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.start-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.start-modal-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.05;
}

.start-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-ink);
  font-size: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.start-modal-close:hover {
  background: rgba(15, 26, 43, 0.08);
  color: var(--brand-coral);
  transform: scale(1.04);
}

.start-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.start-modal-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 320px;
  padding: 1.6rem 1.85rem 1.7rem;
  background: #fffdfa;
  border-radius: 22px;
  border: 2px solid rgba(15, 26, 43, 0.1);
  box-shadow: 0 24px 50px -42px rgba(15, 26, 43, 0.4);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.start-modal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 74, 0.45);
  box-shadow: 0 30px 60px -42px rgba(15, 26, 43, 0.45);
  color: inherit;
}

.start-modal-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 0.2rem;
}

.start-modal-card h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.start-modal-card p {
  margin: 0;
  text-align: center;
  color: #222;
  font-size: 1rem;
  line-height: 1.7;
}

.start-modal-link {
  margin-top: auto;
  color: #ff5d12;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.start-modal-link::before {
  content: "\2192";
  margin-right: 0.45rem;
}

.nav-login-btn {
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-weight: 600;
}

.hero {
  padding: 6rem 0 4rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at center, rgba(255, 107, 74, 0.35), transparent 70%);
  filter: blur(0px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 3vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  font-size: 1.1rem;
  color: var(--brand-slate);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-cta {
  background: var(--brand-coral);
  border-color: var(--brand-coral);
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  box-shadow: var(--shadow);
}

.btn-cta:hover {
  background: #e85a3b;
  border-color: #e85a3b;
  color: #fff;
}

.btn-ghost {
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  border-color: rgba(15, 26, 43, 0.2);
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.5);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.hero-metrics h3 {
  margin-bottom: 0.4rem;
}

.hero-metrics span {
  color: var(--brand-slate);
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
  display: flex;
  justify-content: center;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(27, 77, 119, 0.25), rgba(24, 165, 122, 0.2));
  filter: blur(60px);
  opacity: 0.6;
}

.card-inner {
  background: var(--surface-alt);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  width: min(100%, 360px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.pill {
  background: rgba(24, 165, 122, 0.15);
  color: var(--brand-mint);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.card-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
  font-size: 0.95rem;
}

.economic-calendar-shell {
  padding: 1rem;
}

.economic-calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.economic-calendar-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.economic-calendar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.economic-calendar-nepali-heading {
  font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kalimati", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.economic-calendar-english-heading {
  font-size: 0.9rem;
  color: var(--brand-slate);
}

.economic-calendar-weekdays,
.economic-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hamro-style-weekdays {
  background: #f8f8f8;
  border: 1px solid #ececec;
  border-bottom: 0;
}

.economic-calendar-weekday {
  font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kalimati", "Segoe UI", sans-serif;
  padding: 0.7rem 0.25rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: #6c757d;
  border-left: 1px solid #ececec;
}

.economic-calendar-weekday:first-child {
  border-left: 0;
}

.economic-calendar-weekday span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 500;
}

.economic-calendar-weekday.saturday-label {
  color: #c72534;
}

.hamro-style-days {
  border: 1px solid #ececec;
}

.hamro-style-day {
  min-height: 10rem;
  padding: 0.55rem;
  border-left: 1px solid #ececec;
  border-top: 1px solid #ececec;
  background: #fff;
}

.hamro-style-day:nth-child(7n + 1) {
  border-left: 0;
}

.hamro-style-day:nth-child(-n + 7) {
  border-top: 0;
}

.economic-calendar-day.outside-month {
  background: #f8fafc;
}

.economic-calendar-day.saturday {
  background: #f9d0d0;
}

.economic-calendar-day.saturday.outside-month {
  background: #efc1c1;
}

.hamro-event-text {
  font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kalimati", "Segoe UI", sans-serif;
  min-height: 2.25rem;
  font-size: 0.72rem;
  line-height: 1.25;
  color: #495057;
  overflow: hidden;
}

.hamro-day-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0.35rem 0 0.15rem;
}

.hamro-nep-day {
  font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kalimati", "Segoe UI", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #1c1c1c;
}

.hamro-eng-day {
  font-size: 0.95rem;
  font-weight: 700;
  color: #6a7077;
}

.hamro-eng-date {
  font-size: 0.7rem;
  color: #7a8189;
  margin-bottom: 0.35rem;
}

.economic-calendar-events {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.economic-calendar-event {
  display: block;
  padding: 0.3rem 0.42rem;
  border-radius: 0.45rem;
  font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kalimati", "Segoe UI", sans-serif;
  font-size: 0.7rem;
  line-height: 1.25;
}

.economic-calendar-event.reference-event {
  background: #fff4de;
  color: #704214;
}

.economic-calendar-event.custom-event {
  background: #e7f0fb;
  color: #123b6b;
}

.economic-calendar-event .event-title {
  display: block;
  font-weight: 700;
}

.economic-calendar-event .event-time {
  display: block;
  margin-top: 0.15rem;
  opacity: 0.85;
}

@media (max-width: 991.98px) {
  .hamro-style-day {
    min-height: 8.5rem;
  }
}

@media (max-width: 767.98px) {
  .economic-calendar-toolbar,
  .economic-calendar-selector {
    align-items: stretch;
  }

  .economic-calendar-weekday {
    font-size: 0.72rem;
    padding: 0.55rem 0.15rem;
  }

  .economic-calendar-weekday span {
    font-size: 0.62rem;
  }

  .hamro-style-day {
    min-height: 7rem;
    padding: 0.35rem;
  }

  .hamro-nep-day {
    font-size: 1.15rem;
  }

  .hamro-event-text,
  .economic-calendar-event,
  .hamro-eng-date {
    font-size: 0.62rem;
  }
}

.trust-band {
  background: var(--surface-alt);
  border-top: 1px solid rgba(15, 26, 43, 0.08);
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
  padding: 1rem 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--brand-slate);
  font-weight: 600;
}

section {
  padding: 4.5rem 0;
}

.section-title h2 {
  margin-bottom: 2.5rem;
  font-size: clamp(2rem, 2.6vw, 2.6rem);
}

.service-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
  background: var(--surface-alt);
  padding: 1.8rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px -45px rgba(15, 26, 43, 0.45);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.service-card p {
  color: var(--brand-slate);
}

.process {
  background: var(--surface);
}

.process-steps {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  padding: 1.8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.step-number {
  font-weight: 700;
  color: var(--brand-lagoon);
  display: inline-block;
  margin-bottom: 0.8rem;
}

.insights {
  padding-bottom: 6rem;
}

.insights-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.feature-list li::before {
  content: "?";
  color: var(--brand-mint);
  margin-right: 0.6rem;
}

.pricing-card {
  background: var(--surface-alt);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-lagoon);
}

.price span {
  font-size: 0.9rem;
  color: var(--brand-slate);
  margin-left: 0.2rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.8rem;
  color: var(--brand-slate);
}

.testimonials {
  background: var(--surface-alt);
}

.testimonial-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-grid article {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.testimonial-grid p {
  color: var(--brand-slate);
}

.cta {
  padding: 4rem 0 6rem;
}

.cta-card {
  background: linear-gradient(120deg, #ffefe7, #e6f4ef);
  border-radius: 28px;
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--brand-ink);
  color: #d7e0ea;
  padding: 4rem 0 2rem;
}

.site-footer h4,
.site-footer h5 {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.site-footer a {
  color: #d7e0ea;
  display: block;
  margin-bottom: 0.6rem;
}

.site-footer .footer-contact-email {
  color: #fff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-links-footer {
  margin-top: 1rem;
}

.social-link-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
}

.social-link-footer i {
  line-height: 1;
}

.social-link-footer:hover {
  background: rgba(255, 107, 74, 0.18);
  color: #fff;
}

.social-links-contact {
  justify-content: center;
}

.social-link-contact {
  min-width: 160px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: 0 20px 50px -42px rgba(15, 26, 43, 0.35);
  color: var(--brand-ink);
  font-weight: 600;
}

.social-link-contact i {
  color: var(--brand-lagoon);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .topbar-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding-top: 4rem;
  }

  .nav-shell {
    padding: 0.2rem 0 0.35rem;
  }

  .start-modal {
    padding: 2rem 1.5rem 1.75rem;
  }

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

  .start-modal-card {
    min-height: auto;
  }

  .company-registration-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-registration-proceed {
    min-width: 260px;
  }
}

@media (max-width: 575px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-card {
    padding: 2rem 1.5rem;
  }

  .start-modal-overlay {
    padding: 0.85rem;
  }

  .start-modal {
    border-radius: 22px;
    padding: 1.5rem 1rem 1.2rem;
  }

  .start-modal-header {
    margin-bottom: 1.2rem;
    padding-right: 2rem;
  }

  .start-modal-card {
    padding: 1.25rem 1rem;
    border-radius: 18px;
  }

  .start-modal-icon {
    width: 70px;
    height: 70px;
    font-size: 1.7rem;
  }

  .start-modal-card p,
  .start-modal-link {
    font-size: 0.95rem;
  }

  .registration-stepper {
    display: flex;
    width: 100%;
  }

  .registration-step {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 0.8rem;
    gap: 0.45rem;
  }

  .registration-step-label {
    font-size: 0.78rem;
  }

  .company-registration-start-copy p {
    font-size: 1.1rem;
  }

  .company-registration-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1rem;
  }

  .company-registration-type-icon {
    max-width: 100%;
    font-size: 3rem;
  }

  .company-registration-start-actions {
    justify-content: stretch;
  }

  .company-registration-proceed {
    width: 100%;
    min-width: 0;
  }
}

.registration {
  background: var(--surface);
}

.reg-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  margin-bottom: 3rem;
}

.reg-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.reg-list li::before {
  content: "•";
  color: var(--brand-mint);
  margin-right: 0.6rem;
}

.reg-card {
  background: var(--surface-alt);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.mini-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.mini-grid p {
  color: var(--brand-slate);
  margin: 0.4rem 0 0;
}

.section-split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  margin-bottom: 3rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.tag-list span {
  background: rgba(27, 77, 119, 0.1);
  color: var(--brand-lagoon);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.reg-subsections {
  display: grid;
  gap: 1.6rem;
}

.subsection {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.subsection p {
  color: var(--brand-slate);
}

.cr-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(120deg, rgba(255, 239, 231, 0.8), rgba(230, 244, 239, 0.8));
}

.cr-hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.cr-hero-card .card-inner {
  background: var(--surface-alt);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.cr-help,
.cr-services,
.cr-post,
.cr-faq {
  background: var(--surface-alt);
}

.cr-different {
  background: var(--surface);
}

.cr-industries {
  padding: 3.5rem 0;
}

.faq-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.checklist-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}

.badge-mandatory {
  background: rgba(255, 107, 74, 0.15);
  color: #c84a2f;
}

.badge-recommended {
  background: rgba(27, 77, 119, 0.12);
  color: var(--brand-lagoon);
}

.badge-essential {
  background: rgba(24, 165, 122, 0.15);
  color: var(--brand-mint);
}

.agency-table {
  display: grid;
  gap: 1.4rem;
}

.agency-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.agency-row span {
  color: var(--brand-lagoon);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .agency-row {
    flex-direction: column;
  }

  .agency-row span {
    white-space: normal;
  }
}

.pricing-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(120deg, rgba(231, 242, 255, 0.8), rgba(255, 244, 235, 0.8));
}

.pricing-hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.pricing-hero-card .card-inner {
  background: var(--surface-alt);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.pricing-packages {
  background: var(--surface-alt);
}

.pricing-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-tile {
  background: var(--surface);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(15, 26, 43, 0.08);
  display: grid;
  gap: 1rem;
}

.pricing-tile-meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-coral);
}

.pricing-tile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--brand-slate);
}

.pricing-tile ul li::before {
  content: "✓";
  color: var(--brand-mint);
  margin-right: 0.6rem;
}

.pricing-tile .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-lagoon);
}

.pricing-tile.featured {
  background: #fff;
  border: 2px solid rgba(255, 107, 74, 0.3);
  box-shadow: var(--shadow);
}

.pricing-notes {
  background: var(--surface);
}

.notes-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.note-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.resources-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(120deg, rgba(233, 244, 238, 0.82), rgba(243, 239, 231, 0.82));
}

.resource-library,
.official-portals {
  background: var(--surface-alt);
}

.resource-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.resource-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.8rem;
  border: 1px solid rgba(15, 26, 43, 0.08);
  display: grid;
  gap: 0.8rem;
}

.resource-card a {
  color: var(--brand-lagoon);
  font-weight: 500;
}

.resource-card a:hover {
  color: var(--brand-coral);
}

.portal-link {
  align-self: center;
  white-space: nowrap;
  color: var(--brand-lagoon);
  font-weight: 700;
}

.resources-disclaimer {
  background: var(--surface);
  padding-top: 0;
}

.disclaimer-card {
  max-width: 860px;
}

.blog-hero-page {
  padding: 6rem 0 4rem;
  background: linear-gradient(120deg, rgba(245, 238, 229, 0.86), rgba(233, 242, 251, 0.86));
}

.featured-posts,
.latest-posts {
  background: var(--surface-alt);
}

.featured-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1.4fr 1fr;
}

.featured-story,
.blog-card {
  background: var(--surface);
  border: 1px solid rgba(15, 26, 43, 0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 24px 50px -42px rgba(15, 26, 43, 0.35);
}

.featured-story {
  background:
    radial-gradient(circle at top right, rgba(255, 107, 74, 0.12), transparent 38%),
    linear-gradient(140deg, #fffaf5, #f4f8fc);
}

.featured-story-alt {
  background:
    radial-gradient(circle at top right, rgba(24, 165, 122, 0.12), transparent 38%),
    linear-gradient(140deg, #f9fcfb, #f6f2ea);
}

.featured-story h3,
.blog-card h3 {
  margin-top: 0.8rem;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
}

.story-meta span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 26, 43, 0.06);
  color: var(--brand-slate);
  font-size: 0.82rem;
  font-weight: 600;
}

.story-link {
  color: var(--brand-lagoon);
  font-weight: 700;
}

.story-link:hover {
  color: var(--brand-coral);
}

.blog-categories {
  background: var(--surface);
}

.blog-card-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.blog-card p,
.featured-story p {
  color: var(--brand-slate);
}

.blog-detail-card {
  background: var(--surface-alt);
  box-shadow: var(--shadow);
}

.blog-detail-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

.blog-detail-content {
  color: var(--brand-slate);
  line-height: 1.8;
  font-size: 1rem;
}

.legal-page-content {
  display: grid;
  gap: 1.5rem;
}

.content-block {
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.content-block h2 {
  margin-bottom: 1rem;
}

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

.content-block-intro,
.content-block-note {
  background: linear-gradient(135deg, rgba(240, 143, 68, 0.08), rgba(18, 59, 86, 0.06));
}

.about-hero-page {
  padding: 6rem 0 4rem;
  background: linear-gradient(120deg, rgba(238, 244, 235, 0.88), rgba(247, 238, 229, 0.88));
}

.about-story,
.about-services {
  background: var(--surface-alt);
}

.about-story-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.about-mission {
  background: var(--surface);
}

.contact-hero-page {
  padding: 6rem 0 4rem;
  background: linear-gradient(120deg, rgba(231, 245, 240, 0.88), rgba(246, 238, 231, 0.88));
}

.contact-channels,
.contact-faq {
  background: var(--surface-alt);
}

.contact-form-section,
.visit-office {
  background: var(--surface);
}

.form-prefill-note strong {
  color: var(--brand-ink);
}

.contact-select {
  border-radius: 12px;
  border: 1px solid rgba(15, 26, 43, 0.15);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  background: #fff;
}

.company-registration-start-page {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.company-registration-start-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.company-registration-start-head h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 2rem;
}

.registration-stepper {
  display: inline-flex;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.registration-step {
  position: relative;
  min-width: 84px;
  height: 52px;
  padding: 0 1.5rem 0 1.2rem;
  background: linear-gradient(180deg, #ffffff, #edf1f5);
  color: #6d7785;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 600;
  clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%, 12% 50%);
  margin-left: -10px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.registration-step:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%);
}

.registration-step.is-active {
  background: linear-gradient(180deg, #ffaf2b, #fb9400);
  color: #fff;
}

.registration-step.is-complete {
  background: linear-gradient(180deg, #ffd488, #ffbb42);
  color: #7a4700;
}

.registration-step:hover {
  transform: translateY(-1px);
}

.registration-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.24);
  font-size: 0.88rem;
  line-height: 1;
}

.registration-step:not(.is-active) .registration-step-number {
  background: rgba(15, 26, 43, 0.06);
}

.registration-step-label {
  white-space: nowrap;
}

.company-registration-start-copy p {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #111;
}

.registration-step-panel {
  display: none;
}

.registration-step-panel.is-active {
  display: block;
}

.company-registration-type-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2rem 1.4rem;
}

.company-registration-type-card {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  cursor: pointer;
}

.company-registration-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.company-registration-type-icon {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  border: 1.6px solid rgba(15, 26, 43, 0.68);
  border-radius: 14px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--brand-coral);
  box-shadow: 0 22px 44px -38px rgba(15, 26, 43, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.company-registration-type-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: #111;
}

.company-registration-type-card:hover .company-registration-type-icon,
.company-registration-type-card input:checked + .company-registration-type-icon {
  border-color: #fb9400;
  color: #fb9400;
  background: #fff7ea;
  transform: translateY(-2px);
  box-shadow: 0 28px 54px -38px rgba(251, 148, 0, 0.55);
}

.company-registration-type-card input:checked + .company-registration-type-icon + .company-registration-type-label {
  color: #fb9400;
}

.company-registration-start-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 3rem;
}

.company-registration-start-actions-split {
  justify-content: space-between;
  gap: 1rem;
}

.company-registration-back {
  min-width: 170px;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-weight: 700;
}

.company-registration-proceed {
  min-width: 430px;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, #ff7a1c, #ff6812);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 26px 54px -36px rgba(255, 104, 18, 0.65);
}

.company-registration-proceed:hover,
.company-registration-proceed:focus {
  background: linear-gradient(180deg, #ff872f, #ff6f1a);
  color: #fff;
}

.company-registration-proceed:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.company-registration-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.company-registration-choice-groups {
  display: grid;
  gap: 2.2rem;
}

.company-registration-choice-group {
  display: grid;
  gap: 0.95rem;
}

.company-registration-choice-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #111;
}

.company-registration-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.company-registration-chip-grid-wide .company-registration-chip {
  min-width: 200px;
}

.company-registration-chip {
  cursor: pointer;
}

.company-registration-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.company-registration-chip span {
  min-width: 176px;
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1.6px solid rgba(15, 26, 43, 0.86);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  font-weight: 700;
  color: #111;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.company-registration-chip:hover span,
.company-registration-chip input:checked + span {
  background: #fff3dd;
  border-color: #fb9400;
  color: #8c4f00;
  box-shadow: 0 16px 36px -28px rgba(251, 148, 0, 0.55);
  transform: translateY(-1px);
}

.company-registration-select-wrap {
  position: relative;
  max-width: 560px;
}

.company-registration-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.4rem;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid rgba(15, 26, 43, 0.5);
  transform: translateY(-30%);
  pointer-events: none;
}

.company-registration-select {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 3.4rem 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1.6px solid rgba(15, 26, 43, 0.86);
  background: #fff;
  color: #111;
  font-size: 1rem;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.company-registration-select:focus {
  outline: none;
  border-color: #fb9400;
  box-shadow: 0 0 0 4px rgba(251, 148, 0, 0.12);
}

.company-registration-detail-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 26, 43, 0.1);
  box-shadow: 0 22px 50px -42px rgba(15, 26, 43, 0.35);
}

.company-registration-detail-card-wide {
  grid-column: span 2;
}

.company-registration-detail-card label {
  font-weight: 700;
  color: var(--brand-ink);
}

.company-registration-detail-card input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(15, 26, 43, 0.16);
  padding: 0.85rem 0.95rem;
  font-size: 0.98rem;
  background: #fff;
}

.company-registration-detail-card textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(15, 26, 43, 0.16);
  padding: 0.85rem 0.95rem;
  font-size: 0.98rem;
  background: #fff;
  resize: vertical;
  min-height: 120px;
}

.company-registration-detail-card input:focus {
  outline: none;
  border-color: #fb9400;
  box-shadow: 0 0 0 4px rgba(251, 148, 0, 0.12);
}

.company-registration-detail-card textarea:focus {
  outline: none;
  border-color: #fb9400;
  box-shadow: 0 0 0 4px rgba(251, 148, 0, 0.12);
}

.company-registration-name-card {
  max-width: 560px;
}

@media (max-width: 1199.98px) {
  .company-registration-start-page {
    padding: 3.5rem 0 4.5rem;
  }

  .company-registration-start-shell {
    max-width: 100%;
  }

  .company-registration-type-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem 1.2rem;
  }

  .company-registration-type-icon {
    max-width: 138px;
    font-size: 3.5rem;
  }

  .company-registration-detail-grid {
    grid-template-columns: 1fr;
  }

  .company-registration-detail-card-wide {
    grid-column: auto;
  }

  .company-registration-chip-grid-wide .company-registration-chip {
    min-width: 180px;
  }
}

@media (max-width: 767.98px) {
  .company-registration-start-page {
    padding: 2.5rem 0 3.5rem;
  }

  .company-registration-start-head h1 {
    margin-bottom: 1.35rem;
  }

  .registration-stepper {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.75rem;
  }

  .registration-step {
    min-width: 0;
    flex: 1 1 0;
    height: 46px;
    padding: 0 0.7rem;
    gap: 0.4rem;
    margin-left: -8px;
  }

  .registration-step-number {
    width: 24px;
    height: 24px;
    font-size: 0.82rem;
  }

  .registration-step-label {
    font-size: 0.76rem;
  }

  .company-registration-start-copy p {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
  }

  .company-registration-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.85rem;
  }

  .company-registration-type-card {
    gap: 0.7rem;
  }

  .company-registration-type-icon {
    max-width: 100%;
    font-size: 2.8rem;
    border-radius: 12px;
  }

  .company-registration-type-label {
    font-size: 0.9rem;
  }

  .company-registration-start-actions {
    justify-content: stretch;
    margin-top: 2rem;
  }

  .company-registration-start-actions-split {
    flex-direction: column-reverse;
  }

  .company-registration-back {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 1.15rem;
  }

  .company-registration-proceed {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 1.15rem;
  }

  .company-registration-choice-groups {
    gap: 1.7rem;
  }

  .company-registration-choice-title {
    font-size: 1rem;
  }

  .company-registration-chip-grid {
    gap: 0.8rem;
  }

  .company-registration-chip,
  .company-registration-chip-grid-wide .company-registration-chip {
    width: 100%;
    min-width: 0;
  }

  .company-registration-chip span {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0.75rem 1rem;
  }

  .company-registration-select-wrap,
  .company-registration-name-card {
    max-width: 100%;
  }
}

@media (max-width: 479.98px) {
  .company-registration-start-page {
    padding: 2rem 0 3rem;
  }

  .company-registration-start-head h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .registration-step {
    height: 42px;
    padding: 0 0.45rem;
  }

  .registration-step-label {
    font-size: 0.68rem;
  }

  .company-registration-type-grid {
    grid-template-columns: 1fr;
  }

  .company-registration-type-card {
    max-width: 220px;
    width: 100%;
    margin: 0 auto;
  }

  .company-registration-type-icon {
    max-width: 180px;
  }

  .company-registration-proceed {
    font-size: 1rem;
  }
}

.trademark-registration-page {
  padding: 4.75rem 0 5.5rem;
  background:
    radial-gradient(circle at top right, rgba(255, 171, 64, 0.1), transparent 24%),
    linear-gradient(180deg, #fffefd 0%, #fff 100%);
}

.trademark-registration-shell {
  max-width: 1120px;
}

.trademark-registration-head h1 {
  margin: 0 0 2.4rem;
  color: #0f1a2b;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.trademark-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  margin-bottom: 2.6rem;
}

.trademark-step {
  min-width: 208px;
  height: 50px;
  padding: 0 1.35rem 0 1rem;
  border: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 12px 50%);
  background: linear-gradient(180deg, #ffffff, #f2f2f2);
  color: #1b2430;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1rem;
  box-shadow: 0 24px 48px -40px rgba(15, 26, 43, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.trademark-step:first-child {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}

.trademark-step.is-active {
  background: linear-gradient(180deg, #ffa31a, #ff9100);
  color: #fff;
}

.trademark-step.is-complete {
  background: linear-gradient(180deg, #ffd88f, #ffbf56);
  color: #7a4700;
}

.trademark-step:hover {
  transform: translateY(-1px);
}

.trademark-step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #f38a00;
  font-size: 0.9rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.trademark-step.is-complete .trademark-step-number,
.trademark-step:not(.is-active) .trademark-step-number {
  color: #6f7785;
}

.trademark-step-label {
  white-space: nowrap;
  font-weight: 500;
}

.trademark-step-panel {
  display: none;
}

.trademark-step-panel.is-active {
  display: block;
}

.trademark-copy h2 {
  margin: 0 0 0.45rem;
  font-size: 2rem;
  font-weight: 600;
  color: #111;
}

.trademark-copy p {
  margin: 0 0 1.8rem;
  font-size: 1rem;
  color: #666;
}

.trademark-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 720px;
}

.trademark-type-card {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  cursor: pointer;
}

.trademark-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trademark-type-visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1.6px solid rgba(15, 26, 43, 0.84);
  border-radius: 14px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  color: #121212;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.trademark-type-label {
  font-size: 0.95rem;
  color: #111;
}

.trademark-type-card:hover .trademark-type-visual,
.trademark-type-card input:checked + .trademark-type-visual {
  border-color: #fb9400;
  background: #fff5e6;
  color: #fb9400;
  transform: translateY(-2px);
  box-shadow: 0 28px 54px -42px rgba(251, 148, 0, 0.6);
}

.trademark-type-card input:checked + .trademark-type-visual + .trademark-type-label {
  color: #d47500;
  font-weight: 700;
}

.trademark-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.trademark-question-groups {
  display: grid;
  gap: 2.8rem;
  max-width: 1050px;
}

.trademark-question-group {
  display: grid;
  gap: 0.95rem;
}

.trademark-question-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #111;
}

.trademark-question-help {
  margin: -0.35rem 0 0;
  font-size: 0.98rem;
  color: #9aa0aa;
}

.trademark-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.15rem;
}

.trademark-chip {
  cursor: pointer;
}

.trademark-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trademark-chip span {
  min-width: 170px;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 26, 43, 0.9);
  background: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  color: #111;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.trademark-chip:hover span,
.trademark-chip input:checked + span {
  border-color: #fb9400;
  box-shadow: 0 16px 36px -28px rgba(251, 148, 0, 0.45);
  transform: translateY(-1px);
}

.trademark-chip-check input:checked + span {
  background:
    linear-gradient(90deg, #fff 0 44%, #ff6f12 44% 64%, #fff 64% 100%);
  color: #111;
  font-weight: 500;
}

.trademark-chip-check input:checked + span::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #fff;
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.trademark-inline-input {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 26, 43, 0.9);
  background: #fff;
  font-size: 0.98rem;
  color: #111;
}

.trademark-inline-input::placeholder {
  color: #b3b9c3;
}

.trademark-inline-input:focus {
  outline: none;
  border-color: #fb9400;
  box-shadow: 0 0 0 4px rgba(251, 148, 0, 0.12);
}

.trademark-radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.trademark-radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.98rem;
  color: #111;
}

.trademark-radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trademark-radio-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(15, 26, 43, 0.78);
  background: #fff;
  position: relative;
  flex: 0 0 auto;
}

.trademark-radio-option input:checked + .trademark-radio-mark {
  border-color: #ff7a1c;
}

.trademark-radio-option input:checked + .trademark-radio-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: #ff7a1c;
  box-shadow: 0 0 0 4px rgba(255, 122, 28, 0.2);
}

.trademark-detail-card {
  display: grid;
  gap: 0.6rem;
  padding: 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 26, 43, 0.1);
  box-shadow: 0 24px 48px -42px rgba(15, 26, 43, 0.35);
}

.trademark-detail-card-wide {
  grid-column: span 2;
}

.trademark-detail-card label {
  font-weight: 700;
  color: var(--brand-ink);
}

.trademark-detail-card input,
.trademark-detail-card textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 26, 43, 0.16);
  padding: 0.92rem 1rem;
  font-size: 0.98rem;
  background: #fff;
}

.trademark-detail-card textarea {
  min-height: 130px;
  resize: vertical;
}

.trademark-detail-card input:focus,
.trademark-detail-card textarea:focus {
  outline: none;
  border-color: #fb9400;
  box-shadow: 0 0 0 4px rgba(251, 148, 0, 0.12);
}

.trademark-actions {
  display: flex;
  margin-top: 2.75rem;
}

.trademark-actions-end {
  justify-content: flex-end;
}

.trademark-actions-split {
  justify-content: space-between;
  gap: 1rem;
}

.trademark-back {
  min-width: 170px;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-weight: 700;
}

.trademark-proceed {
  min-width: 420px;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, #ff7a1c, #ff6812);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 26px 54px -36px rgba(255, 104, 18, 0.65);
}

.trademark-proceed:hover,
.trademark-proceed:focus {
  background: linear-gradient(180deg, #ff872f, #ff6f1a);
  color: #fff;
}

.trademark-proceed:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 1199.98px) {
  .trademark-type-grid {
    max-width: none;
  }
}

@media (max-width: 991.98px) {
  .trademark-step {
    min-width: 190px;
  }

  .trademark-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
  }

  .trademark-detail-grid {
    grid-template-columns: 1fr;
  }

  .trademark-detail-card-wide {
    grid-column: auto;
  }

  .trademark-question-groups {
    gap: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .trademark-registration-page {
    padding: 3rem 0 4rem;
  }

  .trademark-stepper {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .trademark-step {
    min-width: 0;
    width: 100%;
    clip-path: none;
    border-radius: 999px;
    justify-content: flex-start;
  }

  .trademark-step:first-child {
    clip-path: none;
  }

  .trademark-copy h2 {
    font-size: 1.55rem;
  }

  .trademark-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .trademark-type-visual {
    font-size: 2.8rem;
  }

  .trademark-question-title {
    font-size: 1rem;
  }

  .trademark-chip,
  .trademark-chip span {
    width: 100%;
    min-width: 0;
  }

  .trademark-radio-list {
    flex-direction: column;
    gap: 0.85rem;
  }

  .trademark-actions {
    margin-top: 2rem;
  }

  .trademark-actions-split {
    flex-direction: column-reverse;
  }

  .trademark-back,
  .trademark-proceed {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 479.98px) {
  .trademark-registration-head h1 {
    font-size: 2.2rem;
  }

  .trademark-type-grid {
    grid-template-columns: 1fr;
  }
}

.accounting-taxation-page {
  padding: 4.75rem 0 5.5rem;
  background:
    radial-gradient(circle at top left, rgba(255, 181, 71, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(27, 77, 119, 0.08), transparent 26%),
    linear-gradient(180deg, #fffdf9 0%, #fff 100%);
}

.accounting-taxation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 2rem;
  align-items: start;
}

.accounting-taxation-eyebrow,
.accounting-taxation-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 125, 28, 0.12);
  color: #d86d00;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.accounting-taxation-hero-copy h1 {
  margin: 1rem 0 1rem;
  color: #0f1a2b;
  font-size: clamp(2.5rem, 4.1vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.accounting-taxation-hero-copy p {
  max-width: 720px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #5d6777;
}

.accounting-taxation-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.accounting-taxation-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.accounting-taxation-stat-card {
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: 0 24px 50px -42px rgba(15, 26, 43, 0.35);
}

.accounting-taxation-stat-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #0f1a2b;
  font-size: 1rem;
}

.accounting-taxation-stat-card span {
  color: #5d6777;
  font-size: 0.95rem;
  line-height: 1.6;
}

.accounting-taxation-hero-panel {
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #fff6ec);
  border: 1px solid rgba(255, 125, 28, 0.14);
  box-shadow: 0 32px 64px -44px rgba(15, 26, 43, 0.3);
}

.accounting-taxation-highlight {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.accounting-taxation-highlight-icon,
.accounting-taxation-feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff9e29, #ff7a1c);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 22px 38px -28px rgba(255, 122, 28, 0.6);
}

.accounting-taxation-highlight h2 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  color: #0f1a2b;
}

.accounting-taxation-highlight p {
  margin: 0;
  color: #5d6777;
  line-height: 1.7;
}

.accounting-taxation-checklist {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.accounting-taxation-checklist li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  color: #334155;
  line-height: 1.6;
}

.accounting-taxation-checklist li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: #ff7a1c;
  box-shadow: 0 0 0 5px rgba(255, 122, 28, 0.14);
  flex: 0 0 auto;
}

.accounting-taxation-feature-grid,
.accounting-taxation-overview,
.accounting-taxation-service-tracks,
.accounting-taxation-process,
.accounting-taxation-faq,
.accounting-taxation-cta {
  margin-top: 4.2rem;
}

.accounting-taxation-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.accounting-taxation-feature-card,
.accounting-taxation-track-card,
.accounting-taxation-process-card,
.accounting-taxation-faq-grid article {
  padding: 1.5rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: 0 26px 52px -42px rgba(15, 26, 43, 0.3);
}

.accounting-taxation-feature-card h2,
.accounting-taxation-track-card h3,
.accounting-taxation-process-card h3,
.accounting-taxation-faq-grid h3 {
  margin: 1rem 0 0.65rem;
  color: #0f1a2b;
}

.accounting-taxation-feature-card p,
.accounting-taxation-process-card p,
.accounting-taxation-faq-grid p {
  margin: 0;
  color: #5d6777;
  line-height: 1.75;
}

.accounting-taxation-section-head {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.accounting-taxation-section-head h2 {
  margin: 0.95rem 0 0;
  color: #0f1a2b;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.accounting-taxation-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
}

.accounting-taxation-overview-copy {
  padding: 1.6rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #fffaf3);
  border: 1px solid rgba(15, 26, 43, 0.06);
  box-shadow: 0 26px 52px -44px rgba(15, 26, 43, 0.25);
}

.accounting-taxation-overview-copy p {
  margin: 0 0 1rem;
  color: #5d6777;
  line-height: 1.85;
}

.accounting-taxation-overview-copy p:last-child {
  margin-bottom: 0;
}

.accounting-taxation-overview-list {
  display: grid;
  gap: 1rem;
}

.accounting-taxation-overview-item {
  padding: 1.25rem 1.35rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: 0 20px 42px -40px rgba(15, 26, 43, 0.28);
}

.accounting-taxation-overview-item strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #0f1a2b;
}

.accounting-taxation-overview-item span {
  color: #5d6777;
  line-height: 1.7;
}

.accounting-taxation-track-grid,
.accounting-taxation-process-grid,
.accounting-taxation-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.accounting-taxation-track-card {
  position: relative;
}

.accounting-taxation-track-card.is-featured {
  background: linear-gradient(180deg, #fff8ef, #fff);
  border-color: rgba(255, 125, 28, 0.2);
}

.accounting-taxation-track-badge {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(27, 77, 119, 0.08);
  color: #1b4d77;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.accounting-taxation-track-card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.1rem;
  color: #475569;
  display: grid;
  gap: 0.75rem;
}

.accounting-taxation-track-card a {
  color: #ff7a1c;
  font-weight: 700;
  text-decoration: none;
}

.accounting-taxation-process-card span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff9e29, #ff7a1c);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.accounting-taxation-cta {
  padding: 2rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 198, 124, 0.22), transparent 28%),
    linear-gradient(135deg, #13253d 0%, #1d4667 100%);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.accounting-taxation-cta h2 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.accounting-taxation-cta p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.accounting-taxation-cta .accounting-taxation-section-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #ffd488;
}

.accounting-taxation-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.accounting-taxation-cta-actions .btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.accounting-taxation-cta-actions .btn-outline-dark:hover,
.accounting-taxation-cta-actions .btn-outline-dark:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1199.98px) {
  .accounting-taxation-stat-grid,
  .accounting-taxation-feature-grid,
  .accounting-taxation-track-grid,
  .accounting-taxation-process-grid,
  .accounting-taxation-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .accounting-taxation-hero,
  .accounting-taxation-overview-grid,
  .accounting-taxation-cta {
    grid-template-columns: 1fr;
  }

  .accounting-taxation-hero-panel {
    max-width: 620px;
  }
}

@media (max-width: 767.98px) {
  .accounting-taxation-page {
    padding: 3rem 0 4rem;
  }

  .accounting-taxation-feature-grid,
  .accounting-taxation-stat-grid,
  .accounting-taxation-track-grid,
  .accounting-taxation-process-grid,
  .accounting-taxation-faq-grid {
    grid-template-columns: 1fr;
  }

  .accounting-taxation-feature-grid,
  .accounting-taxation-overview,
  .accounting-taxation-service-tracks,
  .accounting-taxation-process,
  .accounting-taxation-faq,
  .accounting-taxation-cta {
    margin-top: 3rem;
  }

  .accounting-taxation-hero-actions,
  .accounting-taxation-cta-actions {
    flex-direction: column;
  }

  .accounting-taxation-hero-actions .btn,
  .accounting-taxation-cta-actions .btn {
    width: 100%;
  }

  .accounting-taxation-hero-panel,
  .accounting-taxation-feature-card,
  .accounting-taxation-track-card,
  .accounting-taxation-process-card,
  .accounting-taxation-faq-grid article,
  .accounting-taxation-overview-copy,
  .accounting-taxation-overview-item,
  .accounting-taxation-cta {
    border-radius: 24px;
  }
}

.submission-success-page {
  min-height: calc(100vh - 120px);
  padding: 5rem 0;
  background:
    radial-gradient(circle at top left, rgba(255, 184, 82, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.12), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #fff 100%);
}

.submission-success-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2.2rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: 0 32px 70px -50px rgba(15, 26, 43, 0.35);
  text-align: center;
}

.submission-success-badge {
  width: 82px;
  height: 82px;
  margin: 0 auto 1.25rem;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #2ad08a, #18b56f);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 24px 50px -32px rgba(24, 181, 111, 0.65);
}

.submission-success-kicker {
  margin: 0 0 0.7rem;
  color: #11945a;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.submission-success-shell h1 {
  margin: 0;
  color: #0f1a2b;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.submission-success-copy {
  max-width: 700px;
  margin: 1.15rem auto 0;
  color: #5d6777;
  font-size: 1.06rem;
  line-height: 1.85;
}

.submission-success-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.3rem;
  text-align: left;
}

.submission-success-card {
  padding: 1.4rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fff8ee);
  border: 1px solid rgba(15, 26, 43, 0.08);
}

.submission-success-card h2 {
  margin: 0 0 0.55rem;
  color: #0f1a2b;
  font-size: 1.1rem;
}

.submission-success-card p {
  margin: 0;
  color: #5d6777;
  line-height: 1.75;
}

.submission-success-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .submission-success-page {
    padding: 3rem 0;
  }

  .submission-success-shell {
    padding: 2.2rem 1.25rem;
    border-radius: 26px;
  }

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

  .submission-success-actions {
    flex-direction: column;
  }

  .submission-success-actions .btn {
    width: 100%;
  }
}

.rn-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: #0f1a2b;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 24px 50px -36px rgba(15, 26, 43, 0.35);
}

.rn-tool-btn:hover {
  color: #ff7a1c;
  transform: translateY(-1px);
}

.ra-builder-page,
.ra-preview-page {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(circle at top left, rgba(255, 183, 77, 0.14), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, #fff 100%);
}

.ra-builder-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

.ra-builder-hero-card,
.ra-builder-card,
.ra-document {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: 0 28px 60px -46px rgba(15, 26, 43, 0.3);
}

.ra-builder-hero-card {
  padding: 1.5rem;
}

.ra-builder-form {
  display: grid;
  gap: 1.35rem;
}

.ra-builder-grid {
  display: grid;
  gap: 1.35rem;
}

.ra-builder-card {
  padding: 1.6rem;
}

.ra-builder-card h2 {
  margin: 0 0 1rem;
  color: #0f1a2b;
  font-size: 1.35rem;
}

.ra-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.ra-field-span {
  grid-column: span 2;
}

.ra-builder-card .form-row {
  margin-bottom: 0;
}

.ra-builder-card input,
.ra-builder-card textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 26, 43, 0.16);
  padding: 0.9rem 1rem;
  background: #fff;
}

.ra-builder-card input:focus,
.ra-builder-card textarea:focus {
  outline: none;
  border-color: #fb9400;
  box-shadow: 0 0 0 4px rgba(251, 148, 0, 0.12);
}

.ra-builder-actions,
.ra-preview-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ra-sample-picker {
  position: relative;
}

.ra-sample-picker-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.65rem);
  min-width: 230px;
  padding: 0.7rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 26, 43, 0.1);
  box-shadow: 0 24px 48px -36px rgba(15, 26, 43, 0.35);
  display: grid;
  gap: 0.55rem;
  z-index: 5;
}

.ra-sample-option {
  justify-content: center;
}

.ra-preview-actions {
  margin-bottom: 1.5rem;
}

.ra-document {
  max-width: 920px;
  margin: 0 auto;
  padding: 3rem;
}

.ra-document-header {
  text-align: center;
  border-bottom: 1px solid rgba(15, 26, 43, 0.1);
  padding-bottom: 1.4rem;
  margin-bottom: 1.8rem;
}

.ra-document-header p {
  margin: 0 0 0.6rem;
  color: #8b5b00;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
}

.ra-document-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2.2rem;
  color: #0f1a2b;
}

.ra-document-header span {
  color: #5d6777;
}

.ra-document-body {
  color: #1f2937;
  line-height: 1.9;
  font-size: 1rem;
}

.ra-clause-list {
  margin: 1.2rem 0 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 1rem;
}

.ra-clause-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.ra-clause-list p,
.ra-document-note {
  margin: 0.2rem 0 0;
}

.ra-document-signatures,
.ra-witness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.ra-document-signatures {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(15, 26, 43, 0.1);
}

.ra-document-witnesses {
  margin-top: 2rem;
}

.ra-document-witnesses h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: #0f1a2b;
}

.ra-signature-block {
  text-align: center;
}

.ra-signature-block span {
  display: block;
  margin-bottom: 0.7rem;
  color: #475569;
}

.ra-signature-block strong {
  display: block;
  color: #0f1a2b;
}

.ra-signature-block p {
  margin: 0.3rem 0 0;
  color: #5d6777;
}

@media print {
  .app-header,
  .app-sidebar,
  .site-header,
  .site-footer,
  .ra-preview-actions {
    display: none !important;
  }

  .ra-preview-page {
    background: #fff;
    padding: 0;
  }

  .ra-document {
    box-shadow: none;
    border: 0;
    margin: 0;
    max-width: none;
    padding: 0;
  }
}

@media (max-width: 991.98px) {
  .ra-builder-hero,
  .ra-document-signatures,
  .ra-witness-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .ra-builder-page,
  .ra-preview-page {
    padding: 3rem 0 4rem;
  }

  .ra-field-grid {
    grid-template-columns: 1fr;
  }

  .ra-field-span {
    grid-column: auto;
  }

  .ra-builder-actions .btn,
  .ra-preview-actions .btn,
  .rn-tool-btn {
    width: 100%;
    justify-content: center;
  }

  .ra-sample-picker {
    width: 100%;
  }

  .ra-sample-picker-menu {
    position: static;
    min-width: 0;
    margin-top: 0.7rem;
  }

  .ra-document {
    padding: 1.6rem 1.2rem;
  }
}

.clients-hero-page {
  padding: 6rem 0 4rem;
  background: linear-gradient(120deg, rgba(244, 238, 229, 0.9), rgba(232, 243, 239, 0.9));
}

.client-categories,
.client-directory {
  background: var(--surface-alt);
}

.client-request {
  background: var(--surface);
}

.client-directory-table tbody td {
  line-height: 1.5;
}

.admin-login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(27, 77, 119, 0.24), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 107, 74, 0.18), transparent 28%),
    linear-gradient(135deg, #eff4fb 0%, #f8f3ea 100%);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.admin-login-box {
  width: min(100%, 430px);
}

.admin-login-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-lagoon);
  margin-bottom: 0.85rem;
}

.admin-login-btn {
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 700;
}

.admin-image-preview {
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
}

.admin-image-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-slate);
}

.admin-preview-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(15, 26, 43, 0.12);
  background: #fff;
  padding: 0.75rem;
}

.admin-preview-favicon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
}

.office-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(120deg, rgba(229, 240, 251, 0.84), rgba(238, 246, 236, 0.84));
}

.office-help,
.office-directory {
  background: var(--surface-alt);
}

.office-directory-shell {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 26, 43, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.directory-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem 1.2rem;
  background: linear-gradient(135deg, rgba(15, 26, 43, 0.03), rgba(27, 77, 119, 0.08));
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
}

.directory-intro p {
  margin: 0.45rem 0 0;
  color: var(--brand-slate);
  max-width: 720px;
}

.directory-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-lagoon);
}

.directory-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.directory-chip {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 26, 43, 0.08);
  color: var(--brand-ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.tax-table-wrap {
  padding: 0.8rem;
}

.tax-directory-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.tax-directory-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
  background: #f4f6fa;
  color: var(--brand-ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
}

.tax-directory-table thead th:first-child {
  border-top-left-radius: 18px;
}

.tax-directory-table thead th:last-child {
  border-top-right-radius: 18px;
}

.tax-directory-table tbody td {
  padding: 1rem;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
  color: var(--brand-slate);
  line-height: 1.6;
}

.tax-directory-table tbody tr:hover td {
  background: #fbfcff;
}

.tax-directory-table tbody tr:last-child td {
  border-bottom: 0;
}

.tax-directory-table tbody td:first-child {
  color: var(--brand-ink);
}

.tax-directory-table tbody td strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-ink);
}

.office-subline {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--brand-lagoon);
}

.tax-directory-table tbody td a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(27, 77, 119, 0.08);
  color: var(--brand-lagoon);
  font-weight: 700;
}

.tax-directory-table tbody td a:hover {
  background: rgba(255, 107, 74, 0.12);
  color: var(--brand-coral);
}

.office-table {
  display: grid;
  gap: 0.85rem;
}

.office-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 2fr 1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 26, 43, 0.08);
  border-radius: 18px;
  padding: 1rem 1.2rem;
}

.office-row-head {
  background: transparent;
  border: 0;
  padding: 0 0.2rem 0.4rem;
  color: var(--brand-slate);
  font-size: 0.9rem;
  font-weight: 700;
}

.office-note {
  color: var(--brand-slate);
  margin-top: 1rem;
}

.office-guidance {
  background: var(--surface);
}

@media (max-width: 767px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .directory-intro {
    flex-direction: column;
  }

  .tax-table-wrap {
    padding: 0.3rem;
  }

  .tax-directory-table thead {
    display: none;
  }

  .tax-directory-table,
  .tax-directory-table tbody,
  .tax-directory-table tr,
  .tax-directory-table td {
    display: block;
    width: 100%;
  }

  .tax-directory-table tbody tr {
    background: #fff;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(15, 26, 43, 0.08);
    border-radius: 18px;
    overflow: hidden;
  }

  .tax-directory-table tbody td {
    border-bottom: 1px solid rgba(15, 26, 43, 0.06);
    padding: 0.85rem 1rem;
  }

  .tax-directory-table tbody tr:last-child td:last-child {
    border-bottom: 0;
  }

  .office-row {
    grid-template-columns: 1fr;
  }

  .office-row-head {
    display: none;
  }
}

.form-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.form-card {
  background: var(--surface-alt);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row input,
.form-row textarea {
  border-radius: 12px;
  border: 1px solid rgba(15, 26, 43, 0.15);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
}

.form-row label {
  font-weight: 600;
  color: var(--brand-ink);
}

.form-note {
  color: var(--brand-slate);
  font-size: 0.9rem;
  margin: 0;
}

.services-hero-page,
.service-detail-hero {
  padding: 5.5rem 0 3.5rem;
}

.services-hero-shell,
.service-detail-shell {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  align-items: stretch;
}

.services-hero-copy,
.service-detail-copy {
  padding: 2.2rem 0;
}

.services-hero-panel,
.service-detail-badge-card {
  position: relative;
  border-radius: 28px;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(15, 26, 43, 0.96), rgba(27, 77, 119, 0.92));
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.services-hero-panel::before,
.service-detail-badge-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.5), transparent 70%);
}

.services-hero-stack {
  display: grid;
  gap: 1rem;
}

.services-hero-stack > div {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.services-stat-number {
  display: block;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.1;
}

.services-stat-label {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.services-featured-band {
  background: rgba(255, 255, 255, 0.65);
}

.services-featured-grid,
.services-proof-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-highlight-card,
.service-catalog-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 26, 43, 0.08);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 20px 60px -45px rgba(15, 26, 43, 0.45);
}

.service-highlight-icon,
.service-catalog-icon,
.service-detail-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 107, 74, 0.16), rgba(24, 165, 122, 0.12));
  color: var(--brand-lagoon);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-lagoon);
  font-weight: 700;
}

.services-catalog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-catalog-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.service-detail-badge-card h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  margin-top: 0.8rem;
}

.service-detail-badge-card p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.84);
}

.service-reading-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.65fr);
  align-items: start;
}

.service-reading-sidebar {
  position: sticky;
  top: 128px;
}

.service-sidebar-card,
.service-reading-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 26, 43, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.service-sidebar-card {
  padding: 1.5rem;
}

.service-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.service-sidebar-list li {
  color: var(--brand-slate);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
}

.service-reading-card {
  padding: 2rem;
}

.service-reading-card p {
  margin: 0 0 1.35rem;
  color: var(--brand-slate);
  line-height: 1.92;
  font-size: 1.03rem;
}

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

.package-detail-hero {
  padding: 6rem 0 4rem;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 74, 0.2), transparent 30%),
    linear-gradient(135deg, #0f1a2b, #123b56 56%, #f08f44 140%);
  color: #fff;
}

.package-detail-shell {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: start;
}

.package-price-billboard {
  display: grid;
  gap: 0.6rem;
  margin: 1.8rem 0;
  padding: 1.4rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.package-price-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.package-price-note {
  color: rgba(255, 255, 255, 0.76);
}

.package-summary-card,
.package-sidebar-card,
.package-reading-card {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.package-summary-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 242, 235, 0.95));
  color: var(--brand-ink);
  padding: 2rem;
}

.package-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.package-feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--brand-slate);
}

.package-feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-coral);
  font-size: 1.3rem;
  line-height: 1;
}

.package-detail-body {
  background: var(--surface-alt);
}

.package-reading-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.package-reading-card {
  background: #fff;
  padding: 2.2rem;
  color: var(--brand-slate);
  line-height: 1.85;
}

.package-sidebar-card {
  background:
    radial-gradient(circle at top right, rgba(255, 107, 74, 0.14), transparent 40%),
    linear-gradient(180deg, #fffdf9, #f3f7fb);
  padding: 2rem;
  border: 1px solid rgba(15, 26, 43, 0.08);
}

@media (max-width: 991px) {
  .services-hero-shell,
  .service-detail-shell,
  .service-reading-grid,
  .package-detail-shell,
  .package-reading-grid {
    grid-template-columns: 1fr;
  }

  .service-reading-sidebar {
    position: static;
  }
}

.client-login-page {
  padding: 5rem 0;
}

.client-login-shell {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  align-items: center;
}

.client-login-copy {
  padding: 1.5rem 0;
}

.client-login-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.client-login-highlights article {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 26, 43, 0.08);
  border-radius: 20px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 24px 50px -42px rgba(15, 26, 43, 0.35);
}

.client-login-highlights article strong,
.client-login-highlights article span {
  display: block;
}

.client-login-highlights article span {
  margin-top: 0.35rem;
  color: var(--brand-slate);
}

.client-login-card {
  position: relative;
}

.client-login-card::before {
  content: "";
  position: absolute;
  inset: -18px -12px auto auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.28), transparent 70%);
}

.client-login-card-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: var(--shadow);
}

.client-login-submit {
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-weight: 700;
}

.client-portal-hero {
  padding: 4.5rem 0 2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 74, 0.18), transparent 30%),
    linear-gradient(135deg, #f4ede3, #ecf5fb 60%, #eef8f1);
}

.client-portal-hero-shell {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  align-items: stretch;
}

.client-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.client-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(27, 77, 119, 0.1);
  color: var(--brand-lagoon);
  font-size: 0.82rem;
  font-weight: 700;
}

.client-chip-ok {
  background: rgba(24, 165, 122, 0.14);
  color: var(--brand-mint);
}

.client-chip-alert {
  background: rgba(255, 107, 74, 0.16);
  color: #c84a2f;
}

.client-chip-muted {
  background: rgba(15, 26, 43, 0.08);
  color: var(--brand-slate);
}

.client-summary-card,
.client-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 26, 43, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.client-summary-card {
  height: 100%;
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
  background:
    radial-gradient(circle at top right, rgba(27, 77, 119, 0.16), transparent 35%),
    linear-gradient(165deg, #ffffff, #f5f8fb);
}

.client-summary-label,
.client-detail-card span,
.client-stack-item span,
.client-notice-card span,
.client-section-kicker {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-lagoon);
}

.client-portal-body {
  padding: 0 0 5rem;
}

.client-portal-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-panel {
  padding: 1.6rem;
}

.client-panel-wide {
  grid-column: span 2;
}

.client-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.client-panel-head h2,
.client-uploaded-head h3,
.client-doc-tile h3 {
  margin: 0.35rem 0 0;
}

.client-detail-grid,
.client-doc-grid,
.client-notice-grid {
  display: grid;
  gap: 1rem;
}

.client-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-doc-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1.5rem;
}

.client-notice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-detail-card,
.client-notice-card,
.client-doc-tile,
.client-stack-item {
  border-radius: 20px;
  border: 1px solid rgba(15, 26, 43, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.client-detail-card,
.client-notice-card {
  padding: 1rem 1.1rem;
}

.client-detail-card strong,
.client-stack-item strong,
.client-notice-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1rem;
  color: var(--brand-ink);
  line-height: 1.6;
}

.client-detail-card-long,
.client-notice-card-wide {
  grid-column: span 2;
}

.client-stack-list {
  display: grid;
  gap: 0.8rem;
}

.client-stack-item {
  padding: 0.95rem 1rem;
}

.client-doc-tile {
  padding: 1.15rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.client-doc-tile a {
  color: var(--brand-lagoon);
  font-weight: 700;
}

.client-doc-empty {
  color: var(--brand-slate);
}

.client-uploaded-files {
  border-top: 1px solid rgba(15, 26, 43, 0.08);
  padding-top: 1.5rem;
}

.client-uploaded-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.client-doc-table thead th {
  background: #f4f6fa;
  color: var(--brand-ink);
  font-size: 0.86rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
}

.client-doc-table tbody td {
  color: var(--brand-slate);
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
}

.client-doc-table tbody td a {
  font-weight: 700;
  color: var(--brand-lagoon);
}

.client-empty-state {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(15, 26, 43, 0.04);
  color: var(--brand-slate);
}

@media (max-width: 991px) {
  .client-login-shell,
  .client-portal-hero-shell,
  .client-portal-grid,
  .client-detail-grid,
  .client-notice-grid {
    grid-template-columns: 1fr;
  }

  .client-panel-wide,
  .client-detail-card-long,
  .client-notice-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .client-login-page,
  .client-portal-hero {
    padding-top: 3.5rem;
  }

  .client-login-card-inner,
  .client-panel,
  .client-summary-card {
    padding: 1.35rem;
  }

  .client-uploaded-head {
    flex-direction: column;
    align-items: start;
  }
}
