/* Sidebar's own look (sidebar/lib/ui/theme.dart): DM Sans, teal and peach
   on a soft grey page. Self-hosted font (SIL OFL): no third-party requests. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(/fonts/dm-sans.woff2) format('woff2'); }

:root {
  --page: #F3F5F7; --surface: #FFFFFF; --line: #DFE3E8; --text: #1C2430; --soft: #4A5462; --muted: #6A7480;
  --teal: #4F7A8C; --teal-dark: #3F6576; --teal-card: #DDE8EE; --peach: #F0B48A; --peach-soft: #FCEBDD;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.top-cta { font-weight: 700; color: var(--teal-dark); text-decoration: none; }
.top-cta:hover { text-decoration: underline; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--teal); color: #FFFFFF; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--teal-dark); }
.button:disabled { opacity: 0.6; cursor: default; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(32px, 6vw, 80px); padding-block: clamp(40px, 7vw, 88px); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-dark); }
h1 { margin: 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.lede { margin: 20px 0 28px; font-size: clamp(17px, 1.6vw, 20px); color: var(--soft); max-width: 560px; }
.fine { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* Screenshots of the app itself, in a phone-like frame. */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 28px; background: var(--page);
  border: 6px solid #1C2430; box-shadow: 0 18px 40px rgba(28, 36, 48, 0.18); }
.tour { justify-self: center; width: min(100%, 340px); display: flex; flex-direction: column; gap: 16px; }
.tour-tabs { display: flex; gap: 6px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.tour-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; color: var(--soft); cursor: pointer; }
.tour-tabs button[aria-selected="true"] { background: var(--teal); color: #FFFFFF; }
.tour figcaption { margin-top: 12px; text-align: center; font-weight: 700; color: var(--soft); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-block: 8px clamp(48px, 7vw, 88px); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.feature p { margin: 0; color: var(--soft); }
.feature.soon { background: transparent; border-style: dashed; }

.join { background: var(--teal); color: #FFFFFF; }
.join-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(40px, 6vw, 72px); }
.join-copy h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.join-copy p { margin: 8px 0 0; font-size: 17px; color: #E3EDF1; }
.notify { display: flex; flex-direction: column; gap: 10px; width: min(100%, 480px); }
.notify-row { display: flex; flex-wrap: wrap; gap: 10px; }
.notify input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 10px 16px; border: 0; border-radius: 999px; font: inherit; font-size: 16px; color: var(--text); }
.join .button { background: var(--peach); color: var(--text); }
.join .button:hover { background: #ECA06C; }
.notify-msg { margin: 0; font-size: 14px; color: #E3EDF1; }
.notify-check:empty { display: none; }

.foot { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; min-height: 72px; padding-block: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
