/* =============================================
   TEAMINSTEP.COM — BUNDLE.CSS
   Methodology: functional-css | Naming: atomic
   Reset: tailwind-preflight | Units: viewport
   ============================================= */

/* === PREFLIGHT RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
}
body {
  margin: 0;
  line-height: inherit;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp,
pre {
  font-family: ui-monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
button,
[role="button"] {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none;
}

/* === CSS CUSTOM PROPERTIES (fluid-variables) === */
:root {
  --c-primary: #1a5c4a;
  --c-primary-dark: #134438;
  --c-accent: #4fb484;
  --c-accent-light: #9dd4b6;
  --c-text: #1d2329;
  --c-text-muted: #5a6472;
  --c-text-inv: #ffffff;
  --c-bg: #ffffff;
  --c-bg-subtle: #f4f8f5;
  --c-border: #dde6e0;
  --c-danger: #c0392b;
  --c-ok: #2ecc71;
  --sidebar-w: 240px;
  --header-h: 0px;

  /* Fluid type scale */
  --t-display: clamp(2.25rem, 4vw + 1rem, 4.5rem);
  --t-h2: clamp(1.6rem, 2.5vw + 0.5rem, 2.75rem);
  --t-h3: clamp(1.15rem, 1.5vw + 0.2rem, 1.5rem);
  --t-lead: clamp(1rem, 1.2vw + 0.05rem, 1.2rem);
  --t-body: 1rem;
  --t-sm: 0.875rem;
  --t-xs: 0.75rem;

  /* Tight spacing rhythm */
  --sp-1: 0.375rem;
  --sp-2: 0.75rem;
  --sp-3: 1.125rem;
  --sp-4: 1.75rem;
  --sp-5: 2.5rem;
  --sp-6: 4rem;
  --sp-7: 6vw;

  /* Misc */
  --radius: 6px;
  --radius-lg: 14px;
  --trans: 0.22s ease;
  --shadow-sm: 0 1px 6px rgba(26, 92, 74, 0.08);
  --shadow: 0 3px 16px rgba(26, 92, 74, 0.12);
  --shadow-lg: 0 8px 36px rgba(26, 92, 74, 0.16);
}

/* === BASE TYPOGRAPHY === */
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
}
h1 {
  font-size: var(--t-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-text-inv);
}
h2 {
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.3;
}
p {
  margin-bottom: var(--sp-3);
  color: var(--c-text-muted);
}
p:last-child {
  margin-bottom: 0;
}
a:hover {
  color: var(--c-accent);
}

/* === LAYOUT: SIDEBAR-LEFT === */
.l-app {
  min-height: 100vh;
}
.l-main {
  margin-left: var(--sidebar-w);
  min-width: 0;
}
.l-wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
.l-wrap--wide {
  max-width: 1300px;
}

/* === SIDEBAR NAVIGATION === */
.nav-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  overflow-y: auto;
  z-index: 200;
  background: var(--c-primary);
  display: flex;
  flex-direction: column;
  padding: var(--sp-4) 0;
}
.nav-sidebar__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 var(--sp-4) var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: var(--sp-3);
}
.nav-sidebar__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-sidebar__tagline {
  font-size: var(--t-xs);
  color: var(--c-accent-light);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.nav-sidebar__links {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 var(--sp-2);
}
.nav-sidebar__link {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--t-sm);
  font-weight: 500;
  border-radius: var(--radius);
  transition:
    background var(--trans),
    color var(--trans);
  margin-bottom: 2px;
}
.nav-sidebar__link:hover,
.nav-sidebar__link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.nav-sidebar__link--cta {
  margin-top: var(--sp-3);
  background: var(--c-accent);
  color: var(--c-primary-dark);
  font-weight: 700;
  text-align: center;
}
.nav-sidebar__link--cta:hover {
  background: var(--c-accent-light);
  color: var(--c-primary-dark);
}
.nav-sidebar__footer {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

/* Mobile top bar */
.mobile-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 56px;
  background: var(--c-primary);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-3);
  box-shadow: var(--shadow);
}
.mobile-bar__logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform var(--trans),
    opacity var(--trans);
}
.nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 190;
}
.nav-overlay.is-visible {
  display: block;
}

