/* Spudnik landing site: Tater AI brand (slate/teal, Inter) + Spudnik potato and space. */
@font-face {
  font-family: "Fredoka";
  src: url("assets/fredoka-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --slate: #1f363c;
  --teal: #127c8a;
  --orbit: #19c3cf;
  --spud: #f5b94c;
  --outline: #3b1e0f;
  --cream: #fff7ea;
  --ink: #2b1a0e;
  --muted: #7a5c44;
  --card: #ffffff;
  --line: rgba(59, 30, 15, 0.14);
  --display: "Fredoka", Inter, system-ui, sans-serif;
  --body: Inter, Aptos, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 var(--body);
  color: var(--ink);
  background: var(--cream);
}
a { color: var(--teal); }
h1, h2, h3, .btn, .brand { font-family: var(--display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 0 14px; }
h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; }
h3 { font-size: 21px; margin: 0 0 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--slate);
  border-bottom: 3px solid var(--spud);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.nav img { height: 38px; display: block; }
.nav .links { display: flex; align-items: center; gap: 18px; }
.nav .links a { color: #fff3dc; text-decoration: none; font-weight: 500; }
.nav .links a.hide-sm { display: none; }
@media (min-width: 720px) { .nav .links a.hide-sm { display: inline; } }

/* buttons: chunky sticker style */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 48px;
  border: 2px solid var(--outline); border-radius: 16px;
  background: var(--card); color: var(--ink);
  font-size: 18px; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--outline);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--outline); }
.btn.primary { background: var(--spud); }
.btn.small { padding: 8px 14px; min-height: 40px; font-size: 16px; box-shadow: 0 3px 0 var(--outline); }

/* hero */
.hero {
  background: radial-gradient(1200px 400px at 70% -10%, rgba(25, 195, 207, .18), transparent 60%), var(--cream);
  padding: 56px 0 40px;
}
.hero .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.2fr 1fr; } }
.hero .lead { font-size: 20px; color: var(--muted); margin: 0 0 22px; max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .fine { font-size: 14px; color: var(--muted); margin-top: 12px; }
.hero .art { position: relative; text-align: center; }
.hero .art img { width: min(380px, 80%); filter: drop-shadow(0 18px 24px rgba(59, 30, 15, .18)); animation: float 6s ease-in-out infinite; }
.orbit {
  position: absolute; inset: 10% 0 auto; margin: auto; width: 92%; height: 34%;
  border: 6px solid var(--orbit); border-radius: 50%; transform: rotate(-14deg); opacity: .35; z-index: -1;
}
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero .art img { animation: none; } }

/* sections */
section.band { padding: 64px 0; }
section.band.alt { background: #fdf0d9; }
section.band.space {
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,243,220,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 12%, rgba(255,243,220,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 64%, rgba(25,195,207,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 78%, rgba(255,243,220,.5) 50%, transparent 51%),
    var(--slate);
  background-size: 380px 380px, 380px 380px, 380px 380px, 380px 380px, auto;
  color: #fff3dc;
}
section.band.space .muted { color: #c9b89f; }
section.band.space a { color: var(--orbit); }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 22px;
}
.space .card { background: #18303a; border-color: rgba(255,243,220,.12); }
.step .num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--spud); border: 2px solid var(--outline); font-family: var(--display); font-size: 20px; margin-bottom: 10px;
}
.feature .icon { font-size: 34px; line-height: 1; margin-bottom: 8px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.space .check-list li::before { color: var(--orbit); }

/* pricing */
.price-card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.price-card.featured { border: 3px solid var(--outline); box-shadow: 0 6px 0 var(--outline); }
.price { font-family: var(--display); font-size: 44px; line-height: 1; }
.price small { font-size: 18px; color: var(--muted); font-family: var(--body); }
.ribbon {
  position: absolute; top: -14px; right: 18px; background: var(--orbit); color: var(--slate);
  font-family: var(--display); padding: 4px 12px; border-radius: 999px; border: 2px solid var(--outline); font-size: 14px;
}

/* faq */
details { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 18px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; }

/* doc pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 24px; margin-top: 32px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.note { background: #fdf0d9; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; }

/* footer */
footer { background: #0c1a1f; color: #c9b89f; padding: 36px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer a { color: #fff3dc; text-decoration: none; margin-right: 16px; }
footer img { height: 30px; vertical-align: middle; }
