:root {
  color-scheme: light;
  --ink: #1b1c1a; --sub: #51544f; --muted: #63665f; --paper: #efefec;
  --surface: #fafaf8; --edge: #d6d8d1; --line: #e0e1db;
  --accent: #fa713b; --accent-hover: #ff895c; --oxide: #a43516;
  --mono: ui-monospace, "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after {box-sizing: border-box}
body {margin: 0; color: var(--ink); background: var(--paper)}
.wrap {width: min(1220px, calc(100% - 64px)); margin-inline: auto}
.skip, .sr {position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap}
.skip:focus {width:auto; height:auto; clip-path:none; z-index:5; top:8px; left:8px; padding:10px; background:#fff; color:var(--ink)}
:focus-visible {outline:3px solid #ad3619; outline-offset:3px}
.bar {background: var(--surface); border-bottom: 1px solid var(--edge)}
.bar-in {min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px}
.brand {display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 850; white-space: nowrap; letter-spacing: -.01em}
.brand-icon {display: grid; place-items: center; width:34px; height:34px; background:var(--ink); color:#fff; border-radius:6px}
.brand-icon svg {width:22px; height:22px}
.nav {display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 44px)}
.nav a {color: var(--sub); font-weight: 650; font-size: .9rem; text-decoration: none}
.nav a:hover, .nav a:focus-visible {color: var(--oxide); text-decoration: underline}
.header-action, .primary, .secondary, .plain, .remove {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 16px; border-radius: 5px; border: 1px solid transparent;
  font: inherit; font-weight: 750; text-decoration: none; cursor: pointer;
}
.header-action, .primary {color: #161611; background: var(--accent); border-color: #e96837}
.header-action:hover, .primary:hover {background: var(--accent-hover)}
.header-action {font-size: .875rem; min-height: 42px; white-space: nowrap}
.secondary {color:var(--ink); background:var(--surface); border-color:#9b9e96}
.secondary:hover {background:#e7e8e1; border-color:var(--ink)}
button:disabled {opacity:.55; cursor:not-allowed}
.hero {isolation:isolate; overflow:hidden; background:#e8e8e4; border-bottom:1px solid var(--edge)}
.hero-inner {display:grid; grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr); align-items:center; min-height:440px; position:relative}
.hero-copy {z-index:1; padding:52px 0 54px; min-width:0}
.eyebrow {color: var(--oxide); font: 720 .875rem/1.45 var(--mono); text-transform:uppercase; letter-spacing:.10em; margin:0 0 10px}
.hero-kicker {display:flex; align-items:center; gap:10px}
.hero-kicker::before {content:""; width:8px; height:8px; background:var(--accent); border:1px solid #d7592f}
.hero h1 {font-size:clamp(3rem, 7.3vw, 6.35rem); font-weight:900; line-height:.90; letter-spacing:-.085em; text-transform:uppercase; margin:0}
.title-period {color:#dc5528}
.lede {font-size:clamp(1rem,1.7vw,1.18rem); margin:24px 0 0; max-width:36ch; color:var(--sub)}
.hero-actions {display:flex; flex-wrap:wrap; gap:10px; margin-top:24px}
.hero-art {min-width:0; margin-inline:clamp(-40px,-2vw,-16px) -22px; align-self:center; pointer-events:none}
.hero-art img {display:block; width:100%; height:auto}
.rail {background:var(--surface); border-bottom:1px solid var(--edge)}
.rail-in {display:grid; grid-template-columns:repeat(3,minmax(0,1fr))}
.rail span {display:flex; align-items:center; justify-content:center; gap:9px; border-right:1px solid var(--edge); text-align:center; padding:13px 8px; color:var(--sub); font:700 .81rem/1.4 var(--mono); text-transform:uppercase; letter-spacing:.04em}
.rail span:first-child {border-left:1px solid var(--edge)}
.rail span::before {content:""; width:6px; height:6px; border:1px solid var(--oxide); flex:0 0 6px}
.workspace {padding-block:48px 24px; scroll-margin-top:14px}
.workspace-head {margin-bottom:22px}
.workspace-head h2 {margin:0; font-size:clamp(2rem,4.5vw,3.9rem); line-height:.98; font-weight:880; letter-spacing:-.066em}
.workspace-head > p:last-child {color:var(--sub); margin:11px 0 0}
.layout {display:grid; grid-template-columns:minmax(0,1fr) minmax(258px,340px); gap:16px; align-items:start}
.flow {display:grid; gap:14px; min-width:0}
.card {background:var(--surface); border:1px solid var(--edge); border-radius:7px; padding:clamp(16px,2.4vw,25px); min-width:0}
.section-head {margin-bottom:16px}
.section-head h3 {display:flex; align-items:center; gap:10px; scroll-margin-top:12px}
.section-head h3::before {content:""; width:12px; height:12px; flex:none; border:1px solid #d65b30; background:linear-gradient(135deg,var(--accent) 50%,transparent 50%)}
.section-head p, .summary p {margin:4px 0 0}
.section-head p {color:var(--sub)}
h3 {margin:0; font-size:1.3rem; letter-spacing:-.035em; overflow-wrap:anywhere}
.fields {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px}
label {font-size:.9rem; font-weight:720}
.req {color:var(--oxide)}
input:not([type=file]), textarea, select {
  display:block; width:100%; margin-top:5px; font:inherit; color:var(--ink);
  border:1px solid #9fa39a; background:#fff; border-radius:5px; padding:10px;
  min-height:44px; min-width:0;
}
input::placeholder, textarea::placeholder {color:#62645f; opacity:1}
textarea {resize:vertical}
select {appearance:none; padding-right:24px; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23454a43' stroke-width='1.5'/%3E%3C/svg%3E") right 7px center/14px no-repeat}
.photo-picker {display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
#photoHint {margin:6px 0 10px}
.actions {display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin:10px 0}
.quiet {color:var(--sub); font-size:.875rem; overflow-wrap:anywhere}
.summary {--sub:#c2c5bd; position:sticky; top:14px; background:#252724; color:#f7f7f2; border-color:#252724}
.summary .eyebrow {color:#ff966d; margin:0 0 9px}
.summary h3 {font-size:1.55rem}
.summary dl {margin:15px 0 18px}
.summary dl div {display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #484b44; padding:8px 0}
.summary dd {margin:0;font:780 1rem/1.4 var(--mono)}
.summary .primary {width:100%}
.summary :focus-visible {outline-color:#ff9b72}
.swatch {width:8px;height:8px;display:inline-block;border-radius:2px;margin-right:9px}
.pending {background:#a8aea8}.okay {background:#8ed7a6}.missing {background:#ff8f88}.damaged {background:#ffc074}
.summary hr {border:0;border-top:1px solid #484b44;margin:7px 0 14px}
.feedback {min-height:20px;color:#ffc69e;font-weight:650;font-size:.875rem;overflow-wrap:anywhere}
.plain {color:#e0e3db; padding-inline:0; text-decoration:underline; background:transparent}
.plain:hover {color:#fff}
.item {display:grid;grid-template-columns:minmax(0,1fr) minmax(118px,160px) auto;align-items:center;gap:9px;border-top:1px solid var(--line);padding-block:7px}
.item b {overflow-wrap:anywhere;font-size:.94rem}
.item select {margin:0}
.remove {border:0;background:transparent;color:var(--oxide); min-width:44px; padding-inline:6px}
.remove:hover {background:#fdebe2}
.photo-row {display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:10px;align-items:center;margin-block:8px}
.photo-row img {width:82px;height:62px;object-fit:cover;border-radius:4px}
.notes {display:block;margin-top:16px}
footer {display:flex;justify-content:space-between;gap:10px;padding-block:22px;margin-top:10px;color:var(--muted);font-size:.875rem;border-top:1px solid var(--edge)}
@media (max-width:880px) {
  .wrap {width:calc(100% - 36px)}
  .hero-inner {min-height:365px}
  .hero h1 {font-size:clamp(2.75rem,7.4vw,5.2rem)}
  .hero-copy {padding-block:36px}
  .layout {grid-template-columns:minmax(0,1fr) minmax(238px,300px)}
}
@media (max-width:680px) {
  .nav {display:none}
  .bar-in {min-height:58px}
  .hero-inner {grid-template-columns:1fr; min-height:0}
  .hero-copy {padding:34px 0 0}
  .hero h1 {font-size:clamp(2.9rem,10.3vw,4.5rem)}
  .hero-art {width:min(100%,400px);margin:-6px auto -22px}
  .workspace {padding-top:35px}
  .layout {grid-template-columns:1fr}
  .summary {position:static}
}
@media (max-width:420px) {
  .wrap {width:calc(100% - 28px)}
  .hero h1 {font-size:clamp(2.2rem,10vw,2.9rem)}
  .hero-actions {gap:8px}
  .rail span {font-size:.76rem; padding-inline:4px; gap:0}
  .rail span::before {display:none}
  .fields {grid-template-columns:1fr}
  .item {grid-template-columns:minmax(0,1fr) minmax(105px,123px) auto;gap:5px}
  .photo-row {grid-template-columns:56px minmax(0,1fr) auto;gap:6px}
  .photo-row img {width:56px}
  footer {flex-direction:column}
}
[hidden] {display:none !important}
.template-grid,.plans {display:grid; grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.template-grid input,.template-grid select {min-width:0}
.inline-result {min-height:1.45em}
.follow-up {border-top:1px solid #484b44; padding-top:12px;margin-top:7px}
.follow-up summary {cursor:pointer;font-weight:750}
.follow-up button,.follow-up label {margin-top:10px}
.follow-up label {display:block}
.launch-block {border-top:1px solid var(--edge);padding-block:38px;scroll-margin-top:12px}
.launch-block h2 {font-size:clamp(1.8rem,4.7vw,3.1rem);letter-spacing:-.061em;line-height:1.05;margin:0}
.launch-block > p:not(.eyebrow) {color:var(--sub);max-width:68ch}
.plans {margin-top:18px}
.plan .price {font-size:2rem;font-weight:850;margin:.25rem 0 0}
.plan .price span {font-size:.9rem;font-weight:650;color:var(--sub)}
.plan ul {padding-left:22px;margin:10px 0 18px}
.plan-pro {border-color:#db754e}
.plan-pro .quiet {margin-bottom:0}
#shop-tools {scroll-margin-top:12px}
@media(max-width:550px) {.template-grid,.plans {grid-template-columns:1fr}}
