:root {
  --ink: #12233a;
  --ink-soft: #5e6978;
  --surface: #ffffff;
  --surface-soft: #f5f6f7;
  --line: #dfe4ea;
  --accent: #d00f37;
  --accent-strong: #aa0a2c;
  --accent-wash: #fdeef2;
  --teal: #98b8b0;
  --sand: #e4e1c9;
  --shadow-soft: 0 14px 42px rgba(15, 33, 60, 0.1);
  --shadow-strong: 0 20px 55px rgba(15, 33, 60, 0.16);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% -10%, rgba(152, 184, 176, 0.36), transparent 42%),
    radial-gradient(circle at -6% 26%, rgba(228, 225, 201, 0.6), transparent 38%),
    #f2f2f1;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(18, 35, 58, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 35, 58, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
}

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

.inline-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(208, 15, 55, 0.5);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.inline-link:hover {
  color: var(--accent);
  text-decoration-color: rgba(208, 15, 55, 0.92);
}

.inline-link:focus-visible {
  outline: 2px solid rgba(208, 15, 55, 0.3);
  outline-offset: 2px;
  border-radius: 2px;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: min(1160px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 35, 58, 0.08);
  background: rgba(245, 246, 247, 0.88);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: clamp(122px, 12vw, 152px);
  height: auto;
  margin-top: 8px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.6rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  position: relative;
  color: rgba(18, 35, 58, 0.76);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(145deg, #ea1b46, #b70c32);
  border-color: rgba(170, 10, 44, 0.28);
  box-shadow: 0 12px 22px rgba(208, 15, 55, 0.24);
}

.button-primary:hover {
  box-shadow: 0 16px 28px rgba(208, 15, 55, 0.28);
}

.button-secondary,
.button-light {
  color: var(--ink);
  border-color: rgba(18, 35, 58, 0.16);
  background: #fff;
  box-shadow: 0 10px 20px rgba(15, 33, 60, 0.08);
}

.button-secondary:hover,
.button-light:hover {
  color: var(--ink);
  border-color: rgba(18, 35, 58, 0.3);
  box-shadow: 0 14px 26px rgba(15, 33, 60, 0.13);
  background: #fff;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 35, 58, 0.15);
  border-radius: 10px;
  background: #fff;
  display: none;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 18px;
  height: 2px;
  border-radius: 8px;
  background: var(--ink);
  display: block;
  content: "";
  transition: transform 0.22s ease;
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(18, 35, 58, 0.1);
  padding: 0.8rem 0 1.2rem;
}

.mobile-nav a {
  display: block;
  padding: 0.78rem 0;
  font-weight: 700;
  color: rgba(18, 35, 58, 0.9);
}

.hero {
  padding: 4.6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(18, 35, 58, 0.47);
}

.hero-eyebrow {
  margin-left: 0.14rem;
  letter-spacing: 0.19em;
}

.display-title {
  margin: 0.72rem 0 1.2rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}

.display-title .accent {
  color: var(--accent);
}

.lead {
  margin: 0;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.hero-actions .button {
  min-height: 3.2rem;
}

.hero-actions .button-primary + .button-secondary,
.hero-actions .button-primary + .button-light {
  color: #fff;
  border-color: rgba(18, 35, 58, 0.44);
  background: linear-gradient(145deg, #1d2f4a, #12233a);
  box-shadow: 0 12px 22px rgba(15, 33, 60, 0.2);
}

.hero-actions .button-primary + .button-secondary:hover,
.hero-actions .button-primary + .button-light:hover {
  color: #fff;
  border-color: rgba(18, 35, 58, 0.62);
  background: linear-gradient(145deg, #243754, #132741);
  box-shadow: 0 16px 28px rgba(15, 33, 60, 0.24);
}

.hero-media {
  position: relative;
  margin: 0;
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #0f1f36;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
  z-index: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 32, 54, 0.62), rgba(16, 32, 54, 0.14) 50%, rgba(208, 15, 55, 0.38));
  pointer-events: none;
  z-index: 1;
}

.hero-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(9, 21, 38, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.86rem;
  z-index: 2;
}

.hero-tag::before {
  content: "";
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ea1b46, #b70c32);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.float-stat {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.72rem 0.88rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 25, 43, 0.64);
  color: #fff;
  box-shadow: 0 12px 24px rgba(7, 18, 34, 0.35);
  z-index: 2;
}

.float-stat strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.24rem;
}

.float-stat span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  padding: 4.9rem 0;
}

