:root {
  --bg: #F5F0EB;
  --text: #2D2D2D;
  --sage: #7D8E7F;
  --white: #FFFFFF;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* ── Dot animation canvas ─────────────────────────────────────────────────── */
#dots-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

main.site {
  position: relative;
  z-index: 1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Source Serif 4", serif;
  line-height: 1.6;
  padding: 0 40px;
}

a {
  color: inherit;
}

.container,
.site {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

:focus-visible {
  outline: 2px solid #7D8E7F;
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header {
  padding-top: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding-top: 28px;
}

.hero-logo {
  width: 110px;
  height: 110px;
  display: block;
  margin-bottom: 12px;
  object-fit: contain;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero p {
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 500;
}

section {
  margin-top: 100px;
}

.hero + section {
  margin-top: 64px;
}

.section-label {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  display: inline-block;
}

.section-label::before {
  content: "";
  display: block;
  width: 32px;
  border-bottom: 1px solid rgba(45, 45, 45, 0.12);
  margin-top: 8px;
}

.section-label::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--sage);
  margin-top: 8px;
}

.apps-grid {
  display: flex;
  gap: 48px;
}

.app-card {
  flex: 1;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 45, 45, 0.07);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.app-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.icon-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: block;
}

.app-card h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 8px 0 16px;
  font-style: italic;
  color: rgba(45, 45, 45, 0.75);
}

.app-card p {
  margin-top: 0;
}

.app-body {
  margin: 0;
}

.pull-quote {
  font-size: 19px;
  color: #2D2D2D;
  border-left: 3px solid rgba(125, 142, 127, 0.6);
  padding-left: 14px;
  margin: 20px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  padding: 11px 14px;
  font-weight: 600;
  transition: background-color 180ms ease, transform 120ms ease;
}

.button:hover,
.button:focus-visible {
  background: #444444;
}

.button:active {
  transform: translateY(1px);
}

.about h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about p {
  margin: 0 0 20px;
}

.about-aside {
  font-size: 14px;
  color: rgba(45, 45, 45, 0.65);
}

.site-footer {
  margin-top: 100px;
  padding: 32px 0 42px;
  border-top: 1px solid rgba(45, 45, 45, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer a {
  font-size: 14px;
  text-decoration: none;
  color: rgba(45, 45, 45, 0.75);
}

.site-footer a:hover {
  color: #2D2D2D;
  text-decoration: underline;
}

.site-footer a:focus-visible {
  color: #2D2D2D;
  text-decoration: underline;
  outline: 2px solid #7D8E7F;
  outline-offset: 2px;
}

.prose {
  max-width: 65ch;
  line-height: 1.7;
}

.page-title {
  margin: 18px 0 22px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prose h2 {
  margin: 38px 0 10px;
  font-size: 1.15rem;
}

.notice {
  border-left: 3px solid var(--sage);
  padding: 14px 0 14px 16px;
  margin: 0 0 20px;
  background: rgba(125, 142, 127, 0.08);
  border-radius: 4px;
}

.support-copy {
  white-space: pre-line;
  margin-bottom: 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  body {
    padding: 0 24px;
    line-height: 1.65;
  }

  .site-header {
    padding-top: 32px;
  }

  .hero {
    padding-top: 22px;
  }

  section {
    margin-top: 60px;
  }

  .apps-grid {
    flex-direction: column;
    gap: 24px;
  }

  .app-card {
    padding: 24px;
  }

  .app-card-content {
    min-height: auto;
  }

  .site-footer {
    margin-top: 60px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.grayne-icon {
  width: 64px;
  height: 64px;
}

.mynim-icon {
  width: 56px;
  height: auto;
  border-radius: 0;
}
