@font-face { font-family: "Titan One"; font-weight: 400; font-display: swap; src: url("/whirlybot/fonts/TitanOne_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("/whirlybot/fonts/Jost_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Jost"; font-weight: 700; font-display: swap; src: url("/whirlybot/fonts/Jost_700Bold.ttf") format("truetype"); }

:root {
  --sky: #BFE0D6; --paper: #FBF4E2; --cream: #F4E8CE; --ink: #1F2A44; --tomato: #D9442F; --teal: #1E8C8A; --mustard: #EAB73C; --pink: #EFA39A; --wood: #D29A5B; --wood-dark: #A66C38;
  --side: clamp(20px, 6vw, 88px);
  --display: "Titan One", "Arial Rounded MT Bold", "Arial Black", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); overflow-x: hidden;
  font: 500 1.125rem/1.5 Jost, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--sky);
  background-image: radial-gradient(circle, rgba(255,255,255,0.55) 4px, transparent 4.6px), radial-gradient(circle, rgba(255,255,255,0.55) 4px, transparent 4.6px);
  background-size: 36px 36px; background-position: 0 0, 18px 18px;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--side); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: clamp(1.375rem, 5.6vw, 1.75rem); line-height: 1; text-decoration: none; white-space: nowrap; color: var(--tomato); text-shadow: 2px 2px 0 var(--ink); }
.brand img { display: block; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
nav { display: flex; gap: 8px; font-weight: 700; font-size: 0.875rem; }
nav a, nav span { padding: 6px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); text-decoration: none; }
nav a:hover { background: var(--mustard); }
nav span { background: var(--ink); color: var(--paper); }

.hero, .feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 7vw, 96px) var(--side); }
.feature.flip > .slip { order: 2; }

h1 { font-size: clamp(3.5rem, 9vw, 8.5rem); color: var(--tomato); text-shadow: 0.06em 0.06em 0 var(--ink); text-wrap: wrap; }
h1 span { display: block; white-space: nowrap; }
.lede { max-width: 31em; margin-top: clamp(20px, 2.5vw, 32px); font-size: clamp(1.125rem, 1.5vw, 1.375rem); }

.stores { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.button { display: inline-block; padding: 15px 22px; border: 3px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); font: 400 1.1875rem/1.1 var(--display); text-decoration: none; }
.button.solid { background: var(--tomato); color: var(--paper); }
.button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.button:active { transform: translate(5px, 5px); box-shadow: none; }
.note { margin-top: 18px; font-size: 1rem; }

.phone { margin: 0 auto; width: min(100%, 350px); }
.phone img { display: block; width: 100%; height: auto; border: 9px solid var(--ink); border-radius: 13% / 6%; background: var(--ink); box-shadow: 12px 12px 0 rgba(31, 42, 68, 0.3); }
.feature:nth-of-type(odd) .phone { transform: rotate(1.6deg); }
.feature:nth-of-type(even) .phone { transform: rotate(-1.6deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero .phone { animation: hover 2.4s ease-in-out infinite alternate; }
  @keyframes hover { from { transform: translateY(-8px) rotate(-2deg); } to { transform: translateY(8px) rotate(-2deg); } }
}
.hero .phone { transform: rotate(-2deg); }

.slip { padding: clamp(24px, 3.4vw, 44px); border: 3px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1deg); }
.feature.flip > .slip { transform: rotate(1deg); }
.slip h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.slip > p:not(.hand) { max-width: 30em; margin-top: 16px; }
.slip ul { margin: 20px 0 0; padding: 0; list-style: none; }
.slip li { position: relative; padding: 11px 0 11px 30px; border-top: 2px dashed var(--ink); font-weight: 700; }
.slip li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 14px; border: 3px solid var(--ink); background: var(--mustard); }
.hand { margin-bottom: 16px; }

.block { display: inline-grid; place-items: center; width: 58px; height: 58px; border: 3px solid var(--ink); background: var(--tomato); color: var(--paper); box-shadow: 4px 4px 0 var(--ink); font: 400 1.75rem/1 var(--display); transform: rotate(-4deg); }
.block.b2 { background: var(--mustard); color: var(--ink); transform: rotate(3deg); }
.block.b3 { background: var(--teal); transform: rotate(-2deg); }
.block.b4 { background: var(--pink); color: var(--ink); transform: rotate(4deg); }

.pad { position: relative; margin: 0; padding: 0; list-style: none; border: 3px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.sheet { padding: clamp(8px, 2vw, 24px) var(--side) clamp(24px, 4vw, 48px); }
.sheet .pad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px clamp(8px, 2vw, 24px) 18px; transform: rotate(-0.8deg); }
.sheet li { padding: 6px clamp(10px, 1.6vw, 22px) 8px; border-left: 2px dashed var(--ink); }
.sheet li:first-child { border-left: 0; }
.sheet strong { display: block; font: 400 clamp(2.75rem, 6vw, 5rem)/1.05 var(--display); }
.sheet li:nth-child(1) strong { color: var(--tomato); }
.sheet li:nth-child(2) strong { color: var(--teal); }
.sheet span { display: block; font-size: 1rem; line-height: 1.3; }

.questions { padding: clamp(40px, 7vw, 96px) var(--side); }
.questions h2 { margin-bottom: clamp(20px, 3vw, 36px); font-size: clamp(2.5rem, 5.6vw, 4.75rem); color: var(--paper); text-shadow: 0.06em 0.06em 0 var(--ink); }
.questions .pad { padding: 10px clamp(20px, 3.4vw, 44px); }
.questions div { padding: 20px 0; border-top: 2px dashed var(--ink); }
.questions div:first-child { border-top: 0; }
dt { font: 400 clamp(1.375rem, 2.4vw, 1.75rem)/1.2 var(--display); }
dd { margin: 8px 0 0; max-width: 40em; }

.closing { padding: clamp(48px, 8vw, 112px) var(--side); background: var(--wood); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.closing h2 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); color: var(--paper); text-shadow: 0.06em 0.06em 0 var(--ink); }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px var(--side) 40px; background: var(--wood-dark); color: var(--paper); font-size: 1rem; }

@media (max-width: 820px) {
  .hero, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > .slip { order: 0; }
  h1 { font-size: clamp(2.6rem, 13.5vw, 6rem); }
  .phone { width: min(72%, 310px); }
  .sheet .pad { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .sheet li:nth-child(3) { border-left: 0; }
}
@media (max-width: 370px) {
  .top { gap: 8px; }
  .brand { gap: 8px; font-size: 1.0625rem; }
  .brand img { width: 36px; height: 36px; }
  nav { gap: 4px; }
  nav a, nav span { padding: 5px 7px; }
}