.section-soft {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(236, 241, 239, 0.8));
  border-top: 1px solid rgba(18, 35, 58, 0.08);
  border-bottom: 1px solid rgba(18, 35, 58, 0.08);
}

.section-head {
  margin-bottom: 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.4rem;
}

.section-title {
  margin: 0.3rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  letter-spacing: -0.02em;
}

.section-note {
  margin: 0;
  max-width: 34ch;
  color: var(--ink-soft);
}

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

.services-core-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.services-core-grid .card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 20.5rem;
}

.services-core-grid .card:nth-child(4) {
  grid-column: 3 / span 4;
}

.services-core-grid .card:nth-child(5) {
  grid-column: 7 / span 4;
}

.resource-cards-grid .card {
  display: flex;
  flex-direction: column;
}

.resource-cards-grid .card:not(.card-downloads) .link-arrow {
  margin-top: auto;
  padding-top: 1rem;
}

.card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0.9rem 0 0.55rem;
  font-family: "Sora", sans-serif;
  font-size: 1.24rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.icon-pill {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-wash);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.22s ease;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.card-downloads {
  position: relative;
  overflow: hidden;
}

.resource-cards-grid .card-downloads-featured {
  grid-column: 1 / -1;
  padding: 1.7rem;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.97), rgba(253, 238, 242, 0.5));
}

.card-downloads::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(208, 15, 55, 0.1), transparent 70%);
  pointer-events: none;
}

.card-downloads-head {
  max-width: 58ch;
  margin: 0 auto 1.2rem;
  text-align: center;
}

.download-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 35, 58, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(18, 35, 58, 0.64);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-downloads-head h3 {
  margin: 0.62rem 0 0.45rem;
  font-size: clamp(1.32rem, 2.15vw, 1.62rem);
}

.card-downloads-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0.95rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.card-downloads .download-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.66rem;
  padding: 0.68rem 0.82rem;
  border-radius: 11px;
  border: 1px solid rgba(18, 35, 58, 0.11);
  background: linear-gradient(140deg, rgba(253, 238, 242, 0.36), rgba(255, 255, 255, 0.96));
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.download-item::after {
  content: "→";
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease;
}

.download-item:hover {
  border-color: rgba(208, 15, 55, 0.34);
  box-shadow: 0 8px 16px rgba(18, 35, 58, 0.08);
  transform: translateX(2px);
}

.download-item:hover::after {
  transform: translateX(2px);
}

.download-item:focus-visible {
  outline: 2px solid rgba(208, 15, 55, 0.34);
  outline-offset: 2px;
}

