:root {
  --nightsky: #0f0215;
  --sunrise: #fe6041;
  --polen: #ffc14d;
  --sand: #f9f1dd;
  --sand-dim: #cfc6ae;
  --radius: 14px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--nightsky);
  font-family: "Encode Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

h1, h2, h3, .headline {
  font-family: "Epilogue", sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: var(--nightsky); text-decoration: underline; text-decoration-color: var(--sunrise); text-underline-offset: 3px; }
a:hover { color: var(--sunrise); }

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

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
}

header.site {
  padding: 28px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--nightsky);
  text-decoration: none;
}

.brand .wordmark {
  width: 90px;
  height: 25px;
  background-color: currentColor;
  -webkit-mask-image: url("assets/wordmark.svg");
  mask-image: url("assets/wordmark.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

footer.site .brand { color: var(--sand); }

.brand .dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--nightsky);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand .dot::after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--sunrise);
}

footer.site .brand .dot { background: var(--sunrise); }
footer.site .brand .dot::after { background: #fff; }

nav.site a {
  color: var(--nightsky);
  margin-left: 26px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

nav.site a:hover { color: var(--sunrise); }

.hero {
  padding: 50px 0 70px;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.02;
}

.hero p.lead {
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.35;
  max-width: 640px;
  margin: 26px 0 36px;
}

.store-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--nightsky);
  color: var(--sand);
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.appstore-btn:hover { color: var(--polen); }

.appstore-btn svg { width: 20px; height: 20px; fill: var(--sand); }

section.panel {
  padding: 64px 0;
}

section.panel h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  max-width: 760px;
}

.surface-list {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

@media (max-width: 760px) {
  .surface-list { grid-template-columns: repeat(2, 1fr); }
}

.surface-list dt {
  font-family: "Epilogue", sans-serif;
  font-weight: 800;
  font-size: 22px;
  border-top: 2px solid var(--nightsky);
  padding-top: 10px;
}

.surface-list dd {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--nightsky);
  opacity: 0.75;
}

.band {
  background: var(--polen);
  padding: 56px 0;
}

.band .grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .band .grid3 { grid-template-columns: 1fr; }
}

.band h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.band p { font-size: 15px; margin: 0; opacity: 0.85; }

footer.site {
  background: var(--nightsky);
  color: var(--sand);
  padding: 28px 0;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

footer.site .brand { color: var(--sand); }

footer.site a { color: var(--sand-dim); text-decoration: none; }
footer.site a:hover { color: var(--sand); }

.legal main {
  padding: 56px 0 72px;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 6px;
}

.legal .updated {
  color: var(--nightsky);
  opacity: 0.6;
  font-size: 13px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  margin-top: 38px;
  color: var(--nightsky);
}

.legal p, .legal li { font-size: 15px; opacity: 0.85; }

.legal ul { padding-left: 20px; }
