:root {
  --bg: #FFF8F1;
  --card: #FFFFFF;
  --ink: #3B1A08;
  --muted: #7A5A47;
  --accent: #F0501C;
  --accent-ink: #FFFFFF;
  --line: rgba(59, 26, 8, 0.10);
  --shadow: 0 18px 50px rgba(120, 50, 10, 0.12);
  --radius: 28px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A0F0A;
    --card: #26170F;
    --ink: #F6E9DF;
    --muted: #C4A895;
    --accent: #FF8A3D;
    --accent-ink: #1A0F0A;
    --line: rgba(246, 233, 223, 0.10);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
a { color: var(--accent); }
img { display: block; max-width: 100%; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.top nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 56px 0 40px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 10px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; max-width: 13ch; }
.hero p { color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); max-width: 34em; margin: 20px 0 0; }

.button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none;
  padding: 13px 22px; border-radius: 999px;
  transition: transform 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }

/* Sections */
section { padding: 40px 0; }
.section-title { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }

.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 28px; display: flex; flex-direction: column; overflow: hidden;
}
.card-head { display: flex; align-items: center; gap: 16px; }
.card-head img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 6px 18px rgba(120, 50, 10, 0.18); }
.card h3 { margin: 0; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.card .tag { margin: 2px 0 0; color: var(--accent); font-weight: 700; }
.card > p { color: var(--muted); margin: 18px 0 22px; }
.card .button { align-self: flex-start; }
.shots { display: flex; gap: 14px; margin: 26px -28px -28px; padding: 0 28px; justify-content: center; }
.shots img { width: 46%; border-radius: 22px 22px 0 0; box-shadow: 0 -4px 24px rgba(120, 50, 10, 0.14); }

.web {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; padding: 0;
}
.web + .web { margin-top: 24px; }
.web .shot { display: block; background: #f3ede4; }
.web .shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.web .body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.web .body p { color: var(--muted); margin: 14px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li { font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }

/* Slice callout */
.callout {
  display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap;
  background: var(--accent); color: var(--accent-ink);
  border-radius: var(--radius); padding: 30px 32px;
}
.callout h2 { margin: 0; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.callout p { margin: 6px 0 0; opacity: 0.85; }
.callout .button { background: var(--accent-ink); color: var(--accent); }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); }

/* /slice */
.slice-page { text-align: center; padding: 40px 0 24px; }
.slice-page .art { width: 150px; margin: 0 auto 8px; }
.slice-page h1 { font-size: clamp(40px, 7vw, 64px); letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.slice-page .lede { color: var(--muted); font-size: 19px; max-width: 30em; margin: 16px auto 0; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin: 40px auto 0; }
.tier {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
  padding: 26px 18px 22px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tier:hover { transform: translateY(-3px); border-color: var(--accent); }
.tier .emoji { font-size: 40px; line-height: 1.2; }
.tier strong { font-size: 19px; }
.tier .price { font-size: 30px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.tier .note { color: var(--muted); font-size: 14px; }
fieldset.tiers { border: 0; padding: 0; min-width: 0; }
.tier { cursor: pointer; position: relative; }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier:has(input:checked) { border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--card)); }
.tier:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.custom { margin-top: 24px; color: var(--muted); }
.custom input {
  width: 96px; margin-left: 4px; padding: 8px 12px; font: inherit; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
}
.custom input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.pay { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.pay .button { min-width: 230px; justify-content: center; font-size: 18px; padding: 15px 24px; }
.button.venmo { background: #008CFF; color: #fff; }
.button.cashapp { background: #00D64F; color: #04230F; }
.pay-hint { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.thanks { max-width: 34em; margin: 48px auto 0; color: var(--muted); font-size: 15px; }

@media (max-width: 760px) {
  .apps, .web { grid-template-columns: minmax(0, 1fr); }
  .web .shot img { aspect-ratio: 16 / 10; }
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 420px; gap: 12px; }
  .tier { display: grid; grid-template-columns: 66px 1fr auto; column-gap: 14px; align-items: center; text-align: left; padding: 16px 20px; }
  .tier .emoji { grid-row: span 2; font-size: 32px; }
  .tier .price { grid-row: 1 / span 2; grid-column: 3; font-size: 26px; }
  .tier .note { grid-column: 2; }
  .top nav a[href="/slice"] { display: none; }
  .top nav { gap: 16px; }
  .card { padding: 24px; }
  .card.web { padding: 0; }
  .web .body { padding: 24px; }
  .shots { margin: 24px -24px -24px; padding: 0 24px; }
  .callout { padding: 26px 24px; }
}
