@layer reset, tokens, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; height: auto; display: block; }
  ul { list-style: none; }
  a { text-decoration: none; }
  button { cursor: pointer; border: none; background: none; font: inherit; }
  input, textarea, select { font: inherit; }
  address { font-style: normal; }
  table { border-collapse: collapse; width: 100%; }
}

@layer tokens {
  :root {
    --clr-bg: #f5f0eb;
    --clr-bg-alt: #ede6de;
    --clr-surface: #faf7f4;
    --clr-surface-2: #f0e9e0;
    --clr-primary: #c06b3a;
    --clr-primary-dk: #9e5228;
    --clr-primary-lt: #e8a07a;
    --clr-secondary: #5a7d6e;
    --clr-secondary-lt: #8fb5a7;
    --clr-accent: #e8a07a;
    --clr-accent-2: #9b7bb5;
    --clr-accent-3: #7bb5a8;
    --clr-text: #2c2420;
    --clr-text-muted: #6b5c54;
    --clr-text-light: #a08880;
    --clr-white: #fefcfa;
    --clr-border: #e0d5cc;

    --shadow-clay-sm:
      inset 0 2px 4px rgba(255,255,255,0.6),
      inset 0 -2px 4px rgba(100,60,30,0.08),
      0 4px 12px rgba(100,60,30,0.12),
      0 1px 3px rgba(100,60,30,0.08);
    --shadow-clay:
      inset 0 3px 6px rgba(255,255,255,0.7),
      inset 0 -3px 6px rgba(100,60,30,0.1),
      0 8px 24px rgba(100,60,30,0.14),
      0 2px 6px rgba(100,60,30,0.1);
    --shadow-clay-lg:
      inset 0 4px 8px rgba(255,255,255,0.7),
      inset 0 -4px 8px rgba(100,60,30,0.1),
      0 16px 40px rgba(100,60,30,0.16),
      0 4px 10px rgba(100,60,30,0.1);
    --shadow-clay-hover:
      inset 0 4px 8px rgba(255,255,255,0.8),
      inset 0 -4px 8px rgba(100,60,30,0.12),
      0 20px 50px rgba(100,60,30,0.2),
      0 6px 16px rgba(100,60,30,0.14);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-full: 999px;

    --font-head: 'Libre Baskerville', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --hdr-h: 72px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@layer layout {
  body {
    font-family: var(--font-body);
    background: var(--clr-bg);
    color: var(--clr-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  main { flex: 1; }

  .wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
  }

  .sec {
    position: relative;
    overflow: hidden;
  }
}

@layer components {

  
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
    color: var(--clr-white);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition);
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,0.25),
      0 4px 14px rgba(192,107,58,0.35),
      0 1px 4px rgba(192,107,58,0.2);
    letter-spacing: 0.01em;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,0.3),
      0 8px 24px rgba(192,107,58,0.45),
      0 2px 8px rgba(192,107,58,0.3);
    background: linear-gradient(135deg, var(--clr-primary-lt) 0%, var(--clr-primary) 100%);
  }
  .btn-primary:active { transform: translateY(0); }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(250,247,244,0.8);
    color: var(--clr-text);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid var(--clr-border);
    transition: all var(--transition);
    box-shadow: var(--shadow-clay-sm);
  }
  .btn-ghost:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-clay);
  }

  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--clr-primary);
    padding: 0.6875rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid var(--clr-primary);
    transition: all var(--transition);
  }
  .btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(192,107,58,0.3);
  }

  .btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
  }

  
  .clay-card {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-clay);
    transition: box-shadow var(--transition), transform var(--transition);
  }
  .clay-card:hover {
    box-shadow: var(--shadow-clay-hover);
    transform: translateY(-3px);
  }

  .clay-card-sm {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-clay-sm);
  }

  
  .sec-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 0.75rem;
  }

  .sec-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text);
    margin-bottom: var(--space-md);
  }

  .sec-title-center { text-align: center; }

  .txt-accent { color: var(--clr-primary); }

  
  .hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--hdr-h);
    background: var(--clr-surface);
    box-shadow:
      0 1px 0 var(--clr-border),
      0 2px 8px rgba(100,60,30,0.06);
    transition: box-shadow var(--transition);
  }

  .hdr.scrolled {
    box-shadow:
      0 1px 0 var(--clr-border),
      0 4px 20px rgba(100,60,30,0.12);
  }

  .hdr-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }

  .hdr-logo { display: flex; align-items: center; flex-shrink: 0; }

  .hdr-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-left: auto;
  }

  .hdr-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    transition: color var(--transition);
    position: relative;
  }
  .hdr-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition);
  }
  .hdr-link:hover,
  .hdr-link.active { color: var(--clr-text); }
  .hdr-link:hover::after,
  .hdr-link.active::after { transform: scaleX(1); }

  .hdr-cta { margin-left: var(--space-sm); }

  .hdr-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
  }
  .hdr-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all var(--transition);
  }

  
  .mob-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mob-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .mob-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    color: var(--clr-white);
    font-size: 1.5rem;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
  }
  .mob-close:hover { background: rgba(255,255,255,0.15); }

  .mob-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
  }

  .mob-link {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 700;
    color: var(--clr-white);
    transition: opacity var(--transition);
  }
  .mob-link:hover { opacity: 0.75; }

  .mob-cta {
    margin-top: var(--space-sm);
    background: var(--clr-white);
    color: var(--clr-primary);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  }
  .mob-cta:hover {
    background: var(--clr-white);
    color: var(--clr-primary-dk);
  }

  
  .hero {
    padding-top: calc(var(--hdr-h) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    background: var(--clr-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232,160,122,0.15) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 20% 80%, rgba(90,125,110,0.1) 0%, transparent 50%);
    pointer-events: none;
  }

  .hero-blob {
    position: absolute;
    border-radius: var(--radius-full);
    pointer-events: none;
  }
  .blob-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(232,160,122,0.25) 0%, transparent 70%);
    top: 10%; right: -5%;
  }
  .blob-2 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(90,125,110,0.2) 0%, transparent 70%);
    bottom: 15%; left: 5%;
  }
  .blob-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(155,123,181,0.15) 0%, transparent 70%);
    top: 50%; right: 30%;
  }

  .hero-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--clr-surface);
    color: var(--clr-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4375rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-clay-sm);
    margin-bottom: var(--space-md);
  }

  .hero-h1 {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--clr-text);
    margin-bottom: var(--space-md);
  }

  .hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: var(--clr-text-muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: var(--space-lg);
  }

  .hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
  }

  .hero-visual { position: relative; }

  .hero-img-wrap {
    padding: var(--space-sm);
    aspect-ratio: 4/3;
    overflow: hidden;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
  }

  .hero-float-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text);
    box-shadow: var(--shadow-clay);
    max-width: 220px;
  }
  .hero-float-card i {
    color: var(--clr-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  
  .sec-why {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .why-wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--space-2xl);
    align-items: center;
  }

  .why-img-frame {
    padding: var(--space-sm);
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
  }

  .why-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
  }

  .why-accent-pill {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: linear-gradient(135deg, var(--clr-secondary) 0%, var(--clr-secondary-lt) 100%);
    color: var(--clr-white);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    max-width: 200px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: var(--shadow-clay);
  }
  .why-accent-pill i {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
    opacity: 0.9;
  }

  .why-img-col { position: relative; }

  .why-lead {
    font-family: var(--font-head);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--clr-text);
    margin-bottom: var(--space-md);
  }

  .why-body {
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-sm);
  }

  .why-content .btn-outline { margin-top: var(--space-md); }

  
  .sec-counters {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--clr-bg) 0%, var(--clr-bg-alt) 100%);
  }

  .counter-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 50% at 30% 50%, rgba(90,125,110,0.08) 0%, transparent 60%),
      radial-gradient(ellipse 50% 40% at 80% 60%, rgba(232,160,122,0.1) 0%, transparent 60%);
    pointer-events: none;
  }

  .counter-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
  }

  .counters-wrap { position: relative; z-index: 1; }

  .counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }

  .counter-crd {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    background: var(--clr-surface);
  }

  .counter-ico {
    font-size: 1.75rem;
    color: var(--clr-primary);
    margin-bottom: var(--space-sm);
  }

  .counter-num {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--clr-text);
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  .counter-unit {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
  }

  .counter-desc {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    line-height: 1.55;
  }

  
  .sec-modules {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .modules-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-2xl);
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: var(--space-md);
  }

  .mod-crd {
    padding: var(--space-lg) var(--space-md);
    background: var(--clr-bg);
    position: relative;
    overflow: hidden;
  }

  .mod-crd--accent {
    background: linear-gradient(135deg, rgba(192,107,58,0.08) 0%, rgba(232,160,122,0.12) 100%);
    border: 1.5px solid rgba(192,107,58,0.2);
  }

  .mod-crd--wide {
    grid-column: span 2;
  }

  .mod-num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-border);
    line-height: 1;
    margin-bottom: var(--space-sm);
  }

  .mod-crd--accent .mod-num { color: rgba(192,107,58,0.2); }

  .mod-title {
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
  }

  .mod-body {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.65;
    margin-bottom: var(--space-md);
  }

  .mod-tag {
    display: inline-block;
    background: var(--clr-surface);
    color: var(--clr-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3125rem 0.75rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-clay-sm);
  }

  
  .sec-process {
    padding: var(--space-3xl) 0;
    background: var(--clr-bg);
  }

  .process-blob {
    position: absolute;
    top: 0; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(155,123,181,0.1) 0%, transparent 70%);
    border-radius: var(--radius-full);
    pointer-events: none;
  }

  .process-header {
    max-width: 640px;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
  }

  .process-intro {
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-top: var(--space-sm);
  }

  .process-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    position: relative;
    z-index: 1;
  }

  .proc-step {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    align-items: flex-start;
    background: var(--clr-surface);
  }

  .proc-ico {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,0.2),
      0 4px 12px rgba(192,107,58,0.3);
  }

  .proc-num {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 0.25rem;
  }

  .proc-title {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.375rem;
  }

  .proc-desc {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
  }

  .proc-connector {
    text-align: left;
    padding-left: calc(var(--space-lg) + 26px - 10px);
    color: var(--clr-primary);
    font-size: 0.875rem;
    opacity: 0.5;
    line-height: 1.2;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  
  .sec-team {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .team-header {
    max-width: 640px;
    margin-bottom: var(--space-2xl);
  }

  .team-intro {
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-top: var(--space-sm);
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }

  .team-crd {
    overflow: hidden;
    background: var(--clr-bg);
  }

  .team-img-wrap {
    aspect-ratio: 3/4;
    overflow: hidden;
  }

  .team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .team-crd:hover .team-img { transform: scale(1.04); }

  .team-info {
    padding: var(--space-md);
  }

  .team-name {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.25rem;
  }

  .team-role {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: var(--space-sm);
  }

  .team-bio {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
  }

  
  .sec-dual-cta {
    padding: var(--space-3xl) 0;
    background: var(--clr-bg);
  }

  .dual-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 60% at 50% 50%, rgba(232,160,122,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .dual-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .dual-primary,
  .dual-secondary {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
  }

  .dual-primary {
    background: linear-gradient(135deg, var(--clr-surface) 0%, rgba(232,160,122,0.1) 100%);
  }

  .dual-ico {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--space-md);
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,0.2),
      0 6px 18px rgba(192,107,58,0.35);
  }

  .dual-ico--soft {
    background: linear-gradient(135deg, var(--clr-secondary) 0%, var(--clr-secondary-lt) 100%);
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,0.2),
      0 6px 18px rgba(90,125,110,0.3);
  }

  .dual-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
  }

  .dual-desc {
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
  }

  .dual-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--clr-text-light);
    font-weight: 600;
    font-size: 0.875rem;
  }

  .dual-divider::before,
  .dual-divider::after {
    content: '';
    display: block;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--clr-border), transparent);
  }

  
  .sec-community-prev {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .community-prev-wrap {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: var(--space-2xl);
    align-items: center;
  }

  .comm-body {
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-sm);
  }

  .comm-content .btn-outline { margin-top: var(--space-md); }

  .comm-img-wrap {
    padding: var(--space-sm);
    aspect-ratio: 4/3;
    overflow: hidden;
  }

  .comm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
  }

  
  .pg-hero {
    padding-top: calc(var(--hdr-h) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
    background: var(--clr-bg);
  }

  .pg-hero-blob {
    position: absolute;
    top: 0; right: 0;
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(232,160,122,0.15) 0%, transparent 70%);
    pointer-events: none;
    border-radius: var(--radius-full);
  }

  .pg-hero-wrap {
    position: relative;
    z-index: 1;
    max-width: 720px;
  }

  .pg-h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--clr-text);
    margin-bottom: var(--space-md);
  }

  .pg-hero-sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--clr-text-muted);
    line-height: 1.75;
    max-width: 600px;
  }

  
  .sec-approach-main {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .approach-wrap {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: var(--space-2xl);
    align-items: start;
  }

  .approach-content p {
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-md);
  }

  .approach-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }

  .pillar-crd {
    padding: var(--space-md);
    background: var(--clr-bg);
    text-align: center;
  }

  .pillar-crd i {
    font-size: 1.5rem;
    color: var(--clr-primary);
    display: block;
    margin-bottom: var(--space-sm);
  }

  .pillar-crd h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.375rem;
  }

  .pillar-crd p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    line-height: 1.55;
    margin: 0;
  }

  .approach-img-wrap {
    padding: var(--space-sm);
    aspect-ratio: 3/4;
    overflow: hidden;
    position: sticky;
    top: calc(var(--hdr-h) + var(--space-md));
  }

  .approach-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
  }

  .sec-method {
    padding: var(--space-3xl) 0;
    background: var(--clr-bg);
  }

  .method-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
  }

  .method-intro {
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-top: var(--space-sm);
  }

  .method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .method-crd {
    padding: var(--space-lg) var(--space-md);
    background: var(--clr-surface);
  }

  .method-ico-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--clr-accent-3) 0%, var(--clr-secondary) 100%);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,0.2),
      0 4px 12px rgba(90,125,110,0.3);
  }

  .method-crd h3 {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
  }

  .method-crd p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.65;
  }

  .sec-values {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .values-wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--space-2xl);
    align-items: center;
  }

  .values-img-wrap {
    padding: var(--space-sm);
    aspect-ratio: 4/5;
    overflow: hidden;
  }

  .values-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
  }

  .values-content p {
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-md);
  }

  
  .sec-all-modules {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .all-mods-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
  }

  .full-mod-crd {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--clr-bg);
    align-items: start;
    transition: box-shadow var(--transition), transform var(--transition);
  }

  .full-mod-crd--alt {
    background: var(--clr-surface);
  }

  .full-mod-left {
    text-align: center;
    padding-top: 0.25rem;
  }

  .full-mod-num {
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 700;
    color: var(--clr-border);
    line-height: 1;
    margin-bottom: var(--space-sm);
  }

  .full-mod-crd--alt .full-mod-num { color: rgba(192,107,58,0.2); }

  .full-mod-tag {
    display: inline-block;
    background: var(--clr-surface);
    color: var(--clr-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3125rem 0.75rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-clay-sm);
  }

  .full-mod-crd--alt .full-mod-tag { background: var(--clr-bg); }

  .full-mod-title {
    font-family: var(--font-head);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
  }

  .full-mod-body {
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
  }

  .full-mod-details {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-md);
  }

  .full-mod-details span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--clr-text-muted);
    font-weight: 500;
  }

  .full-mod-details i { color: var(--clr-primary); }

  .modules-cta-block {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: linear-gradient(135deg, var(--clr-surface) 0%, rgba(232,160,122,0.08) 100%);
  }

  .modules-cta-block h2 {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
  }

  .modules-cta-block p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }

  
  .sec-comm-main {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .comm-main-wrap {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: var(--space-2xl);
    align-items: start;
  }

  .comm-main-content p {
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-md);
  }

  .comm-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }

  .comm-rule-crd {
    padding: var(--space-md);
    background: var(--clr-bg);
    text-align: center;
  }

  .comm-rule-crd i {
    font-size: 1.5rem;
    color: var(--clr-primary);
    display: block;
    margin-bottom: var(--space-sm);
  }

  .comm-rule-crd h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.375rem;
  }

  .comm-rule-crd p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    line-height: 1.55;
    margin: 0;
  }

  .comm-main-img { position: relative; }

  .comm-main-img-wrap {
    padding: var(--space-sm);
    aspect-ratio: 4/3;
    overflow: hidden;
  }

  .comm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
  }

  .comm-stat-card {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text);
    box-shadow: var(--shadow-clay);
    max-width: 230px;
  }
  .comm-stat-card i {
    color: var(--clr-secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .sec-comm-topics {
    padding: var(--space-3xl) 0;
    background: var(--clr-bg);
  }

  .comm-topics-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
  }

  .comm-topics-intro {
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-top: var(--space-sm);
  }

  .comm-topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }

  .comm-topic-crd {
    padding: var(--space-lg) var(--space-md);
    background: var(--clr-surface);
    text-align: center;
  }

  .comm-topic-crd--accent {
    background: linear-gradient(135deg, rgba(192,107,58,0.08) 0%, rgba(232,160,122,0.12) 100%);
    border: 1.5px solid rgba(192,107,58,0.2);
  }

  .comm-topic-ico {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--clr-accent-2) 0%, rgba(155,123,181,0.7) 100%);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto var(--space-md);
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,0.2),
      0 4px 12px rgba(155,123,181,0.3);
  }

  .comm-topic-crd h3 {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
  }

  .comm-topic-crd p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.65;
  }

  .sec-comm-join {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .comm-join-crd {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl);
    align-items: center;
    background: linear-gradient(135deg, var(--clr-bg) 0%, rgba(232,160,122,0.06) 100%);
  }

  .comm-join-content p {
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-md);
  }

  .comm-join-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-md);
  }

  .comm-join-img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-clay);
  }

  .comm-join-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  
  .sec-contact-main {
    padding: var(--space-3xl) 0;
    background: var(--clr-surface);
  }

  .contact-wrap {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: var(--space-2xl);
    align-items: start;
  }

  .frm-wrap {
    padding: var(--space-2xl);
    background: var(--clr-bg);
  }

  .frm-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
  }

  .frm-intro {
    color: var(--clr-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
  }

  .frm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .frm-grp {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
  }

  .frm-lbl {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text);
  }

  .frm-inp {
    background: var(--clr-surface);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--clr-text);
    font-size: 0.9375rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-shadow: inset 0 2px 4px rgba(100,60,30,0.06);
    min-height: 44px;
    width: 100%;
  }

  .frm-inp:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow:
      inset 0 2px 4px rgba(100,60,30,0.06),
      0 0 0 3px rgba(192,107,58,0.15);
  }

  .frm-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b5c54' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }

  .frm-textarea { resize: vertical; min-height: 130px; }

  .frm-check-grp { margin-bottom: var(--space-sm); }

  .frm-check-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
  }

  .frm-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--clr-border);
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--clr-primary);
    cursor: pointer;
  }

  .frm-policy-link {
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .frm-err {
    font-size: 0.875rem;
    color: #c0392b;
    margin-bottom: var(--space-sm);
    min-height: 1.2em;
  }

  .frm-submit { width: 100%; justify-content: center; margin-top: var(--space-xs); }

  .contact-details {
    padding: var(--space-lg);
    background: var(--clr-bg);
    margin-bottom: var(--space-md);
  }

  .contact-info-title {
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1.5px solid var(--clr-border);
  }

  .contact-detail-item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    margin-bottom: var(--space-md);
  }

  .contact-detail-item:last-child { margin-bottom: 0; }

  .contact-detail-ico {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(192,107,58,0.3);
  }

  .contact-detail-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.125rem;
  }

  .contact-detail-item p {
    font-size: 0.9375rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
  }

  .contact-tel,
  .contact-email {
    color: var(--clr-primary);
    transition: color var(--transition);
  }
  .contact-tel:hover,
  .contact-email:hover { color: var(--clr-primary-dk); text-decoration: underline; }

  .contact-urgent {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--clr-surface) 0%, rgba(90,125,110,0.08) 100%);
  }

  .urgent-ico {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--clr-secondary) 0%, var(--clr-secondary-lt) 100%);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    box-shadow: 0 4px 12px rgba(90,125,110,0.3);
  }

  .contact-urgent h3 {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
  }

  .contact-urgent p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.65;
    margin-bottom: var(--space-md);
  }

  .contact-urgent-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: var(--space-sm);
  }

  .urgent-hours {
    font-size: 0.8125rem;
    color: var(--clr-text-light);
    text-align: center;
    margin: 0 !important;
  }

  .sec-map {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: var(--clr-bg);
  }

  .map-wrap {
    padding: var(--space-lg);
    background: var(--clr-surface);
  }

  .map-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-md);
  }

  .map-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-clay-sm);
  }

  
  .thanks-main {
    min-height: calc(100vh - var(--hdr-h));
    display: flex;
    align-items: center;
  }

  .thanks-sec {
    padding: calc(var(--hdr-h) + var(--space-xl)) 0 var(--space-3xl);
    width: 100%;
    background: var(--clr-bg);
  }

  .thanks-blob {
    position: absolute;
    top: 10%; right: -5%;
    width: 500px; height: 400px;
    background: radial-gradient(ellipse, rgba(90,125,110,0.15) 0%, transparent 70%);
    pointer-events: none;
    border-radius: var(--radius-full);
  }

  .thanks-wrap { max-width: 700px; position: relative; z-index: 1; }

  .thanks-crd {
    padding: var(--space-2xl);
    background: var(--clr-surface);
    text-align: center;
  }

  .thanks-ico {
    font-size: 3.5rem;
    color: var(--clr-secondary);
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 12px rgba(90,125,110,0.3));
  }

  .thanks-h1 {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
  }

  .thanks-lead {
    font-size: 1.0625rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .thanks-next {
    text-align: left;
    background: var(--clr-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-clay-sm);
  }

  .thanks-next-title {
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-md);
  }

  .thanks-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .thanks-step {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
  }

  .thanks-step-ico {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(192,107,58,0.3);
  }

  .thanks-step-txt strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.25rem;
  }

  .thanks-step-txt p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
  }

  .thanks-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
  }

  
  .pg-hero--legal {
    padding-bottom: var(--space-lg);
  }

  .legal-date {
    font-size: 0.875rem;
    color: var(--clr-text-light);
    margin-top: var(--space-xs);
  }

  .sec-legal {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: var(--clr-surface);
  }

  .legal-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--space-2xl);
    align-items: start;
  }

  .legal-content {
    max-width: 720px;
  }

  .legal-intro {
    font-size: 1.0625rem;
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1.5px solid var(--clr-border);
  }

  .legal-content h2 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-text);
    margin: var(--space-2xl) 0 var(--space-sm);
    padding-top: var(--space-sm);
  }

  .legal-content h2:first-of-type { margin-top: 0; }

  .legal-content h3 {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-text);
    margin: var(--space-lg) 0 var(--space-sm);
  }

  .legal-content p {
    color: var(--clr-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
  }

  .legal-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-md);
  }

  .legal-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--clr-text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    border-bottom: 1px solid var(--clr-border);
  }

  .legal-list li:last-child { border-bottom: none; }

  .legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1em;
    width: 6px;
    height: 6px;
    background: var(--clr-primary);
    border-radius: 50%;
  }

  .legal-link {
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
  }
  .legal-link:hover { color: var(--clr-primary-dk); }

  .legal-sidebar {
    position: sticky;
    top: calc(var(--hdr-h) + var(--space-md));
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .legal-nav, .legal-other, .legal-pref-crd {
    padding: var(--space-md);
    background: var(--clr-bg);
  }

  .legal-nav h4,
  .legal-other h4,
  .legal-pref-crd h4 {
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 1.5px solid var(--clr-border);
  }

  .legal-nav ul,
  .legal-other ul {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
  }

  .legal-nav-link {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    transition: color var(--transition);
    display: block;
    padding: 0.25rem 0;
  }
  .legal-nav-link:hover { color: var(--clr-primary); }

  .legal-pref-crd p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
  }

  .legal-pref-btn { width: 100%; justify-content: center; }

  
  .cookie-table-wrap {
    overflow-x: auto;
    margin: var(--space-md) 0 var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-clay-sm);
  }

  .cookie-table {
    background: var(--clr-bg);
    font-size: 0.875rem;
    min-width: 560px;
  }

  .cookie-table thead {
    background: var(--clr-bg-alt);
  }

  .cookie-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--clr-text);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .cookie-table td {
    padding: 0.875rem 1rem;
    color: var(--clr-text-muted);
    border-top: 1px solid var(--clr-border);
    vertical-align: top;
    line-height: 1.5;
  }

  .cookie-table code {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 4px;
    padding: 0.125rem 0.375rem;
    font-size: 0.8125rem;
    font-family: monospace;
    color: var(--clr-text);
  }

  
  .ftr { background: var(--clr-text); }

  .ftr-cta-block {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .ftr-cta-block::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  .ftr-cta-wrap { position: relative; z-index: 1; }

  .ftr-cta-title {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--clr-white);
    line-height: 1.2;
    margin-bottom: var(--space-md);
  }

  .ftr-cta-desc {
    color: rgba(254,252,250,0.82);
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto var(--space-lg);
  }

  .ftr-cta-block .btn-primary {
    background: var(--clr-white);
    color: var(--clr-primary);
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,0.5),
      0 6px 20px rgba(0,0,0,0.2);
  }
  .ftr-cta-block .btn-primary:hover {
    background: var(--clr-white);
    color: var(--clr-primary-dk);
    box-shadow:
      inset 0 1px 2px rgba(255,255,255,0.5),
      0 10px 30px rgba(0,0,0,0.3);
  }

  .ftr-main {
    padding: var(--space-2xl) 0 var(--space-md);
  }

  .ftr-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--space-lg);
  }

  .ftr-logo { margin-bottom: var(--space-sm); filter: brightness(0) invert(1) opacity(0.9); }

  .ftr-tagline {
    font-size: 0.9rem;
    color: rgba(254,252,250,0.55);
    line-height: 1.65;
    max-width: 260px;
  }

  .ftr-col-title {
    font-family: var(--font-head);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .ftr-links { display: flex; flex-direction: column; gap: 0.5rem; }

  .ftr-link {
    font-size: 0.9rem;
    color: rgba(254,252,250,0.6);
    transition: color var(--transition);
  }
  .ftr-link:hover { color: var(--clr-white); }

  .ftr-address p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(254,252,250,0.6);
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }
  .ftr-address i { color: var(--clr-primary-lt); margin-top: 0.1875rem; flex-shrink: 0; }
  .ftr-address .ftr-link { color: rgba(254,252,250,0.6); }
  .ftr-address .ftr-link:hover { color: var(--clr-white); }

  .ftr-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .ftr-copy {
    font-size: 0.8125rem;
    color: rgba(254,252,250,0.4);
  }

  
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    background: var(--clr-surface);
    box-shadow:
      0 -4px 20px rgba(100,60,30,0.15),
      0 -1px 0 var(--clr-border);
  }

  .cookie-banner.visible {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-left {
    padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-xl);
    border-right: 1.5px solid var(--clr-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    background: var(--clr-bg);
  }

  .cookie-title {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-text);
  }

  .cookie-text {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
  }

  .cookie-policy-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
    align-self: flex-start;
  }
  .cookie-policy-link:hover { color: var(--clr-primary-dk); }

  .cookie-right {
    padding: var(--space-md) var(--space-xl) var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
  }

  .cookie-toggles { display: flex; flex-direction: column; gap: 0.5rem; }

  .cookie-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--clr-border);
  }
  .cookie-toggle-row:last-child { border-bottom: none; }

  .cookie-toggle-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }

  .cookie-cat-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text);
  }

  .cookie-cat-desc {
    font-size: 0.75rem;
    color: var(--clr-text-light);
  }

  .cookie-toggle--on {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-secondary);
    padding: 0.25rem 0.625rem;
    background: rgba(90,125,110,0.1);
    border-radius: var(--radius-full);
  }

  .cookie-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
  }

  .cookie-switch input { opacity: 0; width: 0; height: 0; }

  .cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--clr-border);
    border-radius: var(--radius-full);
    transition: background var(--transition);
    box-shadow: inset 0 1px 3px rgba(100,60,30,0.1);
  }

  .cookie-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--clr-white);
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 4px rgba(100,60,30,0.2);
  }

  .cookie-switch input:checked + .cookie-slider { background: var(--clr-primary); }
  .cookie-switch input:checked + .cookie-slider::before { transform: translateX(18px); }

  .cookie-btns {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
  }

  .cookie-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
    min-height: 44px;
  }

} 

