:root {
  --ink: #1f2a37; --muted: #606b78; --line: #e2e5e9; --soft: #f5f6f7;
  --brand: #12413f; --accent: #12413f; --white: #ffffff; --error: #b3261e;
  --logo: "Fredoka", "Trebuchet MS", sans-serif;
  --body: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px)); --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html.locked { overflow: hidden; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; text-wrap: balance; }
button { font-family: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.announce { background: var(--brand); color: var(--white); text-align: center; font-size: 14px; padding: 9px var(--gutter-r) 9px var(--gutter-l); }
.site-header { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 64px; padding: 4px var(--gutter-r) 4px var(--gutter-l); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 20; }
.logo { font: 600 21px/1.1 var(--logo); text-decoration: none; color: var(--brand); text-align: center; }
.nav { display: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; position: relative; padding: 0; }
.count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--brand); color: var(--white); font-size: 12px; line-height: 18px; text-align: center; }
.scrim { position: fixed; inset: 0; background: rgba(15, 23, 32, .45); z-index: 40; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(88vw, 400px); background: var(--white); z-index: 50; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.left { left: 0; } .drawer.right { right: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 600; }
.drawer-nav { display: grid; padding: 8px 20px; }
.drawer-nav a { padding: 13px 0; text-decoration: none; font-size: 19px; border-bottom: 1px solid var(--line); }
.cart-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; min-height: 0; }
.empty { margin: 16px 0 0; text-align: center; color: var(--muted); }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
.line img { width: 84px; height: 105px; object-fit: cover; }
.line p { margin: 0; }
.line-title { font-weight: 600; }
.muted { color: var(--muted); }
.link { background: none; border: 0; padding: 0; margin-top: 8px; text-decoration: underline; color: var(--muted); font-size: 15px; cursor: pointer; display: block; }
.cart-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.sub-row { display: flex; justify-content: space-between; font-size: 19px; font-variant-numeric: tabular-nums; }
.small-text { font-size: 15px; margin: 0; }