/* === UTILITY CLASSES === */
.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.u-flex {
  display: flex;
}
.u-grid {
  display: grid;
}
.u-center {
  text-align: center;
}
.u-mb-sm {
  margin-bottom: var(--sp-2);
}
.u-mb-md {
  margin-bottom: var(--sp-3);
}
.u-mb-lg {
  margin-bottom: var(--sp-5);
}
.u-mt-md {
  margin-top: var(--sp-3);
}
.u-mt-lg {
  margin-top: var(--sp-5);
}
.u-fw-bold {
  font-weight: 700;
}
.u-muted {
  color: var(--c-text-muted);
}
.u-small {
  font-size: var(--t-sm);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 0.75em 1.75em;
  font-size: var(--t-sm);
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition:
    background var(--trans),
    color var(--trans),
    border-color var(--trans),
    transform var(--trans);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-primary-dark);
  border-color: var(--c-accent);
}
.btn--primary:hover {
  background: var(--c-accent-light);
  border-color: var(--c-accent-light);
  color: var(--c-primary-dark);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--c-text-inv);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}
.btn--lg {
  padding: 0.9em 2.2em;
  font-size: var(--t-lead);
}
.btn--dark {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn--dark:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
}

/* === SECTION BASE (section-block) === */
.section-block {
  padding: var(--sp-6) 0;
}
.section-block--tight {
  padding: var(--sp-5) 0;
}
.s-header {
  margin-bottom: var(--sp-5);
}
.s-header h2 {
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}
.s-header p {
  font-size: var(--t-lead);
  max-width: 620px;
}
.s-header--center {
  text-align: center;
}
.s-header--center p {
  margin-inline: auto;
}
.s-tag {
  display: inline-block;
  background: rgba(79, 180, 132, 0.15);
  color: var(--c-primary);
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3em 0.8em;
  border-radius: 99px;
  margin-bottom: var(--sp-2);
}

/* === HERO: fullscreen-centered === */
.hero-block {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--hero-img, url("/dist/img/hero.jpg")) center/cover no-repeat;
  overflow: hidden;
}
.hero-block__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 92, 74, 0.75) 0%,
    rgba(13, 45, 36, 0.6) 100%
  );
}
.hero-block__center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: var(--sp-6) var(--sp-4);
}
.hero-block__pill {
  display: inline-block;
  background: rgba(79, 180, 132, 0.25);
  color: var(--c-accent-light);
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35em 1em;
  border-radius: 99px;
  border: 1px solid rgba(79, 180, 132, 0.35);
  margin-bottom: var(--sp-3);
}
.hero-block h1 {
  margin-bottom: var(--sp-3);
}
.hero-block__sub {
  font-size: var(--t-lead);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--sp-4);
  max-width: 640px;
  margin-inline: auto;
}
.hero-block__ctas {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.hero-trust-strip {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}
.hero-trust-item {
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-trust-item::before {
  content: "✓";
  color: var(--c-accent);
  font-weight: 700;
}

/* === FREE RESOURCE DOWNLOAD === */
.s-guide {
  background: var(--c-bg-subtle);
}
.s-guide__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.s-guide__cover {
  position: relative;
}
.s-guide__cover-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.s-guide__badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--c-accent);
  color: var(--c-primary-dark);
  font-weight: 800;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5em 0.9em;
  border-radius: 99px;
  box-shadow: var(--shadow);
}
.s-guide__toc {
  margin: var(--sp-4) 0;
}
.s-guide__toc-title {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-2);
}
.s-guide__toc-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.s-guide__toc-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  color: var(--c-text);
}
.s-guide__toc-item::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: var(--c-accent);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4.5 7.5L11 1' stroke='%231a5c4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* === FEATURES: masonry-bento === */
.s-features {
  background: var(--c-bg);
}
.s-features__bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: var(--sp-3);
}
.s-bento-cell {
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition:
    box-shadow var(--trans),
    transform var(--trans);
  display: flex;
  flex-direction: column;
}
.s-bento-cell:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.s-bento-cell--xl {
  grid-column: span 4;
  grid-row: span 2;
  background: var(--c-primary);
  color: #fff;
  border-color: transparent;
}
.s-bento-cell--xl h3 {
  color: #fff;
  font-size: var(--t-h2);
  margin-bottom: var(--sp-2);
}
.s-bento-cell--xl p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--t-lead);
  margin-bottom: 0;
}
.s-bento-cell--xl .cell-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-3);
}
.s-bento-cell--md {
  grid-column: span 2;
}
.s-bento-cell--md h3 {
  font-size: var(--t-h3);
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}
.s-bento-cell--md p {
  font-size: var(--t-sm);
}
.s-bento-cell--md .cell-icon {
  font-size: 1.75rem;
  margin-bottom: var(--sp-2);
}
.s-bento-cell--sm {
  grid-column: span 2;
  justify-content: center;
  align-items: flex-start;
}
.s-bento-cell--sm h3 {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--c-text);
}
.s-bento-cell--sm .cell-icon {
  font-size: 1.5rem;
  margin-bottom: var(--sp-1);
}

