:root {
  --ink: #1E2A4A;
  --paper: #F8F6EF;
  --white: #FFFFFF;
  --marker: #FFD84D;
  --pencil: #B93A2B;
  --dot: #C9CEDB;
  --hand: 'Gochi Hand', cursive;
  --body: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --wobble-a: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --wobble-b: 18px 225px 18px 255px / 255px 18px 225px 18px;
  --paper-a: 8px 14px 6px 12px;
  --paper-b: 14px 8px 12px 6px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 22px 22px;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--ink); }
a:hover { color: var(--pencil); }
:focus-visible { outline: 3px solid var(--pencil); outline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }

h1, h2 { font-family: var(--hand); font-weight: 400; line-height: 1.1; margin: 0 0 12px; }
h2 { font-size: 36px; }
h3 { margin: 0 0 4px; font-size: 20px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.narrow-wide { max-width: 980px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 620px; }
.section { padding-bottom: 72px; }
.section-top { padding-top: 32px; }
.page-title { font-size: clamp(44px, 6vw, 66px); line-height: 1.05; margin-bottom: 20px; }
.lead { font-size: 20px; max-width: 600px; }
.small { font-size: 15px; }
.pre-line { white-space: pre-line; overflow-wrap: anywhere; }
.grow { flex: 1 1 280px; min-width: 0; }
.fill-width { display: block; width: 100%; height: auto; }

.site-header {
  max-width: 1180px; margin: 0 auto; padding: 24px 24px 8px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.logo { font-family: var(--hand); font-size: 38px; line-height: 1; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.site-nav > a:not(.btn) { padding: 10px 0; }
.site-footer {
  max-width: 1180px; margin: 0 auto; padding: 32px 24px 44px; font-size: 15px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.flash {
  max-width: 1132px; margin: 12px auto 0; padding: 10px 18px; font-weight: 700;
  background: var(--marker); border: 2px solid var(--ink); border-radius: var(--paper-a);
}
@media (max-width: 1180px) { .flash { margin-inline: 24px; } }

.btn {
  display: inline-block; min-height: 48px; padding: 11px 24px; cursor: pointer;
  font: inherit; font-weight: 700; text-align: center; text-decoration: none;
  border: 2px solid var(--ink); border-radius: var(--wobble-a);
}
.btn-primary { color: var(--paper); background: var(--ink); }
.btn-primary:hover { color: var(--marker); }
.btn-outline { color: var(--ink); background: var(--white); border-radius: var(--wobble-b); }
.btn-danger { color: var(--pencil); background: var(--white); border-color: var(--pencil); border-radius: var(--wobble-b); }
.btn-on { color: var(--ink); background: var(--marker); border-radius: var(--wobble-b); }
.btn-static { display: inline-block; min-height: 48px; padding: 11px 4px; font-weight: 700; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; }
.btn-small { min-height: 44px; padding: 8px 18px; }
.link-button {
  padding: 8px 0; min-height: 44px; font: inherit; font-size: 15px; color: var(--ink);
  text-decoration: underline; background: none; border: 0; cursor: pointer;
}
.link-button:hover { color: var(--pencil); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 56px 64px; }
.hero-copy { flex: 999 1 480px; min-width: 0; }
.hero-copy h1 { font-size: clamp(50px, 7vw, 84px); line-height: 1.02; margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 28px; }
.hero-art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.marker { padding: 0 10px; background: var(--marker); border-radius: 12px 4px 14px 5px; }
.polaroid {
  display: block; width: 100%; max-width: 400px; padding: 14px 14px 18px; text-decoration: none;
  background: var(--white); border: 2px solid var(--ink); transform: rotate(2deg); border-radius: 6px 14px 8px 12px;
}

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.section-head h2 { font-size: 46px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; min-height: 44px; padding: 8px 16px; text-decoration: none;
  background: var(--white); border: 2px solid var(--ink); border-radius: 18px 8px 16px 7px;
}
.chip-on { font-weight: 700; background: var(--marker); }
.split-side .chip { align-self: flex-start; }

.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px 26px; }
.art-card {
  display: block; padding: 10px 10px 14px; text-decoration: none; overflow-wrap: anywhere;
  background: var(--white); border: 2px solid var(--ink); border-radius: 6px 12px 8px 10px;
}
.art-card:nth-child(4n+1) { transform: rotate(-1deg); }
.art-card:nth-child(4n+2) { transform: rotate(0.8deg); }
.art-card:nth-child(4n+3) { transform: rotate(-0.6deg); }
.art-card:nth-child(4n) { transform: rotate(1deg); }
.art-card img { width: 100%; }
.art-card-title { display: block; margin-top: 10px; font-family: var(--hand); font-size: 25px; line-height: 1.15; }
.empty { padding: 44px 24px; text-align: center; background: var(--white); border: 2px dashed var(--ink); border-radius: var(--paper-b); }
.empty h3 { font-family: var(--hand); font-weight: 400; font-size: 34px; }
.empty p { margin-bottom: 18px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; }

.band { background: var(--marker); border-block: 2px solid var(--ink); padding-block: 56px 60px; }
.band h2 { font-size: 46px; margin-bottom: 30px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.step-number { font-family: var(--hand); font-size: 54px; line-height: 1; }
.steps h3 { margin-top: 6px; font-size: 22px; }

.card { padding: 26px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--paper-a); }
.card.dashed { border-style: dashed; }
.note { padding: 22px 24px 24px; background: var(--marker); border: 2px solid var(--ink); transform: rotate(-0.5deg); border-radius: var(--paper-a); }
.note ol, .note ul { margin: 0 0 12px; padding-left: 22px; }
.note li { margin-bottom: 8px; }
.note > :last-child { margin-bottom: 0; }

.center-page { padding: 44px 16px 72px; display: flex; justify-content: center; }
.taped-card {
  position: relative; width: 100%; max-width: 480px; padding: 44px 34px 32px;
  display: flex; flex-direction: column; align-items: stretch; gap: 16px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--paper-a);
}
.taped-card::before {
  content: ''; position: absolute; top: -16px; left: 50%; width: 120px; height: 30px; margin-left: -60px;
  background: var(--marker); border: 2px solid var(--ink); transform: rotate(-2deg); border-radius: 3px;
}
.taped-card h1 { font-size: 50px; line-height: 1.05; margin: 0; }
.taped-card p { margin: 0; }
.taped-card form .btn { width: 100%; }
.form-card { width: 100%; max-width: 560px; }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-small { display: flex; flex-direction: column; gap: 10px; }
.stack-large { display: flex; flex-direction: column; gap: 28px; }
.stack-xl { display: flex; flex-direction: column; gap: 40px; }
.plain { margin: 0; padding: 0; list-style: none; }

label, legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 700; }
fieldset { margin: 0; padding: 0; border: 0; }
input[type='text'], input[type='email'], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 10px 5px 12px 4px;
}
.dropzone { padding: 30px 18px; text-align: center; border: 2px dashed var(--ink); border-radius: 14px 8px 16px 6px; }
.dropzone input { max-width: 100%; font: inherit; }
.dropzone p { margin: 10px 0; }
.dropzone-over { background: var(--marker); }
.dropzone-preview { max-height: 280px; width: auto; margin: 14px auto 0; border: 2px solid var(--ink); }
.radios { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; font-weight: 400; }
.check-top { align-items: flex-start; }
.check input { flex: none; width: 20px; height: 20px; }
.check-top input { margin-top: 3px; }
.error { padding: 10px 14px; color: var(--pencil); font-weight: 700; background: var(--white); border: 2px solid var(--pencil); border-radius: var(--paper-b); }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }

