/* SinTax marketing site — shared styles */

:root {
  --bg: #111111;
  --bg-raised: #1a1a1a;
  --bg-raised-2: #1f1f1f;
  --border: #2c2c2c;
  --text: #ffffff;
  --text-muted: #999999;
  --text-dim: #666666;
  --red: #e63946;
  --red-dim: #a92834;
  --blue: #4da6ff;
  --amber: #ffa600;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Fira Mono', ui-monospace, Menlo, monospace;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

a {
  color: var(--red);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 30px;
  height: 30px;
}

.brand span {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--text);
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

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

/* Hero */
.hero {
  padding: 88px 24px 64px;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(230, 57, 70, 0.16) 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
}

.hero-mark {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  color: var(--text);
  margin-bottom: 0.25em;
}

.hero .tagline {
  color: var(--red);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 23px);
  margin-bottom: 1em;
}

.hero .lede {
  max-width: 480px;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 2em;
}

.hero-visual {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.35) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 260px;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.badge-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-raised);
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  cursor: default;
}

/* Section heading, shared */
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 0.4em;
}

.section-head p {
  font-size: 15px;
  margin: 0;
}

/* Feature rows — alternating text/screenshot */
.features {
  padding: 88px 24px 40px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.feature-row:first-of-type {
  border-top: none;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-row-copy {
  flex: 1 1 380px;
  min-width: 0;
}

.feature-row-visual {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.feature-row-visual img {
  width: 100%;
  max-width: 300px;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease;
}

.feature-row-visual img:hover {
  transform: translateY(-4px);
}

.feature-row-copy .emoji {
  font-size: 30px;
  display: block;
  margin-bottom: 14px;
}

.feature-row-copy h3 {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text);
  margin-bottom: 0.5em;
}

.feature-row-copy p {
  font-size: 15px;
  max-width: 420px;
}

/* Generic content page (support / privacy / terms) */
.page {
  padding: 64px 24px 96px;
}

.page .container {
  max-width: 720px;
}

.page h1 {
  font-size: clamp(32px, 5vw, 44px);
}

.page .updated {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 2.5em;
}

.page h2 {
  font-size: 22px;
  color: var(--text);
  margin-top: 2em;
}

.page ul {
  color: var(--text-muted);
  padding-left: 1.2em;
}

.page li {
  margin-bottom: 0.5em;
}

.contact-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin: 1.5em 0;
}

.contact-card a {
  font-size: 18px;
  text-decoration: none;
  font-weight: 500;
}

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

.faq-item h3 {
  font-family: 'Fira Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 0.5em;
}

.faq-item p {
  font-size: 14px;
  margin: 0;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  margin-top: 40px;
}

footer.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 13px;
}

@media (max-width: 800px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-copy {
    order: 2;
  }
  .hero-visual {
    order: 1;
    margin-bottom: 8px;
  }
  .hero-mark {
    margin-left: auto;
    margin-right: auto;
  }
  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .badge-row {
    justify-content: center;
  }
  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .feature-row-copy p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  nav.site-nav {
    gap: 16px;
  }
  nav.site-nav a {
    font-size: 13px;
  }
}
