/* Exhaust Garment App Suite — shared shell CSS
   Self-hosted fonts + design tokens, per CLAUDE.md §9.1 / §9.2.
   Font URLs carry ?v=2: raise it whenever a font file changes, so browsers and the Hostinger CDN fetch the new copy. */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-v32-latin-regular.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/nunito-v32-latin-600.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/nunito-v32-latin-700.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/nunito-v32-latin-800.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/merriweather-v33-latin-700.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/merriweather-v33-latin-900.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Merriweather Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/merriweather-sans-v28-latin-700.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Merriweather Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/merriweather-sans-v28-latin-800.woff2?v=2') format('woff2');
}

:root {
  --ink: #1A1A1A;
  --brand-black: #000000;
  --gold: #F5C400;
  --gold-dk: #D4A900;
  --white: #FFFFFF;
  --gray-100: #F2F2F2;
  --gray-200: #E8E8E8;
  --gray-400: #A9A6A0;
  --gray-600: #666666;
  --gray-800: #34322E;
  --green: #1E7A3D;
  --green-bg: #E6F4EA;
  --red: #B3261E;
  --red-bg: #FBE9E7;
  --font: 'Nunito';
  --font-title: 'Merriweather';
  --font-diagnostic: 'Merriweather Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
}

body { background: #DCDCDC; }

button, input, select, textarea { font-family: var(--font-diagnostic); }

html, body { overscroll-behavior-y: contain; }

.dropdown-results {
  max-height: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* ===== Standard home layout (every app's home uses these names, so all homes look the same) =====
   An app adds these classes next to its own (its scripts may still look up the old names) and keeps
   no styling of its own for these parts. Values = the standard measured on 25 Oct 2026 (MSR / Hub). */

/* The page column: phone = full width; computer = a 480px column with a soft shadow */
.sh-col { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--gray-100); position: relative; box-shadow: 0 0 24px rgba(0,0,0,0.15); }

/* Black hero at the top of the home */
.sh-hero { background: var(--brand-black); text-align: center; padding: 16px 16px 20px; position: relative; }
.sh-hero-icon { position: absolute; top: 16px; width: 40px; height: 40px; display: block; border-radius: 50%; font-family: var(--font); }
.sh-hero-icon.left { left: 16px; right: auto; }
.sh-hero-icon.right { right: 16px; left: auto; }
.sh-hero-icon img { width: 40px; height: 40px; border-radius: 50%; display: block; object-fit: cover; }
.sh-logo { height: 100px; width: auto; max-width: 192px; margin: 0 auto 16px; display: block; object-fit: contain; }
.sh-title { font: 700 22px var(--font-title); color: var(--white); margin: 0; }
.sh-desc { font: 400 13px var(--font); color: rgba(255,255,255,0.75); margin-top: 8px; line-height: 1.5; }
.sh-pills { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; }
.sh-pill-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sh-pill { background: #2e2e2e; color: var(--gold); border: 1px solid rgba(245,196,0,0.3); border-radius: 999px; padding: 6px 12px; font: 700 12px var(--font); text-transform: uppercase; white-space: nowrap; }

/* Content under the hero */
.sh-body { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.sh-section { font: 700 11px var(--font); letter-spacing: 1px; text-transform: uppercase; color: var(--gray-600); margin: 8px 0 -2px; }

/* Home cards: .sh-card = white; add .gold for the one main card */
.sh-card { width: 100%; font-family: var(--font); background: var(--white); color: var(--ink); border: none; border-radius: var(--radius); padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; text-align: left; box-shadow: 0 1px 4px rgba(0,0,0,0.08); text-decoration: none; }
.sh-card.gold { background: var(--gold); box-shadow: none; }
.sh-card:active { transform: scale(0.98); }
.sh-card-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sh-card-title { font: 700 17px var(--font-title); color: var(--ink); }
.sh-card-desc { font: 400 13px var(--font); color: var(--gray-600); margin-top: 2px; line-height: 1.4; }
.sh-card.gold .sh-card-desc { color: rgba(26,26,26,0.65); }
.sh-card-arrow { font: 400 18px var(--font); color: var(--ink); flex-shrink: 0; }
.sh-chip { display: inline-block; align-self: flex-start; margin-bottom: 5px; padding: 2px 8px; border-radius: 999px; background: var(--gray-100); color: var(--gray-600); font: 800 10.5px var(--font); letter-spacing: .03em; text-transform: uppercase; }

/* "How it works" card */
.sh-info { background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); display: flex; flex-direction: column; gap: 12px; }
.sh-info-title { font: 700 11px var(--font); letter-spacing: 1px; text-transform: uppercase; color: var(--gray-600); }
.sh-step { display: flex; gap: 12px; align-items: flex-start; }
.sh-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 13px var(--font); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sh-step-text { font: 400 14px var(--font); color: var(--ink); line-height: 1.5; }
.sh-step-text b { font-weight: 700; }
/* Closing line of "How it works": where to check, who to ask */
.sh-info-note { font: 400 13px var(--font); color: var(--gray-600); line-height: 1.5; border-top: 1px solid var(--gray-200); padding-top: 12px; }

/* Footer on every screen */
.sh-footer { text-align: center; font: 400 12px var(--font); color: var(--gray-600); padding: 24px 16px 0; }
.sh-footer strong, .sh-footer b { color: var(--gray-600); font-weight: 700; }