/* ===============================
   Base / Reset
   =============================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* ===============================
   Header
   =============================== */
header {
  background: #111;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;            /* graceful wrap if space is tight */
  row-gap: 10px;
}

.logo img { height: 100px; width: auto; }

nav ul { list-style: none; display: flex; gap: 1.5rem; justify-content: center; align-items: center; }
nav a  { color: #fff; text-decoration: none; font-weight: bold; }

/* ===============================
   Hero
   =============================== */
.hero {
  background: linear-gradient(to right, #ff6600, #ff9900);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero p  { font-size: 1.2rem; margin-bottom: 2rem; }

/* CTA buttons (if used) */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.btn.primary   { background: #ff6600; color: #fff; }
.btn.primary:hover { background: #ff8533; }
.btn.secondary { background: #eee; color: #333; }
.btn.secondary:hover { background: #ddd; }

/* ===============================
   Features / Toolkit
   =============================== */
.features {
  padding: 3rem 2rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

/* ===============================
   Why Section
   =============================== */
.why {
  background: #222;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center; /* keep inner content centered */
}

.why strong {
  display: block;
  margin-top: 1rem;
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff9900;
}

/* Comparison grid (if used on Why) */
.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  width: 100%;
  padding: 0 16px;
  margin: 2rem auto 0;
  text-align: left;
  justify-items: center;
}
.comparison > div { width: 100%; max-width: 380px; }
.comparison h3 { margin-bottom: 0.5rem; color: #ff9900; font-size: 1.2rem; }
.comparison ul { list-style: none; padding: 0; }
.comparison li { margin-bottom: 0.5rem; line-height: 1.4; }

/* ===============================
   Signup / Early Access
   =============================== */
.signup { padding: 3rem 2rem; text-align: center; }

/* Wrapper card & iframe frame */
.signup-embed { max-width: 700px; margin: 0 auto; }
.signup-card {
  background: #ff6a00;       /* orange background */
  padding: 10px;             /* << tightened (moderate) */
  border-radius: 8px;        /* slightly smaller corners */
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  margin: 0 auto;
}
.signup-title { margin: 4px 0 2px; color: #111; font-size: 1.6rem; }
.signup-sub   { margin: 0 0 8px; color: rgba(17,17,17,0.9); }

.iframe-wrap {
  background: #fff;
  border-radius: 10px;
  padding: 0;                /* no extra white padding around iframe */
  border: none;
  overflow: hidden;
}
.iframe-wrap iframe { width: 100%; height: 380px; border: 0; }

.signup-note { color: #111; opacity: 0.9; margin-top: 10px; font-size: 0.95rem; }

/* ===============================
   Footer
   =============================== */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* ===============================
   Toolkit page variants (if used)
   =============================== */
.hero.toolkit-hero { padding: 4rem 2rem; }
.hero.toolkit-hero h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.hero.toolkit-hero p  { font-size: 1.2rem; opacity: 0.95; }

.toolkit-pricing { padding: 3rem 2rem; text-align: center; }
.toolkit-pricing .feature-grid { gap: 2rem; }
.toolkit-pricing .feature {
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.toolkit-pricing .feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ===============================
   Accessibility helpers
   =============================== */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ===============================
   Responsive — Phones (<=560px)
   =============================== */
@media (max-width: 560px) {
  header { flex-direction: column; align-items: center; gap: 8px; padding: 0.75rem 1rem; }
  .logo img { height: 64px; }

  .hero { padding: 3rem 1.25rem; }
  .hero h1 { font-size: 1.9rem; line-height: 1.2; }
  .hero p  { font-size: 1rem; }

  .features { padding: 2rem 1rem; }
  .feature-grid { grid-template-columns: 1fr; }

  .signup { padding: 2rem 1rem; }
  .signup-embed { max-width: 560px; }
  .signup-title { font-size: 1.2rem; line-height: 1.2; margin-bottom: 6px; }
  .signup-sub   { font-size: 0.95rem; margin-bottom: 10px; }
  .iframe-wrap iframe { height: 500px; }

  .comparison { grid-template-columns: 1fr; max-width: 600px; padding: 0 12px; }
}

/* ===============================
   Responsive — Small/Medium stack for comparison
   =============================== */
@media (max-width: 700px) {
  .comparison { grid-template-columns: 1fr; max-width: 600px; justify-items: center; }
}

/* ===============================
   Responsive — Tablets / iPad (561–1200px)
   =============================== */
@media (min-width: 561px) and (max-width: 1200px) {
  .logo img { height: 90px; }

  .hero { padding: 4rem 1.5rem; }
  .hero h1 { font-size: 2.2rem; line-height: 1.25; }
  .hero p  { font-size: 1.05rem; }

  .signup-embed { max-width: 900px; }
  .signup-card  { padding: 8px; border-radius: 8px; }
  .signup-title { font-size: 1.5rem; margin-bottom: 8px; }
  .iframe-wrap iframe { height: 460px; }

  .comparison {
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin: 2rem auto 0;
    justify-items: center;
    padding: 0 16px;
  }
  .comparison > div { max-width: 380px; width: 100%; }
}
/* --- Make the orange frame wrap JUST the embedded form --- */
.signup-card {
  background: transparent !important;  /* remove orange from whole card */
  padding: 0 !important;
  border-radius: 0;
}

/* keep small, tidy spacing for the text above the form */
.signup-title { margin: 0 0 6px !important; }
.signup-sub   { margin: 0 0 10px !important; }

/* put the orange surround around the iframe only */
.iframe-wrap {
  background: #ff6a00 !important;   /* the orange */
  padding: 8px !important;          /* thickness of the orange frame */
  border-radius: 10px !important;
  border: none !important;
  overflow: hidden;
}

/* ensure the iframe itself has no extra border/margins */
.iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;      /* tweak as you like */
  border: 0 !important;
  margin: 0 !important;
}

/* tablet: give the iframe a touch more height */
@media (min-width: 561px) and (max-width: 1200px) {
  .iframe-wrap iframe { height: 460px; }
}
/* Subtle card around the embedded form (no heavy orange) */
.signup-card {
  background: #fff !important;
  padding: 16px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}

.iframe-wrap {
  background: transparent !important;  /* remove orange fill */
  padding: 0 !important;               /* no extra frame */
  border: none !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.iframe-wrap iframe {
  width: 100%;
  height: 380px;        /* tweak if needed */
  border: 0;
}
/* Center align FAQ and Preview sections */
.preview,
.faq,
.return-home {
  max-width: 800px;       /* keeps content a nice readable width */
  margin: 0 auto;         /* centers it horizontally */
  text-align: center;     /* centers text and inline elements */
  padding: 2rem 1rem;     /* adds breathing room */
}

/* Make the return button stand out in the center */
.return-home .btn {
  display: inline-block;
  margin-top: 1.5rem;
}
