/* Mingleo landing page tests: shared base.
   Tokens from mingleo.com: Crimson Pro 800 headings, Inter 500/600 body,
   brick-orange #C73712 buttons, cream / sand surfaces, teal #144D61. */

:root {
  --ink: #131010;
  --ink-2: #504A49;
  --ink-3: #8A8382;
  --line: #E5E5E5;
  --white: #FFFFFF;
  --cream: #FEFBF9;
  --sand: #F2ECE2;
  --grey-btn: #F1EFEF;
  --blush: #FAD9D4;
  --brand: #C73712;
  --brand-hover: #B3300F;
  --brand-2: #ED6B3F;
  --teal: #103F4F;
  --tp: #00B67A;

  --serif: "Crimson Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --sh-btn: rgba(255,255,255,.2) 0 1px 1px 0 inset, rgba(255,255,255,.12) 0 6px 12px 0 inset, rgba(199,55,18,.12) 0 4px 12px 0;
  --sh-card: 0 1px 2px rgba(19,16,16,.03), 0 8px 24px rgba(19,16,16,.05);
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--blush); }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: .4em; width: 100%;
  font-family: var(--sans); font-weight: 600; font-size: 18px; line-height: 1.3;
  min-height: 56px; padding: 14px 24px; border-radius: 12px; border: 0; cursor: pointer;
  text-decoration: none; text-align: center; transition: background-color .2s, scale .2s var(--ease);
}
.btn:active { scale: .98; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-btn); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--grey-btn); }
.btn--grey { background: var(--grey-btn); color: var(--ink); }
.btn--sm { width: auto; min-height: 0; font-size: 15px; padding: 9px 16px; }

/* ---------- Inline city picker: [CITY] ---------- */
.city { position: relative; display: inline-flex; align-items: baseline; gap: .08em; cursor: pointer; white-space: nowrap; }
.city-name { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; }
.city svg { width: .55em; height: .55em; flex: none; align-self: center; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.city select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }

/* ---------- Trustpilot badge (TrustScore 4.7, 624 reviews) ---------- */
.tp { display: inline-grid; justify-items: start; gap: 4px; color: var(--ink); text-decoration: none; }
.tp__logo { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.tp__logo svg { width: 18px; height: 18px; fill: var(--tp); }
.tp__stars { --score: 4.7; display: flex; gap: 2px; }
.tp__stars i {
  --fill: clamp(0%, calc((var(--score) - var(--n)) * 100%), 100%);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.6 7.9H23l-6.8 4.9 2.6 7.9L12 17.3l-6.8 4.9 2.6-7.9L1 9.4h8.4z'/%3E%3C/svg%3E");
  position: relative; display: block; width: 22px; height: 22px;
  background: linear-gradient(90deg, var(--tp) var(--fill), #DCDCE6 var(--fill));
}
.tp__stars i::after { content: ""; position: absolute; inset: 17%; background: #fff; -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.tp__stars i:nth-child(1) { --n: 0; } .tp__stars i:nth-child(2) { --n: 1; } .tp__stars i:nth-child(3) { --n: 2; }
.tp__stars i:nth-child(4) { --n: 3; } .tp__stars i:nth-child(5) { --n: 4; }
.tp__text { font-size: 12.5px; color: var(--ink-2); }
.tp__text b { color: var(--ink); }
.tp__text u { text-underline-offset: 2px; }
.tp--light, .tp--light .tp__text, .tp--light .tp__text b { color: #fff; }

/* ---------- Legal line ---------- */
.legal { font-size: 12px; line-height: 1.55; color: var(--ink-3); }
.legal a {
  color: inherit; text-decoration: underline; text-decoration-thickness: .06em;
  text-underline-offset: .14em; transition: color .2s;
}
.legal a:hover { color: var(--brand); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
