/* AlmondConfluent: one centred column on warm paper; the almond's brown is the only accent. */
:root {
  --bg: #FAF5EE; --card: #FFFFFF; --fg: #2A2420; --muted: #6E655C; --accent: #7B4B2A; --accent-soft: #F1E6D8; --rule: #E8DFD2;
  --display: "Fraunces", Georgia, serif; --body: "Inter", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1C1815; --card: #26201C; --fg: #EFE7DD; --muted: #A99D90; --accent: #D9A779; --accent-soft: #3A2E24; --rule: #3A322B; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); }
main { max-width: 680px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px;
  padding: 56px max(20px, env(safe-area-inset-right)) 48px max(20px, env(safe-area-inset-left)); }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }

.brand { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font: 650 1.5rem/1.1 var(--display); letter-spacing: -0.01em; }
.brand span b { font-weight: 500; color: var(--accent); }
.brand.large img { width: 56px; height: 56px; }
.brand.large span { font-size: 2rem; }

.lead { margin: 0; font-size: 1.15rem; max-width: 36ch; }
.muted { color: var(--muted); }

.card { min-width: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.card header { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 48px; height: 48px; border-radius: 12px; }
.card h2 { margin: 0; font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); }

.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.links a { font-weight: 500; text-decoration: none; }
.links a:hover { text-decoration: underline; }
.button { display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--accent); color: var(--card); font-weight: 500; text-decoration: none; }
.links a.button:hover { text-decoration: none; filter: brightness(1.08); }
/* Not in the store yet: the same shape, but plainly not a link. */
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* The GoodMeasure page */
.hero { display: grid; gap: 18px; }
.hero .app-icon { width: 72px; height: 72px; border-radius: 18px; }
.hero h1 { margin: 0; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; font-weight: 650; letter-spacing: -0.01em; }
.hero p { margin: 0; font-size: 1.15rem; max-width: 40ch; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.shots img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--rule); scroll-snap-align: start; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.features .card { gap: 6px; padding: 20px; }
.features h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.section h2 { margin: 0 0 10px; font-size: 1.35rem; font-weight: 600; }
.section p { margin: 0 0 10px; max-width: 65ch; }

footer { color: var(--muted); font-size: 0.9rem; display: grid; gap: 4px; }
.mail { color: var(--fg); user-select: all; }
