/* Dinah — heydinah.com
 *
 * One stylesheet, four static pages, no build step. The site exists to (a) be a credible
 * consumer brand and (b) pass carrier review, and review checks that the page loads, states
 * who operates the service, and links working privacy and terms. Anything that could break
 * those is not worth the risk, which is why there is no JavaScript here at all.
 */

:root {
  /* Violet-biased neutrals rather than grey: a pure grey beside #6B4E9B reads as unrelated. */
  --ground: #f4f2f7;
  --surface: #ffffff;
  --ink: #1b1526;
  --ink-2: #3b3350;
  --muted: #6a6280;
  --accent: #6b4e9b;
  --accent-deep: #4e376f;
  --bubble: #efeaf6;
  --hairline: #ded8e8;
  --shadow: 0 1px 2px rgba(27, 21, 38, 0.05), 0 12px 32px rgba(27, 21, 38, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ground: #141020;
    --surface: #1d1830;
    --ink: #efebf6;
    --ink-2: #cfc8de;
    --muted: #9a93ad;
    --accent: #b49be0;
    --accent-deep: #cbb8ee;
    --bubble: #2a2340;
    --hairline: #2e2742;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme='dark'] {
  --ground: #141020;
  --surface: #1d1830;
  --ink: #efebf6;
  --ink-2: #cfc8de;
  --muted: #9a93ad;
  --accent: #b49be0;
  --accent-deep: #cbb8ee;
  --bubble: #2a2340;
  --hairline: #2e2742;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Karla, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5rem;
}
.prose {
  max-width: 40rem;
}

/* ------------------------------------------------------------------ chrome */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 2.5rem;
  flex-wrap: wrap;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-family: Newsreader, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.mark svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--accent);
  flex: none;
}
nav.site {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}
nav.site a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
nav.site a:hover,
nav.site a:focus-visible,
nav.site a[aria-current='page'] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  outline: none;
}

/* --------------------------------------------------------------- typography */

h1 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 1rem;
}
h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 2.75rem 0 0.75rem;
  text-wrap: balance;
}
h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.75rem 0 0.4rem;
}
p,
li {
  color: var(--ink-2);
}
p {
  margin: 0 0 1rem;
}
ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
li {
  margin-bottom: 0.4rem;
}
a {
  color: var(--accent);
}
strong {
  color: var(--ink);
}
.lede {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 34rem;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* -------------------------------------------------------------------- hero */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 1rem;
}
@media (min-width: 52rem) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

/* The product is a text message, so the hero is a text message. Every site in this category
 * opens with a starfield; none of them are showing you the thing you actually buy. */
.thread {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.thread .who {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.85rem;
  color: var(--muted);
}
.thread .who svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: var(--accent);
}
/* System stack on purpose: this is how the message actually looks on a handset, and setting
 * it in the brand face would misrepresent the product. */
.msg {
  background: var(--bubble);
  border-radius: 16px 16px 16px 5px;
  padding: 0.85rem 1rem;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--ink);
}
.msg .card {
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
}
.chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------------------------- facts */

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  margin: 3.5rem 0 0;
}
@media (min-width: 44rem) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fact {
  background: var(--surface);
  padding: 1.15rem 1.25rem;
}
.fact dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.fact dd {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.35rem;
  color: var(--ink);
}
.fact dd small {
  display: block;
  font-family: Karla, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 44rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Numbered because it genuinely is a sequence — you cannot get the read before you answer. */
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.1rem;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps b {
  display: block;
  color: var(--ink);
}

.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.35rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}
.callout p:last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  color: var(--ink-2);
}
th {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll {
  overflow-x: auto;
}

footer.site {
  margin-top: 4.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
footer.site nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}
footer.site a {
  color: var(--muted);
}
footer.site a:hover {
  color: var(--accent);
}

/* Anything a lawyer must replace before publication. Visible on purpose — a placeholder that
 * looks like body text is a placeholder that ships. */
.todo {
  background: #fff3cd;
  color: #6b4a00;
  border-radius: 3px;
  padding: 0 0.3em;
  font-weight: 700;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .todo {
    background: #4a3a12;
    color: #ffd97a;
  }
}