/* === RESEARCH CITATIONS === */
.s-citations {
  background: var(--c-bg-subtle);
}
.s-citations__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.s-citation-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-3) var(--sp-4);
}
.s-citation-card cite {
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: flex-start;
}
.s-citation-card__title {
  font-size: var(--t-body);
  font-weight: 600;
  color: var(--c-text);
  flex: 1 1 300px;
}
.s-citation-card__meta {
  font-size: var(--t-xs);
  color: var(--c-text-muted);
}
.s-citation-card a {
  font-size: var(--t-xs);
  color: var(--c-accent);
  font-weight: 600;
}
.s-citation-card a:hover {
  color: var(--c-primary);
}
.s-citations__note {
  margin-top: var(--sp-4);
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  font-style: italic;
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-3);
}

/* === DISCLAIMER NOTICE === */
.s-disclaimer-notice {
  background: #fef9e7;
  border-top: 3px solid #f39c12;
}
.s-disclaimer-notice__inner {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4) 0;
}
.s-disclaimer-notice__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.s-disclaimer-notice__text {
  font-size: var(--t-sm);
  color: #7d6608;
  line-height: 1.6;
}
.s-disclaimer-notice__text a {
  color: #c0851a;
  font-weight: 600;
  text-decoration: underline;
}

/* === ABOUT PAGE === */
.s-about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.s-about-intro__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--c-bg-subtle);
}
.s-about-intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.s-value-card {
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: var(--sp-4);
}
.s-value-card__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-2);
}
.s-value-card h3 {
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}
.s-value-card p {
  font-size: var(--t-sm);
}
.s-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.s-team-card {
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-align: center;
}
.s-team-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--sp-3);
  border: 3px solid var(--c-accent);
}
.s-team-card h3 {
  color: var(--c-text);
  margin-bottom: var(--sp-1);
  font-size: var(--t-body);
}
.s-team-card__role {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-accent);
  margin-bottom: var(--sp-2);
}
.s-team-card p {
  font-size: var(--t-sm);
}