.btn { display: block; width: 100%; min-height: 52px; padding: 0 16px; border-radius: 4px; font: 600 18px/50px var(--body); text-align: center; text-decoration: none; cursor: pointer; border: 1px solid var(--brand); }
.btn-solid { background: var(--brand); color: var(--white); }
.btn-outline { background: var(--white); color: var(--brand); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.product { display: grid; gap: 22px; padding-block: 0 36px; }
.media { min-width: 0; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: none; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; background: var(--soft); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 8px var(--gutter-r) 2px var(--gutter-l); scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: none; width: 62px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--brand); }
.thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.info { min-width: 0; }
.vendor { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h1 { font-size: clamp(30px, 7vw, 40px); margin: 4px 0 0; }
.price { font-size: 22px; margin: 10px 0 0; font-variant-numeric: tabular-nums; }
.note { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.lede { margin: 16px 0 0; }
.field-label { display: block; margin: 18px 0 6px; font-size: 15px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid #8a94a0; border-radius: 4px; }
.qty button { width: 46px; height: 46px; background: none; border: 0; font-size: 20px; cursor: pointer; }
.qty span { min-width: 30px; text-align: center; font-variant-numeric: tabular-nums; }
.qty.small { margin-top: 8px; } .qty.small button { width: 36px; height: 36px; font-size: 18px; }
.actions { display: grid; gap: 10px; margin-top: 16px; }
.accordion { margin-top: 24px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 15px 28px 15px 0; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details > div, details > p { padding: 0 0 16px; margin: 0; color: var(--muted); }
details ul { margin: 0; padding-left: 20px; }

.band { padding-block: 40px; border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(26px, 6vw, 34px); margin: 0 0 10px; }
.split { display: grid; gap: 22px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split p { margin: 0 0 12px; color: var(--muted); }
.how-head { text-align: center; margin-bottom: 22px; }
.how { display: grid; gap: 26px; }
.how img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.how h3 { font-size: 20px; margin: 12px 0 4px; }
.how p { margin: 0; color: var(--muted); }
.faq { max-width: 760px; margin: 0 auto; }
.faq h2 { text-align: center; margin-bottom: 18px; }

.page { max-width: 720px; margin: 0 auto; padding: 32px var(--gutter-r) 48px var(--gutter-l); }
.page h1 { margin-bottom: 18px; }
.page h2 { font-size: 22px; margin: 26px 0 8px; }
.page p { margin: 0 0 12px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
label { font-size: 15px; }
select, input[type="email"], input[type="text"], textarea { width: 100%; min-height: 50px; padding: 12px; border: 1px solid #8a94a0; border-radius: 4px; font: 400 17px var(--body); color: var(--ink); background: var(--white); }
textarea { min-height: 140px; resize: vertical; }
.error { margin: 0; color: var(--error); }
.ok { margin: 0; color: var(--brand); font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); padding: 34px var(--gutter-r) 24px var(--gutter-l); background: var(--soft); font-size: 16px; }
.foot-grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-grid h3 { font-size: 16px; margin: 0 0 10px; }
.foot-grid a { display: block; padding: 4px 0; text-decoration: none; color: var(--muted); }
.foot-news { grid-column: 1 / -1; }
.foot-news p { margin: 0 0 10px; color: var(--muted); }
.foot-news form { display: flex; gap: 8px; }
.foot-news input[type="email"] { flex: 1 1 0; min-width: 0; }
.foot-news button { flex: none; padding: 0 18px; border: 1px solid var(--brand); background: var(--brand); color: var(--white); border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; }
.news-msg { margin-top: 8px !important; }
.copy { max-width: 1200px; margin: 24px auto 0; color: var(--muted); font-size: 14px; }

.co-head { display: flex; justify-content: center; align-items: center; padding: 18px var(--gutter-r) 18px var(--gutter-l); border-bottom: 1px solid var(--line); }
.co { display: grid; }
.co-summary { background: var(--soft); border-bottom: 1px solid var(--line); padding: 16px var(--gutter-r) 16px var(--gutter-l); }
.co-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.co-thumb { position: relative; width: 64px; height: 64px; }
.co-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.co-thumb span { position: absolute; top: -8px; right: -8px; min-width: 21px; height: 21px; border-radius: 11px; background: #666e78; color: var(--white); font-size: 12px; line-height: 21px; text-align: center; }
.co-item small { display: block; color: var(--muted); font-size: 14px; }
.co-item strong, .co-total strong { font-variant-numeric: tabular-nums; font-weight: 600; }
.co-rows { margin-top: 14px; display: grid; gap: 6px; font-size: 15px; }
.co-rows div { display: flex; justify-content: space-between; }
.co-total { font-size: 19px; }
.co-main { padding: 18px var(--gutter-r) 40px var(--gutter-l); max-width: 560px; width: 100%; margin: 0 auto; }
.crumbs { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.crumbs b { color: var(--ink); font-weight: 600; }
.co-main h1 { font-size: 24px; margin: 0 0 14px; }
.stats table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stats th, .stats td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.stats td:not(:first-child), .stats th:not(:first-child) { text-align: right; }

@media (min-width: 750px) {
  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .split.flip img { order: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr 2fr; }
  .foot-news { grid-column: auto; }
}
@media (min-width: 990px) {
  .site-header { grid-template-columns: auto 1fr 44px; gap: 32px; padding-inline: 40px; }
  .menu-btn { display: none; }
  .logo { text-align: left; }
  .nav { display: flex; gap: 22px; }
  .nav a { text-decoration: none; color: var(--muted); }
  .nav a:hover { color: var(--ink); text-decoration: underline; }
  .product { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding-block: 36px 56px; }
  .media { margin: 0; }
  .thumbs { padding-inline: 0; }
  .band { padding-block: 64px; }
  .co { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: calc(100vh - 80px); }
  .co-summary { order: 2; border-bottom: 0; border-left: 1px solid var(--line); padding: 40px; }
  .co-main { padding-top: 40px; }
}

/* Moar Fun brand and homepage */
:root { --orange: #e8914f; --cream: #fff6e9; }
.logo { font-size: 26px; letter-spacing: -.01em; }
.logo span { color: #d9702b; margin-left: 2px; }
.home h1, .home h2, .home h3 { font-family: var(--logo); font-weight: 600; }
.hero { background: var(--orange); color: var(--brand); display: grid; }
.hero-copy { padding: 36px var(--gutter-r) 8px var(--gutter-l); }
.eyebrow { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.hero h1 { font-size: clamp(40px, 11vw, 68px); line-height: 1.04; margin: 0; }
.hero-sub { font-size: 19px; margin: 14px 0 22px; max-width: 30em; }
.hero-cta { border-radius: 999px; }
.hero-img { width: 100%; aspect-ratio: 1; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%); mask-image: linear-gradient(to bottom, transparent, #000 14%); }
.home-band { padding-block: 44px; }
.home-title { font-size: clamp(30px, 7vw, 42px); text-align: center; margin: 0 0 22px; color: var(--brand); }
.home-title.left { text-align: left; }
.home-band .split p { color: var(--muted); }
.home-band .split img { border-radius: 20px; }
.feature { display: grid; background: var(--cream); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); }
.feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature-copy { padding: 22px 20px 24px; }
.feature-copy p { margin: 0 0 10px; }
.feature h3 { font-size: 30px; margin: 0 0 8px; color: var(--brand); }
.tag { display: inline-block; background: var(--orange); color: var(--brand); font-size: 14px; font-weight: 600; padding: 2px 12px; border-radius: 999px; }
.feature-price { font-size: 22px; font-variant-numeric: tabular-nums; }
.feature .btn { border-radius: 999px; }
.promises { background: var(--brand); color: var(--white); padding-block: 40px; }
.promise-grid { display: grid; gap: 26px; }
.promises h3 { font-size: 24px; margin: 0 0 4px; }
.promises p { margin: 0; color: #d8e6e4; }
.next { background: var(--cream); padding: 52px var(--gutter-r) 56px var(--gutter-l); text-align: center; }
.next-inner { max-width: 560px; margin: 0 auto; }
.next h2 { font-size: clamp(30px, 7vw, 42px); color: var(--brand); margin: 0 0 10px; }
.next p { margin: 0 0 18px; }
.next form { display: flex; gap: 8px; }
.next input[type="email"] { flex: 1 1 0; min-width: 0; border-radius: 999px; padding-inline: 20px; }
.next button { flex: none; padding: 0 22px; min-height: 50px; border: 0; border-radius: 999px; background: var(--brand); color: var(--white); font-size: 17px; font-weight: 600; cursor: pointer; }
.next-msg { margin: 12px 0 0 !important; font-weight: 600; color: var(--brand); }
.home .foot-news { display: none; }
@media (min-width: 750px) {
  .hero-cta, .feature .btn { display: inline-block; width: auto; padding: 0 34px; }
  .promise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .feature { grid-template-columns: 1fr 1fr; align-items: center; }
  .feature img { height: 100%; }
  .feature-copy { padding: 40px; }
  .home .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 990px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero-copy { padding: 56px 24px 56px max(40px, calc((100vw - 1200px) / 2)); }
  .hero-img { -webkit-mask-image: linear-gradient(to right, transparent, #000 14%); mask-image: linear-gradient(to right, transparent, #000 14%); }
  .home-band { padding-block: 72px; }
  .promises { padding-block: 56px; }
}
