/* Ministrative marketing site.
   Type: Lora + DM Sans, the app's own faces, self-hosted (OFL).
   Mark: the navy / teal church from the Windows app icon. */

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/lora-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/lora-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
}

:root {
  --paper: #f3eee4;
  --paper-deep: #e8e1d3;
  --card: #fbf8f2;
  --ink: #0a1e37;
  --soft: #2c4154;
  --muted: #4a5c6c;
  --line: #ddd4c4;
  --teal: #0b6e68;
  --teal-mark: #1bb3a9;
  --btn: #0a1e37;
  --btn-text: #f6f1e7;
  --link: #0b6e68;
  --header: rgba(243, 238, 228, 0.92);
  --shadow: 0 1px 1px rgba(10, 30, 55, 0.04), 0 22px 50px rgba(10, 30, 55, 0.13);
  --input-bg: #fffdf9;
  --input-text: #0a1e37;
  --input-border: #c9bba4;
  --glow: rgba(27, 179, 169, 0.1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1522;
    --paper-deep: #101c2c;
    --card: #142233;
    --ink: #f3eee4;
    --soft: #d5dde6;
    --muted: #b4c0cc;
    --line: #2c3e54;
    --teal: #7eded6;
    --teal-mark: #1bb3a9;
    --btn: #f3eee4;
    --btn-text: #0a1e37;
    --link: #8ee8e0;
    --header: rgba(11, 21, 34, 0.9);
    --shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 22px 50px rgba(0, 0, 0, 0.45);
    --input-bg: #0e1a28;
    --input-text: #f3eee4;
    --input-border: #3d5270;
    --glow: rgba(27, 179, 169, 0.14);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(1100px 520px at 100% -8%, var(--glow), transparent 55%);
  color: var(--ink);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: rgba(27, 179, 169, 0.28); }
.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 30;
  background: var(--btn);
  color: var(--btn-text);
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 8px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.wordmark {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.wordmark span { color: var(--teal); }

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 40px; height: 40px; display: block; }
.brand .wordmark { font-size: 1.15rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  color: var(--soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.nav a:hover { color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--btn);
  color: var(--btn-text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover { filter: brightness(1.08); }
.btn.small { min-height: 42px; padding: 8px 14px; font-size: 0.95rem; }

.hero { padding: clamp(40px, 7vw, 84px) 0 clamp(28px, 5vw, 48px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
}
.hero h1 { max-width: 16ch; }
.hero .lede { max-width: 44rem; }
.eyebrow, .kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.dash {
  width: 26px;
  height: 2px;
  background: var(--teal-mark);
  display: inline-block;
  flex: none;
}
h1, h2, h3 { font-family: "Lora", Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(2.35rem, 1.2rem + 3.4vw, 4.05rem);
  line-height: 1.08;
  margin: 0 0 16px;
}
h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.55rem);
  line-height: 1.15;
  margin: 0 0 14px;
}
h3 { font-size: 1.28rem; line-height: 1.25; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--soft);
  max-width: 38rem;
}

form.wait { margin: 26px 0 0; max-width: 36rem; }
form.wait label { display: block; font-weight: 600; margin-bottom: 8px; }
.wait-row { display: flex; flex-wrap: wrap; gap: 10px; }
form.wait input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  color: var(--input-text);
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
}
form.wait .btn { flex: 1 1 14rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: 10px 0 0; color: var(--muted); font-size: 0.92rem; }
.consent a { white-space: nowrap; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-mark);
  flex: none;
}

.stage { margin: 0; }
.stage picture { display: block; }
.stage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
figcaption {
  margin-top: 12px;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.98rem;
  color: var(--muted);
}

.scene { padding: clamp(56px, 9vw, 104px) 0 clamp(20px, 4vw, 36px); }
.scene-text {
  max-width: 44rem;
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2.05rem);
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.block { padding: clamp(56px, 8vw, 96px) 0; }
.band {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.feature.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr); }
.feature.reverse .copy { order: 2; }
.feature.reverse .stage { order: 1; }
.copy p:last-child { margin-bottom: 0; }
.points { list-style: none; padding: 0; margin: 18px 0 0; }
.points li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 10px;
  color: var(--soft);
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal-mark);
}

