/* Callie marketing site — hand-written CSS, no build step, no framework. */

:root {
  --bg: #f6f8f9;
  --bg-alt: #eef2f4;
  --surface: #ffffff;
  --text: #14213a;
  --text-2: #3d4f61;
  --line: #d7dee4;
  --accent: #0f6e63;
  --accent-ink: #ffffff;
  --focus: #0f6e63;
  --radius: 10px;
  --max-width: 44rem;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.55;
  font-size: 1.0625rem;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: underline;
}

.site-header__tag {
  color: var(--text-2);
  font-size: 0.9rem;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  padding: 1.5rem 0 2.5rem;
}

.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-2);
  margin: 0 0 1.25rem;
  overflow-wrap: anywhere;
}

.status-note {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0 0 1.75rem;
  color: var(--text);
}

.status-note p {
  margin: 0;
}

.status-note strong {
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  border-radius: var(--radius);
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  overflow-wrap: anywhere;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #0c584f;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

section:first-of-type {
  border-top: none;
}

h2 {
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.4rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.steps .step-num {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  margin-right: 0.4rem;
}

.sms-example {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  max-width: 20rem;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.sms-example .sms-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-2);
  margin-bottom: 0.35rem;
}

.worked-example {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.worked-example dl {
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
}

.worked-example dt {
  color: var(--text-2);
}

.worked-example dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow-wrap: anywhere;
}

.worked-example .result {
  font-weight: 700;
  color: var(--text);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 0;
}

caption {
  text-align: left;
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

th,
td {
  text-align: left;
  padding: 0.6rem 0.6rem;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

th {
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.9rem;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.15rem 1.15rem;
  margin-bottom: 0.6rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.75rem 0;
}

details p {
  margin: 0 0 0.9rem;
  color: var(--text-2);
}

.include-list {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.25rem;
}

.include-list li {
  margin-bottom: 0.3rem;
  overflow-wrap: anywhere;
}

.legal h1 {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  margin: 0 0 0.5rem;
}

.legal .updated {
  color: var(--text-2);
  font-size: 0.92rem;
  margin: 0 0 1.75rem;
}

.legal .intro {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  overflow-wrap: anywhere;
}

.legal-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin: 1rem 0;
}

.legal-block.emphasis {
  border-color: var(--accent);
  border-width: 2px;
}

.legal-block dt {
  font-weight: 600;
  margin-top: 0.9rem;
}

.legal-block dt:first-child {
  margin-top: 0;
}

.legal-block dd {
  margin: 0.2rem 0 0;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
  color: var(--text-2);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.not-found {
  padding: 3rem 0;
  text-align: left;
}

@media (max-width: 26em) {
  main {
    padding: 1.5rem 1rem 3rem;
  }

  .worked-example dl {
    grid-template-columns: 1fr;
  }

  .worked-example dd {
    text-align: left;
  }
}
