/* kristyapproved.com: paper brand. Tokens mirror kristy-ios/Brand/tokens.json.
   One gold: eyebrows, hairlines and focus rings only. Never fills, buttons or body. */
@font-face {
  font-family: "Fraunces";
  src: url("/site/fonts/Fraunces-VF.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/site/fonts/Inter-VF.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --oat: #E9E2D0;
  --card: #FAF7EF;
  --ink: #17231C;
  --body: #38443C;
  --muted: #535A50;
  --forest: #14472F;
  --on-forest: #F8F2E5;
  --ochre: #5D450E;
  --orange: #7E2E0D;
  --rule: #D3C9B2;
  --tint: #EDE5D2;
  --gold: #A88A4A;
  --gold-text: #6E5520;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--oat);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 10; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 .9em;
}
.rule { border: 0; border-top: 1px solid var(--gold); margin: 0; }

/* Header and footer, shared by every page */
.site-head { border-bottom: 1px solid var(--rule); background: var(--oat); }
.site-head__inner, .site-foot__inner, .section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--forest);
  color: var(--on-forest);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  min-height: 48px;
}
.btn:hover { color: var(--on-forest); background: #0F3A26; }
.btn--small { font-size: .9rem; padding: 10px 16px; min-height: 40px; border-radius: 10px; }
.btn small { display: block; font-weight: 400; font-size: .72rem; opacity: .85; line-height: 1.1; }
.btn__text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }

.site-foot { border-top: 1px solid var(--rule); margin-top: 64px; }
.site-foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 28px; padding-bottom: 40px; font-size: .92rem; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-foot a { color: var(--forest); }
.site-foot .copy { margin-left: auto; }

/* Landing */
.section { padding: 72px 0; }
.section--card { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--tint { background: var(--tint); }

.hero { padding: 56px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__seal { width: 88px; height: 88px; margin-bottom: 20px; }
.lede { font-size: 1.2rem; color: var(--body); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.cta-note { font-size: .9rem; color: var(--muted); margin: 0; }

.shot {
  border-radius: 34px;
  border: 1px solid var(--rule);
  background: var(--card);
  box-shadow: 0 20px 48px rgba(23, 35, 28, .14);
  overflow: hidden;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}
.shot img { width: 100%; }

.halves { text-align: center; max-width: 760px; margin: 0 auto; }
.halves p { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--ink); line-height: 1.4; }
.halves .punch { color: var(--forest); font-weight: 600; margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature--flip .feature__copy { order: 2; }
.feature__copy p { max-width: 32em; }
.feature__copy .quote { font-family: var(--serif); font-style: italic; color: var(--ink); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.tile { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 24px; }
.tile p { margin: 0; }

.nots { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.nots li { padding: 16px 0; border-top: 1px solid var(--gold); }
.nots li:last-child { border-bottom: 1px solid var(--gold); }
.nots strong { color: var(--ink); }

.band { text-align: center; }
.band .cta-row { justify-content: center; }
.band img { width: 72px; height: 72px; margin: 0 auto 16px; }

/* Legal and support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 0; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--gold); }
.doc h3 { margin-top: 1.5em; }
.doc ul { padding-left: 1.25em; }
.doc li { margin-bottom: .4em; }
.doc strong { color: var(--ink); }
.doc .updated { color: var(--muted); font-size: .92rem; }
.doc .draft, .doc .callout {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 20px;
}
.doc .callout { margin: 1.5em 0; }
.tablewrap { overflow-x: auto; margin: 1em 0 1.5em; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
.tablewrap table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.tablewrap th, .tablewrap td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
.tablewrap th { color: var(--ink); font-weight: 600; background: var(--tint); }
.tablewrap tr:last-child td { border-bottom: 0; }

/* Landing on forest (ruled 2026-10-23). Scoped to body.forest so the legal pages stay paper.
   Light copy on forest; light cards and sections keep dark ink. The seal never sits on forest:
   it rides a Toasted roundel. Buttons on forest invert. */
.forest { --on-forest-soft: #E9E2D0; --gold-on-forest: #D2B26A; --forest-rule: rgba(248, 242, 229, .22); --toasted: #E6D2AE; }
body.forest { background: var(--forest); color: var(--on-forest-soft); }
.forest a { color: var(--on-forest); }
.forest a:hover { color: #FFFFFF; }
.forest :focus-visible { outline-color: var(--gold-on-forest); }
.forest h1, .forest h2, .forest h3 { color: #FFFFFF; }
.forest .eyebrow { color: var(--gold-on-forest); }
.forest .lede { color: var(--on-forest); }
.forest .cta-note, .forest .site-foot__inner { color: var(--rule); }
.forest .site-head { background: var(--forest); border-bottom-color: var(--forest-rule); }
.forest .site-foot { border-top-color: var(--forest-rule); }
.forest .brand { color: var(--on-forest); }
.forest .brand img, .forest .hero__seal { background: var(--toasted); border-radius: 50%; padding: 4px; }
.forest .hero__seal { padding: 8px; }
.forest .btn, .forest .btn:hover { background: var(--on-forest); color: var(--forest); }
.forest .btn:hover { background: #FFFFFF; }
.forest .shot { border: 6px solid var(--on-forest); box-shadow: 0 24px 56px rgba(0, 0, 0, .35); }
.forest .feature__copy .quote, .forest .nots strong { color: #FFFFFF; }
.forest .nots li { border-color: var(--gold-on-forest); }
.forest .section--tint { background: transparent; border-top: 1px solid var(--forest-rule); }
/* Light surfaces on forest: back to paper ink. */
.forest .section--card, .forest .tile { color: var(--body); }
.forest .section--card h2, .forest .section--card h3, .forest .tile h3 { color: var(--ink); }
.forest .section--card .eyebrow { color: var(--gold-text); }
.forest .section--card .lede { color: var(--body); }
.forest .section--card .btn { background: var(--forest); color: var(--on-forest); }
.forest .section--card .btn:hover { background: #0F3A26; }
.forest .section--card a:focus-visible { outline-color: var(--gold); }

@media (max-width: 860px) {
  .hero__grid, .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature--flip .feature__copy { order: 0; }
  .grid3 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 36px 0 56px; }
  .shot { max-width: 300px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .site-head__inner, .site-foot__inner, .section__inner { padding-left: 20px; padding-right: 20px; }
  .brand span { font-size: 1.2rem; }
  .site-foot .copy { margin-left: 0; width: 100%; }
}
