/* Hidden Word support/privacy — matches the iOS app parchment theme */
:root {
  --parchment: #f1ebd9;
  --parchment-deep: #e8dfd0;
  --ink: #2c2a26;
  --muted: #6b6560;
  --moss: #5d7344;
  --moss-deep: #4a5c36;
  --terracotta: #c4a08a;
  --peach: #e8d5c4;
  --ochre: #c9a84c;
  --cream: #f8f1e3;
  --card: #f6efe3;
  --rule: rgba(44, 42, 38, 0.12);
  --max: 36rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 70% at 8% -15%, #fff8e8 0%, transparent 55%),
    radial-gradient(ellipse 90% 55% at 100% 0%, rgba(93, 115, 68, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 70% 100%, rgba(196, 160, 138, 0.16) 0%, transparent 45%),
    var(--parchment);
  line-height: 1.55;
}

a {
  color: var(--moss-deep);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--moss);
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 3.5rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.topbar-brand {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
}

.topbar-brand:hover {
  color: var(--moss-deep);
}

.topnav {
  display: flex;
  gap: 1rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
}

.topnav a {
  text-decoration: none;
  color: var(--muted);
}

.topnav a:hover,
.topnav a[aria-current="page"] {
  color: var(--moss-deep);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.1rem;
  box-shadow: 0 8px 24px rgba(44, 42, 38, 0.12);
  background: var(--card);
}

.brand-name {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 3.1rem);
  font-weight: 700;
  color: var(--moss);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lede {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
}

.section-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--moss-deep);
  letter-spacing: -0.01em;
}

.meta {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
}

.card {
  background: color-mix(in srgb, var(--card) 92%, white);
  border: 1px solid var(--rule);
  border-radius: 1.1rem;
  padding: 1.25rem 1.3rem 1.35rem;
  margin: 0 0 1.1rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.card p:first-child {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.prose p,
.prose li {
  font-size: 1.02rem;
}

.prose h2 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--moss);
  letter-spacing: -0.015em;
}

.prose ul {
  padding-left: 1.15rem;
  margin: 0.4rem 0 0;
}

.prose li {
  margin: 0.55rem 0;
}

.prose li strong {
  color: var(--ink);
}

.email {
  display: inline-block;
  margin: 0.15rem 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--moss);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--moss) 45%, transparent);
}

.email:hover {
  border-bottom-color: var(--moss);
}

.hint {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer a {
  color: var(--moss-deep);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
}
