/* getdosewell.com: the app's Clean palette (Theme/Palettes.swift), system fonts, no external requests. */
:root {
  --bg: #F4F7F9; --surface: #FFFFFF; --sunk: #EAF0F3; --ink: #0F2A3A; --muted: #4F6573; --line: #DCE4EA;
  --accent: #0B7480; --accent-ink: #FFFFFF; --accent-soft: #E3F1F2;
  --radius: 20px; --wrap: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1418; --surface: #172026; --sunk: #1F2A31; --ink: #E8EEF2; --muted: #93A4AF; --line: #26323A;
    --accent: #2FA9B5; --accent-ink: #06181C; --accent-soft: #15333A;
  }
  .wordmark-light { display: none; }
  .wordmark-dark { display: inline-block !important; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* Header */
.site-head { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 38px; height: 30px; }
.brand .wordmark-light, .brand .wordmark-dark { height: 24px; width: auto; }
.wordmark-dark { display: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.button, .nav a.button:hover { color: var(--accent-ink); }
@media (max-width: 560px) { .nav .hide-sm { display: none; } }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border: 0; cursor: pointer; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 16px; font-family: inherit; }
.button:hover { text-decoration: none; filter: brightness(1.06); }
.button.small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.button.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }

/* Home */
.hero { padding-block: 72px 56px; text-align: center; }
.hero .icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 18px 40px rgba(15, 42, 58, .18); }
.eyebrow { margin: 26px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(36px, 6.4vw, 60px); font-weight: 700; max-width: 820px; margin: 0 auto; }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 18px auto 30px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

.section { padding-block: 56px; }
.section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 10px; }
.section .intro { color: var(--muted); max-width: 640px; margin-bottom: 30px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 19px; font-weight: 650; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card .note { margin-top: 10px; font-size: 14px; color: var(--accent); }
.dot { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid;
  place-items: center; margin-bottom: 14px; }
.dot svg { width: 22px; height: 22px; }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.privacy-list li { padding-left: 30px; position: relative; color: var(--muted); }
.privacy-list li strong { color: var(--ink); display: block; }
.privacy-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

.cta-band { text-align: center; padding-block: 64px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

/* Text pages (support, privacy) */
.page { max-width: 760px; padding-block: 48px 72px; }
.page h1 { font-size: clamp(34px, 5.4vw, 48px); font-weight: 700; margin-bottom: 8px; }
.page h2 { font-size: 24px; font-weight: 650; margin: 36px 0 10px; padding-top: 26px; border-top: 1px solid var(--line); }
.page h3 { font-size: 18px; font-weight: 650; margin: 22px 0 6px; }
.page ul { padding-left: 20px; }
.page li { margin: 6px 0; }
.page .short { background: var(--accent-soft); border-radius: 14px; padding: 16px 18px; }
.page .contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
details p { color: var(--muted); margin: 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 14px; color: var(--muted); }
.site-foot .links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.site-foot .links a { color: var(--muted); }

/* Beta sign-up */
.join-card { max-width: 460px; margin: 6px auto 18px; text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: 0 14px 34px rgba(15, 42, 58, .08); }
.join-card label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.join-card input:not([type=checkbox]) { display: block; width: 100%; margin-top: 6px; min-height: 46px; padding: 0 14px; font: inherit;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.join-card input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.join-card .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.join-card .check input { margin-top: 4px; accent-color: var(--accent); }
.join-card .button { width: 100%; margin-top: 4px; }
.join-card .msg { color: #B5452C; font-size: 14px; min-height: 1em; margin: 10px 0 0; }
.join-card .fine { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.join-card h3 { font-size: 22px; margin-bottom: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dot { font-weight: 700; }
