:root{
    --green-900:#1b4523;
    --green-800:#286533;
    --green-700:#2f7a3d;
    --green-600:#3a8a4a;
    --green-100:#e2f1e6;
    --green-50:#f0f5f0;

    --red:#E5232A;
    --orange:#F06824;
    --yellow:#FBD00F;
    --blue:#214291;

    --text:#58595B;
    --text-strong:#1b4523;
    --bg:#FAFBF9;

    --card-bg: rgba(255,255,255,0.72);
    --card-border: rgba(255,255,255,0.55);
    --card-shadow: 0 24px 60px rgba(40, 101, 51, 0.10), 0 4px 18px rgba(40, 101, 51, 0.06);
  }

  *{ box-sizing: border-box; }

  html, body{
    margin:0;
    padding:0;
    height:100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
  }

  html{ font-size: 16px; }

  body{
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    background-image:
      radial-gradient(1200px 700px at 12% 10%, rgba(58,138,74,0.10), transparent 60%),
      radial-gradient(900px 600px at 92% 95%, rgba(40,101,51,0.08), transparent 65%),
      linear-gradient(135deg, #f0f5f0 0%, #ffffff 50%, #f5f8f3 100%);
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow-x: hidden;
    line-height: 1.6;
  }

  /* ---------- decorative tetris cubes ---------- */
  .deco{
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    -webkit-user-select: none;
  }
  .cube{
    position: absolute;
    border-radius: 2px;
    opacity: 0;
    transform: scale(0.6);
    animation: cubeIn 700ms cubic-bezier(.22,1,.36,1) forwards;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  }
  @keyframes cubeIn{
    to{ opacity: var(--o, 0.10); transform: scale(1); }
  }

  /* ---------- main stage ---------- */
  main{
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 48px 24px 32px;
  }

  .card{
    position: relative;
    width: 100%;
    max-width: 640px;
    padding: 72px 64px 60px;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    animation: cardIn 700ms cubic-bezier(.22,1,.36,1) 120ms both;
  }
  @keyframes cardIn{
    from{ opacity: 0; transform: translateY(16px); }
    to{ opacity: 1; transform: translateY(0); }
  }

  /* card has no top accent stripe — keep the silhouette clean */

  /* ---------- wordmark ---------- */
  .brand{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
  }
  .wordmark{
    font-weight: 800;
    font-size: 40px;
    letter-spacing: -0.02em;
    color: var(--green-800);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
  }
  .wordmark .x{
    color: var(--red);
    font-style: italic;
    padding: 0 1px;
  }
  .tagline{
    font-size: 13px;
    color: var(--green-700);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0.85;
  }

  .cross-wrap{
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
    box-shadow: 0 6px 18px rgba(40,101,51,0.25);
    animation: pulse 2.5s ease-in-out infinite;
  }
  .cross-wrap svg{ width: 20px; height: 20px; display:block; }
  @keyframes pulse{
    0%, 100%{ transform: scale(1); opacity: 0.95; box-shadow: 0 6px 18px rgba(40,101,51,0.25); }
    50%     { transform: scale(1.06); opacity: 1;    box-shadow: 0 10px 26px rgba(40,101,51,0.35); }
  }

  /* ---------- copy ---------- */
  .eyebrow{
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    color: var(--green-700);
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  h1{
    margin: 0 0 18px;
    font-size: clamp(36px, 5.4vw, 64px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--green-800);
    text-wrap: balance;
  }
  h1 .line2{ display:block; color: var(--green-700); }

  .lede{
    margin: 0 auto 32px;
    max-width: 480px;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.6;
    color: var(--text);
    font-weight: 400;
    text-wrap: pretty;
  }

  /* ---------- cube divider ---------- */
  .divider{
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 4px auto 28px;
    user-select: none;
  }
  .divider span{
    width: 7px;
    height: 7px;
    border-radius: 1.5px;
    display: block;
  }

  /* ---------- CTAs ---------- */
  .cta-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  .cta{
    --pad-y: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: var(--pad-y) 20px;
    border-radius: 14px;
    text-decoration: none;
    font-family: inherit;
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
  }
  .cta:focus-visible{
    outline: 3px solid rgba(40,101,51,0.35);
    outline-offset: 3px;
  }

  .cta .label{
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .cta .value{
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .cta-primary{
    background: var(--green-800);
    color: #fff;
    border: 1px solid var(--green-800);
    box-shadow: 0 6px 18px rgba(40,101,51,0.22);
  }
  .cta-primary::after{
    /* shimmer sweep */
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.20) 50%, transparent 65%);
    transform: translateX(-110%);
    transition: transform 700ms ease;
    z-index: -1;
  }
  .cta-primary:hover{
    background: var(--green-600);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(40,101,51,0.30);
  }
  .cta-primary:hover::after{ transform: translateX(110%); }
  .cta-primary:active{ transform: translateY(0); }

  .cta-secondary{
    background: transparent;
    color: var(--green-800);
    border: 2px solid var(--green-800);
  }
  .cta-secondary:hover{
    background: var(--green-800);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(40,101,51,0.18);
  }
  .cta-secondary:active{ transform: translateY(0); }

  .cta .icon{
    width: 16px; height: 16px;
    display: inline-block;
    flex: 0 0 auto;
  }

  .footnote{
    margin: 0;
    font-size: 13.5px;
    color: #7c7d80;
    line-height: 1.55;
    text-wrap: pretty;
  }
  .footnote .sep{ color: #c8c9cc; padding: 0 6px; }

  /* ---------- footer ---------- */
  footer{
    position: relative;
    z-index: 1;
    padding: 24px 24px 28px;
    text-align: center;
    color: #8a8b8e;
    font-size: 13px;
  }
  footer .signature{
    display: inline-flex;
    gap: 4px;
    margin-top: 10px;
    user-select: none;
  }
  footer .signature span{
    width: 8px; height: 8px; border-radius: 1.5px;
  }

  /* ---------- toast ---------- */
  .toast{
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 16px);
    background: var(--green-800);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(40,101,51,0.30);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .toast.show{
    opacity: 1;
    transform: translate(-50%, 0);
  }
  .toast svg{ width: 16px; height: 16px; }

  /* ---------- responsive ---------- */
  @media (max-width: 720px){
    main{ padding: 32px 18px 24px; }
    .card{ padding: 48px 28px 40px; border-radius: 20px; }
    .wordmark{ font-size: 34px; }
    .cta-row{ grid-template-columns: 1fr; }
    .eyebrow{ font-size: 11px; letter-spacing: 0.2em; }
    h1{ font-size: clamp(34px, 9vw, 44px); }
    .lede{ font-size: 16px; }
  }

  @media (max-width: 380px){
    .card{ padding: 40px 22px 34px; }
  }

  /* ---------- reduced motion ---------- */
  @media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
    }
    .card{ opacity: 1; transform: none; }
    .cube{ opacity: var(--o, 0.10); transform: none; }
    .cross-wrap{ animation: none; }
  }
  /* ---------- logo image ---------- */
  .wordmark-img{
    display:block;
    height: 96px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }
  @media (max-width: 540px){
    .wordmark-img{ height: 72px; }
  }
