/* ============================================================
   Athena — the app's own pages (help, terms, privacy, credits)
   The app's look: warm ivory, charcoal type, serif headings,
   burnt orange for links only. Everything is scoped under
   .ath-page so the shared header and footer keep the site's look.
   The pages under /athena/ are written by Athena's pipeline from
   the app's own text; change the wording there, the look here.
   ============================================================ */

.ath-page {
  --ath-ivory:    #FAF6EF;
  --ath-paper:    #FEFCF9;
  --ath-charcoal: #231F1C;
  --ath-ink2:     #666058;
  --ath-line:     #E3DDD2;
  --ath-accent:   #B65325;
  --ath-serif: 'Fraunces', 'New York', 'Iowan Old Style', Georgia, 'Songti SC', 'Noto Serif SC', serif;

  background: var(--ath-ivory);
  color: var(--ath-charcoal);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.ath-wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ---- top: the app, the languages, the four pages ---- */
.ath-top { background: var(--ath-paper); border-bottom: 1px solid var(--ath-line); }
.ath-top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 16px; }
.ath-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ath-charcoal); text-decoration: none; }
.ath-brand img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 1px 4px rgba(35,31,28,.18); }
.ath-brand span { font-family: var(--ath-serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; }

.ath-lang { display: inline-flex; border: 1px solid var(--ath-line); border-radius: 999px; padding: 3px; background: var(--ath-ivory); }
.ath-lang a { padding: 5px 14px; border-radius: 999px; font-size: .88rem; color: var(--ath-ink2); text-decoration: none; }
.ath-lang a[aria-current] { background: var(--ath-charcoal); color: #fff; }

.ath-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 16px; scrollbar-width: none; }
.ath-tabs::-webkit-scrollbar { display: none; }
.ath-tabs a {
  flex: none; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--ath-line);
  background: var(--ath-paper); color: var(--ath-charcoal); font-size: .92rem; text-decoration: none;
}
.ath-tabs a:hover { border-color: var(--ath-ink2); }
.ath-tabs a[aria-current] { background: var(--ath-charcoal); border-color: var(--ath-charcoal); color: #fff; }

/* ---- the text ---- */
.ath-text { padding-top: 44px; padding-bottom: 80px; }
.ath-text h1 { font-family: var(--ath-serif); font-weight: 600; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.15; letter-spacing: -.015em; }
.ath-updated { margin-top: 8px; color: var(--ath-ink2); font-size: .92rem; }
.ath-updated + * { margin-top: 28px; }
.ath-text h2 {
  font-family: var(--ath-serif); font-weight: 600; font-size: 1.35rem; line-height: 1.3;
  margin: 40px 0 10px; padding-top: 26px; border-top: 1px solid var(--ath-line);
}
.ath-text p { margin: 0 0 14px; }
.ath-text ul { margin: 0 0 14px; padding-left: 1.25em; }
.ath-text li { margin: 0 0 8px; }
.ath-text li::marker { color: var(--ath-ink2); }
.ath-text a { color: var(--ath-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ath-text strong { font-weight: 600; }

/* the release's own credits: a work, then who made its pictures */
.ath-text .ath-credits { list-style: none; padding: 0; border-top: 1px solid var(--ath-line); }
.ath-credits li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--ath-line); }
.ath-work { display: block; font-family: var(--ath-serif); font-size: 1rem; }
.ath-credit { display: block; color: var(--ath-ink2); font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }

/* the first page: the four pages as rows */
.ath-text .ath-index { list-style: none; padding: 0; margin-top: 28px; background: var(--ath-paper); border: 1px solid var(--ath-line); border-radius: 14px; overflow: hidden; }
.ath-index li { margin: 0; border-bottom: 1px solid var(--ath-line); }
.ath-index li:last-child { border-bottom: 0; }
.ath-index a { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; color: var(--ath-charcoal); text-decoration: none; }
.ath-index a::after { content: '›'; color: var(--ath-ink2); font-size: 1.3rem; line-height: 1; }
.ath-index a:hover { background: var(--ath-ivory); }

@media (max-width: 520px) {
  .ath-wrap { padding: 0 18px; }
  .ath-text { padding-top: 32px; padding-bottom: 56px; }
  .ath-brand span { font-size: 1.3rem; }
}

/* ---- the app's first page: what it is, the welcome film, screenshots ---- */
.ath-wrap:has(.ath-hero), .ath-top:has(+ .ath-home) .ath-wrap { max-width: 1040px; }
.ath-home.ath-wrap { max-width: 1040px; }
.ath-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; }
.ath-home h1 { font-size: clamp(2.6rem, 7vw, 4rem); }
.ath-tagline { font-family: var(--ath-serif); font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.25; margin: 14px 0 18px !important; color: var(--ath-accent); }
.ath-lede { font-size: 1.15rem; max-width: 34em; }
.ath-platform { color: var(--ath-ink2); font-size: .92rem; margin-top: 18px !important; }
.ath-get { margin-top: 22px !important; }
.ath-text a.ath-store { display: inline-block; background: var(--ath-accent); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 12px; }
.ath-text a.ath-store:hover { background: #9C451D; }
.ath-film video, .ath-shots img {
  display: block; width: 100%; height: auto; border-radius: 28px; background: #121110;
  border: 1px solid var(--ath-line); box-shadow: 0 24px 48px -20px rgba(35,31,28,.45), 0 6px 16px -8px rgba(35,31,28,.25);
}
.ath-film video { aspect-ratio: 9 / 16; }
.ath-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 64px 0 8px; }
.ath-home h2 { margin-top: 64px; }
.ath-home .ath-index { max-width: 720px; }