/* === CONTACT / LEAD FORM (two-column-inline) === */
.s-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-6);
  align-items: start;
}
.lead-form--two-col {
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.lead-form__header {
  margin-bottom: var(--sp-4);
}
.lead-form__header h2 {
  font-size: var(--t-h2);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}
.field--full {
  margin-bottom: var(--sp-3);
}
.field label {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-text);
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  padding: 0.65em 0.9em;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: var(--t-body);
  transition:
    border-color var(--trans),
    box-shadow var(--trans);
  width: 100%;
}
.field input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(79, 180, 132, 0.2);
}
.consent {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-3);
  cursor: pointer;
}
.consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--c-accent);
}
.consent a {
  color: var(--c-accent);
  text-decoration: underline;
}
.lead-form__disclaimer-mini {
  font-size: var(--t-xs);
  color: var(--c-text-muted);
  margin-top: var(--sp-2);
  line-height: 1.5;
}
.lead-form__disclaimer-mini a {
  color: var(--c-accent);
}
.s-contact-info h3 {
  margin-bottom: var(--sp-3);
}
.s-contact-detail {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  margin-bottom: var(--sp-3);
  font-size: var(--t-sm);
}
.s-contact-detail__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.s-contact-detail__label {
  font-weight: 600;
  color: var(--c-text);
  display: block;
}
.s-contact-detail__val {
  color: var(--c-text-muted);
}
.form-success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid var(--c-ok);
  border-radius: var(--radius);
  padding: var(--sp-3);
  font-size: var(--t-sm);
  color: #1a7a42;
  margin-bottom: var(--sp-3);
  display: none;
}
.form-success.is-visible {
  display: block;
}

/* === FAQ: sidebar-index === */
.faq-block--sidebar .faq__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-5);
  align-items: start;
}
.faq__index {
  position: sticky;
  top: var(--sp-4);
}
.faq__index-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq__index-link {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition:
    background var(--trans),
    color var(--trans),
    border-color var(--trans);
  cursor: pointer;
}
.faq__index-link:hover,
.faq__index-link.is-active {
  background: rgba(79, 180, 132, 0.08);
  color: var(--c-primary);
  border-left-color: var(--c-accent);
  font-weight: 600;
}
.faq__main {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.faq__answer-block {
  padding: var(--sp-4);
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  scroll-margin-top: var(--sp-5);
  transition: box-shadow var(--trans);
}
.faq__answer-block.is-highlighted {
  box-shadow: 0 0 0 2px var(--c-accent);
}
.faq__answer-title {
  font-size: var(--t-h3);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
}
.faq__answer-body {
  font-size: var(--t-body);
  color: var(--c-text-muted);
  line-height: 1.7;
}
.faq__answer-body p {
  margin-bottom: var(--sp-2);
}

/* === BLOG === */
.s-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.blog-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    box-shadow var(--trans),
    transform var(--trans);
}
.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-bg-subtle);
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.04);
}
.blog-card__body {
  padding: var(--sp-4);
}
.blog-card__date {
  font-size: var(--t-xs);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-1);
}
.blog-card h3 {
  font-size: var(--t-h3);
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}
.blog-card h3 a:hover {
  color: var(--c-accent);
}
.blog-card p {
  font-size: var(--t-sm);
  margin-bottom: var(--sp-3);
}
.blog-card__read {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--c-accent);
}
.blog-card__read:hover {
  color: var(--c-primary);
}

