@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%; overflow-x: hidden; }
  body { min-height: 100vh; line-height: 1.6; }
  img { max-width: 100%; height: auto; display: block; }
  a { text-decoration: none; color: inherit; }
  button { border: none; background: none; cursor: pointer; font: inherit; }
  ul, ol { list-style: none; }
  input, textarea, select { font: inherit; }
}

@layer tokens {
  :root {
    --clr-ink: #1a1628;
    --clr-ink-soft: #2d2540;
    --clr-ink-muted: #5a5270;
    --clr-bg: #f7f5ff;
    --clr-bg-alt: #eeeaf8;
    --clr-light: #ffffff;
    --clr-light-muted: rgba(255,255,255,0.82);

    --clr-pri: #6b3fa0;
    --clr-pri-dark: #4e2d78;
    --clr-pri-light: #9b6ed4;
    --clr-sec: #2ec4b6;
    --clr-sec-dark: #1fa99c;
    --clr-acc: #f7a23b;
    --clr-acc-dark: #e08a1e;

    --grad-hero: linear-gradient(135deg, #2d1b5e 0%, #6b3fa0 50%, #2ec4b6 100%);
    --grad-pri: linear-gradient(135deg, #6b3fa0 0%, #9b6ed4 100%);
    --grad-sec: linear-gradient(135deg, #2ec4b6 0%, #6b3fa0 100%);
    --grad-dark: linear-gradient(160deg, #1a1628 0%, #2d2540 100%);

    --shadow-sm: 0 2px 8px rgba(107,63,160,0.10), 0 1px 3px rgba(26,22,40,0.08);
    --shadow-md: 0 8px 24px rgba(107,63,160,0.14), 0 3px 8px rgba(26,22,40,0.10);
    --shadow-lg: 0 20px 48px rgba(107,63,160,0.18), 0 8px 20px rgba(26,22,40,0.12);
    --shadow-xl: 0 32px 64px rgba(107,63,160,0.22), 0 12px 28px rgba(26,22,40,0.15);

    --rad-sm: 6px;
    --rad-md: 12px;
    --rad-lg: 20px;
    --rad-xl: 32px;
    --rad-full: 9999px;

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

    --fnt-head: 'Merriweather', Georgia, serif;
    --fnt-body: 'Outfit', system-ui, sans-serif;

    --hdr-h: 72px;
    --max-w: 1200px;
    --max-w-narrow: 860px;

    --trans-fast: 0.18s ease;
    --trans-mid: 0.3s ease;
    --trans-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
  }
}

@layer layout {
  body {
    font-family: var(--fnt-body);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    color: var(--clr-ink);
    background-color: var(--clr-bg);
    overflow-x: hidden;
  }

  .sec-full { width: 100%; }

  .container {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
  }
}

@layer components {

  
  .hdr {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--hdr-h);
    background: rgba(247,245,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(107,63,160,0.10);
    box-shadow: var(--shadow-sm);
    transform: translateY(0);
    transition: transform var(--trans-slow), background var(--trans-mid);
  }
  .hdr.hdr-hidden { transform: translateY(-100%); }
  .hdr.hdr-light {
    background: rgba(247,245,255,0.95);
  }

  .hdr-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    height: 100%;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
  }

  .hdr-logo { flex-shrink: 0; display: flex; align-items: center; }
  .hdr-logo img { transition: opacity var(--trans-fast); }
  .hdr-logo:hover img { opacity: 0.8; }

  .hdr-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-left: auto;
  }

  .hdr-lnk {
    font-family: var(--fnt-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--clr-ink-muted);
    padding: 0.4rem 0.6rem;
    border-radius: var(--rad-sm);
    transition: color var(--trans-fast), background var(--trans-fast);
    white-space: nowrap;
  }
  .hdr-lnk:hover, .hdr-lnk.active {
    color: var(--clr-pri);
    background: rgba(107,63,160,0.07);
  }

  .hdr-cta { margin-left: var(--sp-sm); flex-shrink: 0; }

  .hdr-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--rad-sm);
    transition: background var(--trans-fast);
  }
  .hdr-burger:hover { background: rgba(107,63,160,0.08); }
  .hdr-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-ink);
    border-radius: 2px;
    transition: transform var(--trans-mid), opacity var(--trans-fast);
  }

  
  .mob-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,22,40,0.6);
    z-index: 950;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--trans-mid);
  }
  .mob-overlay.active { opacity: 1; pointer-events: all; }

  .mob-panel {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 90vw);
    height: 100vh;
    background: var(--clr-light);
    z-index: 960;
    transform: translateX(100%);
    transition: transform var(--trans-slow);
    display: flex;
    flex-direction: column;
    padding: var(--sp-xl) var(--sp-lg) var(--sp-lg);
    box-shadow: var(--shadow-xl);
  }
  .mob-panel.active { transform: translateX(0); }

  .mob-close {
    position: absolute;
    top: var(--sp-md);
    right: var(--sp-md);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rad-full);
    color: var(--clr-ink-muted);
    font-size: 1.2rem;
    transition: background var(--trans-fast), color var(--trans-fast);
  }
  .mob-close:hover { background: var(--clr-bg); color: var(--clr-pri); }

  .mob-nav {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
    margin-top: var(--sp-md);
  }
  .mob-lnk {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--clr-ink);
    padding: 0.75rem 1rem;
    border-radius: var(--rad-md);
    transition: background var(--trans-fast), color var(--trans-fast);
  }
  .mob-lnk:hover { background: var(--clr-bg); color: var(--clr-pri); }

  .mob-cta { margin-top: auto; text-align: center; }

  
  .btn-pri {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--grad-pri);
    color: var(--clr-light);
    font-family: var(--fnt-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--rad-full);
    box-shadow: var(--shadow-md);
    transition: transform var(--trans-fast), box-shadow var(--trans-fast), filter var(--trans-fast);
    white-space: nowrap;
  }
  .btn-pri:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.08);
  }
  .btn-pri:active { transform: translateY(0); }

  .btn-sec {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--clr-pri);
    font-family: var(--fnt-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--rad-full);
    border: 2px solid var(--clr-pri);
    transition: background var(--trans-fast), color var(--trans-fast), transform var(--trans-fast);
  }
  .btn-sec:hover {
    background: var(--clr-pri);
    color: var(--clr-light);
    transform: translateY(-2px);
  }

  .btn-out {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--clr-light);
    font-family: var(--fnt-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--rad-full);
    border: 2px solid rgba(255,255,255,0.6);
    transition: background var(--trans-fast), border-color var(--trans-fast), transform var(--trans-fast);
  }
  .btn-out:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-2px);
  }

  .btn-out-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--clr-light);
    font-family: var(--fnt-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: var(--rad-full);
    border: 2px solid white;
    transition: background var(--trans-fast), color var(--trans-fast), transform var(--trans-fast);
  }
  .btn-out-white:hover {
    background: white;
    color: var(--clr-pri);
    transform: translateY(-2px);
  }

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

  .sec-title {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    color: var(--clr-ink);
    margin-bottom: var(--sp-md);
  }
  .sec-title.light { color: var(--clr-light); }

  .sec-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--clr-ink-muted);
    margin-bottom: var(--sp-md);
  }

  .sec-sub {
    font-size: 1.05rem;
    color: var(--clr-ink-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-lg);
  }

  
  .crd {
    background: var(--clr-light);
    border-radius: var(--rad-lg);
    padding: var(--sp-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans-mid), box-shadow var(--trans-mid);
  }
  .crd:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  .crd-ico {
    width: 56px;
    height: 56px;
    border-radius: var(--rad-md);
    background: var(--grad-pri);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin-bottom: var(--sp-md);
    box-shadow: 0 4px 12px rgba(107,63,160,0.3);
  }

  .crd-ttl {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-ink);
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .crd-txt {
    font-size: 0.97rem;
    color: var(--clr-ink-muted);
    line-height: 1.7;
  }

  
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--hdr-h);
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
    opacity: 0.88;
  }

  .hero-cutout {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--clr-bg);
    clip-path: ellipse(60% 100% at 50% 100%);
    z-index: 2;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    padding: var(--sp-3xl) 0 calc(var(--sp-3xl) + 60px);
  }

  .hero-tag {
    display: inline-block;
    background: rgba(46,196,182,0.2);
    border: 1px solid rgba(46,196,182,0.4);
    color: var(--clr-sec);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--rad-full);
    margin-bottom: var(--sp-md);
  }

  .hero-h1 {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.1;
    color: var(--clr-light);
    margin-bottom: var(--sp-md);
    max-width: 700px;
  }

  .hero-accent {
    background: linear-gradient(90deg, var(--clr-sec) 0%, var(--clr-acc) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--clr-light-muted);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: var(--sp-lg);
  }

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

  .hero-scroll-hint {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    animation: bounceDown 2s ease-in-out infinite;
  }

  @keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }

  
  .intro-sec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    position: relative;
    overflow: hidden;
  }

  .intro-cutout-wrap {
    position: relative;
    overflow: hidden;
  }

  .intro-cutout-img {
    height: 100%;
    min-height: 480px;
  }

  .intro-cutout-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
  }
  .intro-cutout-img img:hover { transform: scale(1.04); }

  .intro-content {
    background: var(--clr-bg);
    padding: var(--sp-3xl) var(--sp-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  }

  
  .ben-sec {
    position: relative;
    background: var(--grad-dark);
    padding: var(--sp-3xl) 0;
    overflow: hidden;
  }

  .ben-cutout {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--clr-bg);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
    z-index: 1;
  }

  .ben-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
  }

  .ben-head {
    text-align: center;
    margin-bottom: var(--sp-xl);
    padding-top: var(--sp-lg);
  }

  .ben-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-md);
  }

  .ben-crd {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
  }

  .ben-crd .crd-ttl { color: var(--clr-light); }
  .ben-crd .crd-txt { color: var(--clr-light-muted); }

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

  .crs-inner {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
  }

  .crs-head {
    text-align: center;
    margin-bottom: var(--sp-xl);
  }

  .crs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--sp-lg);
  }

  .crs-crd {
    background: var(--clr-light);
    border-radius: var(--rad-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--trans-mid), box-shadow var(--trans-mid);
  }
  .crs-crd:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
  }

  .crs-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
  }

  .crs-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
  }
  .crs-crd:hover .crs-img { transform: scale(1.06); }

  .crs-tag {
    position: absolute;
    top: var(--sp-sm);
    left: var(--sp-sm);
    background: var(--grad-pri);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: var(--rad-full);
    letter-spacing: 0.06em;
  }

  .crs-body { padding: var(--sp-lg); }

  .crs-ttl {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-ink);
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .crs-desc {
    font-size: 0.95rem;
    color: var(--clr-ink-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
  }

  .crs-lnk {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--clr-pri);
    font-weight: 600;
    font-size: 0.92rem;
    transition: gap var(--trans-fast), color var(--trans-fast);
  }
  .crs-lnk:hover { gap: 0.7rem; color: var(--clr-pri-dark); }

  
  .how-sec {
    position: relative;
    overflow: hidden;
    min-height: 600px;
  }

  .how-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .how-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .how-cutout-top {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--clr-bg);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 2;
  }

  .how-cutout-bot {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--clr-bg);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 2;
  }

  .how-content-wrap {
    position: relative;
    z-index: 3;
    background: rgba(26,22,40,0.82);
    backdrop-filter: blur(6px);
    padding: calc(var(--sp-3xl) + 60px) 0;
  }

  .how-content {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .how-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    margin-top: var(--sp-lg);
  }

  .how-step {
    display: flex;
    gap: var(--sp-md);
    align-items: flex-start;
  }

  .how-num {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--clr-sec);
    opacity: 0.7;
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
  }

  .how-step-body h4 {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-light);
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  .how-step-body p {
    font-size: 0.95rem;
    color: var(--clr-light-muted);
    line-height: 1.7;
  }

  
  .prv-sec {
    padding: var(--sp-3xl) 0;
    background: var(--clr-bg-alt);
  }

  .prv-inner {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
  }

  .prv-imgs {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--sp-sm);
  }

  .prv-img-main img, .prv-img-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--rad-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--trans-mid);
    cursor: zoom-in;
  }
  .prv-img-main { height: 360px; }
  .prv-img-sm { height: 360px; }
  .prv-img-main img:hover, .prv-img-sm img:hover { transform: scale(1.02); }

  
  .com-sec {
    position: relative;
    background: var(--grad-dark);
    padding: var(--sp-3xl) 0;
    overflow: hidden;
  }

  .com-cutout {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 90px;
    background: var(--clr-bg-alt);
    clip-path: ellipse(55% 100% at 30% 0%);
    z-index: 1;
  }

  .com-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
    padding-top: var(--sp-lg);
  }

  .com-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--rad-xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--trans-mid);
    cursor: zoom-in;
  }
  .com-img:hover { transform: scale(1.02); }

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

  .ctc-inner {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
  }

  .ctc-head {
    text-align: center;
    margin-bottom: var(--sp-xl);
  }

  .ctc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-lg);
  }

  .ctc-crd {
    text-align: center;
    border-top: 3px solid var(--clr-pri);
  }

  .ctc-ico {
    background: var(--grad-sec);
    margin: 0 auto var(--sp-md);
  }

  .ctc-lnk {
    display: block;
    margin-top: var(--sp-sm);
    color: var(--clr-pri);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--trans-fast);
  }
  a.ctc-lnk:hover { color: var(--clr-pri-dark); }

  
  .sidebar-cta {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 800;
  }

  .sidebar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: var(--grad-pri);
    color: white;
    padding: 1rem 0.6rem;
    border-radius: var(--rad-lg) 0 0 var(--rad-lg);
    box-shadow: var(--shadow-lg);
    transition: padding var(--trans-mid), box-shadow var(--trans-fast);
    font-size: 1.2rem;
  }
  .sidebar-btn:hover {
    padding: 1rem 1rem 1rem 0.8rem;
    box-shadow: var(--shadow-xl);
  }

  .sidebar-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: white;
  }

  
  .pg-hero {
    position: relative;
    padding: calc(var(--hdr-h) + var(--sp-3xl)) 0 var(--sp-3xl);
    background: var(--grad-hero);
    overflow: hidden;
    text-align: center;
  }

  .pg-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
    opacity: 0.95;
  }

  .pg-hero-cut {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--clr-bg);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 2;
  }

  .pg-hero-content {
    position: relative;
    z-index: 3;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
  }

  .pg-hero-h1 {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--clr-light);
    margin-bottom: var(--sp-sm);
    line-height: 1.15;
  }

  .pg-hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--clr-light-muted);
    max-width: 600px;
    margin-inline: auto;
  }

  
  .pp-intro {
    padding: var(--sp-3xl) 0;
    background: var(--clr-bg);
  }

  .pp-intro-inner {
    width: min(var(--max-w-narrow), 100% - 2rem);
    margin-inline: auto;
    text-align: center;
  }

  .tech-sec {
    position: relative;
    background: var(--clr-ink);
    padding: var(--sp-3xl) 0;
    overflow: hidden;
  }

  .tech-cutout {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--clr-bg);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 1;
  }

  .tech-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
  }

  .tech-head {
    text-align: center;
    margin-bottom: var(--sp-xl);
    padding-top: var(--sp-md);
  }

  .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--sp-md);
  }

  .tech-crd {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--rad-lg);
    padding: var(--sp-lg);
    position: relative;
    transition: background var(--trans-mid), transform var(--trans-mid);
  }
  .tech-crd:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-3px);
  }

  .tech-crd-num {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: 3rem;
    color: var(--clr-pri-light);
    opacity: 0.3;
    position: absolute;
    top: var(--sp-md);
    right: var(--sp-lg);
    line-height: 1;
  }

  .tech-crd-ico {
    font-size: 1.8rem;
    color: var(--clr-sec);
    margin-bottom: var(--sp-sm);
  }

  .tech-crd-ttl {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-light);
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .tech-crd-txt {
    font-size: 0.95rem;
    color: var(--clr-light-muted);
    line-height: 1.75;
    margin-bottom: var(--sp-md);
  }

  .tech-tag {
    display: inline-block;
    background: rgba(46,196,182,0.15);
    border: 1px solid rgba(46,196,182,0.3);
    color: var(--clr-sec);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--rad-full);
    letter-spacing: 0.06em;
  }

  
  .gal-sec {
    padding: var(--sp-3xl) 0;
    background: var(--clr-bg-alt);
  }

  .gal-inner {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
  }

  .gal-head {
    text-align: center;
    margin-bottom: var(--sp-xl);
  }

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

  .gal-item {
    position: relative;
    border-radius: var(--rad-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    box-shadow: var(--shadow-md);
  }

  .gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
  }
  .gal-item:hover img { transform: scale(1.08); }

  .gal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(107,63,160,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity var(--trans-mid);
  }
  .gal-item:hover .gal-overlay { opacity: 1; }

  
  .cta-sec {
    position: relative;
    background: var(--grad-pri);
    padding: var(--sp-3xl) 0;
    overflow: hidden;
    text-align: center;
  }

  .cta-cutout {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--clr-bg-alt);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    z-index: 1;
  }

  .cta-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max-w-narrow), 100% - 2rem);
    margin-inline: auto;
    padding-top: var(--sp-lg);
  }

  .cta-h2 {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: white;
    margin-bottom: var(--sp-md);
    line-height: 1.2;
  }

  .cta-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--sp-lg);
    line-height: 1.7;
  }

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

  .svc-inner {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
  }

  .svc-inner.svc-alt .svc-img-col { order: -1; }

  .svc-img-frame {
    border-radius: var(--rad-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
  }

  .svc-img-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--grad-pri);
    border-radius: calc(var(--rad-xl) + 3px);
    z-index: -1;
  }

  .svc-img-frame img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform var(--trans-slow);
    cursor: zoom-in;
  }
  .svc-img-frame img:hover { transform: scale(1.04); }

  .svc-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-sm);
    margin: var(--sp-lg) 0;
  }

  .svc-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--clr-ink-muted);
    font-weight: 500;
  }

  .svc-meta-item i { color: var(--clr-pri); }

  .svc-divider {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    height: 1px;
    background: var(--clr-bg-alt);
  }

  
  .cons-sec {
    position: relative;
    background: var(--grad-dark);
    padding: var(--sp-3xl) 0;
    overflow: hidden;
  }

  .cons-cutout {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--clr-bg);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
  }

  .cons-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
    padding-top: var(--sp-lg);
  }

  .cons-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--rad-xl);
    box-shadow: var(--shadow-xl);
    cursor: zoom-in;
    transition: transform var(--trans-mid);
  }
  .cons-photo:hover { transform: scale(1.02); }

  
  .faq-sec {
    padding: var(--sp-3xl) 0;
    background: var(--clr-bg-alt);
  }

  .faq-inner {
    width: min(var(--max-w-narrow), 100% - 2rem);
    margin-inline: auto;
  }

  .faq-head {
    text-align: center;
    margin-bottom: var(--sp-xl);
  }

  .faq-item {
    border-bottom: 1px solid rgba(107,63,160,0.12);
  }

  .faq-q {
    width: 100%;
    text-align: left;
    padding: var(--sp-md) 0;
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-sm);
    transition: color var(--trans-fast);
    min-height: 44px;
  }
  .faq-q::after {
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--clr-pri);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform var(--trans-mid);
  }
  .faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
  .faq-q:hover { color: var(--clr-pri); }

  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--trans-slow), padding var(--trans-mid);
  }
  .faq-a.open { max-height: 400px; padding-bottom: var(--sp-md); }

  .faq-a p {
    font-size: 0.97rem;
    color: var(--clr-ink-muted);
    line-height: 1.75;
  }

  
  .cmn-intro {
    padding: var(--sp-3xl) 0;
    background: var(--clr-bg);
  }

  .cmn-intro-inner {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
  }

  .cmn-intro-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--rad-xl);
    box-shadow: var(--shadow-xl);
    cursor: zoom-in;
    transition: transform var(--trans-mid);
  }
  .cmn-intro-img img:hover { transform: scale(1.02); }

  .fmt-sec {
    position: relative;
    background: var(--clr-ink-soft);
    padding: var(--sp-3xl) 0;
    overflow: hidden;
  }

  .fmt-cutout {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 90px;
    background: var(--clr-bg);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 1;
  }

  .fmt-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    padding-top: var(--sp-lg);
  }

  .fmt-head {
    text-align: center;
    margin-bottom: var(--sp-xl);
  }

  .fmt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--sp-md);
  }

  .fmt-crd {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--rad-lg);
    padding: var(--sp-lg);
    transition: background var(--trans-mid), transform var(--trans-mid);
  }
  .fmt-crd:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-4px);
  }

  .fmt-ico {
    font-size: 1.8rem;
    color: var(--clr-sec);
    margin-bottom: var(--sp-sm);
  }

  .fmt-ttl {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-light);
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .fmt-txt {
    font-size: 0.95rem;
    color: var(--clr-light-muted);
    line-height: 1.7;
  }

  .val-sec {
    padding: var(--sp-3xl) 0;
    background: var(--clr-bg-alt);
  }

  .val-inner {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
  }

  .val-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--rad-xl);
    box-shadow: var(--shadow-lg);
    cursor: zoom-in;
    transition: transform var(--trans-mid);
  }
  .val-img img:hover { transform: scale(1.02); }

  .evt-sec {
    position: relative;
    background: var(--grad-dark);
    padding: var(--sp-3xl) 0;
    overflow: hidden;
  }

  .evt-cutout {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--clr-bg-alt);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
  }

  .evt-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    padding-top: var(--sp-md);
  }

  .evt-head {
    text-align: center;
    margin-bottom: var(--sp-xl);
  }

  .evt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-md);
  }

  .evt-crd {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--rad-lg);
    padding: var(--sp-lg);
    display: flex;
    gap: var(--sp-md);
    align-items: flex-start;
    transition: background var(--trans-mid), transform var(--trans-mid);
  }
  .evt-crd:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-3px);
  }

  .evt-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--grad-pri);
    border-radius: var(--rad-md);
    padding: 0.6rem 0.8rem;
    flex-shrink: 0;
    min-width: 56px;
  }

  .evt-day {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: 1.5rem;
    color: white;
    line-height: 1;
  }

  .evt-mon {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .evt-ttl {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-light);
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  .evt-desc {
    font-size: 0.88rem;
    color: var(--clr-light-muted);
    line-height: 1.65;
    margin-bottom: 0.75rem;
  }

  .evt-tag {
    display: inline-block;
    background: rgba(46,196,182,0.15);
    border: 1px solid rgba(46,196,182,0.3);
    color: var(--clr-sec);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--rad-full);
  }

  .join-sec {
    padding: var(--sp-3xl) 0;
    background: var(--clr-bg);
    text-align: center;
  }

  .join-inner {
    width: min(var(--max-w-narrow), 100% - 2rem);
    margin-inline: auto;
  }

  .join-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-sm);
    margin-top: var(--sp-lg);
  }

  
  .ctf-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--hdr-h));
    margin-top: var(--hdr-h);
  }

  .ctf-left {
    background: var(--grad-dark);
    padding: var(--sp-3xl) var(--sp-xl);
    position: relative;
    overflow: hidden;
  }

  .ctf-left::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107,63,160,0.3) 0%, transparent 70%);
    pointer-events: none;
  }

  .ctf-left-inner {
    position: relative;
    z-index: 1;
    max-width: 480px;
  }

  .ctf-h1 {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--clr-light);
    margin-bottom: var(--sp-md);
    line-height: 1.15;
  }

  .ctf-intro {
    font-size: 1.05rem;
    color: var(--clr-light-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-xl);
  }

  .ctf-info {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-xl);
  }

  .ctf-info-item {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    color: var(--clr-light-muted);
    font-size: 0.97rem;
  }

  .ctf-info-item i { color: var(--clr-sec); font-size: 1rem; width: 20px; }
  .ctf-info-item a { color: var(--clr-light-muted); transition: color var(--trans-fast); }
  .ctf-info-item a:hover { color: var(--clr-sec); }

  .ctf-news { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--sp-lg); }

  .ctf-news-h {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-light);
    margin-bottom: var(--sp-md);
  }

  .ctf-news-item {
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-md);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .ctf-news-item:last-child { border-bottom: none; margin-bottom: 0; }

  .ctf-news-date {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--clr-sec);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
  }

  .ctf-news-txt {
    font-size: 0.92rem;
    color: var(--clr-light-muted);
    line-height: 1.6;
  }

  .ctf-right {
    background: var(--clr-bg);
    padding: var(--sp-3xl) var(--sp-xl);
    display: flex;
    align-items: flex-start;
  }

  .ctf-form-wrap {
    width: 100%;
    max-width: 520px;
  }

  .ctf-form-h {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--clr-ink);
    margin-bottom: var(--sp-lg);
  }

  
  .frm { display: flex; flex-direction: column; gap: var(--sp-md); }

  .frm-grp { display: flex; flex-direction: column; gap: 0.4rem; }

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

  .frm-inp {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--clr-bg-alt);
    border-radius: var(--rad-md);
    background: var(--clr-light);
    color: var(--clr-ink);
    font-size: 1rem;
    transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
    outline: none;
  }
  .frm-inp:focus {
    border-color: var(--clr-pri);
    box-shadow: 0 0 0 3px rgba(107,63,160,0.12);
  }
  .frm-inp::placeholder { color: var(--clr-ink-muted); opacity: 0.6; }

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

  .frm-hint {
    font-size: 0.82rem;
    color: var(--clr-ink-muted);
    line-height: 1.5;
  }

  .frm-check-grp { }

  .frm-check-lbl {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
  }

  .frm-check-lbl input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--clr-pri);
    cursor: pointer;
  }

  .frm-check-txt {
    font-size: 0.9rem;
    color: var(--clr-ink-muted);
    line-height: 1.5;
  }

  .frm-check-txt a {
    color: var(--clr-pri);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--trans-fast);
  }
  .frm-check-txt a:hover { color: var(--clr-pri-dark); }

  .frm-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-top: var(--sp-sm);
  }

  
  .map-sec { height: 400px; }

  .map-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }

  
  .thanks-body { background: var(--clr-pri); }

  .thx-main {
    min-height: calc(100vh - var(--hdr-h) - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-hero);
    margin-top: var(--hdr-h);
    padding: var(--sp-3xl) var(--sp-md);
  }

  .thx-content {
    text-align: center;
    max-width: 560px;
  }

  .thx-icon {
    font-size: 4rem;
    color: var(--clr-sec);
    margin-bottom: var(--sp-lg);
    animation: popIn 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
  }

  @keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

  .thx-h1 {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: white;
    margin-bottom: var(--sp-md);
    line-height: 1.15;
  }

  .thx-txt {
    font-size: 1.1rem;
    color: var(--clr-light-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-xl);
  }

  
  .lgl-main {
    margin-top: var(--hdr-h);
    padding: var(--sp-3xl) 0;
    background: var(--clr-bg);
    min-height: calc(100vh - var(--hdr-h));
  }

  .lgl-inner {
    width: min(var(--max-w-narrow), 100% - 2rem);
    margin-inline: auto;
  }

  .lgl-head {
    border-bottom: 3px solid var(--clr-pri);
    padding-bottom: var(--sp-lg);
    margin-bottom: var(--sp-xl);
  }

  .lgl-h1 {
    font-family: var(--fnt-head);
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--clr-ink);
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .lgl-meta {
    font-size: 0.88rem;
    color: var(--clr-ink-muted);
  }

  .lgl-body { }

  .lgl-intro {
    font-size: 1.05rem;
    color: var(--clr-ink-muted);
    line-height: 1.8;
    margin-bottom: var(--sp-xl);
    padding: var(--sp-md) var(--sp-lg);
    border-left: 4px solid var(--clr-pri);
    background: var(--clr-bg-alt);
    border-radius: 0 var(--rad-md) var(--rad-md) 0;
  }

  .lgl-def-box {
    background: var(--clr-bg-alt);
    border: 1px solid rgba(107,63,160,0.15);
    border-radius: var(--rad-lg);
    padding: var(--sp-lg);
    margin-bottom: var(--sp-xl);
  }

  .lgl-def-h {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-pri);
    margin-bottom: var(--sp-md);
  }

  .lgl-def-box p {
    font-size: 0.92rem;
    color: var(--clr-ink-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
  }
  .lgl-def-box p:last-child { margin-bottom: 0; }

  .lgl-h2 {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--clr-ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(107,63,160,0.12);
  }

  .lgl-h2-letter {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--clr-ink);
    margin: 0 0 var(--sp-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .lgl-h2-letter::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: var(--clr-pri);
    border-radius: 2px;
    flex-shrink: 0;
  }

  .lgl-h2-plain {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--clr-ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
    text-decoration: underline;
    text-decoration-color: var(--clr-sec);
    text-underline-offset: 4px;
  }

  .lgl-body p {
    font-size: 0.97rem;
    color: var(--clr-ink-muted);
    line-height: 1.8;
    margin-bottom: var(--sp-md);
  }

  .lgl-term { color: var(--clr-pri); }

  .lgl-lnk {
    color: var(--clr-pri);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--trans-fast);
  }
  .lgl-lnk:hover { color: var(--clr-pri-dark); }

  .lgl-clause {
    background: var(--clr-light);
    border-radius: var(--rad-md);
    padding: var(--sp-lg);
    margin-bottom: var(--sp-md);
    box-shadow: var(--shadow-sm);
  }

  .lgl-def-terms p { margin-bottom: 0.6rem; }

  
  .ck-tech-box {
    background: rgba(107,63,160,0.06);
    border: 1px solid rgba(107,63,160,0.15);
    border-radius: var(--rad-lg);
    padding: var(--sp-lg);
    margin-bottom: var(--sp-xl);
  }

  .ck-tech-h {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-pri);
    margin-bottom: var(--sp-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .ck-cat {
    background: var(--clr-light);
    border-radius: var(--rad-md);
    padding: var(--sp-lg);
    margin-bottom: var(--sp-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid transparent;
  }

  .ck-cat:nth-child(1) { border-left-color: var(--clr-pri); }
  .ck-cat:nth-child(2) { border-left-color: var(--clr-sec); }
  .ck-cat:nth-child(3) { border-left-color: var(--clr-acc); }

  .ck-cat-head {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-sm);
  }

  .ck-cat-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--rad-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .ck-badge-req { background: rgba(107,63,160,0.12); color: var(--clr-pri); }
  .ck-badge-ana { background: rgba(46,196,182,0.12); color: var(--clr-sec-dark); }
  .ck-badge-func { background: rgba(247,162,59,0.12); color: var(--clr-acc-dark); }

  .ck-cat-ttl {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-ink);
  }

  
  .ftr {
    background: var(--clr-ink);
    color: var(--clr-light-muted);
    padding: var(--sp-3xl) 0 0;
  }

  .ftr-top {
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--sp-xl);
    padding-bottom: var(--sp-xl);
  }

  .ftr-logo { margin-bottom: var(--sp-sm); filter: brightness(10); }

  .ftr-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 240px;
  }

  .ftr-h {
    font-family: var(--fnt-body);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--sp-md);
  }

  .ftr-nav-col, .ftr-contact-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .ftr-lnk {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--trans-fast);
    padding: 0.2rem 0;
  }
  .ftr-lnk:hover { color: var(--clr-sec); }

  .ftr-ctc {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
  }

  .ftr-ctc i { color: var(--clr-sec); margin-top: 3px; flex-shrink: 0; }

  .ftr-ctc a {
    color: rgba(255,255,255,0.6);
    transition: color var(--trans-fast);
  }
  .ftr-ctc a:hover { color: var(--clr-sec); }

  .ftr-bot {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--sp-md) 0;
    width: min(var(--max-w), 100% - 2rem);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-sm);
  }

  .ftr-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
  }

  .ftr-dark { background: var(--clr-ink-soft); }

  
  .ck-consent {
    position: fixed;
    bottom: var(--sp-lg);
    right: var(--sp-lg);
    width: 320px;
    background: var(--clr-light);
    border-radius: var(--rad-xl);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    transform: translateY(120%);
    opacity: 0;
    transition: transform var(--trans-slow), opacity var(--trans-mid);
    overflow: hidden;
  }

  .ck-consent.ck-visible {
    transform: translateY(0);
    opacity: 1;
  }

  .ck-consent-head {
    background: var(--grad-pri);
    padding: var(--sp-md) var(--sp-md) var(--sp-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .ck-consent-ico {
    font-size: 1.5rem;
    color: white;
  }

  .ck-consent-title {
    font-family: var(--fnt-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
  }

  .ck-consent-body { padding: var(--sp-md); }

  .ck-consent-msg {
    font-size: 0.88rem;
    color: var(--clr-ink-muted);
    line-height: 1.6;
    margin-bottom: var(--sp-sm);
  }

  .ck-toggles {
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: var(--sp-sm);
    padding: var(--sp-sm) 0;
    border-top: 1px solid var(--clr-bg-alt);
  }
  .ck-toggles.ck-open { display: flex; }

  .ck-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-sm);
  }

  .ck-toggle-lbl {
    font-size: 0.82rem;
    color: var(--clr-ink);
    font-weight: 500;
  }

  .ck-switch {
    position: relative;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
  }

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

  .ck-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: var(--rad-full);
    cursor: pointer;
    transition: background var(--trans-fast);
  }
  .ck-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform var(--trans-fast);
  }
  .ck-switch input:checked + .ck-slider { background: var(--clr-pri); }
  .ck-switch input:checked + .ck-slider::before { transform: translateX(16px); }
  .ck-switch input:disabled + .ck-slider { opacity: 0.5; cursor: not-allowed; }

  .ck-btns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .ck-btn-accept {
    width: 100%;
    padding: 0.7rem;
    background: var(--grad-pri);
    color: white;
    border-radius: var(--rad-md);
    font-weight: 600;
    font-size: 0.88rem;
    transition: filter var(--trans-fast), transform var(--trans-fast);
    cursor: pointer;
    border: none;
  }
  .ck-btn-accept:hover { filter: brightness(1.1); transform: translateY(-1px); }

  .ck-btn-customize {
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    color: var(--clr-pri);
    border-radius: var(--rad-md);
    font-weight: 600;
    font-size: 0.82rem;
    border: 1px solid rgba(107,63,160,0.25);
    cursor: pointer;
    transition: background var(--trans-fast);
  }
  .ck-btn-customize:hover { background: rgba(107,63,160,0.06); }

  .ck-btn-save {
    display: none;
    width: 100%;
    padding: 0.6rem;
    background: var(--clr-sec);
    color: white;
    border-radius: var(--rad-md);
    font-weight: 600;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    transition: filter var(--trans-fast);
  }
  .ck-btn-save:hover { filter: brightness(1.1); }
  .ck-toggles.ck-open ~ .ck-btns .ck-btn-save { display: block; }
  .ck-toggles.ck-open ~ .ck-btns .ck-btn-customize { display: none; }

  .ck-privacy-lnk {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--clr-ink-muted);
    margin-top: 0.5rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--trans-fast);
  }
  .ck-privacy-lnk:hover { color: var(--clr-pri); }

}

