/* SmartWithIt D2C opt-in pages - shared styles.
   Vetting-grade static pages for A2P 10DLC (Phase 1A). Mobile-first, no framework.
   Palette and type from context/brand.md (navy + teal, Outfit). */

:root {
  --navy: #26344c;        /* primary text / ink, headings, header band */
  --teal: #12a5ac;        /* primary action: buttons, links, focus (brand deck) */
  --teal-hover: #0e8a8f;  /* hover / pressed */
  --orange: #ff945a;      /* one secondary accent, used sparingly */
  --muted: #4a5568;       /* soft navy: fine print, captions */
  --line: #d1d9e0;        /* cool gray: input + card borders */
  --bg: #f7f7f7;          /* page background */
  --white: #ffffff;
  --radius: 12px;
  --maxw: 640px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
  background: var(--bg);
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 20px 56px;
}

header.site {
  text-align: center;
}

.logo-band {
  background: var(--navy);
  padding: 22px 20px;
  text-align: center;
}

.logo {
  height: 36px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.tagline {
  margin: 0;
  padding: 16px 20px 0;
  color: var(--muted);
  font-size: 1rem;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.4px;
  font-weight: 700;
  margin: 8px 0 12px;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 28px 0 8px;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--teal-hover);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(38, 52, 76, 0.08), 0 6px 18px rgba(38, 52, 76, 0.06);
  padding: 22px 20px;
  margin-bottom: 18px;
}

/* What you get */
.bullets-tight {
  margin: 0;
}

/* Form */
form {
  margin: 0;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="tel"] {
  width: 100%;
  font-size: 17px;
  font-family: inherit;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
}

input[type="tel"]:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 18px;
}

.consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--teal);
}

.consent label {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

button[type="submit"] {
  width: 100%;
  font-size: 17px;
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
  border: 0;
  border-radius: 10px;
  padding: 15px 16px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--teal-hover);
}

.fineprint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
}

.formmsg {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #eaf7f7;
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--navy);
}

.legal-links {
  margin-top: 8px;
  font-size: 0.95rem;
}

/* Reusable SMS-copy callout */
.msg-sample {
  background: #eaf7f7;
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.meta {
  color: var(--muted);
  font-size: 0.85rem;
}

footer.site {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 8px 20px 40px;
}

footer.site a {
  color: var(--muted);
}

.backlink {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
