/* Daycertain — one stylesheet, system fonts only, no external resources. */

:root {
  --paper: #F3ECDC;
  --paper-raised: #FAF6EC;
  --ink: #0E3B31;
  --text: #1E2B26;
  --muted: #4B5A53;
  --rule: #D9CFB8;
  --gold: #E7AE45;          /* decorative only: never text on paper */
  --focus: #0E3B31;
  --note-bg: #FBEFD2;
  --note-border: #B9851F;
  --note-text: #4A3608;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0D1613;
    --paper-raised: #14201C;
    --ink: #7FC4A8;
    --text: #E8E2D2;
    --muted: #AEB7AF;
    --rule: #2A3833;
    --focus: #7FC4A8;
    --note-bg: #2A220F;
    --note-border: #E7AE45;
    --note-text: #F3DFAE;
  }
}

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

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

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

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.1rem;
  text-decoration: none;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.975rem;
}
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* Typography */
h1, h2, h3 {
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 600;
}
h1 { font-size: 2.1rem; margin: 2.5rem 0 0.5rem; letter-spacing: -0.01em; }
h2 { font-size: 1.4rem; margin: 2.4rem 0 0.6rem; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 0.4rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }
a { color: var(--ink); text-underline-offset: 0.18em; }
strong { font-weight: 650; }

.meta { color: var(--muted); font-size: 0.95rem; }
.lead { font-size: 1.2rem; color: var(--text); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--paper-raised);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; }

main { padding-bottom: 3rem; }

/* Landing hero: the seal is the one signature element */
.hero {
  text-align: center;
  padding: 3rem 0 1.5rem;
}
.hero .seal {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 0 0 1px var(--rule), 0 10px 30px -12px rgba(14, 59, 49, 0.45);
}
.hero h1 { margin-top: 1.5rem; font-size: 2.6rem; }
.hero .lead { max-width: 32rem; margin: 0 auto 1.5rem; }
.badge-soon {
  display: inline-block;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.divider {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 2.5rem 0 0;
}

/* Feature list */
.features {
  list-style: none;
  padding: 0;
}
.features li {
  padding-left: 1.4rem;
  position: relative;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Free vs Pro table */
.table-scroll { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.98rem;
}
th, td {
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th { color: var(--ink); font-weight: 650; }
td.c, th.c { text-align: center; white-space: nowrap; }

/* Visible placeholder / draft notice */
.placeholder {
  background: var(--note-bg);
  border: 1px dashed var(--note-border);
  color: var(--note-text);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
}
.placeholder strong { color: var(--note-text); }

/* FAQ */
.faq h3 { margin-top: 1.8rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer .wrap { padding-top: 1.4rem; padding-bottom: 2rem; }
.site-footer p { margin: 0 0 0.6rem; }
.site-footer a { color: var(--muted); }
.site-footer .disclaimer { color: var(--text); }

@media (max-width: 480px) {
  body { font-size: 1rem; }
  h1 { font-size: 1.75rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero .seal { width: 108px; height: 108px; border-radius: 24px; }
}
caption { caption-side: bottom; text-align: left; padding-top: 0.5rem; }
