/* SizeMyMove brand tokens + logo classes
   Mark: Fill gauge. Drop this in once and use the custom properties everywhere. */

:root {
  --smm-slate: #1f2a37;
  --smm-haul: #2f6690;
  --smm-tape: #edb230;
  --smm-kraft: #d9c3a5;
  --smm-ground: #f7f4ee;
  --smm-white: #ffffff;

  --smm-text: #1f2a37;
  --smm-text-muted: #63707f;
  --smm-text-on-ink: #f7f4ee;
  --smm-muted-on-ink: #a6b4c2;
  --smm-accent-deep: #2f6690;

  --smm-font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --smm-wordmark-tracking: -0.035em;

  --smm-radius: 4px;  /* inputs and quantity steppers */
  --smm-radius-card: 4px;  /* room and estimate cards */
  --smm-radius-pill: 999px;  /* buttons and room chips */
  --smm-rule: 1px;
}

/* Wordmark — "Size" heavy, "MyMove" regular. Never re-weight, never letterspace. */
.smm-wordmark {
  font-family: var(--smm-font);
  font-weight: 800;
  letter-spacing: var(--smm-wordmark-tracking);
  line-height: 1;
  color: var(--smm-text);
  white-space: nowrap;
}
.smm-wordmark span { font-weight: 400; }
.smm-wordmark--on-ink { color: var(--smm-text-on-ink); }

.smm-tagline {
  font-family: var(--smm-font);
  font-weight: 700;
  font-size: 0.26em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smm-accent-deep);
}

/* The mark — Fill gauge.
   Every part is a percentage of one square, so --smm-mark: 16px and 512px are one drawing.
   font-size tracks the size so em-based strokes scale with it. */
.smm-mark {
  --smm-mark: 64px;
  position: relative;
  flex: none;
  width: var(--smm-mark);
  height: var(--smm-mark);
  font-size: var(--smm-mark);
  border-radius: 50%;
  overflow: hidden;
  background: var(--smm-ground);
}
.smm-mark > * { position: absolute; box-sizing: border-box; }

.smm-mark__frame { left: 16%; top: 18%; width: 68%; height: 64%; border: 0.075em solid var(--smm-slate); }
.smm-mark__fill { left: 23%; top: 52%; width: 54%; height: 23%; background: var(--smm-haul); }
.smm-mark__tape { left: 16%; top: 29%; width: 68%; height: 8%; background: var(--smm-tape); }

/* On the dark ground the mark inverts; the accent colors hold. */
.smm-mark--on-ink { background: #1f2a37; }
.smm-mark--on-ink .smm-mark__frame { background: var(--smm-ground); }
.smm-mark--on-ink .smm-mark__fill { background: #5b9ac4; }
.smm-mark--on-ink .smm-mark__tape { background: var(--smm-tape); }

/* One color, for embroidery, foil and single-plate print. */
.smm-mark--mono { background: var(--smm-text); }
.smm-mark--mono > * { background: var(--smm-text-on-ink); border-color: var(--smm-text-on-ink); }

/* Below 32px. */
.smm-mark--simple .smm-mark__tape { display: none; }
.smm-mark--simple .smm-mark__frame { left: 13%; top: 15%; width: 74%; height: 70%; border-width: 0.11em; }
.smm-mark--simple .smm-mark__fill { left: 21%; top: 50%; width: 58%; height: 30%; }

/* Lockups. Clear space on every side = 25% of the mark. */
.smm-lockup {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 32px;
  text-decoration: none;
}
.smm-lockup .smm-mark { --smm-mark: 1.15em; }
.smm-lockup__text { display: flex; flex-direction: column; gap: 0.16em; }
.smm-lockup .smm-wordmark { font-size: 1em; }
.smm-lockup--stacked { flex-direction: column; align-items: flex-start; gap: 0.5em; }

/* Site chrome */
.smm-header {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 24px;
  background: var(--smm-white);
  border-bottom: var(--smm-rule) solid color-mix(in srgb, var(--smm-text) 16%, transparent);
}
.smm-header__nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-family: var(--smm-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smm-text-muted);
}
.smm-band { background: var(--smm-ground); }
.smm-footer { background: #1f2a37; color: var(--smm-muted-on-ink); }
.smm-rule { height: var(--smm-rule); border: 0; margin: 0; background: color-mix(in srgb, var(--smm-text) 18%, transparent); }
.smm-card {
  background: var(--smm-white);
  border: var(--smm-rule) solid color-mix(in srgb, var(--smm-text) 12%, transparent);
  border-radius: var(--smm-radius-card);
  padding: 20px;
}
.smm-input {
  font-family: var(--smm-font);
  font-size: 14px;
  padding: 10px 14px;
  border: var(--smm-rule) solid color-mix(in srgb, var(--smm-text) 22%, transparent);
  border-radius: var(--smm-radius);
  background: var(--smm-white);
  color: var(--smm-text);
}
.smm-input:focus-visible { outline: 2px solid var(--smm-accent-deep); outline-offset: 2px; }

/* Buttons and chips */
.smm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--smm-font);
  font-size: 14px;
  font-weight: 700;
  border: var(--smm-rule) solid var(--smm-text);
  border-radius: var(--smm-radius-pill);
  background: var(--smm-text);
  color: var(--smm-text-on-ink);
  text-decoration: none;
  cursor: pointer;
}
.smm-btn:hover { background: color-mix(in srgb, var(--smm-text) 86%, #000); }
.smm-btn:active { background: color-mix(in srgb, var(--smm-text) 74%, #000); }
.smm-btn:focus-visible { outline: 2px solid var(--smm-accent-deep); outline-offset: 2px; }
.smm-btn--secondary { background: transparent; color: var(--smm-text); }
.smm-btn--secondary:hover { background: var(--smm-ground); }
.smm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--smm-font);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--smm-radius-pill);
  background: var(--smm-ground);
  color: var(--smm-text);
}

/* Partner / embed badge */
.smm-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--smm-ground);
  border: var(--smm-rule) solid color-mix(in srgb, var(--smm-text) 22%, transparent);
  border-radius: var(--smm-radius);
  font-family: var(--smm-font);
  text-decoration: none;
}
.smm-badge .smm-mark { --smm-mark: 30px; }
.smm-badge__lines { display: flex; flex-direction: column; line-height: 1.15; }
.smm-badge__title { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; color: var(--smm-text); }
.smm-badge__sub { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--smm-accent-deep); }

/* Links + selection */
a { color: var(--smm-text); text-decoration-color: var(--smm-accent-deep); }
a:hover { color: var(--smm-accent-deep); }
::selection { background: var(--smm-ground); color: var(--smm-text); }