.download-item-name {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.download-item-type {
  padding: 0.17rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(208, 15, 55, 0.3);
  color: var(--accent);
  background: rgba(253, 238, 242, 0.84);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.1rem;
  align-items: start;
}

.highlight-panel {
  padding: 2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

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

.check-list li {
  display: flex;
  gap: 0.56rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-top: 2px;
  flex: 0 0 18px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 20%, transparent 24%),
    linear-gradient(145deg, #ea1b46, #b70c32);
  box-shadow: 0 8px 14px rgba(208, 15, 55, 0.25);
}

.panel-group {
  margin-top: 1.1rem;
}

.panel-group + .panel-group {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(18, 35, 58, 0.1);
}

.panel-subtitle {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(18, 35, 58, 0.6);
}

.panel-group .check-list {
  margin-top: 0.7rem;
}

.testimonial {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 18px;
  border: 1px solid rgba(18, 35, 58, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.testimonial p {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.5;
}

.testimonial cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.portal-window {
  border: 1px solid rgba(18, 35, 58, 0.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.portal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: #15263d;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.window-dots {
  display: flex;
  gap: 0.28rem;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: block;
}

.window-dots i:nth-child(1) {
  background: var(--accent);
}

.window-dots i:nth-child(2) {
  background: #d7c9a0;
}

.window-dots i:nth-child(3) {
  background: #89aaa2;
}

.portal-grid {
  padding: 1.05rem;
  display: grid;
  gap: 0.68rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-item {
  min-height: 94px;
  padding: 0.82rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  border-radius: 12px;
  border: 1px solid rgba(18, 35, 58, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 250, 0.94));
}

.portal-row {
  grid-column: 1 / -1;
  min-height: 126px;
  border-color: rgba(208, 15, 55, 0.14);
  background: linear-gradient(145deg, rgba(253, 238, 242, 0.52), rgba(244, 246, 249, 0.96));
}

.portal-item-head,
.portal-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.portal-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: rgba(18, 35, 58, 0.62);
}

.portal-badge {
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  border: 1px solid transparent;
}

.portal-badge--ok {
  color: var(--accent-strong);
  background: rgba(208, 15, 55, 0.1);
  border-color: rgba(208, 15, 55, 0.32);
}

.portal-badge--warn {
  color: var(--ink);
  background: rgba(228, 225, 201, 0.56);
  border-color: rgba(18, 35, 58, 0.2);
}

.portal-badge--calm {
  color: #28453f;
  background: rgba(152, 184, 176, 0.32);
  border-color: rgba(152, 184, 176, 0.68);
}

.portal-value {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.portal-meta {
  margin: 0;
  color: rgba(18, 35, 58, 0.64);
  font-size: 0.74rem;
}

.portal-row-period {
  color: rgba(18, 35, 58, 0.56);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-activity {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
  display: grid;
  gap: 0.34rem;
}

.portal-activity li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.44rem;
  border-radius: 8px;
  padding: 0.38rem 0.46rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 35, 58, 0.1);
}

.activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(18, 35, 58, 0.36);
}

.activity-dot--ok {
  background: var(--accent);
}

.activity-dot--warn {
  background: #a08d63;
}

.activity-dot--calm {
  background: #6f9289;
}

.activity-text {
  color: rgba(18, 35, 58, 0.76);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-time {
  color: rgba(18, 35, 58, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.metric strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.62rem;
  color: var(--accent);
}

.metric span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section--compact {
  padding: 2.5rem 0;
}

.custom-scope-section {
  padding-top: clamp(2.6rem, 4vw, 3.6rem);
  padding-bottom: clamp(3.8rem, 5vw, 4.9rem);
  background: linear-gradient(180deg, rgba(244, 247, 247, 0.58), rgba(255, 255, 255, 0.72));
  border-top: 1px solid rgba(18, 35, 58, 0.07);
  border-bottom: 1px solid rgba(18, 35, 58, 0.09);
}

.custom-scope-studio {
  position: relative;
  overflow: hidden;
  max-width: min(100%, 62rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 1.8vw, 1.65rem);
  border-radius: 18px;
  border: 1px solid rgba(18, 35, 58, 0.14);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.97), rgba(253, 238, 242, 0.78));
  box-shadow: 0 16px 36px rgba(15, 33, 60, 0.13);
  display: grid;
  grid-template-columns: 1.2fr 0.88fr;
  gap: 1rem;
  align-items: stretch;
}

.custom-scope-studio::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -68px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(208, 15, 55, 0.12), transparent 68%);
  pointer-events: none;
}

.custom-scope-main h3 {
  margin: 0.66rem 0 0.62rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.78rem);
  line-height: 1.18;
  letter-spacing: -0.016em;
  color: var(--ink);
}

.custom-scope-main p {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.56;
}

.custom-scope-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.custom-scope-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(208, 15, 55, 0.24);
  background: rgba(253, 238, 242, 0.88);
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.64rem;
}

.custom-scope-rail {
  border-radius: 14px;
  border: 1px solid rgba(18, 35, 58, 0.13);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.74rem;
}

.custom-scope-rail h4 {
  margin: 0;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.custom-scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.48rem;
}

.custom-scope-list li {
  position: relative;
  padding-left: 0.84rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.custom-scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #ea1b46, #b70c32);
}

