/*
 * Aileron Marketing — Editorial Layout
 *
 * Typography: Instrument Serif (display) + Figtree (body)
 * Layout: Alternating showcase sections with phone mockups
 *
 * Brand deviations:
 *   - White/neutral backgrounds instead of --color-cream (#FFF9F2).
 *     Warm tan is the #1 marker of AI-generated pages.
 *   - 4px border-radius instead of brand's 16-24px.
 *     Large radii read as playful/consumer — editorial needs sharpness.
 *   - No .aileron-card hover-lift grids. Asymmetric alternating layouts instead.
 */

/* ========================
   BASE
   ======================== */
.marketing-page {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1C1917;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.marketing-page *, .marketing-page *::before, .marketing-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========================
   NAV
   ======================== */
.mkt-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s, box-shadow 0.35s;
}

.mkt-nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.mkt-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mkt-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.mkt-nav-logo img { height: 22px; }
.mkt-nav-logo .mark-light-bg { display: none; }
.mkt-nav.scrolled .mark-dark-bg { display: none; }
.mkt-nav.scrolled .mark-light-bg { display: block; }

.mkt-nav-wordmark {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 4px;
  text-transform: lowercase;
  color: rgba(255,255,255,0.95);
}
.mkt-nav.scrolled .mkt-nav-wordmark { color: #1C1917; }

.mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.mkt-nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.15s;
}