/* Blog post page */
.post-hero {
  background: var(--c-primary);
  color: #fff;
  padding: var(--sp-6) 0;
}
.post-hero h1 {
  font-size: var(--t-h2);
  margin-bottom: var(--sp-2);
}
.post-hero__meta {
  font-size: var(--t-sm);
  color: var(--c-accent-light);
}
.post-content {
  max-width: 780px;
  margin-inline: auto;
  padding: var(--sp-6) var(--sp-4);
}
.post-content h2 {
  margin: var(--sp-5) 0 var(--sp-3);
  color: var(--c-text);
}
.post-content h3 {
  margin: var(--sp-4) 0 var(--sp-2);
  color: var(--c-text);
}
.post-content p {
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.post-content ul {
  list-style: disc;
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.post-content ul li {
  margin-bottom: var(--sp-1);
  color: var(--c-text);
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}
.post-back:hover {
  color: var(--c-primary);
}
.post-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-4);
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* === PAGE HERO (subpages) === */
.page-hero {
  background: var(--c-primary);
  color: #fff;
  padding: var(--sp-6) 0 var(--sp-5);
}
.page-hero h1 {
  font-size: var(--t-h2);
  margin-bottom: var(--sp-2);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  font-size: var(--t-lead);
  margin-bottom: 0;
}

/* === DISCLAIMER PAGE === */
.disclaimer-body {
  max-width: 820px;
  margin-inline: auto;
}
.disclaimer-body h2 {
  margin: var(--sp-5) 0 var(--sp-2);
  color: var(--c-text);
}
.disclaimer-body p {
  margin-bottom: var(--sp-3);
  color: var(--c-text);
  line-height: 1.8;
}
.disclaimer-body ul {
  list-style: disc;
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.disclaimer-body ul li {
  margin-bottom: var(--sp-1);
  color: var(--c-text);
}

/* === FOOTER === */
.site-footer {
  margin-left: var(--sidebar-w);
  background: var(--c-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--sp-6) 0 var(--sp-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--sp-2);
}
.footer-brand__tagline {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent-light);
  margin-bottom: var(--sp-3);
}
.footer-brand__desc {
  font-size: var(--t-sm);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}
.footer-brand__company {
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
}
.footer-col h4 {
  font-size: var(--t-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.footer-nav a {
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--trans);
}
.footer-nav a:hover {
  color: var(--c-accent);
}
.footer-nav button.modal-link {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  text-align: left;
  transition: color var(--trans);
  font-family: inherit;
}
.footer-nav button.modal-link:hover {
  color: var(--c-accent);
}
.footer-bottom {
  padding-top: var(--sp-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer-bottom__copy {
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.4);
}
.footer-disclaimer {
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.4);
  max-width: 560px;
  line-height: 1.6;
  margin-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-3);
}

/* === LEGAL MODALS === */
.legal-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}
.legal-modal-backdrop.is-open {
  display: flex;
}
.legal-modal-box {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.legal-modal-box__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--c-border);
}
.legal-modal-box__title {
  font-size: var(--t-h3);
  font-weight: 700;
  color: var(--c-text);
}
.legal-modal-box__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--c-text-muted);
  transition: background var(--trans);
}
.legal-modal-box__close:hover {
  background: var(--c-border);
}
.legal-modal-box__body {
  overflow-y: auto;
  padding: var(--sp-5);
  font-size: var(--t-sm);
  color: var(--c-text);
  line-height: 1.8;
}
.legal-modal-box__body h3 {
  margin: var(--sp-4) 0 var(--sp-2);
  font-size: var(--t-body);
  font-weight: 700;
}
.legal-modal-box__body p {
  margin-bottom: var(--sp-2);
  color: var(--c-text-muted);
}
.legal-modal-box__body ul {
  list-style: disc;
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-2);
}
.legal-modal-box__body ul li {
  margin-bottom: var(--sp-1);
  color: var(--c-text-muted);
}