.custom-scope-rail .button {
  margin-top: auto;
  width: 100%;
  min-height: 3rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: start;
  padding-right: clamp(0.4rem, 1.2vw, 0.95rem);
}

.legal-summary .section-title {
  font-size: clamp(1.36rem, 2.4vw, 1.8rem);
}

.legal-card {
  padding: 1.45rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.legal-meta {
  margin: 0;
  color: rgba(18, 35, 58, 0.62);
  font-size: 0.92rem;
}

.legal-note {
  margin-top: 0.5rem;
}

.legal-card section {
  margin-top: 1.18rem;
  padding-top: 1.18rem;
  border-top: 1px solid rgba(18, 35, 58, 0.1);
}

.legal-card h2 {
  margin: 0 0 0.5rem;
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.legal-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.legal-list {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.legal-list li {
  margin: 0 0 0.32rem;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.2rem;
}

.contact-hero {
  padding-top: clamp(3.9rem, 5.6vw, 5.1rem);
  padding-bottom: clamp(4.2rem, 6.2vw, 5.4rem);
}

.contact-shell {
  gap: clamp(1.25rem, 2.1vw, 1.8rem);
  align-items: stretch;
}

.contact-intro-panel {
  padding: clamp(1.3rem, 1.9vw, 1.65rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.93));
  border-color: rgba(18, 35, 58, 0.11);
}

.contact-intro-panel .contact-title {
  margin: 0.62rem 0 1rem;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.04;
  max-width: 11ch;
}

.contact-intro-panel .lead {
  font-size: 1.02rem;
  max-width: 36ch;
}

.contact-intro-panel .check-list {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.44rem;
}

.contact-intro-panel .check-list li {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.contact-intro-panel .check-list li::before {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-top: 0.36rem;
  box-shadow: 0 5px 11px rgba(208, 15, 55, 0.16);
}

.contact-intro-panel .hero-actions {
  margin-top: 1.25rem;
}

.contact-intro-panel .hero-actions .button {
  min-height: 3rem;
}

.contact-meta-block {
  margin-top: 0.95rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(18, 35, 58, 0.1);
  display: grid;
  gap: 0.4rem;
}

.contact-meta-block .form-meta {
  margin: 0;
  font-size: 0.88rem;
}

.form-box {
  padding: 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-form-panel {
  padding: clamp(1.2rem, 1.9vw, 1.6rem);
  border-color: rgba(18, 35, 58, 0.11);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 250, 0.94));
}

.contact-form-intro {
  margin-bottom: 1rem;
  padding: 0.74rem 0.86rem;
  border-radius: 12px;
  border: 1px solid rgba(18, 35, 58, 0.1);
  background: rgba(255, 255, 255, 0.84);
}

.contact-form-intro .eyebrow {
  margin-bottom: 0.25rem;
}

.contact-form-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-form-panel .field input,
.contact-form-panel .field select,
.contact-form-panel .field textarea {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(18, 35, 58, 0.12);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(18, 35, 58, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  min-height: 48px;
  padding: 0.76rem 0.86rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(208, 15, 55, 0.18);
  border-color: rgba(208, 15, 55, 0.45);
}

.form-meta {
  margin: 0.75rem 0 0;
  color: rgba(18, 35, 58, 0.52);
  font-size: 0.8rem;
}

.proposal-form.is-submitted .form-grid,
.proposal-form.is-submitted button[type="submit"] {
  display: none;
}

.form-meta--success {
  margin-top: 2rem;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.6;
}

.form-meta--success a {
  color: var(--accent);
}

.cta-band {
  border-radius: 18px;
  background: linear-gradient(130deg, #e21444, #b00930);
  color: #fff;
  padding: 2rem 1.55rem 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 44px rgba(194, 9, 53, 0.28);
}

.cta-band h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.42rem, 2.4vw, 2rem);
}

.cta-band .hero-actions {
  margin-top: 0;
  margin-left: auto;
  gap: 1rem;
  justify-content: flex-end;
}

.cta-band .hero-actions .button {
  min-width: 15.75rem;
}

.site-footer {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.84);
  background: #13243a;
}

.footer-top {
  padding: 3.2rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr 0.9fr;
  gap: 1.2rem;
}

.footer-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.14rem;
}

