/**
 * ThinkAorta App Store landing page
 * Themed to align with thinkaorta.net / family campaign pages
 */

:root {
  --think-aorta-red: #eb1e22;
  --think-aorta-yellow: #ffcc00;
  --header-black: #000000;
  --body-bg: #ffffff;
  --section-bg: #fafafa;
  --card-bg: #ffffff;
  --text-primary: #2b2b2b;
  --text-muted: #5a5a5a;
  --border-light: #e8e8e8;
  --max-width: 920px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--body-bg);
}

a {
  color: var(--think-aorta-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: none;
}

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

.reg {
  font-size: 0.65em;
  vertical-align: super;
  line-height: 0;
}

/* Header — matches campaign site tone */

.site-header {
  background: var(--header-black);
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--think-aorta-red);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header a.brand {
  display: block;
  color: var(--think-aorta-red);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.site-header a.brand:hover {
  opacity: 0.92;
}

.brand-tagline {
  margin: 0;
  color: #f0f0f0;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Layout */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

section {
  margin-bottom: 2.75rem;
}

.section-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--think-aorta-red);
  text-align: center;
  margin: 0 0 1.5rem;
  text-transform: none;
}

/* Hero — family page “How can we help you” rhythm */

.hero {
  text-align: center;
  padding: 0.5rem 0 1.5rem;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--think-aorta-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 38em;
  margin-left: auto;
  margin-right: auto;
}

/* Audience card — inspired by family page HCP tile */

.audience-card {
  background: var(--section-bg);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--think-aorta-red);
  padding: 2rem 1.75rem;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.audience-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.audience-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--think-aorta-red);
  margin: 0 0 0.75rem;
}

.audience-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* CTA */

.cta-block {
  text-align: center;
  margin: 2rem 0 2.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--think-aorta-yellow);
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--header-black);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* Features */

.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-align: center;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--think-aorta-red);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
}

.feature-card li {
  margin-bottom: 0.35rem;
}

/* Screenshots */

.screenshot-strip {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot {
  margin: 0;
  width: 160px;
}

.screenshot-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: #000;
}

.screenshot-image[hidden] {
  display: none;
}

.screenshot-placeholder {
  width: 160px;
  height: 320px;
  background: var(--section-bg);
  border: 2px dashed var(--border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.5rem;
  box-sizing: border-box;
}

.screenshot-placeholder[hidden] {
  display: none;
}

/* About — family page “About us” block */

.about {
  background: var(--section-bg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.about .section-heading {
  text-align: left;
  margin-bottom: 1rem;
}

.about p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

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

/* Campaign links */

.campaign-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.campaign-nav a {
  font-weight: 600;
  padding: 0.5rem 0;
}

/* Disclaimer */

.disclaimer {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--think-aorta-red);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
}

.disclaimer strong {
  color: var(--think-aorta-red);
}

/* Footer — family / main site footer pattern */

.site-footer {
  background: var(--header-black);
  color: #ccc;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--think-aorta-yellow);
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--think-aorta-red);
  margin: 0 0 0.15rem;
  text-transform: uppercase;
}

.footer-reg {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  color: #888;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-support,
.footer-copy {
  margin: 0.35rem 0;
  color: #999;
  font-size: 0.85rem;
}

/* Privacy page */

.privacy-content {
  background: var(--card-bg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.privacy-content h1 {
  color: var(--think-aorta-red);
  font-size: 1.75rem;
  margin-top: 0;
}

.privacy-effective {
  margin-top: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.privacy-content h2 {
  font-size: 1.15rem;
  color: var(--think-aorta-red);
  margin-top: 1.75rem;
}

.privacy-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
}

.privacy-content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.privacy-content li + li {
  margin-top: 0.35rem;
}

.privacy-contact {
  margin: 0.75rem 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--think-aorta-red);
  background: var(--section-bg);
  font-style: normal;
  line-height: 1.7;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.privacy-closing {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
