/* The website's own pages (support, privacy): the app's night sky, set for reading. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/cormorant-garamond-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --night: #0a0720;
  --dusk: #22165a;
  --lilac: #c9b8ff;
  --ice: #9fe3ff;
  --ink: #f1edff;
  --mute: #a69cd0;
  --line: #c9b8ff26;
  --card: #ffffff08;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 400 17px / 1.6 "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, var(--dusk) 0%, #0000 70%),
    radial-gradient(ellipse 120% 40% at 50% 100%, #2a1a6e 0%, #0000 65%),
    var(--night);
  background-attachment: fixed;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: calc(48px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) calc(64px + env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
}

.masthead {
  text-align: center;
  margin-bottom: 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mute);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
h1 {
  margin: 18px 0 0;
  font: 300 clamp(40px, 10vw, 56px) / 1.05 "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.tagline {
  margin: 10px 0 0;
  color: var(--mute);
  font: italic 500 20px / 1.3 "Cormorant Garamond", Georgia, serif;
}

h2 {
  margin: 44px 0 12px;
  font: 300 30px / 1.15 "Cormorant Garamond", Georgia, serif;
  color: var(--lilac);
}
h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
p,
ul {
  margin: 0 0 14px;
}
ul {
  padding-left: 22px;
}
li {
  margin-bottom: 6px;
}
a {
  color: var(--ice);
  text-underline-offset: 3px;
}
strong {
  font-weight: 600;
}
.mute {
  color: var(--mute);
}

.contact {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  text-align: center;
}
.contact p {
  margin: 0 0 16px;
  color: var(--mute);
}
.button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4efff, var(--lilac));
  color: #1a1146;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact .address {
  margin: 14px 0 0;
  font-size: 15px;
}

details {
  border-bottom: 1px solid var(--line);
}
details:first-of-type {
  border-top: 1px solid var(--line);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  flex: none;
  color: var(--mute);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details > div {
  padding: 0 2px 10px;
  color: #ddd6f6;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 14px;
  text-align: center;
}
footer a {
  color: var(--mute);
}
footer nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}
