/* Spaghetti Inu — trattoria meme landing */
:root {
  --cream: #fbf3e4;
  --cream-dark: #f3e6cc;
  --paper: #fff8ee;
  --tomato: #c1121f;
  --tomato-dark: #8a0c16;
  --gold: #e8b923;
  --gold-soft: #f4d06f;
  --basil: #2d6a4f;
  --basil-dark: #1b4332;
  --ink: #2a1810;
  --ink-soft: #5c4033;
  --muted: #7a5c4a;
  --white: #fffdf8;
  --shadow: 0 18px 40px rgba(42, 24, 16, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--tomato); }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

/* checkered ribbon */
.ribbon {
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    #c1121f 0 16px,
    #fffdf8 16px 32px
  );
}

header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--cream);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  font-weight: 700;
}
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--tomato); }
.nav-cta {
  background: var(--tomato);
  color: var(--white) !important;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--tomato-dark); }

/* hero */
.hero {
  position: relative;
  isolation: isolate;
  border-radius: 32px;
  overflow: hidden;
  min-height: 620px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(42, 24, 16, 0.28) 0%, rgba(42, 24, 16, 0.72) 100%),
    url("assets/banner.png") center / cover no-repeat;
}
.hero-inner {
  padding: 64px 24px 48px;
  max-width: 760px;
}
.logo-ring {
  width: 168px;
  height: 168px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(from 180deg, var(--gold), #fff, var(--tomato), var(--gold));
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.logo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--cream);
  object-fit: cover;
}
.eyebrow {
  display: inline-block;
  background: rgba(255, 253, 248, 0.16);
  border: 1px solid rgba(255,253,248,.35);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
h1 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 0.95;
  text-shadow: 0 4px 0 rgba(0,0,0,.18);
}
.ticker {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--gold-soft);
  margin: 8px 0 16px;
}
.tagline {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.sub {
  color: rgba(255,253,248,.88);
  max-width: 34em;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.btn-primary {
  background: var(--tomato);
  color: var(--white);
  box-shadow: 0 6px 0 var(--tomato-dark);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled,
.btn-primary.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-ghost {
  background: rgba(255,253,248,.12);
  color: var(--white);
  border: 2px solid rgba(255,253,248,.45);
}
.btn-ghost:hover { background: rgba(255,253,248,.22); }

.ca-box {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 8px 8px 8px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  max-width: 100%;
}
.ca-box code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(52vw, 420px);
}
.ca-box button {
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
}

/* sections */
section { padding: 24px 0 56px; }
h2 {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 8px;
}
.lede {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 36em;
}

.grid-3, .grid-4 {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(42,24,16,.06);
}
.card h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tomato);
  color: white;
  display: grid;
  place-items: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}
.card.basil { background: var(--basil); color: var(--white); }
.card.basil p { color: rgba(255,253,248,.9); }
.card.gold { background: linear-gradient(180deg, #f8de7e, #e8b923); }
.stat {
  font-family: "Fredoka", sans-serif;
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label { font-weight: 800; color: var(--ink-soft); font-size: 0.95rem; }

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.socials a, .socials .soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow);
  border: 1px solid rgba(42,24,16,.06);
}
.socials .soon { color: var(--muted); }

.meme {
  text-align: center;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  background: var(--tomato);
  color: white;
  padding: 28px 20px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.meme small {
  display: block;
  margin-top: 8px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  opacity: 0.9;
  font-size: 0.95rem;
}

footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
footer p { max-width: 46em; margin: 0 auto 10px; }

@media (max-width: 800px) {
  .nav-links li:not(.cta-li) { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 0; border-radius: 24px; }
  .hero-inner { padding: 40px 18px 32px; }
  .logo-ring { width: 132px; height: 132px; }
}
