/* QRicker: paper white, ink black, one warm accent. Stickers are the decoration. */
:root { --ink: #141414; --soft: #5c5c5c; --paper: #faf7f2; --card: #ffffff; --line: #e4dfd6; --accent: #ff5a36; --wall: #e9e2d6; }
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, "Helvetica Neue", "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.top .brand img { height: 46px; display: block; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--soft); }
.top nav a:hover, .top nav a.here { color: var(--ink); }

.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
       font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.small { padding: 7px 14px; font-size: 13.5px; }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Home */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: center; padding: 28px 0 56px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--soft); margin: 20px 0 26px; max-width: 30em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.wall { position: relative; background: var(--wall); border-radius: 22px; aspect-ratio: 1 / 0.92; overflow: hidden; }
.wall::after { content: "put a QRicker right here"; position: absolute; left: 50%; top: 74%; transform: translate(-50%, -50%) rotate(-3deg);
               font-family: "Bradley Hand", "Noteworthy", "Marker Felt", cursive; font-weight: 700; font-size: 17px; color: #8d8474;
               border: 2px dashed #b4aa98; border-radius: 6px; padding: 26px 12px; width: 26%; text-align: center; line-height: 1.2; }
.stuck { position: absolute; width: 29%; background: #fff; padding: 1.4% 1.4% 0; box-shadow: 0 1px 2px rgba(0,0,0,0.18), 0 8px 18px rgba(60,45,20,0.16); }
.stuck .p { aspect-ratio: 1; background-size: cover; background-position: center; }
.stuck .f { display: flex; align-items: center; justify-content: space-between; padding: 5% 0; }
.stuck .f svg { width: 21%; display: block; }
.stuck .f span { font-family: "Bradley Hand", "Noteworthy", "Marker Felt", cursive; font-weight: 700; font-size: clamp(8px, 1.15vw, 13px); transform: rotate(-2deg); }

section { padding: 50px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 10px; }
section p.sub { color: var(--soft); font-size: 17px; max-width: 40em; margin-bottom: 26px; }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kind { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.kind .pic { height: 150px; display: flex; align-items: center; justify-content: center; background: var(--wall); border-radius: 12px; }
.kind h3 { font-size: 23px; letter-spacing: -0.01em; }
.kind p { color: var(--soft); }
.kind .btn { align-self: flex-start; margin-top: auto; }
.blank { width: 96px; background: #fff; padding: 9px; border-radius: 8px; box-shadow: 0 6px 14px rgba(60,45,20,0.18); transform: rotate(-5deg); }
.blank svg { display: block; width: 100%; }
.mini { width: 108px; background: #fff; padding: 6px 6px 0; box-shadow: 0 6px 14px rgba(60,45,20,0.18); transform: rotate(4deg); }
.mini .p { aspect-ratio: 1; background-size: cover; background-position: center; }
.mini .f { height: 22px; display: flex; align-items: center; justify-content: space-between; }
.mini .f svg { width: 17px; }
.mini .f span { font-family: "Bradley Hand", "Noteworthy", cursive; font-weight: 700; font-size: 8px; }

.ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
.ideas li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.ideas b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.ideas span { color: var(--soft); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
                    background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps b { display: block; font-size: 18px; }
.steps span { color: var(--soft); }
.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--soft); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.soon { max-width: 34em; padding: 60px 0 90px; }
.soon h1 { font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.soon p { color: var(--soft); font-size: 18px; margin-bottom: 22px; }

/* The page a code opens */
.qpage { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 22px 16px; }
.qcard { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 22px; display: flex; flex-direction: column; gap: 10px; }
.qcard .qpic { width: 100%; border-radius: 10px; display: block; }
.qcard h1 { font-size: 26px; letter-spacing: -0.01em; line-height: 1.15; margin-top: 6px; }
.qdate { font-family: "Bradley Hand", "Noteworthy", cursive; font-weight: 700; color: var(--soft); }
.qnote { font-size: 17px; white-space: normal; }
.qcard .btn { text-align: center; margin-top: 8px; }
.qfoot { margin-top: 22px; display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 13px; }
.qfoot img { height: 26px; display: block; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 10px; }
  .kinds, .ideas, .steps { grid-template-columns: 1fr; }
  .top nav a.hide-s { display: none; }
  .top .brand img { height: 36px; }
}
