/* Tailkept waitlist: mobile-first, system fonts only (no external font CDN). */
:root {
  --paper: #fbf7f2;
  --paper-2: #f4ece3;
  --ink: #2e3a39;        /* body text: ~11:1 on paper */
  --ink-soft: #4d5a58;   /* secondary text: ~6.6:1 on paper */
  --sage: #9db5a6;
  --sage-wash: #e3ece5;
  --blush: #f1d9cf;
  --blue-wash: #dde7ef;
  --teal: #3d6863;       /* button bg: white text ~6:1 */
  --teal-dark: #2f524e;
  --accent: #9a5546;     /* terracotta headline accent: ~5.6:1 on paper */
  --radius: 18px;
  --shadow: 0 10px 30px rgba(46, 58, 57, 0.08);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 620px; }
.small { font-size: .925rem; }
.muted { color: var(--ink-soft); }
.accent { color: var(--accent); display: block; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 10;
  background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(251, 247, 242, 0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(46, 58, 57, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.header-cta { font-size: .95rem; font-weight: 600; text-decoration: none; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--teal); }
.header-cta:hover { background: var(--teal); color: #fff; }

/* Buttons */
.button {
  display: inline-block; font: inherit; font-weight: 600; font-size: 1.05rem;
  color: #fff; background: var(--teal); border: 0; border-radius: 999px;
  padding: .85rem 1.6rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px rgba(61, 104, 99, .25);
  transition: background-color .15s ease, transform .15s ease;
}
.button:hover { background: var(--teal-dark); color: #fff; }
.button:active { transform: translateY(1px); }
.button--full { width: 100%; }
.text-link { font-weight: 600; }

/* Hero with soft watercolor washes (pure CSS gradients, no images) */
.hero {
  position: relative; overflow: hidden;
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(40% 55% at 12% 20%, rgba(241, 217, 207, .85), transparent 70%),
    radial-gradient(45% 60% at 92% 12%, rgba(221, 231, 239, .95), transparent 70%),
    radial-gradient(50% 55% at 80% 95%, rgba(227, 236, 229, .95), transparent 70%),
    var(--paper);
}
.hero-inner > * { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); max-width: 40em; }
.gentle { font-style: italic; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.6rem 0 1.2rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-lead { color: var(--ink-soft); max-width: 36em; }

/* Example portrait slot */
.example { background: var(--paper-2); }
.example-figure { margin: 2rem auto 0; max-width: 420px; }
.frames { display: grid; gap: 1.25rem; }
.example-figure--pair { max-width: 860px; }
@media (min-width: 640px) { .example-figure--pair .frames { grid-template-columns: 1fr 1fr; } }

.frame {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 6px; overflow: hidden;
  background: #fff; padding: 14px;           /* canvas-style white border */
  box-shadow: var(--shadow), 0 0 0 1px rgba(46, 58, 57, .06);
}
.frame img, .frame-placeholder {
  position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px);
  border-radius: 3px;
}
.frame img { object-fit: cover; z-index: 1; }
.frame img[hidden] { display: none; }
.frame-placeholder {
  display: grid; place-items: center; text-align: center;
  color: var(--ink-soft); font-family: var(--font-display); font-size: 1.15rem; font-style: italic;
  background:
    radial-gradient(45% 40% at 30% 30%, rgba(241, 217, 207, .9), transparent 70%),
    radial-gradient(50% 45% at 70% 65%, rgba(157, 181, 166, .55), transparent 70%),
    radial-gradient(40% 35% at 65% 25%, rgba(221, 231, 239, .95), transparent 70%),
    var(--paper);
  border: 2px dashed rgba(77, 90, 88, .35);
}
.frame-label {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(255, 255, 255, .9); color: var(--ink); padding: .2rem .6rem; border-radius: 999px;
}
.example-figure:not(.example-figure--pair) .frame-label { display: none; }
figcaption { margin-top: 1rem; text-align: center; font-size: .95rem; color: var(--ink-soft); font-style: italic; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.5rem 1.3rem;
  box-shadow: var(--shadow);
}
.step p { margin: 0; color: var(--ink-soft); }
.step-num {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: .9rem;
  border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: var(--teal-dark); background: var(--sage-wash);
}
.step:nth-child(2) .step-num { background: var(--blue-wash); }
.step:nth-child(3) .step-num { background: var(--blush); }

/* Signup */
.signup {
  background:
    radial-gradient(40% 60% at 10% 80%, rgba(227, 236, 229, .9), transparent 70%),
    radial-gradient(40% 60% at 90% 20%, rgba(241, 217, 207, .7), transparent 70%),
    var(--paper);
}
.card { background: #fff; border-radius: var(--radius); padding: 2rem 1.4rem; box-shadow: var(--shadow); }
@media (min-width: 640px) { .card { padding: 2.5rem 2.4rem; } }
.kit-embed:empty { display: none; }
.kit-embed { margin: 1rem 0; }
.signup-form { margin-top: 1.4rem; }
.signup-form[hidden] { display: none; }
.field { margin-bottom: 1.1rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
.req, .opt { font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
input[type="email"], input[type="text"] {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem .95rem; border-radius: 12px;
  border: 1.5px solid #9aa7a4; background: #fff;
}
input:focus { border-color: var(--teal); outline: 3px solid rgba(61, 104, 99, .25); outline-offset: 0; }
input[aria-invalid="true"] { border-color: #a4402f; }
.form-status { margin: .9rem 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-note { background: var(--blue-wash); color: var(--ink); padding: .75rem .9rem; border-radius: 10px; }
.form-status.is-error { color: #8f3526; }
.consent { margin: 1.2rem 0 .4rem; font-size: .95rem; }

/* Privacy + AI */
.trust-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: 1.3fr 1fr; } }
.trust-item { background: var(--paper-2); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.trust-item p:last-child { margin-bottom: 0; }
mark.placeholder { background: #fff1b8; color: var(--ink); padding: 0 .25em; border-radius: 4px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(46, 58, 57, .08); padding: 2rem 0 2.5rem; font-size: .95rem; color: var(--ink-soft); }
.footer-inner { display: flex; flex-direction: column; gap: .8rem; }
.footer-inner p { margin: 0; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; } }

@media (min-width: 760px) {
  .hero { padding: 5.5rem 0 4.5rem; }
  .section { padding: 4.5rem 0; }
}

/* ---- tailkept.com blanket site additions (staging) ---- */
.staging-bar { background: #2e3a39; color: #fff; text-align: center; font-size: .85rem; padding: .3rem .5rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.1fr; } }
.hero-figure { margin: 0; }
.hero-figure img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; height: auto; aspect-ratio: 4 / 3; }
.hero-figure figcaption { font-size: .85rem; }
.price-line { margin-top: .6rem; }
.try { background: var(--paper-2); }
.widget { margin-top: 1.4rem; min-height: 180px; }
.noscript-note { color: var(--ink-soft); }
.tips { margin-top: 1rem; background: #fff; border-radius: 12px; padding: .8rem 1.1rem; }
.tips summary { cursor: pointer; font-weight: 600; }
.promise-list { list-style: none; padding: 0; display: grid; gap: .9rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .promise-list { grid-template-columns: 1fr 1fr; } }
.promise-list li { background: #fff; padding: 1.1rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