/* === COOKIE CONSENT BANNER === */
:root {
  --cc-bg: #ffffff;
  --cc-text: #333333;
  --cc-text-secondary: #666666;
  --cc-border: rgba(0, 0, 0, 0.1);
  --cc-primary: var(--c-primary);
  --cc-primary-hover: var(--c-primary-dark);
  --cc-secondary: #ffffff;
  --cc-secondary-hover: #f3f4f6;
  --cc-secondary-border: #d1d5db;
  --cc-toggle-bg: #d1d5db;
  --cc-toggle-active: var(--c-accent);
  --cc-overlay: rgba(0, 0, 0, 0.6);
  --cc-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  --cc-radius: 12px;
  --cc-radius-sm: 8px;
  --cc-transition: 0.3s ease;
  --cc-z-index: 99999;
}
.cc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--cc-z-index);
  background: var(--cc-bg);
  box-shadow: var(--cc-shadow);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform var(--cc-transition),
    opacity var(--cc-transition),
    visibility var(--cc-transition);
}
.cc-banner.cc-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.cc-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cc-banner__text {
  flex: 1 1 300px;
}
.cc-banner__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cc-text);
  margin-bottom: 0.25rem;
}
.cc-banner__desc {
  font-size: 0.875rem;
  color: var(--cc-text-secondary);
  line-height: 1.5;
}
.cc-banner__desc a {
  color: var(--cc-primary);
}
.cc-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--cc-radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background var(--cc-transition),
    border-color var(--cc-transition),
    color var(--cc-transition);
  font-family: inherit;
  white-space: nowrap;
}
.cc-btn--primary {
  background: var(--cc-primary);
  color: #fff;
  border-color: var(--cc-primary);
}
.cc-btn--primary:hover {
  background: var(--cc-primary-hover);
  border-color: var(--cc-primary-hover);
}
.cc-btn--secondary {
  background: var(--cc-secondary);
  color: var(--cc-text);
  border-color: var(--cc-secondary-border);
}
.cc-btn--secondary:hover {
  background: var(--cc-secondary-hover);
}
.cc-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cc-overlay);
  z-index: calc(var(--cc-z-index) + 1);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cc-modal-backdrop.cc-open {
  display: flex;
}
.cc-modal {
  background: var(--cc-bg);
  border-radius: var(--cc-radius);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.cc-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--cc-border);
}
.cc-modal__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cc-text);
}
.cc-modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--cc-text-secondary);
  padding: 0.25rem;
  border-radius: 4px;
}
.cc-modal__close:hover {
  background: #f3f4f6;
}
.cc-modal__body {
  padding: 1.5rem;
}
.cc-category {
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-sm);
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.cc-category__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.cc-category__title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--cc-text);
}
.cc-category__desc {
  font-size: 0.8125rem;
  color: var(--cc-text-secondary);
  line-height: 1.5;
}
.cc-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cc-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cc-toggle__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--cc-toggle-bg);
  border-radius: 34px;
  transition: 0.3s;
}
.cc-toggle__slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
.cc-toggle input:checked + .cc-toggle__slider {
  background: var(--cc-toggle-active);
}
.cc-toggle input:checked + .cc-toggle__slider::before {
  transform: translateX(20px);
}
.cc-toggle input:disabled + .cc-toggle__slider {
  opacity: 0.6;
  cursor: not-allowed;
}
.cc-modal__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--cc-border);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .s-about-values {
    grid-template-columns: 1fr 1fr;
  }
  .s-features__bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .s-bento-cell--xl {
    grid-column: span 4;
    grid-row: span 1;
  }
  .s-bento-cell--md {
    grid-column: span 2;
  }
  .s-bento-cell--sm {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .faq-block--sidebar .faq__layout {
    grid-template-columns: 1fr;
  }
  .faq__index {
    position: static;
    overflow-x: auto;
  }
  .faq__index-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--sp-1);
    padding-bottom: var(--sp-2);
  }
  .faq__index-link {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius) var(--radius) 0 0;
    white-space: nowrap;
  }
  .faq__index-link.is-active {
    border-bottom-color: var(--c-accent);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-w: 240px;
  }
  .l-app {
    grid-template-columns: 1fr;
  }
  .l-main {
    margin-left: 0;
    padding-top: 56px;
  }
  .site-footer {
    margin-left: 0;
  }
  .mobile-bar {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 56px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .nav-sidebar.is-open {
    transform: translateX(0);
  }
  .nav-sidebar__brand {
    display: none;
  }
  .s-blog-grid {
    grid-template-columns: 1fr;
  }
  .s-team-grid {
    grid-template-columns: 1fr;
  }
  .s-about-intro {
    grid-template-columns: 1fr;
  }
  .s-contact-wrap {
    grid-template-columns: 1fr;
  }
  .lead-form__row {
    grid-template-columns: 1fr;
  }
  .s-guide__inner {
    grid-template-columns: 1fr;
  }
  .s-guide__cover {
    max-width: 280px;
    margin: 0 auto;
  }
  .s-about-values {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-block {
    min-height: 100svh;
  }
  .hero-block h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .cc-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cc-banner__actions {
    justify-content: stretch;
  }
  .cc-banner__actions .cc-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .s-features__bento-grid {
    grid-template-columns: 1fr;
  }
  .s-bento-cell--xl,
  .s-bento-cell--md,
  .s-bento-cell--sm {
    grid-column: span 1;
    grid-row: span 1;
  }
  .s-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* page-transitions animation */
@media (prefers-reduced-motion: no-preference) {
  .l-main {
    animation: fadeIn 0.35s ease;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
