/* Lumina Grades — shared site styles. Minimal, no framework, no JS.
   Designed to load instantly on any connection. Dark/light auto-mode
   follows the user's OS preference (matches the app's behavior). */

:root {
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --hairline: rgba(8, 18, 32, 0.07);
  --text: #0B1220;
  --text2: #4F5C6E;
  --text3: #7A8696;
  --accent: #0F8C8A;
  --accent-soft: rgba(15, 140, 138, 0.10);
  --ink: #1F5BD6;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070C14;
    --surface: #0E1620;
    --hairline: rgba(255, 255, 255, 0.06);
    --text: #F2F5F9;
    --text2: #A6B2C2;
    --text3: #6F7E92;
    --accent: #5BC8C2;
    --accent-soft: rgba(91, 200, 194, 0.14);
    --ink: #3E7BFA;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Top nav — shared across all pages. */
nav.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 32px;
}
nav.topnav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--text);
}
nav.topnav .brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
/* Icon image replaces the previous decorative dot. The icon already includes
   its own rounded-square shape and dark backdrop, so we render it at small
   size without further chrome. */
nav.topnav .brand img.logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
}
nav.topnav .links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}
nav.topnav .links a { color: var(--text2); }
nav.topnav .links a:hover { color: var(--text); text-decoration: none; }

/* Page header */
h1 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 12px;
  font-weight: 700;
}
.lede {
  font-size: 17px;
  color: var(--text2);
  margin: 0 0 32px;
  max-width: 600px;
}

/* Section headings inside policy/terms pages */
h2 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin: 36px 0 10px;
  font-weight: 700;
}
h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text3);
  margin: 28px 0 8px;
  font-weight: 600;
}
p, ul, ol {
  margin: 0 0 14px;
  color: var(--text2);
}
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { color: var(--text); font-weight: 600; }

/* Hero card on landing page */
.hero {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 28px;
}
.hero .icon-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.hero .icon-row img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  display: block;
}
.hero .icon-row .badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 8px;
  border-radius: 6px;
}
.hero h1 { margin-bottom: 8px; }
.hero .accent { color: var(--accent); }

/* "See it in action" showcase. Two stacked mockup images, full-width inside
   the wrap container. The source PNGs already include phone mockups + their
   own typography blocks, so they read as standalone marketing visuals. */
.showcase {
  display: grid;
  gap: 18px;
  margin: 28px 0 8px;
}
.showcase figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
}
.showcase img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature list on landing page */
.features {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 18px;
}
.feature .label {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 4px;
}
.feature .desc {
  font-size: 13.5px;
  color: var(--text2);
  margin: 0;
}

/* Inline call-to-action */
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
}
@media (prefers-color-scheme: dark) {
  .cta { color: #04181B; }
}
.cta:hover { text-decoration: none; opacity: 0.9; }

/* Contact box on support page */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 18px;
  margin: 16px 0 28px;
}
.contact-card .email {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 14px;
  color: var(--text);
}

/* Footer */
footer.foot {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--text3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
footer.foot .links { display: flex; gap: 14px; }
footer.foot a { color: var(--text3); }
footer.foot a:hover { color: var(--text2); }

/* Small screens */
@media (max-width: 480px) {
  h1 { font-size: 30px; }
  .wrap { padding: 22px 16px 48px; }
  nav.topnav .links { gap: 12px; font-size: 13.5px; }
}
