/* ============================================================
   synthetick.css — self-contained design system
   Reproduces the aescripts look (dark navy + orange) so the
   site matches the product pages without depending on aescripts.
   No build step required.
   ============================================================ */

/* ---- Fonts ----
   Poppins (headings) and Inter (body) are fully self-hosted from
   /fonts as WOFF2. No external font requests. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Poppins-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Poppins-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Poppins-Bold.woff2') format('woff2');
}

/* ---- Design tokens ---- */
:root {
  --bg:            #111827;  /* page background (aescripts bg-gray-900) */
  --text:          #ebebeb;  /* primary text */
  --text-muted:    #c8c8c8;  /* secondary text */
  --orange:        #f66000;  /* accent */
  --orange-darker: #c75214;  /* accent, darker */
  --card:          #4d5562;  /* info-card panels */
  --tile:          #2a2a2a;  /* image tiles */
  --border-video:  #535353;  /* iframe borders */

  --font-heading: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:    'Inter',   system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1500px;
}

/* ---- Base ---- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.9rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1rem; }

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-darker); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.center      { text-align: center; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 6%; }

/* ---- Buttons (mirrors aescripts .btn / .btn-primary / .btn-secondary) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary        { background: var(--orange); border-color: var(--orange); }
.btn-primary:hover  { background: var(--orange-darker); border-color: var(--orange-darker); color: #fff; }
.btn-secondary      { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-secondary:hover{ background: var(--orange); color: #fff; }

.btn-inline { width: auto; }  /* for buttons that shouldn't stretch full width */

/* ---- Header ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 6%;
}
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 34px; width: auto; display: block; }
.site-nav { display: flex; gap: 1.75rem; align-items: center; flex-wrap: wrap; }
.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--orange); }

/* ---- Hero ---- */
.hero { text-align: center; padding: 72px 6% 44px}
.hero .hero-logo { width: min(420px, 78%); height: auto; margin: 0 auto 1.5rem; }
.hero .tagline { font-size: 1.35rem; color: var(--text-muted); font-style: italic; margin: 0; }

/* ---- Testimonials ---- */
.testimonials { text-align: center; padding: 64px 6% 48px; max-width: 1100px; margin: 0 auto; }
.testimonials h2 { margin-bottom: 0.5rem; }
.testimonials .source-note { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2.25rem; }
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; text-align: left; }
@media (min-width: 760px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
.quote-card {
  background: var(--tile);
  border: 1px solid #555c68;
  border-radius: 0.5rem;
  padding: 24px 26px;
  margin: 0;
}
.quote-card p { font-style: italic; color: var(--text); font-size: 1.05rem; line-height: 1.55; margin: 0; }

/* ---- Product grid ---- */
.section { padding: 40px 0 64px; }
.product-grid {
  display: grid;
  grid-template-columns: 1fr;      /* single column */
  gap: 1.75rem;
  max-width: 1100px;                /* keeps cards from getting too wide */
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;          /* stacked on mobile */
  align-items: stretch;
  background: var(--tile);
  border-radius: 0.5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .product-card { flex-direction: row; } }  /* image left, text right on wider screens; stacked (image on top) below this */

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;             /* always square → never cropped */
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
/* hairline border for cards whose thumbnail has a dark background, so the image
   doesn't blend into the page. Applied to the card (not the img) so it follows
   the rounded corners instead of being clipped by them. */
.product-card.bordered { border: 1px solid #555c68; }
@media (min-width: 768px) {
  .product-card img { width: 40%; align-self: center; }
}

.product-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: 0.35em; }
.product-card .platform { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.9rem; }
.product-card p { color: var(--text-muted); font-size: 0.95rem; }
.product-card ul { color: var(--text-muted); font-size: 0.95rem; margin:0; padding-left:1rem;}
.product-card .actions { margin-top: auto; padding-top: 1.25rem; display: flex; flex-direction: row; align-items: flex-start; gap: 1rem; }
.product-card .actions .btn { width: auto; }
.product-card .actions .secondary-link { font-size: 0.85rem; padding-top: 2.5rem;}

/* ---- Bundles ---- */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 840px) { .bundle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Made-by / contact strip ---- */
.strip { text-align: center; padding: 48px 6%; }
.strip p { color: var(--text-muted); max-width: 640px; margin: 0 auto 1.25rem; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid #2b3240;
  padding: 40px 6%;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.site-footer .cols {
  max-width: 1100px;   /* match the product grid width so the footer lines up with the content */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 0.75rem; }
.site-footer a { color: var(--text-muted); display: inline-block; margin-right: 0.75rem; }
.site-footer a:hover { color: var(--orange); }
.site-footer .foot-links a { display: block; margin: 0 0 0.4rem; }
.site-footer .copyright { max-width: 1100px; margin: 2rem auto 0; text-align: center; color: #7b8494; }