/* styles.css */
:root{
  --bg: #f6f1e8;
  --ink: #1f2a2e;

  --red: #ff4b5c;
  --blue: #2f6ed3;
  --green: #2f9f64;

  --card: #fffdf7;
  --shadow: 0 14px 28px rgba(0,0,0,.08);
  --radius: 24px;

  --stroke: rgba(31,42,46,.18);
  --stroke-strong: rgba(31,42,46,.28);

  --font-head: "Baloo 2", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(1200px 500px at 20% 0%, rgba(47,110,211,.08), transparent 55%),
              radial-gradient(900px 520px at 90% 15%, rgba(47,159,100,.10), transparent 55%),
              var(--bg);
}

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.skip{
  position:absolute;
  left:-999px;
  top:8px;
  background:#000;
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  z-index:1000;
}
.skip:focus{ left: 16px; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,241,232,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31,42,46,.10);
}
.topbar__inner{
  display:flex;
  align-items:center;
  gap:16px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand__mark{
  width:42px; height:42px;
  display:grid; place-items:center;
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.brand__name{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 20px;
}
.brand__tag{
  font-size: 12.5px;
  opacity: .75;
  margin-top: -3px;
}

.nav{
  display:flex;
  gap: 14px;
  margin-left: auto;
}
.nav a{
  text-decoration:none;
  color: var(--ink);
  font-weight: 700;
  padding: 10px 10px;
  border-radius: 14px;
}
.nav a:hover{
  background: rgba(47,110,211,.08);
}

.btn{
  appearance:none;
  border: 2px solid var(--stroke-strong);
  background: var(--card);
  color: var(--ink);
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }
.btn--primary{
  background: linear-gradient(180deg, rgba(255,75,92,.16), rgba(255,75,92,.08));
  border-color: rgba(255,75,92,.45);
}
.btn--secondary{
  background: linear-gradient(180deg, rgba(47,110,211,.16), rgba(47,110,211,.08));
  border-color: rgba(47,110,211,.45);
}
.btn--big{
  padding: 12px 18px;
  font-size: 16px;
}

.hero{
  padding: 28px 0 18px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 18px;
  align-items: start;
}
.hero__card{
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow:hidden;
}
.hero__card::after{
  content:"";
  position:absolute;
  inset: -120px -140px auto auto;
  width: 260px; height: 260px;
  background: rgba(47,159,100,.12);
  border-radius: 999px;
  transform: rotate(12deg);
  filter: blur(2px);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 2px dashed rgba(31,42,46,.25);
  background: rgba(255,255,255,.55);
  font-weight: 900;
  letter-spacing:.2px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.badge--green{ color: var(--green); }

.h1{
  font-family: var(--font-head);
  margin: 10px 0 8px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: .2px;
  position: relative;
  z-index: 1;
}
.h1__small{
  font-size: 18px;
  font-weight: 800;
  color: rgba(31,42,46,.70);
}
.lead{
  font-size: 17px;
  line-height: 1.55;
  max-width: 52ch;
  position: relative;
  z-index: 1;
}

.hero__highlights{
  display:flex;
  flex-wrap: wrap;
  gap:10px;
  margin: 14px 0 12px;
  position: relative;
  z-index: 1;
}
.pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  background: rgba(47,110,211,.08);
  border: 2px solid rgba(47,110,211,.18);
  border-radius: 18px;
  font-weight: 700;
}
.pill__icon{ font-size: 18px; }
.pill--blue{ background: rgba(47,110,211,.10); }

.cta{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.cta__note{
  font-family: var(--font-head);
  color: rgba(31,42,46,.72);
  transform: rotate(-1.5deg);
}

.hero__side{
  display:flex;
  flex-direction: column;
  gap: 14px;
}
.doodle-card{
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.h2{
  font-family: var(--font-head);
  font-size: 24px;
  margin: 0 0 8px;
  line-height: 1.05;
}
.h2--red{ color: var(--red); }
.h2--blue{ color: var(--blue); }
.h2--green{ color: var(--green); }

.text{
  margin: 0 0 10px;
  line-height: 1.6;
}
.dots{
  display:inline-block;
  opacity: .5;
  margin-left: 6px;
  letter-spacing: 1px;
}

.divider{
  height: 1px;
  margin: 14px 0;
}
.divider--dots{
  border-top: 3px dotted rgba(31,42,46,.22);
}
.divider--scribble{
  border-top: 3px dashed rgba(31,42,46,.22);
  transform: rotate(-.3deg);
}

.signup{
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 2px dashed rgba(47,159,100,.30);
  background: rgba(47,159,100,.06);
}
.signup__label{
  font-weight: 900;
  display:block;
  margin-bottom: 8px;
}
.signup__row{
  display:flex;
  gap:10px;
  align-items:center;
}
.input{
  flex: 1;
  border-radius: 16px;
  border: 2px solid rgba(31,42,46,.22);
  padding: 10px 12px;
  font: inherit;
  background: rgba(255,255,255,.8);
}
.hint{
  margin: 8px 0 0;
  font-size: 12.5px;
  opacity: .78;
}

.mini-banner{
  display:flex;
  gap:12px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 2px solid rgba(255,75,92,.20);
  background: rgba(255,75,92,.06);
  box-shadow: var(--shadow);
}
.mini-banner__icon{
  width: 40px; height: 40px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.75);
  border: 2px solid rgba(255,75,92,.25);
}
.mini-banner__text{ line-height: 1.55; font-size: 14.5px; }

.section{
  padding: 34px 0;
}
.section--alt{
  background: rgba(255,255,255,.35);
  border-top: 1px solid rgba(31,42,46,.08);
  border-bottom: 1px solid rgba(31,42,46,.08);
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.sub{
  margin: 0;
  opacity: .78;
  max-width: 52ch;
}

.grid{
  display:grid;
  gap: 12px;
}
.grid--cards{
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin-top: 10px;
}
.card{
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 14px 14px 16px;
  transition: transform .15s ease;
}
.card:hover{ transform: translateY(-2px) rotate(-.2deg); }
.card__icon{
  font-size: 26px;
  width: 44px; height: 44px;
  display:grid; place-items:center;
  border-radius: 18px;
  border: 2px dashed rgba(47,110,211,.25);
  background: rgba(47,110,211,.07);
  margin-bottom: 8px;
}
.h3{
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
}
.h3--blue{ color: var(--blue); }

.callout{
  margin-top: 14px;
  background: rgba(47,110,211,.06);
  border: 2px dashed rgba(47,110,211,.28);
  border-radius: var(--radius);
  padding: 16px;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.panel{
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}
.note{
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  transform: rotate(-.4deg);
}

.price{
  display:flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0;
}
.price__tag{
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 32px;
  color: var(--red);
}
.price__text{ opacity: .8; font-weight: 800; }

.grid--team{
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 12px;
}
.team{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.team__photo{
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display:grid;
  place-items:center;
  border: 3px dashed rgba(255,75,92,.28);
  background: rgba(255,75,92,.06);
  flex: 0 0 auto;
  font-size: 22px;
}
.team__body a{ color: inherit; font-weight: 900; text-decoration: none; }
.team__body a:hover{ text-decoration: underline; }

.grid--posters{
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}
.poster{
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  margin: 0;
}
.poster img{
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 2px solid rgba(31,42,46,.12);
}
.poster figcaption{
  margin-top: 10px;
  font-weight: 900;
  opacity: .75;
}
.poster.is-missing{
  display:none;
}

.footer{
  padding: 22px 0;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  opacity: .88;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-head);
}
.footer__small{ font-size: 13px; opacity: .78; }

@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .grid--cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split{ grid-template-columns: 1fr; }
  .grid--team{ grid-template-columns: 1fr; }
  .grid--posters{ grid-template-columns: 1fr; }
}
