*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --green:       #1B4332;
      --green-mid:   #2D6A4F;
      --green-light: #E8F5E9;
      --gold:        #D4A017;
      --gold-light:  #FDF3D0;
      --cream:       #F7F3EE;
      --ink:         #1A1A2E;
      --ink-soft:    #4A4A6A;
      --white:       #FFFFFF;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--cream);
      color: var(--ink);
      overflow-x: hidden;
      padding-bottom: 0; /* Adjusted dynamically in media query for mobile bar */
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.2rem 4rem;
      background: rgba(247,243,238,0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(27,67,50,0.08);
      transition: box-shadow 0.3s;
    }
    nav.scrolled { box-shadow: 0 2px 24px rgba(27,67,50,0.1); }

    .nav-logo {
      display: flex; align-items: center; gap: 0.75rem; text-decoration: none;
    }
    .logo-mark {
      width: 40px; height: 40px;
      background: var(--green);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
      flex-shrink: 0;
    }
    .logo-mark svg { width: 24px; height: 24px; }
    .logo-text { display: flex; flex-direction: column; }
    .logo-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem; font-weight: 700;
      color: var(--green); line-height: 1;
    }
    .logo-sub {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem; color: var(--gold);
      letter-spacing: 0.08em; text-transform: uppercase;
    }

    .nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
    .nav-links a {
      text-decoration: none; color: var(--ink-soft);
      font-size: 0.875rem; font-weight: 500;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--green); }

    .nav-cta {
      background: var(--green); color: var(--white) !important;
      padding: 0.6rem 1.5rem; border-radius: 100px;
      font-weight: 600 !important; transition: background 0.2s, transform 0.2s !important;
    }
    .nav-cta:hover { background: var(--green-mid) !important; transform: translateY(-1px); }

    /* ── MOBILE BOTTOM BAR (Hidden on Desktop) ── */
    .mobile-bottom-bar {
      display: none;
      position: fixed;
      bottom: 0; left: 0; right: 0;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(16px);
      border-top: 1px solid rgba(27,67,50,0.1);
      padding: 0.75rem 1.25rem cubic-bezier(0.1, 0.76, 0.55, 0.94);
      z-index: 150;
      box-shadow: 0 -4px 20px rgba(26,26,46,0.06);
    }
    .m-bar-container {
      display: flex;
      gap: 0.75rem;
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
    }
    .m-btn {
      flex: 1;
      padding: 0.85rem;
      border-radius: 12px;
      font-size: 0.9rem;
      font-weight: 600;
      text-align: center;
      text-decoration: none;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      transition: background 0.2s, transform 0.1s;
    }
    .m-btn-login {
      background: var(--cream);
      color: var(--green);
      border: 1.5px solid rgba(27,67,50,0.15);
    }
    .m-btn-join {
      background: var(--green);
      color: var(--white);
    }

    /* ── HERO ── */
    .hero {
      min-height: 100vh;
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: center;
      padding: 8rem 4rem 4rem;
      gap: 4rem;
      position: relative; overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 70% 50%, rgba(27,67,50,0.04) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-eyebrow {
      font-family: 'DM Mono', monospace;
      font-size: 0.72rem; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 1.5rem;
      display: flex; align-items: center; gap: 0.75rem;
    }
    .hero-eyebrow::before {
      content: '';
      display: block; width: 2rem; height: 1px;
      background: var(--gold);
    }

    .hero-headline {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.3rem, 4vw, 3.8rem);
      line-height: 1.12; font-weight: 900;
      color: var(--ink); margin-bottom: 1.5rem;
    }
    .hero-headline em {
      font-style: italic; color: var(--green);
    }

    .hero-sub {
      font-size: 1.05rem; line-height: 1.75;
      color: var(--ink-soft); max-width: 480px;
      margin-bottom: 2.5rem;
    }

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

    .btn-primary {
      background: var(--green); color: var(--white);
      padding: 0.85rem 2rem; border-radius: 100px;
      font-size: 0.9rem; font-weight: 600;
      text-decoration: none; border: none; cursor: pointer;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 20px rgba(27,67,50,0.25);
      display: inline-flex; align-items: center; gap: 0.5rem;
    }
    .btn-primary:hover {
      background: var(--green-mid);
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(27,67,50,0.3);
    }

    .btn-secondary {
      color: var(--green); font-size: 0.9rem; font-weight: 600;
      text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
      transition: gap 0.2s;
    }
    .btn-secondary:hover { gap: 0.8rem; }

    .hero-stats {
      display: flex; gap: 2.5rem; margin-top: 3rem;
      padding-top: 2rem; border-top: 1px solid rgba(27,67,50,0.1);
    }
    .stat-num {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; font-weight: 700; color: var(--green);
    }
    .stat-label { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.2rem; }

    /* ── TREE CANVAS ── */
    .hero-visual {
      display: flex; align-items: center; justify-content: center;
      position: relative;
      width: 100%;
    }

    #tree-canvas {
      width: 100%; max-width: 520px; height: 480px;
      border-radius: 24px;
      background: linear-gradient(135deg, var(--green) 0%, #0d2818 100%);
      position: relative; overflow: hidden;
    }

    .tree-svg { width: 100%; height: 100%; }

    .floating-card {
      position: absolute;
      background: var(--white);
      border-radius: 16px;
      padding: 1rem 1.25rem;
      box-shadow: 0 8px 32px rgba(27,67,50,0.2);
      font-size: 0.8rem;
      z-index: 10;
    }
    .floating-card.top-right {
      top: 1.5rem; right: -1.5rem;
      display: flex; align-items: center; gap: 0.6rem;
    }
    .floating-card.bottom-left { bottom: 2rem; left: -1.5rem; }
    .fc-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #22C55E; flex-shrink: 0;
    }
    .fc-label { color: var(--ink-soft); font-size: 0.72rem; }
    .fc-val {
      font-family: 'DM Mono', monospace;
      font-size: 1rem; font-weight: 500; color: var(--green);
    }

    /* ── SECTION BASE ── */
    section { padding: 6rem 4rem; }
    .section-eyebrow {
      font-family: 'DM Mono', monospace;
      font-size: 0.7rem; letter-spacing: 0.16em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 1rem;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 700; line-height: 1.2;
      color: var(--ink); margin-bottom: 1.25rem;
    }
    .section-body {
      font-size: 1rem; line-height: 1.8;
      color: var(--ink-soft); max-width: 560px;
    }

    /* ── HOW IT WORKS ── */
    .how-section { background: var(--white); }
    .how-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 2rem; margin-top: 4rem;
    }
    .how-card {
      padding: 2rem; border-radius: 20px;
      border: 1px solid rgba(27,67,50,0.08);
      position: relative; transition: transform 0.25s, box-shadow 0.25s;
    }
    .how-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(27,67,50,0.1);
    }
    .how-num {
      font-family: 'DM Mono', monospace;
      font-size: 0.72rem; color: var(--gold);
      letter-spacing: 0.1em; margin-bottom: 1.25rem;
      display: flex; align-items: center; gap: 0.5rem;
    }
    .how-num::after {
      content: ''; flex: 1; height: 1px;
      background: rgba(212,160,23,0.2);
    }
    .how-icon {
      width: 48px; height: 48px; border-radius: 14px;
      background: var(--green-light);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 1.25rem; font-size: 1.4rem;
    }
    .how-card h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem; font-weight: 700;
      color: var(--ink); margin-bottom: 0.75rem;
    }
    .how-card p { font-size: 0.9rem; line-height: 1.7; color: var(--ink-soft); }

    /* ── CLUSTER VISUAL SECTION ── */
    .cluster-section {
      background: var(--green);
      color: var(--white);
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center;
      padding: 6rem 4rem;
    }
    .cluster-section .section-eyebrow { color: var(--gold); }
    .cluster-section .section-title { color: var(--white); }
    .cluster-section .section-body { color: rgba(255,255,255,0.72); }

    .cluster-viz {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 24px; padding: 2rem;
    }
    .cluster-viz svg { width: 100%; height: auto; }

    .cluster-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
    .cluster-point { display: flex; align-items: flex-start; gap: 1rem; }
    .cp-icon {
      width: 36px; height: 36px; border-radius: 10px;
      background: rgba(212,160,23,0.15);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; font-size: 1rem;
    }
    .cp-text h4 {
      font-size: 0.9rem; font-weight: 600; color: var(--white);
      margin-bottom: 0.2rem;
    }
    .cp-text p { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

    /* ── IMPACT SECTION ── */
    .impact-section { background: var(--cream); text-align: center; }
    .impact-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem; margin-top: 4rem;
    }
    .impact-card {
      background: var(--white); border-radius: 20px;
      padding: 2rem 1.5rem;
      border: 1px solid rgba(27,67,50,0.06);
      transition: transform 0.25s;
    }
    .impact-card:hover { transform: translateY(-3px); }
    .impact-icon { font-size: 2rem; margin-bottom: 1rem; }
    .impact-num {
      font-family: 'Playfair Display', serif;
      font-size: 2.2rem; font-weight: 900;
      color: var(--green);
    }
    .impact-label {
      font-size: 0.82rem; color: var(--ink-soft);
      margin-top: 0.3rem; line-height: 1.4;
    }

    /* ── MODEL SECTION ── */
    .model-section {
      background: var(--white);
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center;
    }

    .split-card {
      background: var(--green-light);
      border-radius: 24px; padding: 2.5rem;
    }
    .split-title {
      font-family: 'DM Mono', monospace;
      font-size: 0.72rem; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--green);
      margin-bottom: 1.5rem;
    }
    .split-bar {
      height: 56px; border-radius: 12px;
      overflow: hidden; display: flex; margin-bottom: 1.5rem;
    }
    .split-segment {
      display: flex; align-items: center; justify-content: center;
      font-family: 'DM Mono', monospace;
      font-size: 0.85rem; font-weight: 500;
    }
    .split-70 { background: var(--green); color: var(--white); flex: 70; }
    .split-30 { background: var(--gold); color: var(--ink); flex: 30; }
    .split-legend { display: flex; gap: 2rem; }
    .sl-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--ink-soft); }
    .sl-dot { width: 10px; height: 10px; border-radius: 3px; }

    .scheme-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
    .scheme-item {
      display: flex; align-items: center; gap: 0.75rem;
      padding: 0.85rem 1rem;
      background: var(--cream); border-radius: 12px;
      font-size: 0.88rem; color: var(--ink);
    }
    .scheme-item span { font-size: 1.1rem; }

    /* ── JOIN SECTION ── */
    .join-section {
      background: linear-gradient(135deg, var(--ink) 0%, #0d1324 100%);
      text-align: center; color: var(--white);
      padding: 7rem 4rem;
      position: relative; overflow: hidden;
    }
    .join-section::before {
      content: '';
      position: absolute;
      width: 600px; height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(27,67,50,0.4) 0%, transparent 70%);
      top: -200px; left: 50%; transform: translateX(-50%);
      pointer-events: none;
    }
    .join-section .section-eyebrow { color: var(--gold); justify-content: center; display: flex; }
    .join-section .section-title { color: var(--white); margin: 0 auto 1.25rem; }
    .join-section .section-body { color: rgba(255,255,255,0.65); margin: 0 auto 2.5rem; text-align: center; }

    .referral-input-wrap {
      display: flex; gap: 0; max-width: 440px; margin: 0 auto 1rem;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 100px; padding: 0.4rem 0.4rem 0.4rem 1.5rem;
      align-items: center;
    }
    .referral-input-wrap input {
      flex: 1; background: none; border: none; outline: none;
      color: var(--white); font-size: 0.9rem;
      font-family: 'DM Mono', monospace;
      letter-spacing: 0.08em;
      width: 100%;
    }
    .referral-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
    .referral-input-wrap button {
      background: var(--gold); color: var(--ink);
      border: none; border-radius: 100px;
      padding: 0.7rem 1.5rem; font-size: 0.85rem;
      font-weight: 600; cursor: pointer;
      transition: opacity 0.2s, transform 0.2s;
      white-space: nowrap;
    }
    .referral-input-wrap button:hover { opacity: 0.9; transform: scale(0.98); }
    .referral-note {
      font-size: 0.78rem; color: rgba(255,255,255,0.35);
      font-family: 'DM Mono', monospace;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--ink); color: rgba(255,255,255,0.5);
      padding: 3rem 4rem;
      display: flex; align-items: center; justify-content: space-between;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .footer-logo .logo-name { color: rgba(255,255,255,0.85); }
    .footer-links { display: flex; gap: 2rem; }
    .footer-links a {
      color: rgba(255,255,255,0.4); text-decoration: none;
      font-size: 0.82rem; transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--gold); }
    .footer-copy { font-size: 0.78rem; font-family: 'DM Mono', monospace; }

    /* ── MODAL ── */
    .modal-overlay {
      display: none; position: fixed; inset: 0; z-index: 200;
      background: rgba(26,26,46,0.6); backdrop-filter: blur(8px);
      align-items: center; justify-content: center;
    }
    .modal-overlay.open { display: flex; }
    .modal {
      background: var(--white); border-radius: 24px;
      padding: 2.5rem; width: 100%; max-width: 440px;
      margin: 1rem; position: relative;
      animation: modal-in 0.3s ease;
      max-height: 85vh; overflow-y: auto;
    }
    @keyframes modal-in {
      from { opacity: 0; transform: translateY(16px) scale(0.97); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }
    .modal-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.6rem; font-weight: 700; color: var(--ink);
      margin-bottom: 0.4rem;
    }
    .modal-sub { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 2rem; }
    .modal-tabs {
      display: flex; background: var(--cream);
      border-radius: 12px; padding: 0.3rem;
      margin-bottom: 1.5rem;
    }
    .tab-btn {
      flex: 1; padding: 0.6rem; border: none; background: none;
      border-radius: 9px; font-size: 0.85rem; font-weight: 500;
      color: var(--ink-soft); cursor: pointer; transition: all 0.2s;
    }
    .tab-btn.active {
      background: var(--white); color: var(--green);
      font-weight: 600; box-shadow: 0 2px 8px rgba(27,67,50,0.1);
    }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }

    .form-group { margin-bottom: 1.2rem; }
    .form-group label {
      display: block; font-size: 0.8rem; font-weight: 600;
      color: var(--ink); margin-bottom: 0.4rem;
    }
    .form-group input {
      width: 100%; padding: 0.75rem 1rem;
      border: 1.5px solid rgba(27,67,50,0.15);
      border-radius: 12px; font-size: 0.9rem;
      font-family: 'Inter', sans-serif;
      outline: none; transition: border-color 0.2s;
      background: var(--white);
    }
    .form-group input:focus { border-color: var(--green); }
    .form-group input.mono { font-family: 'DM Mono', monospace; letter-spacing: 0.08em; }

    .form-submit {
      width: 100%; padding: 0.9rem;
      background: var(--green); color: var(--white);
      border: none; border-radius: 12px;
      font-size: 0.95rem; font-weight: 600;
      cursor: pointer; transition: background 0.2s;
      margin-top: 0.5rem;
    }
    .form-submit:hover { background: var(--green-mid); }

    .modal-close {
      position: absolute; top: 1.25rem; right: 1.25rem;
      background: var(--cream); border: none; border-radius: 50%;
      width: 32px; height: 32px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; color: var(--ink-soft); transition: background 0.2s;
    }
    .modal-close:hover { background: rgba(27,67,50,0.1); }

    /* ── RESPONSIVE MOBILE HANDLES ── */
    @media (max-width: 900px) {
      body { padding-bottom: 68px; } /* Prevent content from being hidden behind fixed bar */
      nav { padding: 1rem 1.5rem; }
      .nav-links { display: none; }
      
      /* Display Mobile Actions */
      .mobile-bottom-bar { display: block; }

      .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; gap: 2rem; }
      .hero-visual { order: -1; }
      #tree-canvas { height: 320px; }
      .floating-card.top-right { right: 0; top: 1rem; }
      .floating-card.bottom-left { left: 0; bottom: 1rem; }
      section { padding: 4rem 1.5rem; }
      .how-grid { grid-template-columns: 1fr; gap: 1.5rem; }
      .cluster-section { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 3rem; }
      .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
      .model-section { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 3rem; }
      .join-section { padding: 5rem 1.5rem; }
      .referral-input-wrap {
        border-radius: 14px;
        flex-direction: column;
        padding: 0.5rem;
        background: rgba(255,255,255,0.05);
        gap: 0.5rem;
      }
      .referral-input-wrap input {
        padding: 0.75rem 1rem;
        text-align: center;
      }
      .referral-input-wrap button {
        width: 100%;
        border-radius: 10px;
        padding: 0.85rem;
      }
      footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 3rem 1.5rem 5rem; }
      .footer-links { justify-content: center; width: 100%; }
      .modal { padding: 2rem 1.5rem; width: calc(100% - 2rem); }
    }

    @media (max-width: 480px) {
      .impact-grid { grid-template-columns: 1fr; }
      .hero-stats { gap: 1rem; justify-content: space-between; }
      .stat-num { font-size: 1.6rem; }
      .stat-label { font-size: 0.7rem; }
      .split-legend { flex-direction: column; gap: 0.5rem; }
    }

    .reveal {
      opacity: 0; transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }

    /* ========================================
   ORWIENET FIXES
======================================== */

