:root {
  /* ShopCrank Retro Garage Badge palette (Marketing Pack, Oct 2026) */
  --ink: #074251;
  --muted: #4a6670;
  --paper: #fffefb;
  --canvas: #FDF3DA;
  --cream: #FDF3DA;
  --line: #d7c9a8;
  --green: #074251;
  --deep: #074251;
  --cherry: #CC1D24;
  --lime: #CC1D24;
  --shadow: 0 18px 40px rgba(7, 66, 81, 0.14);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7, 66, 81, 0.08), transparent 280px),
    var(--canvas);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}
a { color: var(--green); }
img { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-header { padding: 22px 0 8px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #074251 url("/assets/brand/logo-icon-192.png") center / cover no-repeat;
  box-shadow: 0 6px 16px rgba(7, 66, 81, 0.22);
  font-size: 0;
}
.brand strong { display: block; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 26px; letter-spacing: 0.02em; line-height: 0.95; text-transform: none; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: 0.02em; text-transform: none; }
.nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nav a { color: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  text-decoration: none;
}
.btn.primary { color: #fff; background: var(--cherry); }
.btn.primary:hover { background: #a8171d; }
.btn.secondary:hover { border-color: var(--deep); color: var(--deep); }
.btn.secondary { color: var(--deep); background: transparent; border-color: #b7c4bc; }
.hero { padding: 42px 0 12px; }
.eyebrow { margin: 0 0 8px; color: var(--cherry); font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.02em; }
h1 { max-width: 16ch; font-size: clamp(42px, 6vw, 68px); line-height: 0.92; text-transform: uppercase; }
.lede { max-width: 62ch; margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 28px 0 10px; }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: stretch; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(22, 44, 36, 0.04);
}
.card.featured {
  border-color: #9bbb73;
  background: linear-gradient(180deg, #f7fbe9, var(--paper) 42%);
  box-shadow: 0 16px 34px rgba(22, 44, 36, 0.1);
}
.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card h2 { font-size: 28px; text-transform: uppercase; }
.card p, .card li { color: #3e4d46; font-size: 14px; line-height: 1.5; }
.card ul { margin: 0; padding-left: 18px; }
.price { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 52px; line-height: 1; }
.price span { font-family: "DM Sans", sans-serif; font-size: 16px; color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.note, .legal {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.legal h1 { max-width: none; font-size: 48px; }
.legal h2 { margin-top: 22px; font-size: 28px; text-transform: uppercase; }
.legal p, .legal li { color: #3e4d46; line-height: 1.6; }
.site-footer { padding: 10px 0 40px; color: var(--muted); font-size: 13px; }
.auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg, #162c24, #254a3a 62%, #647740); }
.auth-card { width: min(480px, 100%); padding: 28px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.auth-card h1 { max-width: none; font-size: 40px; }
.auth-card p { color: var(--muted); line-height: 1.5; }
.auth-card form { display: grid; gap: 12px; }
.auth-card label { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.auth-card input, .auth-card select {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #b7c4bc;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.auth-card input:focus { outline: 3px solid rgba(31, 101, 75, 0.25); border-color: var(--green); }
.auth-card button { width: 100%; border: 0; cursor: pointer; }
.auth-card .error { margin: 0; color: #9d3028; }
.auth-card .success { margin: 0; color: #087e6a; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr); gap: 28px; align-items: center; }
.hero-shot { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.card.featured { border-color: #1f654b; box-shadow: var(--shadow); }
.plan-flag { margin: 0; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.compare-wrap { margin: 28px 0 8px; }
.compare-wrap h2 { margin-bottom: 12px; font-size: 32px; text-transform: uppercase; }
.compare { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { color: #fffefb; background: var(--deep); }
.compare tbody th { font-weight: 700; }
.plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scarcity { margin: 18px 0 8px; font-weight: 750; }
.bar { height: 10px; border-radius: 999px; background: #e3e8e4; overflow: hidden; max-width: 420px; }
.bar span { display: block; height: 100%; width: 0; background: var(--green); }
.fine { color: var(--muted); font-size: 14px; }
.note .error, .auth-card .error { color: #9d3028; }
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .hero-split, .plans { grid-template-columns: 1fr; }
  .compare-wrap { overflow-x: auto; }
  .site-header { align-items: flex-start; }
  h1 { font-size: 40px; }
}
