/* Artos — day-one site. Dark, quiet, HTML+CSS only. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #b8b5ae;
  background: #0e0e10;
  -webkit-font-smoothing: antialiased;
}

/* ----- Layout ----- */

.wrap {
  width: min(40rem, 100% - 2.5rem);
  margin-inline: auto;
}

/* ----- Header / nav ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 14, 16, 0.92);
  border-bottom: 1px solid rgba(138, 135, 128, 0.2);
  backdrop-filter: blur(10px);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(40rem, 100% - 2.5rem);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #e8e6e3;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand:hover {
  color: #e8e6e3;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Header wordmark trial — asset is 85×56 */
.brand-wordmark {
  display: block;
  width: 85px;
  height: 56px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
}

.nav a {
  color: #8a8780;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: #e07070;
  outline: none;
}

/* ----- Hero ----- */

.hero {
  padding: 2rem 0 2.5rem;
  text-align: center;
}

.hero-mark {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 18px;
}

/* Hero wordmark (decorative; title is text h1) — asset 162×88 */
.hero-wordmark {
  display: block;
  width: 162px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.75rem;
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #e8e6e3;
  line-height: 1.2;
}

.tagline {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  font-size: 1.15rem;
  font-style: italic;
  color: #e8e6e3;
  line-height: 1.45;
}

.hero-lead {
  margin: 0 auto;
  max-width: 36rem;
  text-align: left;
}

.hero-lead p {
  margin: 0 0 1rem;
}

.hero-lead p:last-child {
  margin-bottom: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  color: #b8b5ae;
  background: #161618;
  border: 1px solid rgba(138, 135, 128, 0.25);
  border-radius: 999px;
}

/* ----- Store download CTAs ----- */

.store-cta {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(138, 135, 128, 0.2);
  text-align: center;
}

.store-label {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8780;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.75rem 1.15rem;
  text-align: left;
  text-decoration: none;
  color: #e8e6e3;
  background: #161618;
  border: 1px solid rgba(138, 135, 128, 0.35);
  border-radius: 10px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.store-btn:hover,
.store-btn:focus-visible {
  border-color: #e07070;
  color: #e8e6e3;
  outline: none;
}

/* Pre-launch: no live URL yet */
.store-btn[aria-disabled="true"] {
  opacity: 0.72;
  cursor: default;
}

.store-btn[aria-disabled="true"]:hover {
  border-color: rgba(138, 135, 128, 0.35);
}

.store-btn-platform {
  font-size: 0.72rem;
  color: #8a8780;
  line-height: 1.2;
}

.store-btn-name {
  margin-top: 0.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.store-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: #8a8780;
  line-height: 1.45;
}

/* ----- Sections ----- */

main {
  padding-bottom: 3rem;
}

.section {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(138, 135, 128, 0.2);
  scroll-margin-top: 4.5rem;
}

/* Standalone content pages (About, Privacy, Terms, Support) */
.section-page {
  border-top: none;
  padding-top: 2rem;
}

.section h1 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #e8e6e3;
  letter-spacing: 0.01em;
}

.section h2 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e8e6e3;
}

.section h2:first-of-type {
  margin-top: 1.25rem;
}

.section h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e8e6e3;
}

.section p {
  margin: 0 0 0.85rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.section-intro {
  margin-bottom: 1.25rem;
  color: #8a8780;
  font-size: 0.95rem;
}

.card {
  padding: 1.25rem 1.35rem;
  background: #161618;
  border: 1px solid rgba(138, 135, 128, 0.2);
  border-radius: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* About blocks */

.about-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-item h3 {
  margin-top: 0;
}

/* Support */

.support-note {
  margin-top: 0.5rem;
}

.support-note a {
  color: #e8e6e3;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.support-note a:hover {
  color: #e07070;
}

/* ----- Footer ----- */

.site-footer {
  border-top: 1px solid rgba(138, 135, 128, 0.2);
  padding: 1.75rem 0 2.5rem;
  color: #8a8780;
  font-size: 0.88rem;
}

.site-footer .inner {
  width: min(40rem, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.footer-meta {
  margin: 0;
  text-align: left;
}

.footer-url {
  margin: 0;
  text-align: right;
}

.footer-url a {
  color: #8a8780;
  text-decoration: none;
}

.footer-url a:hover,
.footer-url a:focus-visible {
  color: #e07070;
  outline: none;
}

/* ----- Donate page ----- */

.hero-compact .hero-lead {
  margin-top: 0.5rem;
}

.donate-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(138, 135, 128, 0.2);
  border-radius: 12px;
  overflow: hidden;
  background: #161618;
}

.donate-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(138, 135, 128, 0.2);
}

.donate-list li:last-child {
  border-bottom: none;
}

.donate-name {
  color: #e8e6e3;
  font-weight: 500;
}

.donate-meta {
  color: #8a8780;
  font-size: 0.9rem;
}

/* When a real external URL is ready:
   <a class="donate-link" href="..." target="_blank" rel="noopener noreferrer">Open</a>
*/
.donate-list a.donate-link {
  color: #e8e6e3;
  font-size: 0.9rem;
  text-decoration: none;
}

.donate-list a.donate-link:hover,
.donate-list a.donate-link:focus-visible {
  color: #e07070;
  outline: none;
}

.donate-footnote {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #8a8780;
}

.nav a[aria-current="page"] {
  color: #e8e6e3;
}

/* ----- Links in body ----- */

.prose a {
  color: #e8e6e3;
  text-underline-offset: 0.15em;
}

.prose a:hover {
  color: #e07070;
}

/* Focus visibility for keyboard users */

:focus-visible {
  outline: 2px solid #e07070;
  outline-offset: 3px;
}
