/* Brenna — shared site styles. Dark "starry night" look to match the app's backdrop. */

:root {
  --sky-top: #1b2347;
  --sky-mid: #0b1026;
  --sky-bottom: #020308;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.10);
  --text: #f2f2f7;
  --muted: #a1a6b8;
  --accent: #4c8df6;
  --accent-2: #5fbe9a;
  --radius: 22px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-bottom) 100%) fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Stars, drawn with layered radial gradients so there are no image files to host. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 22% 30%, rgba(255,255,255,.8) 60%, transparent 61%),
    radial-gradient(1.2px 1.2px at 35% 8%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 48% 22%, rgba(255,255,255,.7) 60%, transparent 61%),
    radial-gradient(1.6px 1.6px at 63% 14%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 72% 34%, rgba(255,255,255,.6) 60%, transparent 61%),
    radial-gradient(1.3px 1.3px at 86% 9%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 93% 26%, rgba(255,255,255,.7) 60%, transparent 61%),
    radial-gradient(1px 1px at 14% 48%, rgba(255,255,255,.5) 60%, transparent 61%),
    radial-gradient(1.2px 1.2px at 41% 52%, rgba(255,255,255,.5) 60%, transparent 61%),
    radial-gradient(1px 1px at 67% 58%, rgba(255,255,255,.4) 60%, transparent 61%),
    radial-gradient(1px 1px at 89% 46%, rgba(255,255,255,.45) 60%, transparent 61%),
    radial-gradient(1px 1px at 5% 72%, rgba(255,255,255,.3) 60%, transparent 61%),
    radial-gradient(1px 1px at 55% 80%, rgba(255,255,255,.25) 60%, transparent 61%),
    radial-gradient(1px 1px at 80% 76%, rgba(255,255,255,.3) 60%, transparent 61%);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 16, 38, 0.65);
  border-bottom: 1px solid var(--card-border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--text); text-decoration: none; }

/* Buttons */
.button {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
/* The black "Download on the App Store" badge. */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: 1px solid #a6a6a6;
  line-height: 1;
}
.appstore-badge:hover { text-decoration: none; background: #111; }
.appstore-badge svg { width: 28px; height: 28px; margin-top: -3px; }
.appstore-badge .badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.appstore-badge .badge-text small {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 3px;
}

.button.secondary { background: var(--card); border: 1px solid var(--card-border); color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 88px 0 56px; }
.hero .icon { width: 108px; height: 108px; border-radius: 24px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.08; margin: 26px 0 14px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.platforms { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 56px 0; }
section h2 { font-size: clamp(28px, 4vw, 38px); text-align: center; margin: 0 0 10px; letter-spacing: -0.01em; }
section p.section-lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; font-size: 17px; }

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  align-items: start;
}
.shot { text-align: center; }
.shot img {
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  background: var(--card);
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}
.shot.wide img { aspect-ratio: 16 / 10; border-radius: 14px; }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
.shots-mac { grid-template-columns: 1fr; max-width: 860px; margin: 34px auto 0; }

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}
.card .emoji { font-size: 28px; }
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Apple Reminders callout */
.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(76,141,246,.18), rgba(95,190,154,.14));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
}
.callout .big { font-size: 54px; }
.callout h2 { text-align: left; margin-bottom: 8px; }
.callout p { margin: 0 0 10px; color: var(--muted); }
.callout ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }
.callout li { margin: 4px 0; }

/* Forms */
.form-card { max-width: 620px; margin: 0 auto; }
.form-card label { display: block; font-weight: 600; margin: 18px 0 6px; font-size: 15px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.form-card textarea { min-height: 160px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form-card .hint { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.form-card .button { margin-top: 24px; width: 100%; }
/* Spam trap: hidden from people, filled in by bots. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Text pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); margin: 48px 0 8px; }
.prose h2 { text-align: left; font-size: 22px; margin: 32px 0 8px; }
.prose p, .prose li { color: #d6d8e3; }
.prose .updated { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--card-border); padding: 30px 0 40px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .callout { grid-template-columns: 1fr; text-align: center; }
  .callout h2 { text-align: center; }
  .callout ul { text-align: left; }
}
