:root {
  --background: #f4f2ed;
  --surface: rgba(255, 255, 255, 0.62);
  --text: #171715;
  --muted: #6a6862;
  --line: rgba(23, 23, 21, 0.13);
  --accent: #1f4f46;
  --max-width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 5%, rgba(31, 79, 70, 0.12), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: 0.92rem; text-decoration: none; }

.hero { padding: 132px 0 152px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 830px;
  margin-bottom: 30px;
  font-size: clamp(3.7rem, 10vw, 8.6rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.intro {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.apps-section {
  padding: 88px 0 130px;
  border-top: 1px solid var(--line);
}

.section-heading { margin-bottom: 38px; }
.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(31, 30, 27, 0.07);
  backdrop-filter: blur(18px);
}

.app-icon {
  display: grid;
  width: 108px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #315f56, #142f2a);
  color: white;
  font-family: Georgia, serif;
  font-size: 3.4rem;
  box-shadow: inset 0 1px rgba(255,255,255,.22), 0 16px 35px rgba(20,47,42,.18);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-copy h3 {
  margin-bottom: 4px;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}
.app-copy > p { margin-bottom: 5px; color: var(--muted); }
.status { color: var(--accent); font-size: 0.86rem; font-weight: 650; }
.app-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.app-links a { font-size: 0.9rem; font-weight: 600; }

.legal-page { max-width: 780px; padding: 100px 0 120px; }
.legal-page h1 {
  margin-bottom: 12px;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.95;
}
.updated { margin-bottom: 74px; color: var(--muted); }
.legal-page section { margin-bottom: 44px; }
.legal-page h2 {
  margin-bottom: 10px;
  font-size: 1.32rem;
  letter-spacing: -0.025em;
}
.legal-page section p { color: #45443f; }

.faq-list { border-top: 1px solid var(--line); }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.32rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { color: var(--accent); }

.faq-content { padding: 0 0 26px; }
.faq-content p { color: #45443f; }
.faq-content p:last-child { margin-bottom: 0; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}
footer p { margin-bottom: 0; }

@media (max-width: 640px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max-width)); }
  .site-header { padding: 16px 0; }
  nav { gap: 15px; }
  .hero { padding: 48px 0 56px; }
  h1 { letter-spacing: -0.065em; }
  .apps-section { padding: 40px 0 56px; }
  .section-heading { margin-bottom: 24px; }
  .app-card {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
  }
  .app-icon { width: 64px; border-radius: 16px; font-size: 2rem; }
  .app-copy h3 { font-size: 1.4rem; }
  .app-links { gap: 14px; margin-top: 14px; }
  .legal-page { padding: 48px 0 64px; }
  .updated { margin-bottom: 36px; }
  .faq-item summary { padding: 18px 0; font-size: 1.08rem; gap: 12px; }
  .faq-content { padding: 0 0 20px; }
  footer { flex-direction: column; gap: 5px; padding: 20px 0 28px; }
}
