:root {
  --rust: #D45F25;
  --rust-bright: #E5743A;
  --rust-soft: #F6DDCF;
  --ink: #26221F;
  --ink-soft: #5B544E;
  --paper: #F3F2EE;
  --card: #FFFFFF;
  --line: #E2DED6;
  --ok: #3E7B4F;
  --bad: #B3362B;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(38, 34, 31, .06), 0 6px 20px rgba(38, 34, 31, .06);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; }
a { color: var(--rust); text-underline-offset: 3px; }
a:hover { color: #A9461A; }
h1, h2, h3 { line-height: 1.15; font-weight: 600; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(243, 242, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: auto; }
.wordmark { font-size: 1.6rem; font-weight: 500; letter-spacing: -.02em; }
.wordmark b { font-weight: 500; color: var(--rust); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--rust); }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .1s ease, background .15s ease; }
.btn:hover { background: #000; color: #fff; transform: translateY(-1px); }
.btn.rust { background: var(--rust); border-color: var(--rust); color: #fff; }
.btn.rust:hover { background: #BC511D; border-color: #BC511D; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.small { padding: 8px 16px; font-size: .95rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* landing */
.hero { padding: 64px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero p.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 34ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-mark { justify-self: center; width: min(360px, 80%); filter: drop-shadow(0 18px 30px rgba(212, 95, 37, .18)); }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { order: -1; width: 180px; justify-self: start; }
}
.kicker { display: inline-block; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--rust); margin-bottom: 12px; }

section.band { padding: 56px 0; }
section.band.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tile .pic { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--rust-soft); display: grid; place-items: center; margin-bottom: 16px; overflow: hidden; }
.tile .pic svg { width: 100%; height: 100%; }
.tile p { color: var(--ink-soft); flex: 1; }
.tile .tag { font-size: .8rem; font-weight: 600; color: var(--ok); text-transform: uppercase; letter-spacing: .06em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--rust); color: #fff; font-weight: 600; display: grid; place-items: center; }

.site-foot { padding: 40px 0; color: var(--ink-soft); font-size: .95rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }

/* customizer */
.cz-head { padding: 36px 0 12px; }
.cz-head p { color: var(--ink-soft); max-width: 60ch; }
.cz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; padding-bottom: 64px; }
@media (max-width: 960px) { .cz { grid-template-columns: 1fr; } }
.cz-preview { position: sticky; top: 80px; }
@media (max-width: 960px) { .cz-preview { position: static; order: -1; } }
.preview-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.preview-card svg { display: block; width: 100%; height: auto; }
.preview-note { font-size: .9rem; color: var(--ink-soft); margin: 10px 4px 0; }
.summary { margin-top: 14px; font-size: .95rem; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; font-weight: 500; }

fieldset.step { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 20px 20px 8px; margin: 0 0 18px; box-shadow: var(--shadow); min-width: 0; }
fieldset.step legend { font-weight: 600; font-size: 1.1rem; padding: 0 6px; margin-left: -6px; }
fieldset.step legend span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--rust); color: #fff; font-size: .85rem; margin-right: 8px; vertical-align: 2px; }
.hint { font-size: .9rem; color: var(--ink-soft); margin: -4px 0 14px; }
.field { margin-bottom: 16px; }
.field > label, .field > .label { display: block; font-weight: 500; margin-bottom: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
input[type=text], input[type=email], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(212, 95, 37, .15); }
textarea { min-height: 90px; resize: vertical; }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; background: var(--paper); }
.choice label strong { display: block; }
.choice label small { color: var(--ink-soft); display: block; line-height: 1.35; margin-top: 2px; }
.choice input:checked + label { border-color: var(--rust); background: #FFF6F1; box-shadow: 0 0 0 2px rgba(212, 95, 37, .2); }
.choice input:focus-visible + label { outline: 2px solid var(--rust); outline-offset: 2px; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch label { display: block; width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .12); cursor: pointer; }
.swatch input:checked + label { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rust); }
.swatch input:focus-visible + label { outline: 2px solid var(--rust); outline-offset: 4px; }
.swatch-name { font-size: .9rem; color: var(--ink-soft); margin-top: 6px; min-height: 1.3em; }

.library { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.lib-card { border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); padding: 8px 4px 6px; text-align: center; cursor: pointer; font: inherit; color: var(--ink); position: relative; }
.lib-card .em { font-size: 1.7rem; line-height: 1.2; display: block; }
.lib-card .lb { font-size: .78rem; display: block; line-height: 1.2; margin-top: 2px; }
.lib-card .count { position: absolute; top: 4px; right: 4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--rust); color: #fff; font-size: .75rem; font-weight: 600; display: none; place-items: center; padding: 0 5px; }
.lib-card.on { border-color: var(--rust); }
.lib-card.on .count { display: grid; }
.lib-card:hover { border-color: var(--rust-bright); }

.tray-head { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 8px; gap: 10px; }
.meter { font-weight: 600; }
.meter.full { color: var(--ok); }
.tray { display: flex; flex-wrap: wrap; gap: 6px; min-height: 44px; padding: 8px; border: 1.5px dashed var(--line); border-radius: 12px; }
.tray:empty::before { content: "Tap activities above to add them here."; color: var(--ink-soft); font-size: .9rem; padding: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 4px 3px 10px; font-size: .88rem; }
.chip img { width: 22px; height: 22px; object-fit: cover; border-radius: 4px; }
.chip button { border: 0; background: var(--line); color: var(--ink); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: .9rem; line-height: 1; }
.chip button:hover { background: var(--rust); color: #fff; }

.drop { border: 1.5px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; background: var(--paper); cursor: pointer; }
.drop.over { border-color: var(--rust); background: #FFF6F1; }
.uploads { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.up { border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: var(--paper); }
.up img { width: 100%; aspect-ratio: 31.75 / 37.04; object-fit: cover; border-radius: 8px; display: block; }
.up input { margin-top: 6px; padding: 6px 8px; font-size: .9rem; }
.up .x { margin-top: 6px; width: 100%; }

.err { color: var(--bad); font-size: .92rem; margin-top: 6px; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.price { font-size: 1.3rem; font-weight: 600; }

.done { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.4rem; font-weight: 600; background: var(--rust-soft); padding: 4px 12px; border-radius: 8px; letter-spacing: .05em; }