.footer-links .footer-title,
.portal-links .footer-title {
  margin-bottom: 0.72rem;
}

.footer-top > section:last-child .footer-title {
  margin-bottom: 0.72rem;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 0.35rem;
}

.footer-logo {
  width: clamp(140px, 16vw, 176px);
  height: auto;
}

.footer-copy,
.footer-links a,
.footer-addr {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-addr {
  font-style: normal;
  margin: 0;
}

.footer-links a {
  display: block;
  margin-bottom: 0.42rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.footer-top > section:last-child .footer-subtitle + .footer-addr + .footer-subtitle {
  margin-top: 0.95rem;
}

.footer-top > section:last-child .footer-addr {
  line-height: 1.42;
}

.footer-top > section:last-child .footer-addr .footer-phone {
  display: inline-block;
  margin-top: 0.2rem;
}

.portal-links a {
  display: block;
  margin-bottom: 0.42rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.portal-links a:hover {
  color: #fff;
}

.footer-seo {
  margin-top: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-seo p {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.56);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
}

.footer-seo-links span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
}

.footer-phone {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.footer-phone:hover {
  color: #fff;
}

.footer-addr .footer-phone + .footer-phone {
  display: inline-block;
  margin-top: 0.2rem;
}

.footer-top > section:not(:first-child) {
  padding-top: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
  color: #fff;
}

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

.faq-group {
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-group h3 {
  margin: 0 0 0.8rem;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
}

.faq-item {
  border-top: 1px solid rgba(18, 35, 58, 0.08);
  padding: 0.72rem 0;
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.service-area-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.service-area-item h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
}

.service-area-item p {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1030px) {
  .hero-grid,
  .split,
  .form-shell,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .legal-layout {
    padding-right: 0;
  }

  .contact-shell {
    gap: 1.12rem;
  }

  .contact-intro-panel .contact-title {
    max-width: none;
    font-size: clamp(2rem, 7.2vw, 3rem);
  }

  .hero-media {
    min-height: 420px;
  }

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

  .services-core-grid .card {
    grid-column: auto;
    min-height: 0;
  }

  .services-core-grid .card:nth-child(4),
  .services-core-grid .card:nth-child(5) {
    grid-column: auto;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .custom-scope-studio {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1160px, calc(100% - 1.5rem));
  }

  .site-header {
    background: rgba(245, 246, 247, 0.96);
  }

  .main-nav,
  .header-actions .button-primary {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero {
    padding-top: 3rem;
  }

  .contact-hero {
    padding-top: 2.5rem;
    padding-bottom: 3.6rem;
  }

  .hero-media {
    min-height: 330px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }

  .custom-scope-studio {
    padding: 1rem;
    gap: 0.8rem;
  }

  .contact-intro-panel,
  .contact-form-panel {
    padding: 1rem;
  }

  .contact-intro-panel .contact-title {
    font-size: clamp(1.9rem, 12.2vw, 2.56rem);
    line-height: 1.06;
  }

  .contact-meta-block .form-meta {
    font-size: 0.82rem;
  }

  .custom-scope-main h3 {
    font-size: clamp(1.24rem, 7.5vw, 1.52rem);
  }

  .custom-scope-main p {
    font-size: 0.96rem;
  }

  .custom-scope-tags span {
    font-size: 0.66rem;
  }

  .custom-scope-rail {
    padding: 0.9rem;
    gap: 0.68rem;
  }

  .custom-scope-rail .button {
    width: min(100%, 20rem);
  }

  .resource-cards-grid .card-downloads-featured {
    padding: 1.25rem;
  }

  .card-downloads-head {
    max-width: none;
    margin: 0 0 1rem;
    text-align: left;
  }

  .card-downloads .download-list {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-row {
    min-height: auto;
  }

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

  .service-areas-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band .hero-actions {
    margin-top: 1rem;
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .hero-actions .button {
    min-width: 0;
    width: min(100%, 20rem);
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding-bottom: 1.3rem;
  }
}
