:root {
  --paper: #fbf8f2;
  --card: #ffffff;
  --ink: #1b1d24;
  --muted: #5d6170;
  --line: #e6e0d4;
  --blue: #5b8cff;
  --orange: #ffb86b;
  --mint: #78d6b3;
  --radius: 14px;
  --font: "Nunito", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--font); }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.logo { font: 700 24px var(--display); text-decoration: none; letter-spacing: -.01em; }
.logo span { color: var(--blue); }
.site-nav { display: flex; gap: 18px; align-items: center; font-weight: 700; font-size: 15px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cart-link { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; border-radius: 999px; background: var(--orange); font-size: 13px; }
@media (max-width: 640px) { .site-nav .hide-sm { display: none; } }

/* type + buttons */
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .4em; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
.eyebrow { display: inline-block; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 10px; }
.lede { font-size: 20px; color: var(--muted); max-width: 560px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ink); border-radius: 999px; padding: 13px 26px; font: 800 16px var(--font); background: var(--ink); color: #fff; cursor: pointer; text-decoration: none; }
.btn:hover { background: #33363f; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.full { width: 100%; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; } }

/* product illustration (stand-in until real photos) */
.mock { position: relative; aspect-ratio: 1 / 1; border-radius: 24px; background: radial-gradient(circle at 25% 25%, #ffe6c8, transparent 45%), radial-gradient(circle at 80% 20%, #d6f5e9, transparent 40%), #f1ebdf; overflow: hidden; }
.mock .pad { position: absolute; left: 50%; top: 50%; width: 58%; height: 70%; transform: translate(-50%, -50%) rotate(-3deg); background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(60, 45, 20, .18); padding: 8% 7%; }
.mock .pad b { display: block; font: 700 clamp(20px, 3.4vw, 30px)/1 var(--display); margin-bottom: 10%; }
.mock .row { display: flex; gap: 8px; align-items: center; margin: 9% 0; }
.mock .box { width: 16px; height: 16px; border: 2px solid var(--blue); border-radius: 5px; flex: none; }
.mock .row:nth-of-type(2) .box { border-color: var(--orange); }
.mock .row:nth-of-type(3) .box { border-color: var(--mint); }
.mock .ln { height: 9px; border-radius: 9px; background: #ebe7df; flex: 1; }
.mock .sticky { position: absolute; left: 7%; bottom: 9%; width: 34%; background: var(--orange); border-radius: 8px; padding: 10px; font-weight: 800; font-size: clamp(11px, 1.6vw, 14px); line-height: 1.2; transform: rotate(6deg); box-shadow: 0 12px 26px rgba(60, 45, 20, .18); }
.mock .pen { position: absolute; right: 13%; top: 9%; width: 14px; height: 46%; border-radius: 99px; background: var(--mint); transform: rotate(-24deg); }
.mock .dots { position: absolute; right: 8%; bottom: 10%; display: flex; gap: 6px; }
.mock .dots i { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); }
.mock .dots i:nth-child(2) { background: var(--orange); }
.mock .dots i:nth-child(3) { background: var(--mint); }

/* sections */
section { padding: 56px 0; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3, .grid4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.step b { display: block; font: 700 30px var(--display); color: var(--blue); }

/* product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.price { font: 700 36px var(--display); margin: 6px 0 4px; }
.pill { display: inline-block; background: #e9f0ff; color: #2f5bd0; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; }
.note { background: #fff7ec; border: 1px solid #f6dcb8; border-radius: 12px; padding: 14px 16px; font-size: 15px; margin: 18px 0; }
.includes { list-style: none; padding: 0; margin: 18px 0; }
.includes li { padding: 12px 0; border-top: 1px solid var(--line); }
.includes li strong { display: block; }
.includes li span { color: var(--muted); font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 42px; border: 0; background: none; font: 800 20px var(--font); cursor: pointer; }
.qty output { min-width: 32px; text-align: center; font-weight: 800; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.buy-row .btn { flex: 1; min-width: 200px; }

/* cart */
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line .remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 0; }
.totals { margin-left: auto; max-width: 380px; padding-top: 18px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font-weight: 800; font-size: 20px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.error { color: #b42318; font-weight: 700; min-height: 1.5em; }

/* forms */
form.stack { display: grid; gap: 12px; max-width: 520px; }
input, textarea { font: inherit; width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: none; border-color: var(--blue); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 220px; }
.hp { position: absolute; left: -9999px; }

/* prose pages */
.prose { max-width: 720px; padding: 32px 0 72px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.prose summary { font-weight: 800; cursor: pointer; }
.prose details p { color: var(--muted); }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--muted); }
.site-foot .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* shop grid */
.product-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60, 45, 20, .12); }
.product-card .pill { align-self: flex-start; }
.product-card .price { margin-top: auto; }
.downloads { list-style: none; padding: 0; display: grid; gap: 10px; margin: 18px 0 28px; }

[hidden] { display: none !important; }