@media (max-width: 800px) {
  .ath-hero { grid-template-columns: 1fr; gap: 32px; }
  .ath-film { max-width: 300px; margin: 0 auto; }
  .ath-shots { grid-template-columns: repeat(3, 78%); overflow-x: auto; gap: 16px; padding-bottom: 12px; margin-top: 40px; scroll-snap-type: x mandatory; }
  .ath-shots img { scroll-snap-align: start; border-radius: 22px; }
}

/* ---- the highlight on the site's home and apps pages (outside .ath-page) ---- */
.ath-feature {
  --ath-serif: 'Fraunces', 'New York', Georgia, 'Songti SC', serif;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
  background: #121110; color: #FAF6EF; border-radius: 22px; padding: 40px 44px; margin-bottom: 28px; overflow: hidden;
}
.ath-feature .eyebrow { color: #D9A679; margin-bottom: 14px; }
.ath-feature-name { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ath-feature-name img { width: 56px; height: 56px; border-radius: 13px; }
.ath-feature h3 { font-family: var(--ath-serif); font-size: 2.2rem; font-weight: 600; color: #FAF6EF; margin: 0; }
.ath-feature-tag { font-family: var(--ath-serif); font-size: 1.45rem; color: #E9B48A; margin-bottom: 12px; }
.ath-feature p { color: #D8D1C6; max-width: 34em; }
.ath-feature .app-platform { font-size: .82rem; color: #A69E92; margin: 16px 0 18px; }
.ath-feature .btn { background: #B65325; color: #fff; }
.ath-feature .btn:hover { background: #9C451D; text-decoration: none; }
.ath-feature .btn-quiet { background: transparent; color: #FAF6EF; border: 1px solid #5A534C; }
.ath-feature .btn-quiet:hover { background: #2A2623; }
.ath-feature-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 !important; }
a.ath-feature-name, a.ath-feature-name:hover { color: inherit; text-decoration: none; }
a.ath-feature-media:hover { text-decoration: none; }
.ath-feature-media { display: flex; gap: 16px; align-items: flex-end; margin-bottom: -70px; }
.ath-feature-media video, .ath-feature-media img { width: 190px; height: auto; border-radius: 22px 22px 0 0; border: 1px solid #3A3531; border-bottom: 0; display: block; background: #000; }
.ath-feature-media video { aspect-ratio: 9 / 16; object-fit: cover; }
@media (max-width: 900px) {
  .ath-feature { grid-template-columns: 1fr; padding: 30px 24px 0; }
  .ath-feature-media { margin-bottom: 0; justify-content: center; max-height: 300px; }
  .ath-feature-media video, .ath-feature-media img { width: 46%; max-width: 190px; }
}
