*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #16171c; --bg-2: #1d1f26; --surface: #22242c; --surface-2: #2a2d36;
  --ink: #f2efe7; --ink-dim: #b3ada0; --ink-faint: #837e72;
  --accent: #ff6a1f; --accent-gold: #c29753; --accent-soft: rgba(255, 106, 31, 0.14);
  --green: #25D366; --line: rgba(242, 239, 231, 0.10); --radius: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.app-wrap { max-width: 480px; margin: 0 auto; padding: 0 16px 30px; position: relative; }
.brandbar { position: sticky; top: 0; z-index: 40; background: rgba(22, 23, 28, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brandbar-inner { max-width: 480px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; min-width: 0; flex: 1; }
.brand[data-open-factory] { cursor: pointer; border-radius: 10px; margin: -4px; padding: 4px; transition: background 0.15s ease; }
.brand[data-open-factory]:hover, .brand[data-open-factory]:focus-visible { background: rgba(255, 106, 31, 0.08); outline: none; }
.brand[data-open-factory]:active { background: rgba(255, 106, 31, 0.14); }
.brand-logo { display: block; height: 34px; width: auto; max-width: 78px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.15; }
.brand-text > span { display: block; font-size: 13px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #16171c; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(255, 106, 31, 0.25); }
.brand small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-faint); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.certpill { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-dim); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; background: var(--bg-2); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; transition: all 0.2s; min-height: 32px; flex-shrink: 0; }
.certpill:active, .certpill.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.hero { position: relative; padding: 20px 0 14px; overflow: hidden; }
.hero-bg { position: absolute; inset: -20px -20px 0 -20px; z-index: 0; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; filter: brightness(105%) contrast(110%); }
.hero-bg .grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,23,28,0.35) 0%, rgba(22,23,28,0.65) 60%, rgba(22,23,28,1) 100%); }
.hero-content { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
h1 { font-size: clamp(26px, 7.8vw, 34px); line-height: 1.12; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--ink); text-shadow: 0 2px 8px rgba(0,0,0,0.85); }
h1 .hl { color: var(--accent); }
.lead { color: rgba(242, 239, 231, 0.9); font-size: 13.5px; line-height: 1.5; margin-bottom: 16px; font-weight: 500; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius); border: none; font-size: 15px; font-weight: 900; cursor: pointer; transition: transform 0.12s ease-out; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #16171c; box-shadow: 0 4px 16px rgba(255, 106, 31, 0.35); }
.btn-primary.is-locked,
.btn-primary[aria-disabled="true"],
.btn-primary:disabled {
  background: #5a5a5a;
  color: #b0b0b0;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.65;
  pointer-events: none;
}
.btn-primary.is-locked:active,
.btn-primary[aria-disabled="true"]:active,
.btn-primary:disabled:active { transform: none; }
.consent.is-flash {
  animation: consentFlash 0.85s ease;
  outline: 1px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
  background: var(--accent-soft);
  padding: 6px 8px;
  margin-left: -8px;
  margin-right: -8px;
}
@keyframes consentFlash {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(2px); }
}
.truststrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px 0 6px; width: 100%; }
.trustchip { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10.5px; font-weight: 800; color: var(--ink); background: rgba(29, 31, 38, 0.9); backdrop-filter: blur(4px); border: 1px solid rgba(242, 239, 231, 0.15); padding: 7px 4px; border-radius: 999px; cursor: pointer; min-height: 34px; white-space: nowrap; transition: all 0.2s; }
.trustchip.active, .trustchip:active { color: var(--accent); border-color: var(--accent); background: rgba(255, 106, 31, 0.2); }
.evidence { display: none; margin-top: 10px; background: var(--surface-2); border-radius: 10px; padding: 12px; font-size: 12px; color: var(--ink-dim); border-left: 3px solid var(--accent); line-height: 1.55; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence.open { display: block; }
.evidence strong { color: var(--ink); }
.sec-products { padding: 20px 0; border-top: 1px solid var(--line); }
.sec-title-center { text-align: center; font-size: 18px; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 14px; }
.sec-title-center .gold { color: var(--accent-gold); }
.prod-grid-6 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prod-tile { position: relative; aspect-ratio: 4 / 3.2; border-radius: 10px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px; transition: transform 0.2s, border-color 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.25); }
.prod-tile:hover { border-color: rgba(255, 106, 31, 0.6); }
.prod-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(55%); transition: transform 0.4s ease; }
.prod-tile:hover img { transform: scale(1.05); filter: brightness(45%); }
.prod-tile .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,23,28,0.3) 0%, rgba(22,23,28,0.85) 100%); }
.prod-tile .tile-title { position: relative; z-index: 2; font-size: 11px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); line-height: 1.3; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.sec-why { background: #16171c; color: #f2efe7; border-radius: 14px; padding: 14px 12px; margin: 16px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.35); border: 1px solid rgba(242,239,231,0.1); }
.why-head { text-align: center; margin-bottom: 12px; }
.why-head h2 { font-size: 15px; font-weight: 900; color: #f2efe7; line-height: 1.25; margin-bottom: 2px; }
.why-head h2 .gold { color: #c29753; }
.why-head .sub { font-size: 10px; color: #837e72; font-weight: 600; }
.why-list { display: flex; flex-direction: column; gap: 12px; }
.why-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.why-row:last-child { border-bottom: none; padding-bottom: 0; }
.why-img-box { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #0e0f12; cursor: grab; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 4px 10px rgba(0,0,0,0.25); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.why-img-box.is-dragging { cursor: grabbing; }
.why-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease, opacity 0.25s ease; pointer-events: none; }
.why-img-box:hover img { transform: scale(1.04); }
.why-dots { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; background: rgba(0,0,0,0.65); backdrop-filter: blur(3px); padding: 2px 6px; border-radius: 999px; z-index: 5; }
.why-dot { width: 5px; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.25s; border: none; padding: 0; }
.why-dot.active { width: 7px; height: 7px; background: #c29753; box-shadow: 0 0 4px rgba(194,151,83,0.8); }
.why-text-box { display: flex; flex-direction: column; justify-content: center; }
.why-title { font-size: 11px; font-weight: 700; line-height: 1.25; margin-bottom: 5px; color: #f2efe7; }
.why-title .gold-italic { color: #c29753; font-style: italic; font-weight: 700; }
.why-points { display: flex; flex-direction: column; gap: 4px; }
.why-point { display: flex; align-items: flex-start; gap: 5px; font-size: 9.5px; line-height: 1.3; color: #b3ada0; }
.why-point strong { color: #f2efe7; font-weight: 700; }
.why-check { color: #c29753; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; width: 11px; height: 11px; background: rgba(194, 151, 83, 0.15); border: 1px solid rgba(194, 151, 83, 0.4); border-radius: 50%; }
.why-check svg { width: 7px; height: 7px; stroke-width: 3.5; }
.formcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; margin: 16px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.formcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.formcard h2 { font-size: 15.5px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink); }
.formcard .badge { font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(255,106,31,0.3); }
.formcard p.subtitle { font-size: 11.5px; color: var(--ink-dim); margin-bottom: 12px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.form-project { margin-top: 2px; }
.form-project__rule { height: 0; border: 0; border-top: 1px solid var(--line); margin: 10px 0 10px; }
.form-project__title { font-size: 12px; font-weight: 700; color: var(--ink-dim); margin-bottom: 8px; letter-spacing: 0; text-transform: none; }
.form-project .field label { text-transform: none; letter-spacing: 0; font-size: 11px; font-weight: 700; }
.field { margin-bottom: 8px; }
.field label { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 3px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 12.5px; padding: 8px 10px; font-family: inherit; min-height: 38px; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23b3ada0%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; cursor: pointer; }
.field input:not([type="checkbox"]):not([type="radio"])::placeholder { color: var(--ink-faint); font-size: 12px; }
.field input:not([type="checkbox"]):not([type="radio"]):focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255, 106, 31, 0.2); }
.field .field-hint { display: block; font-size: 10px; color: var(--ink-faint); margin-top: 3px; line-height: 1.35; }
.field .field-hint.is-error { color: #ff6a6a; }
.field .field-hint.is-ok { color: #25D366; }
.field--check { margin-bottom: 12px; }
.field-q { display: block; font-size: 11px; font-weight: 700; color: var(--ink-dim); margin-bottom: 8px; letter-spacing: 0; text-transform: none; }
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-item { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 500; text-transform: none; letter-spacing: 0; }
.check-item input[type="checkbox"] {
  flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; min-height: 0; padding: 0;
  -webkit-appearance: checkbox; appearance: checkbox; border-radius: 2px; cursor: pointer; accent-color: var(--accent);
}
.check-text { font-size: 12px; line-height: 1.4; color: var(--ink); font-weight: 500; }
.check-text sub { display: block; font-size: 10.5px; line-height: 1.35; color: var(--ink-faint); font-weight: 400; font-style: normal; }
.form-ok { display: none; background: var(--accent-soft); border: 1px solid rgba(255,106,31,0.4); color: var(--ink); border-radius: 8px; padding: 10px 12px; font-size: 12px; font-weight: 600; margin-bottom: 12px; line-height: 1.45; }
.form-ok.show { display: block; }
.privacy-note { font-size: 10px; color: var(--ink-faint); margin-top: 8px; text-align: center; }
.privacy-note a, .privacy-note button { color: var(--ink-dim); text-decoration: underline; }
.privacy-note button { appearance: none; background: transparent; border: 0; padding: 0; font: inherit; cursor: pointer; }
.form-legal { margin: 10px 0 0; text-align: center; font-size: 10.5px; line-height: 1.45; color: var(--ink-faint); }
.consent-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.consent-link:active { opacity: 0.85; }
.wa-fallback { display: none; margin-top: 9px; text-align: center; font-size: 11px; font-weight: 700; color: var(--green); text-decoration: underline; }
.policy-copy h4 { font-size: 12px; color: var(--ink); margin: 15px 0 4px; }
.policy-copy p, .policy-copy li { font-size: 11.5px; color: var(--ink-dim); line-height: 1.6; }
.policy-copy ul { padding-left: 17px; margin-top: 4px; }
.policy-copy .notice { margin-top: 14px; padding: 10px; border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 7px; }
footer { border-top: 1px solid var(--line); padding: 18px 0 40px; font-size: 11.5px; }
footer .co { font-weight: 800; font-size: 12.5px; margin-bottom: 3px; color: var(--ink); }
footer .addr { color: var(--ink-faint); line-height: 1.5; margin-bottom: 10px; }
footer .links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
footer .links a, footer .links button { color: var(--ink-dim); text-decoration: underline; appearance: none; background: transparent; border: 0; padding: 0; font: inherit; cursor: pointer; }
body.tk-modal-open { overflow: hidden; }
.quote-slot-page { min-height: 0; }
.quote-modal .sheet { padding-top: 16px; }
.quote-modal .quote-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.quote-modal .quote-modal__title { font-size: 15px; font-weight: 900; letter-spacing: -0.01em; margin: 0; }
.modal { position: fixed; inset: 0; background: rgba(10, 10, 14, 0.85); z-index: 100; display: none; align-items: flex-end; justify-content: center; backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.quote-modal { background: transparent; }
.quote-modal .quote-modal__backdrop { background: rgba(10, 10, 14, 0.85); backdrop-filter: blur(4px); cursor: pointer; }
.modal .sheet { background: var(--surface); width: 100%; max-width: 480px; border-radius: 18px 18px 0 0; padding: 20px 16px calc(24px + var(--safe-bottom)); max-height: 82vh; overflow-y: auto; text-align: left; border-top: 1px solid rgba(242,239,231,0.15); }
.modal h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.modal .closebtn { float: right; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); width: 28px; height: 28px; border-radius: 50%; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* —— Factory info modal —— */
.factory-modal { background: transparent; align-items: flex-end; padding: 0; }
.factory-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 14, 0.85); backdrop-filter: blur(4px); cursor: pointer; }
.factory-modal__sheet {
  position: relative; z-index: 1; width: 100%; max-width: 480px;
  background: #1a1c23; border: 1px solid rgba(242, 239, 231, 0.12); border-bottom: 0;
  border-radius: 18px 18px 0 0; padding: 16px 14px calc(16px + var(--safe-bottom));
  max-height: 94vh; overflow-y: auto; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}
.factory-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.factory-modal__title-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.factory-modal__icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); border: 1.5px solid var(--accent); background: rgba(255, 106, 31, 0.1);
}
.factory-modal__title {
  margin: 0; font-size: 13px; font-weight: 900; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.factory-modal__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.factory-modal__iconbtn {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(242, 239, 231, 0.22);
  background: transparent; color: var(--ink-dim); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; text-decoration: none;
}
.factory-modal__iconbtn:hover, .factory-modal__iconbtn:focus-visible {
  color: var(--ink); border-color: rgba(242, 239, 231, 0.4); background: rgba(255, 255, 255, 0.04); outline: none;
}

.factory-modal__hero {
  position: relative; border-radius: 14px; overflow: hidden; min-height: 320px;
  margin-bottom: 14px; border: 1px solid rgba(242, 239, 231, 0.08);
}
.factory-modal__hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; filter: brightness(0.78) contrast(1.04);
  max-width: none;
}
.factory-modal__hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0.12) 0%, rgba(10, 10, 14, 0.28) 40%, rgba(10, 10, 14, 0.72) 100%);
}
.factory-modal__watermark {
  position: absolute; z-index: 1; top: 14px; left: 12px; right: 12px;
  font-size: clamp(28px, 9vw, 40px); font-weight: 900; letter-spacing: 0.02em;
  line-height: 1; color: rgba(255, 255, 255, 0.12); text-transform: uppercase;
  pointer-events: none; user-select: none;
}
.factory-modal__bullets {
  position: relative; z-index: 2; list-style: none; margin: 0; padding: 140px 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.factory-modal__bullets li {
  position: relative; padding-left: 14px; font-size: 12px; line-height: 1.45;
  color: rgba(242, 239, 231, 0.92); font-weight: 500;
}
.factory-modal__bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.factory-modal__bullets strong { color: #fff; font-weight: 800; }
.factory-modal__bullets em { color: var(--accent); font-style: normal; font-weight: 800; }

.factory-modal__adv { margin-bottom: 14px; }
.factory-modal__adv-label {
  display: flex; align-items: center; gap: 7px; margin-bottom: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim);
}
.factory-modal__adv-label svg { color: var(--accent); flex-shrink: 0; }
.factory-modal__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.factory-stat {
  background: #24262f; border: 1px solid rgba(242, 239, 231, 0.08);
  border-radius: 12px; padding: 10px 6px; text-align: center;
}
.factory-stat__num { font-size: 18px; font-weight: 900; color: var(--accent); line-height: 1.1; margin-bottom: 4px; }
.factory-stat__label { font-size: 10.5px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.factory-stat__sub { font-size: 9.5px; font-weight: 600; color: var(--ink-faint); margin-top: 2px; }

.factory-modal__cta { width: 100%; font-size: 13.5px; letter-spacing: 0.03em; text-transform: uppercase; border-radius: 12px; min-height: 48px; }