@layer utilities {
  .sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
  }

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

    .intro-sec { grid-template-columns: 1fr; }
    .intro-content { clip-path: none; padding: var(--sp-xl) var(--sp-lg); }
    .intro-cutout-img { min-height: 320px; }

    .how-steps { grid-template-columns: 1fr; }

    .svc-inner { grid-template-columns: 1fr; }
    .svc-inner.svc-alt .svc-img-col { order: 0; }

    .cons-inner { grid-template-columns: 1fr; }

    .cmn-intro-inner { grid-template-columns: 1fr; }
    .val-inner { grid-template-columns: 1fr; }

    .ftr-top { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
    .ftr-brand { grid-column: 1 / -1; }

    .ctf-main { grid-template-columns: 1fr; }
    .ctf-left { padding: var(--sp-xl) var(--sp-lg); }
    .ctf-right { padding: var(--sp-xl) var(--sp-lg); }

    .prv-inner { grid-template-columns: 1fr; }
    .com-inner { grid-template-columns: 1fr; }
  }

  @media (max-width: 768px) {
    :root { --sp-3xl: 5rem; }

    .hero-h1 { font-size: clamp(2rem, 8vw, 3rem); }

    .ben-grid { grid-template-columns: 1fr; }
    .crs-grid { grid-template-columns: 1fr; }
    .ctc-grid { grid-template-columns: 1fr; }
    .gal-grid { grid-template-columns: 1fr 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .fmt-grid { grid-template-columns: 1fr; }
    .evt-grid { grid-template-columns: 1fr; }

    .prv-imgs { grid-template-columns: 1fr; }
    .prv-img-main, .prv-img-sm { height: 240px; }

    .ftr-top { grid-template-columns: 1fr; gap: var(--sp-lg); }
    .ftr-bot { flex-direction: column; text-align: center; }

    .ck-consent { width: calc(100vw - 2rem); right: 1rem; bottom: 1rem; }

    .svc-meta { grid-template-columns: 1fr; }

    .how-steps { grid-template-columns: 1fr; }
  }

  @media (max-width: 480px) {
    :root { --sp-3xl: 4rem; --sp-xl: 2.5rem; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn-pri, .hero-actions .btn-out { text-align: center; justify-content: center; }

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

    .join-actions { flex-direction: column; align-items: center; }

    .ctf-main { min-height: auto; }
  }
}