.hero-content{
    position: relative;
    z-index: 2;
}

.section-eyebrow{
    display:inline-block;
}

.cluster-viz{
    min-height:300px;
}

.cluster-viz svg{
    display:block;
}

.modal{
    box-shadow:0 20px 60px rgba(0,0,0,.18);
}

.alert{
    width:100%;
}

.logo-mark svg{
    display:block;
}

.hero-actions a{
    white-space:nowrap;
}

.nav-links li{
    list-style:none;
}

footer .nav-logo{
    text-decoration:none;
}

.footer-logo{
    display:flex;
    align-items:center;
    gap:.75rem;
}

.footer-copy{
    text-align:center;
}

@media (max-width:900px){

    .hero-content{
        text-align:center;
    }

    .hero-sub{
        max-width:100%;
    }

    .hero-actions{
        justify-content:center;
    }

    .hero-stats{
        justify-content:center;
        flex-wrap:wrap;
    }

    .floating-card{
        position:relative;
        right:auto!important;
        left:auto!important;
        top:auto!important;
        bottom:auto!important;
        margin:1rem auto;
        max-width:220px;
    }

    .hero-visual{
        flex-direction:column;
    }

    .footer-links{
        flex-wrap:wrap;
    }
}

@media (max-width:600px){

    .hero-headline{
        font-size:2rem;
    }

    .section-title{
        font-size:1.8rem;
    }

    .nav-logo{
        max-width:220px;
    }

    .logo-name{
        font-size:.95rem;
    }

    .logo-sub{
        font-size:.55rem;
    }
}