@layer utilities {
  

  @media (max-width: 1100px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .comm-topics-grid { grid-template-columns: repeat(2, 1fr); }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .mod-crd--wide { grid-column: span 2; }
    .ftr-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  }

  @media (max-width: 900px) {
    .hdr-links { display: none; }
    .hdr-cta { display: none; }
    .hdr-burger { display: flex; }

    .hero-wrap { grid-template-columns: 1fr; gap: var(--space-xl); }
    .hero { min-height: auto; padding-top: calc(var(--hdr-h) + var(--space-xl)); padding-bottom: var(--space-2xl); }
    .hero-h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
    .hero-float-card { left: 0; bottom: -1rem; }

    .why-wrap { grid-template-columns: 1fr; }
    .why-img-col { max-width: 400px; }
    .why-accent-pill { position: static; margin-top: var(--space-sm); }

    .approach-wrap { grid-template-columns: 1fr; }
    .approach-img-col { order: -1; max-width: 400px; }

    .values-wrap { grid-template-columns: 1fr; }
    .values-img-col { max-width: 400px; }

    .community-prev-wrap { grid-template-columns: 1fr; }
    .comm-img-col { order: -1; max-width: 400px; }

    .comm-main-wrap { grid-template-columns: 1fr; }
    .comm-main-img { order: -1; max-width: 400px; }

    .contact-wrap { grid-template-columns: 1fr; }

    .dual-wrap { grid-template-columns: 1fr; }
    .dual-divider { flex-direction: row; }
    .dual-divider::before, .dual-divider::after { width: 80px; height: 1px; }

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

    .comm-join-crd { grid-template-columns: 1fr; }

    .legal-wrap { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .legal-nav, .legal-other, .legal-pref-crd { flex: 1; min-width: 200px; }

    .cookie-banner.visible { grid-template-columns: 1fr; }
    .cookie-left { border-right: none; border-bottom: 1.5px solid var(--clr-border); padding: var(--space-md); }
    .cookie-right { padding: var(--space-md); }
    .cookie-banner.visible { max-height: 80vh; overflow-y: auto; }
  }

  @media (max-width: 680px) {
    :root {
      --space-3xl: 5rem;
      --space-2xl: 3.5rem;
    }

    .modules-grid { grid-template-columns: 1fr; }
    .mod-crd--wide { grid-column: span 1; }
    .team-grid { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: 1fr 1fr; }
    .comm-topics-grid { grid-template-columns: 1fr; }
    .approach-pillars { grid-template-columns: 1fr; }
    .comm-rules-grid { grid-template-columns: 1fr; }

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

    .full-mod-crd { grid-template-columns: 1fr; gap: var(--space-sm); }
    .full-mod-left { text-align: left; display: flex; align-items: center; gap: var(--space-sm); }
    .full-mod-num { font-size: 2rem; margin-bottom: 0; }

    .ftr-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .ftr-bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.25rem; }

    .dual-primary, .dual-secondary { padding: var(--space-lg) var(--space-md); }

    .hero-actions { flex-direction: column; align-items: flex-start; }

    .process-flow { max-width: 100%; }
    .proc-step { padding: var(--space-md); }

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

    .thanks-crd { padding: var(--space-lg) var(--space-md); }

    .cookie-btns { flex-direction: column; }
  }

  @media (max-width: 400px) {
    .counters-grid { grid-template-columns: 1fr; }
    .wrap { padding: 0 var(--space-sm); }
    .frm-wrap { padding: var(--space-lg) var(--space-md); }
  }
}