/* andadasi.com — shared stylesheet (generated into public/assets/site.css by site/build.js) */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --fg: #1c1c1e;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --link: #0a66c2;
  --accent: #0a66c2;
  --badge-bg: #000;
  --badge-fg: #fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #1c1c1e;
    --fg: #f2f2f7;
    --muted: #98989d;
    --line: #38383a;
    --link: #64a8ff;
    --badge-bg: #f2f2f7;
    --badge-fg: #000;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
}

a { color: var(--link); }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 8px; }
h1 { font-size: 40px; letter-spacing: -0.02em; }
h2 { font-size: 26px; margin-top: 8px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }

img { max-width: 100%; height: auto; }

/* ---- top bar / footer ---- */

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
}
.top .brand { font-weight: 700; font-size: 18px; color: var(--fg); text-decoration: none; }
.top nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--fg); }

footer {
  max-width: 960px;
  margin: 48px auto 0;
  padding: 24px 20px 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

main { max-width: 960px; margin: 0 auto; padding: 0 20px; }
main section { margin: 40px 0; }

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
}
.card h2 { font-size: 20px; margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card, .facts td, footer { overflow-wrap: anywhere; }

/* ---- app page: hero ---- */

.hero {
  text-align: center;
  padding: 24px 0 8px;
}
.hero .icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  margin-bottom: 20px;
}
.hero .tagline { font-size: 22px; color: var(--muted); margin-bottom: 16px; }
.hero .summary { max-width: 620px; margin: 0 auto 24px; font-size: 18px; }
.hero .notice {
  max-width: 620px;
  margin: 0 auto 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  text-align: left;
  font-size: 15px;
  color: var(--muted);
}
.hero .notice strong { color: var(--fg); margin-right: 4px; }
.hero .platforms { color: var(--muted); font-size: 14px; margin-top: 16px; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
  padding: 8px 18px 9px;
  border-radius: 10px;
  background: var(--badge-bg);
  color: var(--badge-fg);
  text-decoration: none;
  line-height: 1.15;
  text-align: left;
}
.badge:hover { text-decoration: none; opacity: 0.88; }
.badge-small { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; }
.badge-big { font-size: 20px; font-weight: 600; }
.badge.is-soon { opacity: 0.45; cursor: default; }

/* ---- screenshots ---- */

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
}
.shots:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.shots figure {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
}
.shots img {
  height: 520px;
  width: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

/* ---- description / features ---- */

#about { max-width: 720px; }
#about h2 { font-size: 22px; margin-top: 22px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.feature {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 18px 20px;
  border-top: 3px solid var(--accent);
}
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

#whats-new ul { padding-left: 22px; max-width: 720px; }
#whats-new li { margin-bottom: 4px; }

/* ---- details table ---- */

.facts { border-collapse: collapse; width: 100%; max-width: 560px; }
.facts th, .facts td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}
.facts th { color: var(--muted); font-weight: 600; width: 40%; }

/* ---- home ---- */

.intro { padding: 32px 0 0; max-width: 620px; }
.intro p { font-size: 20px; color: var(--muted); }

.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }

.app-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-card-main {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--fg);
  text-decoration: none;
}
.app-card-main:hover { text-decoration: none; }
.app-card-main:hover h2 { color: var(--link); }
.app-card img { width: 72px; height: 72px; border-radius: 16px; flex: 0 0 auto; }
.app-card h2 { font-size: 20px; margin: 4px 0 2px; }
.app-card .tagline { color: var(--muted); margin: 0 0 4px; }
.app-card .platforms { color: var(--muted); font-size: 13px; margin: 0; }
.app-card-links { margin: 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- small screens ---- */

@media (max-width: 600px) {
  h1 { font-size: 32px; }
  .hero .tagline { font-size: 19px; }
  .shots img { height: 420px; }
  .badge { min-width: 0; flex: 1 1 45%; }
}
