/* Contact Quick Share — GitHub Pages landing */

:root {
  --bg: #0c0f14;
  --bg-elevated: #141a22;
  --bg-card: #1a222d;
  --text: #e8eaed;
  --text-muted: #9aa4b2;
  --accent: #3d9cf0;
  --accent-soft: rgba(61, 156, 240, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 720px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fb;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --accent: #2563eb;
    --accent-soft: rgba(37, 99, 235, 0.1);
    --border: rgba(15, 23, 42, 0.1);
    --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(61, 156, 240, 0.18), transparent),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(99, 102, 241, 0.06), transparent);
  min-height: 100vh;
}

@media (prefers-color-scheme: light) {
  body {
    background-image:
      radial-gradient(ellipse 120% 80% at 50% -20%, rgba(37, 99, 235, 0.12), transparent),
      radial-gradient(ellipse 80% 50% at 100% 40%, rgba(99, 102, 241, 0.05), transparent);
  }
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding-bottom: 3rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 38ch;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(61, 156, 240, 0.35);
}

.hero-cta:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.hero-visual {
  margin-top: 2.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Sections */
section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
}

section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  scroll-margin-top: 5rem;
}

.section-title a {
  color: inherit;
  text-decoration: none;
}

.section-title a:hover {
  color: var(--accent);
}

.section-title .hash {
  opacity: 0.35;
  font-weight: 500;
  margin-right: 0.25rem;
}

.section-intro {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.feature-list span {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Download */
.download-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.store-row a img {
  height: 54px;
  width: auto;
  display: block;
}

.store-row .app-store-badge {
  height: 44px;
}

.download-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.15s;
}

.link-card:hover {
  border-color: var(--accent);
}

.link-card svg {
  flex-shrink: 0;
}

.link-card .label {
  font-weight: 600;
}

.link-card .sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Tips */
.tips-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.tips-box h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.tips-box ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.tips-box ul li + li {
  margin-top: 0.35rem;
}

/* Privacy */
.privacy-block {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.privacy-block h3 {
  font-size: 1rem;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.privacy-block h3:first-child {
  margin-top: 0;
}

.privacy-block p {
  margin: 0 0 0.75rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none !important;
  color: var(--text) !important;
  font-weight: 600;
  margin-bottom: 1rem;
}

.github-link:hover {
  border-color: var(--accent);
}

.footer-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-meta a {
  color: var(--text-muted);
}
