:root {
  color-scheme: light;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: #332f2a;
  background: #eee8da;
  --ink: #332f2a;
  --muted: #635d52;
  --line: #cfc4ae;
  --paper: #fffaf0;
  --marker: #d7c95a;
  --red: #a9503a;
  --display: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: repeating-linear-gradient(0deg, #eee8da 0 31px, #d8cebb 31px 32px); }
.shell { width: min(1160px, calc(100% - 54px)); margin: 0 auto; }
header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #564d40; }
header a { color: #332f2a; text-decoration: none; font-size: .79rem; }
.brand { font-weight: 800; letter-spacing: .19em; }
.brand span { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-left: 9px; background: var(--red); color: #fffaf0; font-size: .62rem; }
.hero { position: relative; min-height: 410px; display: grid; grid-template-columns: 1fr .42fr; align-items: center; padding: 50px 3%; border-bottom: 2px solid #564d40; background: transparent; }
.eyebrow, .step { color: #8a4a37; font: 700 .66rem ui-monospace, monospace; letter-spacing: .15em; }
.hero h1 { margin: 19px 0; color: #332f2a; font: 700 clamp(4rem, 8vw, 7rem)/.91 Georgia, serif; letter-spacing: -.075em; }
.hero h1 i { color: var(--red); }
.lede { max-width: 570px; color: #5c554a; font-size: 1rem; line-height: 1.7; }
.hero-badge { width: 172px; height: 172px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px solid #52483a; border-radius: 50%; background: var(--marker); color: #332f2a; box-shadow: 7px 8px 0 var(--red); transform: rotate(11deg); }
.hero-badge span { font: 700 1.2rem/1.1 ui-monospace, monospace; letter-spacing: .1em; }
.hero-badge b { font-size: 1.8rem; }
.hero-badge small { color: #4c4639; font: 700 .52rem ui-monospace, monospace; letter-spacing: .08em; }
.planner { position: relative; margin: 35px auto 74px; padding: clamp(24px, 5vw, 52px); border: 2px solid #564d40; border-radius: 2px; background: var(--paper); box-shadow: 8px 9px 0 #b8a990; }
.planner::before { content: "BUILD BRIEF   /   Nº 001"; display: block; margin: -1px -1px 28px; padding: 11px 17px; border-bottom: 1px solid #cfc4ae; background: #f5edda; color: #705c47; font: 700 .65rem ui-monospace, monospace; letter-spacing: .16em; }
.planner-head { max-width: 650px; margin-bottom: 28px; }
.planner-head h2, .method h2 { margin: 9px 0; color: #332f2a; font: 700 clamp(1.8rem, 4vw, 2.6rem)/1.1 Georgia, serif; letter-spacing: -.04em; }
.planner-head p, .method p { color: #60584d; font-size: .9rem; line-height: 1.7; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.game-choice { position: relative; }
.game-choice input { position: absolute; inset: 0; opacity: 0; }
.game-choice label { min-height: 76px; display: flex; align-items: center; gap: 12px; padding: 14px; border: 0; border-bottom: 1px solid #d6cbb7; background: transparent; cursor: pointer; }
.game-choice label::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; border: 1.5px solid #776c59; border-radius: 2px; background: white; }
.game-choice input:checked + label { border-color: var(--red); background: #f7efda; box-shadow: inset 4px 0 var(--red); }
.game-choice input:checked + label::before { content: "✓"; display: grid; place-items: center; border-color: var(--red); background: var(--red); color: white; font-size: .72rem; }
.game-choice input:focus-visible + label { outline: 3px solid #8a4a37; outline-offset: 2px; }
.game-choice strong { color: #332f2a; font-size: .82rem; }
.game-choice small { display: block; margin-top: 5px; color: #6b6256; font-size: .68rem; }
.planner-options { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 25px; border-top: 1px solid #cfc4ae; }
fieldset { display: flex; gap: 20px; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 12px; color: #332f2a; font-size: .8rem; font-weight: 700; }
fieldset label { display: flex; align-items: flex-start; gap: 8px; max-width: 230px; color: #423c33; font-size: .78rem; cursor: pointer; }
fieldset input { margin-top: 3px; accent-color: var(--red); }
fieldset small { display: block; margin-top: 4px; color: #655e51; font-size: .66rem; line-height: 1.4; }
.button { min-height: 47px; padding: 0 18px; border: 0; border-radius: 2px; background: var(--red); color: #fffaf0; box-shadow: 4px 4px 0 #564d40; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.button:hover { background: #8f402e; }
.button span { margin-left: 15px; }
.result { margin-top: 28px; padding: 24px; border: 1px solid #b8a990; border-left: 5px solid var(--red); border-radius: 0; background: #f7f0df; }
.result[hidden] { display: none; }
.result h3 { margin: 0 0 15px; color: #332f2a; font: 700 1.45rem Georgia, serif; }
.result p { color: #5c554a; font-size: .82rem; line-height: 1.6; }
.targets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.target { padding: 13px; border: 1px solid #cfc4ae; border-radius: 0; background: #fffdf6; }
.target small { display: block; color: #6f634f; font: 700 .6rem ui-monospace, monospace; letter-spacing: .08em; }
.target strong { display: block; margin-top: 8px; color: #332f2a; font-size: .86rem; line-height: 1.45; }
.game-result { padding: 17px 0; border-top: 1px solid #cfc4ae; }
.game-result h4 { margin: 0 0 8px; color: #332f2a; font-size: .85rem; }
.game-result p { margin: 4px 0; }
.game-result a { color: #8a4a37; font-size: .75rem; font-weight: 700; }
.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: 20px 3% 72px; border-top: 2px solid #564d40; }
.method h2 { max-width: 390px; }
.method p { margin: 0 0 12px; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 27px; border-top: 2px solid #564d40; color: #645c50; font-size: .68rem; }
a { color: #8a4a37; }
:focus-visible { outline: 3px solid #8a4a37; outline-offset: 3px; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 30px); }
  .hero { grid-template-columns: 1fr .36fr; min-height: 340px; padding-inline: 1%; }
  .hero h1 { font-size: clamp(3.4rem, 11vw, 5.4rem); }
  .hero-badge { width: 135px; height: 135px; }
  .targets { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr; gap: 14px; padding-inline: 12px; }
  .planner-options { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .game-grid { grid-template-columns: 1fr; }
  fieldset { flex-direction: column; gap: 11px; }
  .targets { grid-template-columns: 1fr 1fr; }
  .planner { margin-top: 22px; padding: 23px 18px; }
  .planner::before { margin-bottom: 22px; }
  footer { flex-direction: column; }
}

/* Shared responsive geometry across the utility suite. */
:root { --layout-max: 1180px; --layout-inline-space: clamp(32px, 8vw, 96px); }
.shell { width: min(var(--layout-max), calc(100% - var(--layout-inline-space))); }
.planner { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 22px; padding: clamp(30px, 6vw, 56px) clamp(20px, 5vw, 56px); }
  .hero-badge { justify-self: start; }
  .method { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .hero { padding: 32px 0 24px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-badge { display: none; }
  .planner { margin-top: 24px; padding: 22px clamp(16px, 5vw, 24px); }
  .game-grid { grid-template-columns: 1fr; }
  .targets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planner-options { align-items: stretch; }
  .button { width: 100%; }
  footer { flex-direction: column; }
}
@media (max-width: 400px) {
  header { min-height: 64px; height: auto; flex-wrap: wrap; row-gap: 8px; padding-block: 12px; }
  .hero h1 { font-size: clamp(2.8rem, 11vw, 3.4rem); }
  .targets { grid-template-columns: 1fr; }
}