.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; padding-bottom: 72px; }
.split-main { flex: 999 1 520px; min-width: 0; }
.split-side { flex: 1 1 320px; min-width: 0; }
.art-frame { margin: 0; padding: 16px; }
.art-frame img { width: 100%; }
.art-title { font-size: 48px; line-height: 1.05; margin-bottom: 6px; overflow-wrap: anywhere; }

.submission { padding: 12px 16px; overflow-wrap: anywhere; background: var(--white); border: 2px solid var(--ink); border-radius: 10px 5px 12px 4px; }
.submission-head, .submission-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.submission p { margin: 8px 0 0; }
.status { padding: 2px 10px; font-size: 15px; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 10px 4px 12px 5px; }
.status-live { color: var(--paper); background: var(--ink); }
.status-pending { background: var(--marker); }
.status-fix { color: var(--pencil); background: var(--white); border-color: var(--pencil); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; align-items: start; }
.plans ul { margin: 0 0 22px; padding-left: 22px; }
.plans li { margin-bottom: 8px; }
.price { font-size: 26px; font-weight: 700; }

.stamp { padding: 6px 16px; color: var(--pencil); font-weight: 700; background: var(--white); border: 2px solid var(--pencil); transform: rotate(-3deg); border-radius: 12px 5px 14px 6px; }
.totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.totals p { margin: 0; }
.big-number { font-family: var(--hand); font-size: 54px; line-height: 1.1; }
.chart-scroll { overflow-x: auto; margin-bottom: 14px; }
.chart { display: grid; grid-template-columns: repeat(7, minmax(44px, 1fr)); align-items: end; gap: 10px; min-width: 370px; height: 210px; }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.bar { width: 70%; background: var(--ink); border-radius: 6px 9px 0 0; }
.bar-col-on { font-weight: 700; }
.bar-col-on .bar { background: var(--marker); border: 2px solid var(--ink); }
.h74 { height: 74px; } .h82 { height: 82px; } .h90 { height: 90px; } .h98 { height: 98px; }
.h134 { height: 134px; } .h150 { height: 150px; } .h158 { height: 158px; }
.meter-label { display: flex; justify-content: space-between; gap: 12px; }
.ruled { padding-bottom: 10px; border-bottom: 1.5px dashed var(--ink); }
.meter { height: 12px; background: #E4E6EC; border-radius: 8px; }
.meter-fill { height: 12px; background: var(--ink); border-radius: 8px; }
.w46 { width: 46%; } .w31 { width: 31%; } .w15 { width: 15%; } .w8 { width: 8%; }

.review-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.review-row img { width: 220px; }
.review-row p { margin: 0; }

.prose h2 { margin-top: 30px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
