/* Hiccup Hop site: "candy pond comic" (Docs/BRAND.md). Rubik is OFL-licensed (fonts/OFL.txt). */
@font-face { font-family: "Rubik"; src: url("fonts/rubik-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("fonts/rubik-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("fonts/rubik-bolditalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --navy: #1D2B53; --lily: #3CCB4A; --lily-dark: #249A34; --lime: #A8E63D; --pond: #29C4E0; --pond-deep: #1590C9;
  --sky: #8FE3FF; --sky2: #D9F7FF; --pink: #FF6FAE; --sun: #FFD23F; --sun-dark: #E0A800; --grape: #9B5DE5;
  --burst: #FF3D6E; --cream: #FFF9EC; --white: #FFFFFF; --card-edge: #D6E4F0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--navy);
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky2) 55%, #E9FFF3 100%) fixed; line-height: 1.55; font-size: 17px;
}
a { color: var(--pond-deep); font-weight: 700; }
.wrap { max-width: 860px; margin: 0 auto; padding: 18px 16px 48px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--navy); }
nav a { margin-left: 14px; text-decoration: none; }
h1, h2 { line-height: 1.15; }
h1 { font-size: 34px; font-style: italic; color: var(--white); -webkit-text-stroke: 2px var(--navy); paint-order: stroke fill; text-shadow: 0 4px 0 var(--navy); margin: 12px 0 6px; }
h2 { font-size: 22px; margin-top: 30px; }
.meta { opacity: .75; margin-top: 0; }
.card { background: var(--white); border-radius: 22px; padding: 18px 20px; border-bottom: 6px solid var(--card-edge);
        box-shadow: 0 10px 24px rgba(29,43,83,.12); margin: 16px 0; }
.card.mint { border-bottom-color: #9EE6B8; }
.card.sun { border-bottom-color: var(--sun-dark); background: #FFF6CF; }
.card ul { margin: 8px 0 0; padding-left: 20px; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 16px; overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #E5EDF6; vertical-align: top; }
th { background: var(--cream); }
.table-scroll { overflow-x: auto; }
footer { margin-top: 40px; font-size: 14px; opacity: .8; text-align: center; }
details { background: var(--white); border-radius: 18px; padding: 14px 18px; margin: 10px 0; border-bottom: 5px solid var(--card-edge); }
summary { cursor: pointer; font-weight: 700; }
code { background: var(--cream); padding: 1px 6px; border-radius: 6px; }

/* landing page */
.hero { position: relative; text-align: center; padding: 14px 0 6px; }
.hero .logo { width: min(560px, 92%); height: auto; filter: drop-shadow(0 8px 0 rgba(29,43,83,.15)); }
.hero p.tag { font-size: 21px; font-weight: 700; margin: 8px auto 18px; max-width: 560px; }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 14px 0 6px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; color: var(--white); background: var(--lily);
       border-radius: 18px; padding: 14px 24px; border-bottom: 7px solid var(--lily-dark); -webkit-text-stroke: 0; min-width: 210px; }
.btn.sun { background: var(--sun); color: var(--navy); border-bottom-color: var(--sun-dark); }
.btn small { display: block; font-weight: 400; font-size: 13px; opacity: .9; }
.soon { font-size: 14px; opacity: .75; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 18px; }
.feature { background: var(--white); border-radius: 22px; padding: 16px; border-bottom: 6px solid var(--card-edge); text-align: center; }
.feature img { width: 120px; height: 120px; object-fit: contain; }
.feature h3 { margin: 6px 0 4px; font-style: italic; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--pink); color: var(--white); font-weight: 700; font-size: 13px; }
.how { counter-reset: s; list-style: none; padding: 0; }
.how li { counter-increment: s; background: var(--white); border-radius: 18px; padding: 12px 16px 12px 58px; margin: 10px 0; position: relative; border-bottom: 5px solid var(--card-edge); }
.how li::before { content: counter(s); position: absolute; left: 14px; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); border: 3px solid var(--navy); text-align: center; font-weight: 700; line-height: 26px; }
@media (max-width: 520px) { h1 { font-size: 28px; } .btn { min-width: 0; width: 100%; } nav a { margin-left: 10px; } }
