:root{--orange:#111111;--ink:#111;--muted:#6b6b6b;--line:#e8e8e1;--soft:#faf7f1;--ok:#2e7d32;--bad:#b00020}
*{box-sizing:border-box}
html,body{margin:0;background:#fff;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
body{min-height:100vh;display:flex;flex-direction:column}
.ks-header{display:flex;justify-content:center;padding:22px 16px;border-bottom:1px solid var(--line)}
.ks-header img{display:block;width:230px;height:auto}
.ks-main{flex:1;width:100%;max-width:760px;margin:0 auto;padding:48px 16px 64px}
.ks-hero{text-align:center}
.ks-hero h1{margin:0 0 14px;font-size:34px;font-weight:700;letter-spacing:-.01em}
.ks-hero p{margin:0 auto 8px;max-width:560px;color:var(--muted);line-height:1.6}
.ks-hint strong{color:var(--ink)}
.ks-form{margin:34px auto 0;max-width:620px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ks-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500}
.ks-field input{font:inherit;font-size:15px;padding:13px 14px;border:1px solid #d6d6cf;border-radius:10px;outline:none;background:#fff}
.ks-field input:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(0,0,0,.12)}
.ks-btn{grid-column:1/-1;justify-self:center;margin-top:6px;font:inherit;font-weight:600;font-size:15px;letter-spacing:.02em;color:#fff;background:var(--orange);border:0;border-radius:999px;padding:14px 38px;cursor:pointer}
.ks-btn:hover{filter:brightness(.95)}
.ks-btn:disabled{opacity:.6;cursor:default}
.ks-error{grid-column:1/-1;margin:4px 0 0;text-align:center;color:var(--bad);font-size:14px}
.ks-result{margin-top:40px}
.ks-card{border:1px solid var(--line);border-radius:16px;padding:24px;background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.04)}
.ks-card__head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.ks-card__head h2{margin:0;font-size:20px;font-weight:600}
.ks-pill{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;padding:6px 12px;border-radius:999px;background:#f1efe9;color:var(--ink)}
.ks-pill--ship{background:#f0f0f0;color:#111111}
.ks-pill--delivered{background:#e6f2e7;color:var(--ok)}
.ks-pill--issue{background:#fbe5e8;color:var(--bad)}
.ks-muted{color:var(--muted);font-size:14px;margin:6px 0 0}
.ks-items{margin:14px 0 0;padding:0 0 0 18px;line-height:1.6}
.ks-track{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.ks-track__num{font-family:ui-monospace,Menlo,monospace;font-size:13px;color:var(--ink);margin-left:6px}
.ks-tl{list-style:none;margin:18px 0 0;padding:0 0 0 18px;border-left:2px solid var(--line)}
.ks-tl li{position:relative;padding:0 0 18px 14px}
.ks-tl li:last-child{padding-bottom:0}
.ks-tl li::before{content:"";position:absolute;left:-25px;top:5px;width:12px;height:12px;border-radius:50%;background:#cfcfc8;border:2px solid #fff}
.ks-tl li.is-latest::before{background:var(--orange)}
.ks-tl__when{font-size:12px;color:var(--muted)}
.ks-tl__what{font-size:15px;margin-top:2px}
.ks-tl li:not(.is-latest) .ks-tl__what{color:#444}
.ks-tl__where{font-size:13px;color:var(--muted);margin-top:2px}
.ks-footer{text-align:center;color:var(--muted);font-size:13px;padding:26px 16px;border-top:1px solid var(--line)}
@media (max-width:640px){
  .ks-main{padding-top:32px}
  .ks-hero h1{font-size:28px}
  .ks-form{grid-template-columns:1fr}
  .ks-btn{width:100%}
  .ks-card{padding:18px}
}

/* rodapé de confiança */
.tf{background:#f6f6f6;color:#111111;border-top:1px solid #e4e4e4;margin-top:0}
.tf__in{max-width:1040px;margin:0 auto;padding:40px 16px 28px;display:grid;grid-template-columns:1.1fr 2fr;gap:36px;align-items:start}
.tf__brand img{display:block;width:200px;max-width:100%;height:auto}
.tf__brand p{margin:14px 0 0;color:#666666;font-size:14px;line-height:1.6;max-width:300px}
.tf__trust{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.tf__seal{display:flex;gap:12px;align-items:flex-start}
.tf__icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;border:1px solid #e4e4e4;color:#111111}
.tf__seal strong{display:block;font-size:14px;font-weight:600;color:#111111}
.tf__seal small{display:block;margin-top:3px;font-size:13px;line-height:1.45;color:#666666}
.tf__bottom{max-width:1040px;margin:0 auto;padding:18px 16px 26px;border-top:1px solid #e4e4e4;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.tf__pays{display:flex;flex-wrap:wrap;gap:8px}
.tf__pay{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:30px;padding:0 9px;border-radius:5px;background:#ffffff;color:#111111;font-family:Arial,Helvetica,sans-serif;font-size:12px;border:1px solid #e4e4e4}
.tf__copy{margin:0;font-size:13px;color:#666666}
@media (max-width:820px){
  .tf__in{grid-template-columns:1fr;gap:26px;padding-top:32px}
  .tf__trust{grid-template-columns:1fr;gap:16px}
  .tf__bottom{flex-direction:column;align-items:flex-start}
}
