/* Change the bordeaux here if your exact Gasiavo shade is different */
:root{
  --bordeaux:#4b0f1c;
  --bordeaux-deep:#2f0912;
  --sand:#ddc494;
  --white:#ffffff;
  --muted:#f0e3c9;
  --font:"Trebuchet MS","Lucida Grande","Lucida Sans Unicode",sans-serif;
  --mono:"Cascadia Mono",Consolas,"Courier New",monospace;
  --scene-h:clamp(180px,25vw,520px);

  /* grain on bordeaux (light speckles) */
  --grain-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 -.26'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* grain on sand (dark speckles) */
  --grain-sand:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .6 -.24'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0;font-family:var(--font);line-height:1.6;color:var(--white);
  background-color:var(--bordeaux);background-image:var(--grain-dark);
}
a{color:inherit}
:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:4px}

/* Hero */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,#3a0b16 0%,#4b0f1c 55%,#62192a 100%);
  min-height:100vh;min-height:100svh;
  display:flex;flex-direction:column;
  padding:1.5rem 1.25rem calc(var(--scene-h) * .45 + 1rem);
}
.hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background-image:var(--grain-dark)}
.hero-inner{position:relative;z-index:2;flex:1;width:100%;max-width:72rem;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center}
.wordmark{font-size:1.7rem;font-weight:700;color:var(--white);text-decoration:none;letter-spacing:.03em}
.hero-copy{max-width:40rem;margin:auto 0;padding:2rem 0}
h1{font-size:clamp(2.6rem,7.5vw,5rem);font-weight:700;line-height:1.05;letter-spacing:-.01em;margin:0}
.h1-fr{font-style:italic;font-size:clamp(1.3rem,3.2vw,2rem);color:var(--sand);margin:.5rem 0 0}
.lead{font-size:1.15rem;max-width:34rem;margin:1.5rem auto 0}
.lead-fr{color:var(--muted);font-size:1rem;margin:.2rem 0 0}

.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-top:2rem}
.btn{
  display:inline-flex;flex-direction:column;align-items:center;text-align:center;gap:.1rem;
  min-width:15rem;padding:.9rem 1.6rem;
  border:2px solid var(--sand);border-radius:20px;text-decoration:none;
}
.btn-main{font-weight:700;font-size:1.1rem}
.btn-sub{font-size:.9rem;opacity:.85}
.btn.primary{background-color:var(--sand);background-image:var(--grain-sand);color:#3a0b16}
.btn.primary:hover{background-color:#e9d6ab}
.btn.ghost{background:rgba(47,9,18,.45);color:var(--white)}
.btn.ghost:hover{background:rgba(47,9,18,.7)}
.meta{margin:1.2rem 0 0;font-size:.95rem;color:var(--muted)}

/* Sun */
.scene{position:absolute;left:0;right:0;bottom:0;z-index:0;width:100%;height:var(--scene-h);display:block}
.sun{fill:#ddc494}
.ring{fill:#ddc494}
.r1{opacity:.18}
.r2{opacity:.1}
.r3{opacity:.05}
.ground{fill:#2f0912}

/* Check section */
.verify{padding:4rem 1.25rem;background:var(--bordeaux-deep);background-image:var(--grain-dark)}
.frame{
  max-width:46rem;margin:0 auto;padding:2rem clamp(1.2rem,4vw,2.5rem);
  background-color:var(--sand);background-image:var(--grain-sand);
  color:#3a0b16;border-radius:24px;
}
h2{font-size:clamp(1.7rem,4vw,2.2rem);margin:0;color:#3a0b16}
.h2-fr{font-style:italic;margin:.2rem 0 0;font-size:1.1rem;color:#5a1424}
ol{margin:1.8rem 0;padding-left:1.4rem}
li{margin:1.2rem 0;padding-left:.4rem}
.fr{display:block;color:#5a1424;font-size:.95rem;margin-top:.2rem}
.cmd{display:block;margin:.6rem 0;padding:.7rem .9rem;overflow-x:auto;white-space:nowrap;background:var(--bordeaux);border-radius:14px;font-family:var(--mono);font-size:.9rem;color:var(--sand)}
.hashbox{margin:2rem 0 1.5rem;padding:1rem 1.2rem;background:var(--bordeaux);border-radius:18px}
.hash-label{margin:0 0 .4rem;font-weight:700;color:var(--muted)}
.hash{display:block;word-break:break-all;font-family:var(--mono);font-size:.95rem;color:var(--sand)}
.note{margin:.8rem 0;font-size:.95rem}
.note a{color:#3a0b16;font-weight:700}

footer{padding:2rem 1.25rem;background:#1f060c;color:var(--muted);text-align:center;font-size:.9rem}
footer p{margin:0}

@media (max-width:520px){
  .btn{width:100%;min-width:0}
}
