/* meetrosalie.com. One light look on purpose: the brand has no dark mode. */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Rosalie-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/DMSans_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/DMSans_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #FFFBF7;
  --petal: #FBE4E8;
  --rose: #B9305A;
  --rose-deep: #96244A;
  --leaf: #2F6247;
  --ink: #2B2023;
  --ink-soft: #5E5156;
  --line: #EBDDDF;
  --card: #FFFFFF;
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--rose-deep); }
a:focus-visible, .skip:focus { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); padding: 8px 12px; }
.skip:focus { left: 12px; }

/* Header */
.top { padding-block: 18px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand span { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -0.025em; line-height: 1; padding-bottom: 4px; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--rose); }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 6.2vw, 62px); }
h2 { font-size: clamp(27px, 3.8vw, 38px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-soft); max-width: 34em; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--leaf); }

/* Hero */
.hero { padding-block: clamp(28px, 6vw, 72px) clamp(40px, 7vw, 84px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 15px; width: fit-content; }
.soon i { width: 8px; height: 8px; border-radius: 50%; background: #F3A9BD; }
.soon-note { font-size: 14px; color: var(--ink-soft); }

/* The household card: what Rosalie remembers */
.household { background: var(--petal); border-radius: 28px; padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 12px; min-width: 0; }
.person { background: var(--card); border-radius: 18px; padding: 16px 18px; display: grid; gap: 10px; box-shadow: 0 1px 0 rgba(43, 32, 35, 0.05); }
.person header { display: flex; align-items: center; gap: 12px; }
.initial { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--paper); background: var(--rose); flex: none; }
.initial.leaf { background: var(--leaf); }
.initial.ink { background: var(--ink); }
.person strong { font-weight: 600; display: block; line-height: 1.25; }
.person small { color: var(--ink-soft); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--ink); }
.says { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.3; padding: 6px 6px 2px; color: var(--ink); }

/* Sections */
section { padding-block: clamp(40px, 6.5vw, 76px); }
.band { background: var(--petal); }
.head { display: grid; gap: 12px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 40em; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.three > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.three p { color: var(--ink-soft); }
.num { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--rose); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.6vw, 26px); display: grid; gap: 8px; align-content: start; min-width: 0; }
.note p { color: var(--ink-soft); }
.quote { font-family: var(--serif); font-weight: 500; font-size: clamp(25px, 3.6vw, 36px); line-height: 1.2; letter-spacing: -0.02em; max-width: 22em; text-wrap: balance; }

/* Documents: privacy, terms, support */
.doc { padding-block: clamp(24px, 5vw, 56px) clamp(48px, 7vw, 88px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5.4vw, 50px); margin-bottom: 10px; }
.doc .dated { color: var(--ink-soft); font-size: 15px; margin-bottom: 28px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc h3 { font-size: 19px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; margin: 24px 0 6px; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.short { background: var(--petal); border-radius: 20px; padding: 20px 22px; margin: 0 0 8px; }
.short h2 { margin: 0 0 10px; font-size: 22px; }
.short ul { margin: 0; }
.scroll { overflow-x: auto; margin: 0 0 14px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
.contact { font-weight: 600; user-select: all; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--ink-soft); font-size: 14.5px; }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); }

/* On a phone the table becomes one block per service, so nothing hides off the side. */
@media (max-width: 640px) {
  table { min-width: 0; }
  thead { position: absolute; left: -9999px; }
  table, tbody, tr, td { display: block; }
  tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  td { padding: 0 0 4px; border: 0; }
  td:first-child { font-weight: 600; }
  td:nth-child(3)::before { content: "Receives: "; font-weight: 600; }
}
@media (max-width: 820px) {
  .hero .wrap, .three, .two { grid-template-columns: minmax(0, 1fr); }
  .top nav { gap: 16px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
