/* riseline.app: one stylesheet for the home, privacy and support pages. Fonts are served from this site, not Google. */
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --night: #12141c;
  --dusk: #1b1e2a;
  --raised: #242838;
  --line: #2f3446;
  --day: #eceae6;
  --muted: #a7a9b6;
  --faint: #7d8092;
  --accent: #ffb65c;
  --dawn: #ff8a5c;
  --rose: #f07bb0;
  --twilight: #8b7cff;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--day);
  font: 400 17px/1.6 'Figtree', ui-sans-serif, system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70rem 40rem at 50% -10%, rgba(139, 124, 255, 0.18), transparent 60%),
    radial-gradient(50rem 30rem at 80% 110%, rgba(255, 138, 92, 0.12), transparent 60%);
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  color: #ffd29a;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--day);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.top nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
}
.top nav a:hover,
.top nav a[aria-current='page'] {
  color: var(--day);
}

/* Type */
h1,
h2,
h3 {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 {
  font-size: clamp(40px, 9vw, 64px);
  margin: 0.4em 0 0.3em;
}
h2 {
  font-size: 28px;
  margin: 2em 0 0.5em;
}
h3 {
  font-size: 20px;
  margin: 1.6em 0 0.3em;
  font-family: 'Figtree', ui-sans-serif, system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -0.01em;
}
p,
li {
  color: #d6d5d2;
}
.lede {
  font-size: 20px;
  color: var(--muted);
  max-width: 34em;
}
.small {
  font-size: 14px;
  color: var(--faint);
}
strong {
  color: var(--day);
  font-weight: 650;
}

/* Home */
.hero {
  padding: 40px 0 10px;
}
.sun {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #ffe7b3 0%, var(--accent) 55%, #ff9a52 100%);
  box-shadow: 0 0 60px -6px var(--accent);
}
.pill {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 182, 92, 0.12);
  border: 1px solid rgba(255, 182, 92, 0.35);
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.features {
  display: grid;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}
.features li {
  background: var(--dusk);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
.features b {
  display: block;
  color: var(--day);
  font-weight: 650;
  margin-bottom: 4px;
}
.features span {
  color: var(--muted);
  font-size: 15.5px;
}
.quote {
  margin: 44px 0 0;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--accent);
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-size: 24px;
  line-height: 1.3;
  color: var(--day);
}

/* Policy pages */
.doc {
  padding-bottom: 20px;
}
.doc ul {
  padding-left: 1.2em;
}
.doc li {
  margin: 0.35em 0;
}
.card {
  background: var(--dusk);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 4px 22px;
  margin: 18px 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq details:last-child {
  border-bottom: 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--day);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--accent);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  margin: 10px 0 2px;
}
.mail {
  display: inline-block;
  margin: 6px 0 4px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--accent);
  color: #1a1206;
  font-weight: 700;
  text-decoration: none;
}
.mail:hover {
  color: #1a1206;
  filter: brightness(1.08);
}

footer {
  margin-top: 56px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--faint);
}
footer nav {
  display: flex;
  gap: 18px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