.mkt-nav.scrolled .mkt-nav-links a { color: #1C1917; opacity: 0.7; }
.mkt-nav-links a:hover { color: #D4603B; opacity: 1; }

.mkt-nav-cta {
  background: #D4603B !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 4px !important;
  opacity: 1 !important;
}
.mkt-nav-cta:hover { background: #C05535 !important; }

.mkt-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mkt-hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 1px; }
.mkt-nav.scrolled .mkt-hamburger span { background: #1C1917; }

.mkt-mobile-drawer {
  display: none;
  position: fixed; top: 0; right: -300px; width: 280px; height: 100vh;
  background: #fff; box-shadow: -4px 0 20px rgba(0,0,0,0.08); z-index: 1001;
  padding: 80px 32px 32px; transition: right 0.25s ease; flex-direction: column; gap: 20px;
}
.mkt-mobile-drawer.open { right: 0; }
.mkt-mobile-drawer a { font-size: 18px; font-weight: 600; color: #1C1917; text-decoration: none; display: block; padding: 6px 0; }
.mkt-mobile-drawer a:hover { color: #D4603B; }
.mkt-drawer-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 28px; color: #1C1917; cursor: pointer; }
.mkt-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.2); z-index: 1000; }
.mkt-drawer-overlay.open { display: block; }

/* ========================
   HERO
   ======================== */
.mkt-hero {
  background: linear-gradient(160deg, #0F1B30 0%, #1A2744 25%, #2C6CB0 65%, #C05535 100%);
  padding: 110px 0 70px;
}

.mkt-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.mkt-hero-text { color: #fff; }

.mkt-hero-text h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02;
  margin-bottom: 20px;
}

.mkt-hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 460px;
  margin-bottom: 28px;
}

.mkt-hero-cta {
  display: inline-block;
  background: #D4603B;
  color: #fff;
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.mkt-hero-cta:hover { background: #C05535; }

.mkt-hero-sub {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.38);
}

.mkt-hero-phone { display: flex; justify-content: center; }

/* ========================
   PHONE MOCKUPS
   ======================== */
.phone-frame {
  width: 310px;
  border-radius: 24px;
  background: #000;
  padding: 3px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.18);
  flex-shrink: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.phone-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 72px rgba(0,0,0,0.24);
}

.phone-frame-inner {
  border-radius: 21px;
  overflow: hidden;
  background: #fff;
}

.wa-header {
  background: #075E54;
  color: #fff;
  padding: 10px 14px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #D4603B, #F2A882);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}

.wa-header-name { font-size: 14px; font-weight: 500; }
.wa-header-status { font-size: 10px; opacity: 0.6; }

.wa-chat {
  background: #ECE5DD;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wa-bubble {
  max-width: 88%;
  padding: 6px 8px 2px;
  border-radius: 7px;
  font-size: 12.5px;
  line-height: 1.42;
  color: #111;
  word-wrap: break-word;
}

.wa-bubble.incoming {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.wa-bubble.outgoing {
  background: #DCF8C6;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.wa-bold { font-weight: 700; }
.wa-italic { font-style: italic; }

.wa-timestamp {
  font-size: 9px;
  color: rgba(0,0,0,0.3);
  text-align: right;
  margin-top: 1px;
  display: block;
}

.wa-photo-placeholder {
  background: #d4cbc2;
  border-radius: 5px;
  padding: 18px 14px;
  text-align: center;
  font-size: 10px;
  color: rgba(0,0,0,0.38);
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.wa-photo-placeholder .photo-icon { font-size: 20px; opacity: 0.4; }

/* ========================
   SHOWCASE SECTIONS
   Alternating phone+text layout
   ======================== */
.showcase {
  padding: 80px 0;
  border-top: 1px solid #eee;
}

.showcase-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.showcase-text h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 42px;
  line-height: 1.08;
  color: #1C1917;
  margin-bottom: 16px;
}

.showcase-text p {
  font-size: 17px;
  line-height: 1.65;
  color: #555;
  max-width: 420px;
}

.showcase-text .showcase-note {
  margin-top: 20px;
  font-size: 14px;
  font-style: italic;
  color: #8B5E3C;
}

.showcase--gray .showcase-note { color: #8B5E3C; }
.showcase--dark .showcase-note { color: #F2A882; }

.showcase-phone {
  display: flex;
  justify-content: center;
}

/* Reversed: phone left, text right */
.showcase--reversed .showcase-phone { order: -1; }

/* Dark variant (family feature) */
.showcase--dark {
  background: #1A2744;
  border-top: none;
}

.showcase--dark .showcase-text h2 { color: #fff; }
.showcase--dark .showcase-text p { color: rgba(255,255,255,0.65); }
.showcase--dark .phone-frame { box-shadow: 0 32px 64px rgba(0,0,0,0.35); }

/* Light gray variant for rhythm */
.showcase--gray {
  background: #f9f9f9;
}

/* ========================
   BOTTOM SECTIONS
   ======================== */
.mkt-bottom {
  padding: 80px 0;
  border-top: 1px solid #eee;
}

.mkt-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.mkt-bottom h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 32px;
  line-height: 1.1;
  color: #1C1917;
  margin-bottom: 14px;
}

.mkt-bottom p {
  font-size: 16px;
  line-height: 1.65;
  color: #555;
}

.mkt-privacy-list {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mkt-privacy-list li {
  font-size: 15px;
  color: #1C1917;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.mkt-privacy-list li::before {
  content: "\2713";
  color: #2C6CB0;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========================
   CTA
   ======================== */
.mkt-cta {
  background: #1A2744;
  padding: 90px 0;
  text-align: center;
}

.mkt-cta h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 4vw, 48px);
  color: #fff;
  margin-bottom: 32px;
}

.mkt-waitlist-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
}

.mkt-waitlist-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 4px 0 0 4px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  outline: none;
}

.mkt-waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.mkt-waitlist-form input[type="email"]:focus { background: rgba(255,255,255,0.15); }

.mkt-waitlist-form button {
  background: #D4603B;
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 0 4px 4px 0;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.mkt-waitlist-form button:hover { background: #C05535; }

.mkt-cta .fine-print {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-top: 14px;
}

.mkt-waitlist-success {
  display: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

/* ========================
   FOOTER
   ======================== */
.mkt-footer {
  background: #111D30;
  color: rgba(255,255,255,0.65);
  padding: 56px 0 32px;
}

.mkt-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mkt-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mkt-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mkt-footer-mark { height: 18px; }
.mkt-footer-wordmark {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.85);
  text-transform: lowercase;
}
.mkt-footer-brand p { font-size: 13px; max-width: 300px; line-height: 1.5; margin-top: 6px; }

.mkt-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkt-footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.mkt-footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.mkt-footer-col a:hover { color: #F2A882; }

.mkt-footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 16px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ========================
   FAQ ACCORDION
   ======================== */
.mkt-faq-list { max-width: 680px; margin: 40px auto 0; }
.mkt-faq-item { border-bottom: 1px solid #eee; }

.mkt-faq-question {
  width: 100%; background: none; border: none;
  padding: 20px 0; font-family: 'Figtree', sans-serif;
  font-size: 17px; font-weight: 600; color: #1C1917;
  text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.mkt-faq-question:hover { color: #D4603B; }

.mkt-faq-arrow { font-size: 18px; color: #aaa; transition: transform 0.2s; flex-shrink: 0; }
.mkt-faq-item.open .mkt-faq-arrow { transform: rotate(45deg); }

.mkt-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.mkt-faq-answer-inner { padding: 0 0 20px; font-size: 15px; color: #555; line-height: 1.7; }
.mkt-faq-item.open .mkt-faq-answer { max-height: 500px; }

/* ========================
   ABOUT PAGE
   ======================== */
.mkt-about-hero {
  background: linear-gradient(160deg, #0F1B30 0%, #1A2744 25%, #2C6CB0 65%, #C05535 100%);
  padding: 130px 0 80px;
}

.mkt-about-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400; font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  color: #fff; margin-bottom: 18px;
}

.mkt-about-hero p { font-size: 18px; color: rgba(255,255,255,0.65); max-width: 560px; line-height: 1.6; }

.mkt-values { padding: 80px 0; }
.mkt-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.mkt-value-card { border: 1px solid #eee; border-radius: 4px; padding: 36px; }
.mkt-value-card h3 { font-family: 'Figtree', sans-serif; font-weight: 700; font-size: 19px; color: #1C1917; margin-bottom: 10px; }
.mkt-value-card p { font-size: 15px; color: #555; line-height: 1.6; }

.mkt-dc-section { padding: 80px 0; border-top: 1px solid #eee; }

.mkt-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #D4603B; margin-bottom: 12px; display: block;
}

.mkt-h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400; font-style: italic;
  font-size: 42px; line-height: 1.1;
  color: #1C1917; margin-bottom: 16px;
}

.mkt-dc-section p { font-size: 17px; line-height: 1.65; color: #555; max-width: 600px; }

.mkt-faq-hero {
  background: linear-gradient(160deg, #0F1B30 0%, #1A2744 25%, #2C6CB0 65%, #C05535 100%);
  padding: 130px 0 60px;
}
.mkt-faq-hero h1 { font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic; font-size: clamp(36px, 5vw, 52px); color: #fff; margin-bottom: 6px; }
.mkt-faq-hero p { color: rgba(255,255,255,0.5); font-size: 17px; }
.mkt-faq-page-content { padding: 40px 0 80px; }

.mkt-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========================
   PHONE STATUS BAR (iPhone chrome)
   ======================== */
.phone-status-bar {
  background: #075E54;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 20px 0;
  font-size: 12px;
  font-weight: 600;
  font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif;
  position: relative;
  min-height: 28px;
}

.psb-dynamic-island {
  width: 72px;
  height: 18px;
  background: #000;
  border-radius: 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 4px;
}

.psb-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.psb-icons svg { display: block; }

/* ========================
   HOW IT WORKS STRIP
   ======================== */
.mkt-how-strip {
  background: #fff;
  padding: 48px 0;
  border-bottom: 1px solid #eee;
}

.mkt-how-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  gap: 64px;
}

.mkt-how-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mkt-how-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #D4603B;
  letter-spacing: 0.05em;
}

.mkt-how-label {
  font-size: 15px;
  font-weight: 600;
  color: #1C1917;
}

.mkt-how-arrow {
  color: #ccc;
  font-size: 16px;
  margin-left: 16px;
}

/* ========================
   SHOWCASE VARIATIONS
   ======================== */
.showcase-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.showcase-list li {
  font-size: 14px;
  color: #777;
  padding-left: 16px;
  position: relative;
}

.showcase-list li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: #bbb;
}

.showcase--dark .showcase-list li { color: rgba(255,255,255,0.5); }
.showcase--dark .showcase-list li::before { color: rgba(255,255,255,0.3); }

.showcase-callout {
  margin-top: 20px;
  padding: 14px 18px;
  background: #f4f4f4;
  border-left: 3px solid #D4603B;
  font-size: 14px;
  color: #555;
  border-radius: 0 4px 4px 0;
}

.showcase--dark .showcase-callout {
  background: rgba(255,255,255,0.06);
  border-left-color: #F2A882;
  color: rgba(255,255,255,0.6);
}

/* ========================
   SOCIAL PROOF
   ======================== */
.mkt-social-proof {
  padding: 80px 0;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}

.mkt-social-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.mkt-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.mkt-testimonial {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 32px;
}

.mkt-testimonial-quote {
  font-size: 16px;
  line-height: 1.65;
  color: #333;
  font-style: italic;
  margin-bottom: 24px;
}

.mkt-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mkt-testimonial-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
}

.mkt-testimonial-initial {
  background: linear-gradient(135deg, #D4603B, #F2A882);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.mkt-testimonial-info {}
.mkt-testimonial-name { font-size: 14px; font-weight: 600; color: #1C1917; }
.mkt-testimonial-role { font-size: 12px; color: #999; margin-top: 1px; }

/* ========================
   SCROLL REVEAL
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE — TABLET
   ======================== */
@media (max-width: 1023px) {
  .mkt-hero-inner,
  .showcase-inner,
  .mkt-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .mkt-hero-text p,
  .showcase-text p { margin-left: auto; margin-right: auto; }

  .showcase--reversed .showcase-phone { order: 0; }
  .showcase-phone { order: 1; }
  .showcase-text { order: 0; }

  .mkt-values-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .mkt-how-strip-inner { gap: 32px; flex-wrap: wrap; justify-content: center; }
  .mkt-how-arrow { display: none; }
  .mkt-testimonials { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .mkt-footer-inner { flex-direction: column; gap: 24px; }
}

/* ========================
   RESPONSIVE — MOBILE
   ======================== */
@media (max-width: 767px) {
  .mkt-nav-links { display: none; }
  .mkt-hamburger { display: block; }
  .mkt-mobile-drawer { display: flex; }

  .mkt-hero { padding: 90px 0 50px; }
  .showcase { padding: 64px 0; }

  .phone-frame { width: 270px; }

  .mkt-waitlist-form { flex-direction: column; gap: 8px; padding: 0 16px; }
  .mkt-waitlist-form input, .mkt-waitlist-form button { width: 100%; border-radius: 4px; }

  .showcase-text h2 { font-size: 32px; }
  .mkt-h2 { font-size: 32px; }
  .mkt-how-strip-inner { flex-direction: column; gap: 16px; align-items: center; }
  .mkt-testimonials { grid-template-columns: 1fr; }
}