/* ======================================================
   TERMS & CONDITIONS MODAL
====================================================== */

.terms-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    backdrop-filter:blur(6px);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;

    opacity:0;
    visibility:hidden;
    transition:.35s ease;
}

.terms-overlay.open{
    opacity:1;
    visibility:visible;
}

.terms-modal{

    width:min(900px,92vw);

    max-height:88vh;

    background:#ffffff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
    0 20px 70px rgba(0,0,0,.35);

    animation:termsPop .35s ease;
}

@keyframes termsPop{

    from{
        transform:translateY(35px) scale(.97);
        opacity:0;
    }

    to{
        transform:translateY(0) scale(1);
        opacity:1;
    }

}

.terms-modal h2{

    margin:0;

    padding:22px 30px;

    background:#1A1A2E;

    color:#D4A017;

    font-family:'Playfair Display', serif;

    font-size:1.7rem;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.terms-content{

    max-height:70vh;

    overflow-y:auto;

    padding:30px;

    font-family:'Inter',sans-serif;

    color:#444;

    line-height:1.9;

}

.terms-content h3{

    color:#1A1A2E;

    margin-top:2rem;

    margin-bottom:.8rem;

}

.terms-content p{

    margin-bottom:1rem;

}

.terms-content ul{

    padding-left:25px;

    margin-bottom:1.2rem;

}

.terms-content li{

    margin-bottom:.55rem;

}

.terms-content hr{

    border:none;

    border-top:1px solid #ececec;

    margin:2rem 0;

}

.terms-close{

    position:absolute;

    right:20px;

    top:16px;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#D4A017;

    color:#fff;

    font-size:1.2rem;

    cursor:pointer;

    transition:.25s;

}

.terms-close:hover{

    transform:rotate(90deg);

}

.terms-content::-webkit-scrollbar{

    width:8px;

}

.terms-content::-webkit-scrollbar-thumb{

    background:#D4A017;

    border-radius:20px;

}

.terms-content::-webkit-scrollbar-track{

    background:#efefef;

}

/* MOBILE */

@media(max-width:768px){

    .terms-modal{

        width:95vw;

        max-height:92vh;

    }

    .terms-modal h2{

        font-size:1.25rem;

        padding:18px;

    }

    .terms-content{

        padding:20px;

        max-height:75vh;

    }

}
/* ===========================================
   TERMS AGREEMENT
=========================================== */

.terms-agreement{

    display:flex;

    align-items:flex-start;

    gap:.8rem;

    margin:1.25rem 0 1.5rem;

}

.terms-agreement input{

    width:18px;

    height:18px;

    margin-top:2px;

    accent-color:#D4A017;

    cursor:pointer;

    flex-shrink:0;

}

.terms-text{

    font-size:.92rem;

    line-height:1.6;

    color:#555;

}

.terms-text label{

    display:inline;

    margin:0;

    font-weight:400;

}

.terms-text a{

    color:#D4A017;

    text-decoration:none;

    font-weight:600;

    margin-left:4px;

}

.terms-text a:hover{

    text-decoration:underline;

}

.form-submit:disabled{

    opacity:.55;

    cursor:not-allowed;

}