.shelf-head { max-width: 40rem; margin-bottom: 28px; }
.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.promise {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal-mark);
  border-radius: 16px;
  padding: 22px 20px 18px;
}
.promise p { margin: 0; color: var(--soft); }
.also {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
  margin: 36px 0 0;
}
.also div { margin: 0; }
.also dt {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.also dd { margin: 0; color: var(--soft); }

.maker-photo { max-width: 360px; }
.maker .copy .lede { margin-bottom: 14px; }
.maker .copy p:not(.lede):not(.kicker) { max-width: 38rem; }

.faq-list { max-width: 44rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 18px 40px 18px 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--teal);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--teal); }
.faq details p { margin: 0 0 18px; max-width: 40rem; color: var(--soft); }

.later-wrap { padding-bottom: clamp(28px, 5vw, 48px); }
.later {
  max-width: 42rem;
  margin: 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--line);
}
.later h2 { font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.7rem); }
.later p { margin: 0; color: var(--soft); }

.invite {
  background: #0a1e37;
  color: #f6f1e7;
  padding: clamp(64px, 10vw, 104px) 0;
}
.invite-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.invite img { width: 72px; height: 72px; margin-bottom: 18px; }
.invite h2 { color: #f6f1e7; }
.invite .lede { color: #d5dee8; margin-inline: auto; }
.invite form.wait { margin-inline: auto; text-align: left; }
.invite form.wait label { color: #f6f1e7; }
.invite input[type="email"] {
  background: #fff;
  color: #0a1e37;
  border-color: transparent;
}
.invite input::placeholder { color: #5c6d7c; }
.invite .btn { background: #f6f1e7; color: #0a1e37; }
.invite .btn:hover { background: #fff; filter: none; }
.invite .consent { color: #c9d4e0; }
.invite .consent a { color: #1bb3a9; }
.invite :focus-visible { outline-color: #f6f1e7; }
.invite .facts { justify-content: center; color: #c9d4e0; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.98rem;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px 40px;
  align-items: start;
}
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { width: 48px; height: 48px; }
.foot-brand p { margin: 4px 0 0; max-width: 28rem; }
.foot nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.colophon {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  color: var(--soft);
}
.copyright { grid-column: 1 / -1; margin: 0; }
address { font-style: normal; }

.legal { padding: 36px 0 72px; }
.legal .wrap { width: min(44rem, calc(100% - 40px)); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 1.5vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin: 32px 0 8px; }
.legal .meta { color: var(--muted); margin-bottom: 20px; }
.legal li { margin-bottom: 6px; }
code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.88em;
  background: var(--paper-deep);
  padding: 1px 6px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.band code { background: var(--card); }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid,
  .feature,
  .feature.reverse,
  .promises,
  .also,
  .foot { grid-template-columns: 1fr; }
  .feature.reverse .copy,
  .feature.reverse .stage { order: 0; }
  .foot nav { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .brand .wordmark { font-size: 1.02rem; }
  .btn.small { padding: 8px 12px; }
  .wait-row { flex-direction: column; }
  form.wait input[type="email"],
  form.wait .btn { flex: 0 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn { transition: filter 0.15s ease, background 0.15s ease; }
}
section[id], span[id] { scroll-margin-top: 88px; }

/* Compare page */
.note-line { max-width: 44rem; margin: 22px 0 0; color: var(--muted); font-size: 0.98rem; }
.compare-wrap, .table-scroll { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.97rem;
  line-height: 1.5;
}
table.compare caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 10px;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  color: var(--muted);
}
table.compare th, table.compare td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
}
table.compare thead th {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: 2px solid var(--teal-mark);
}
table.compare tbody th { font-family: "Lora", Georgia, serif; font-weight: 600; color: var(--ink); min-width: 9rem; }
table.compare tr.us th, table.compare tr.us td { background: var(--glow); color: var(--ink); }
.table-hint { display: none; color: var(--muted); font-size: 0.92rem; margin: 10px 0 0; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; max-width: 60rem; }
.fit-grid p { color: var(--soft); margin: 0; }
@media (max-width: 760px) {
  .table-hint { display: block; }
  .fit-grid { grid-template-columns: 1fr; }
  table.compare, table.compare tbody, table.compare tr, table.compare th, table.compare td { display: block; width: 100%; }
  table.compare { border: 0; background: transparent; }
  table.compare thead { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  table.compare tr { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--teal-mark); border-radius: 14px; margin: 0 0 14px; padding: 6px 0; }
  table.compare th, table.compare td { border: 0; padding: 6px 16px; }
  table.compare tbody th { font-size: 1.15rem; }
  table.compare td::before { content: attr(data-label); display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
  table.compare tr.us th, table.compare tr.us td { background: transparent; }
  table.compare tr.us { background: var(--glow); }
}
