/* Quiltwright's own layout. The shared look (/_look/look.css) loads after this and sets the
   type, the colors and the buttons; this keeps to the layout and the tool's parts. */
* { box-sizing: border-box; }
body { margin: 0; }
header.top, main, footer.site-footer { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; padding-bottom: 8px; }
img, svg { max-width: 100%; }
.small { font-size: 0.9rem; color: var(--muted); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "h1 fig" "sub fig" "cta fig" "buy fig" "msg fig" "behind fig"; grid-template-rows: repeat(5, auto) 1fr; column-gap: 32px; align-items: start; margin: 4px 0 16px; }
body.look .hero { row-gap: 0; column-gap: 32px; }
.hero h1 { grid-area: h1; margin: 16px 0 8px; }
.hero .sub { grid-area: sub; font-size: 1.15rem; margin: 0 0 14px; }
.hero .shot { grid-area: fig; margin: 12px 0 0; }
.hero .shot img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.hero .shot figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.hero .cta { grid-area: cta; margin: 0 0 12px; }
.hero .buyline { grid-area: buy; margin: 0 0 8px; color: var(--muted); }
.hero [data-ventures-message] { grid-area: msg; }
.hero .behind-wrap { grid-area: behind; }
.look .button.big { display: inline-block; font-size: 1.1rem; padding: 12px 20px; }
.look .buy-small { margin-left: 6px; padding: 4px 12px; min-height: 0; font-size: 0.95rem; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "h1" "sub" "fig" "cta" "buy" "msg" "behind"; }
  .hero h1 { font-size: 1.75rem; margin-top: 8px; }
  .hero .sub { font-size: 1rem; margin-bottom: 8px; }
  .hero .shot { margin: 0 0 10px; }
  .hero .shot figcaption { display: none; }
}

.objections { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 24px 0 12px; }
.objections strong { display: block; }
@media (max-width: 760px) { .objections { grid-template-columns: 1fr; } }
.notice-line { color: var(--muted); border-left: 3px solid var(--rule); padding-left: 10px; }
.access { border-left: 4px solid var(--accent); padding: 6px 12px; background: var(--quiet); }
.access.ok { border-left-color: var(--right); }

.tool-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px 16px; margin: 24px 0; }
.settings { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 10px 0; }
.settings label { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.settings input[type=number] { width: 5em; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--fg); font: inherit; }
.settings input[type=color] { width: 44px; height: 32px; padding: 0 2px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.drawing-wrap { display: flex; justify-content: center; margin: 14px 0; }
#drawing { width: min(100%, 560px); }
#drawing svg { display: block; width: 100%; height: auto; max-height: 70vh; }
.facts { padding-left: 1.2rem; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.downloads span { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.look button:disabled { opacity: 0.45; cursor: default; }
.locked { color: var(--muted); }
#status { min-height: 1.5em; }
.error { color: var(--wrong); }

.offer { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; }
@media (max-width: 640px) { .offer { grid-template-columns: 1fr; } }
.blocks { columns: 2; padding-left: 1.2rem; }
@media (max-width: 520px) { .blocks { columns: 1; } }
.box { border-left: 4px solid var(--accent); padding: 4px 12px; background: var(--quiet); }
input.email { padding: 8px 10px; width: min(22em, 100%); border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--fg); font: inherit; }
.ventures-ask { position: relative; margin: 1.5rem 0; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; }
.ventures-ask[hidden] { display: none; }
.ventures-ask-question { margin: 0 0 .5rem; font-weight: 600; }
.ventures-ask-answers { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
