/* =====================================================================
   Email Inbox for Trello — landing page
   Palette matches the power-up: blue (#2563eb) + Gmail-red warm accent, on navy.
   Mobile-first; breakpoints at 768px and 1280px.
   ===================================================================== */

/* ===== Design Tokens ===== */
:root {
  /* Ink & text — Trello/Atlassian navy family */
  --ink: #16243F;          /* headings */
  --body: #4E5A70;         /* body copy */
  --muted: #8592A6;        /* secondary */

  /* Surfaces */
  --page: #F7FAFD;         /* the one solid canvas tone */
  --surface: #FFFFFF;
  --surface-2: #E8F0FD;    /* soft blue tint (from the power-up chips) */
  --border: #D8E4F2;
  --border-active: #BCD6F7;   /* active/hover card outline */

  /* Brand — deep Trello blue (premium): #1D4ED8 lead */
  --primary: #1D4ED8;
  --primary-2: #3B82F6;
  --primary-ink: #1E3A8A;

  /* Secondary */
  --accent: #0EA5E9;       /* sky, decorative */
  --mint: #16A34A;         /* checks / success (power-up green) */

  /* Gradient */
  --grad-brand: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #3B82F6 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 40, 90, 0.07);
  --shadow-md: 0 12px 30px -12px rgba(15, 45, 110, 0.24);
  --shadow-lg: 0 30px 60px -20px rgba(12, 40, 100, 0.34);
  --shadow-glow: 0 20px 50px -14px rgba(29, 78, 216, 0.42);

  /* Radii */
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 9999px;

  --maxw: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  /* One solid, calm canvas — the single constant tone every section (incl. the
     dark band's fade edges) resolves to, so nothing ever seams. */
  background: var(--page);
  position: relative;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background: one smooth light-blue wash flowing down from the top behind the
   hero, fading seamlessly into the solid page. No blobs, no pattern. */
body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 720px;
  z-index: -10;
  pointer-events: none;
  background: linear-gradient(180deg, #E1EBFA 0%, #ECF2FB 42%, var(--page) 100%);
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

code {
  font-family: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--primary-ink);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
}

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

/* Gradient text helper */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 55px -14px rgba(29, 78, 216, 0.5); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--primary-2); color: var(--primary-ink); }

.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }

/* ===== Header ===== */
.header-initial {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: transparent;
}

.header-sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(243, 247, 252, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  will-change: transform;
}
.header-sticky.visible { transform: translateY(0); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
/* Full logo mark (self-contained SVG with its own gradient badge) */
.header-logo .logo-img { height: 34px; width: auto; border-radius: 8px; box-shadow: var(--shadow-glow); flex-shrink: 0; display: block; }
.header-logo strong { color: var(--primary-ink); font-weight: 700; }

.header-nav { display: none; align-items: center; gap: 28px; }
.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.18s;
}
.header-nav a:hover { color: var(--primary-ink); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { display: none; }

.hamburger {
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--page);
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
}
.mobile-menu-close {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; width: 44px; height: 44px;
  cursor: pointer; display: grid; place-items: center;
}
.mobile-menu-body {
  display: flex; flex-direction: column; justify-content: space-between;
  flex: 1; padding: 40px 24px 64px;
}
.mobile-menu-nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 600;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.18s, padding-left 0.18s;
}
.mobile-menu-nav a:hover { color: var(--primary-ink); padding-left: 6px; }
.mobile-menu-cta { margin-top: 32px; }
.mobile-menu-cta .btn { width: 100%; height: 58px; font-size: 18px; }

/* ===== Hero ===== */
/* No local glows — the single page-wide body glow provides hero depth. */
.hero {
  position: relative;
  padding: 130px 20px 48px;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.hero-copy h1,
.hero-copy .hero-sub { max-width: 100%; overflow-wrap: break-word; }

.hero h1 {
  font-size: 40px;
  max-width: 820px;
}
.hero h1 em { font-style: normal; }

.hero-sub {
  font-size: 18px;
  color: var(--body);
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }

/* Hero product mock */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  min-width: 0;
}
/* ===== Framed screenshot / gif placeholder ("mock window") ===== */
.mock {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mock-bar .dots i:nth-child(1) { background: #FF6058; }
.mock-bar .dots i:nth-child(2) { background: #FFBD2E; }
.mock-bar .dots i:nth-child(3) { background: #28C840; }
.mock-bar .addr {
  margin-left: 6px;
  flex: 1;
  height: 24px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  max-width: 260px;
}

/* Placeholder body: dashed drop-zone that clearly reads as "asset goes here" */
.mock-ph {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(29, 78, 216, 0.06), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.05), transparent 40%),
    var(--surface);
}
.mock-ph::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  pointer-events: none;
}
.ph-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-width: 320px;
}
.ph-badge {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.ph-badge svg { width: 28px; height: 28px; }
.ph-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.ph-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-ink);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-family: 'Space Grotesk', monospace;
}
.ph-tag.gif::before {
  content: '▶';
  margin-right: 6px;
  font-size: 9px;
  color: var(--accent);
}

/* ===== Section scaffolding ===== */
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-title {
  font-size: 32px;
}
.section-title em { font-style: italic; font-weight: 500; }
.section-sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--body);
}

/* ===== Feature showcase — tabbed selector (pick → watch) ===== */
.showcase { padding: 48px 20px; }
.showcase-tabs { display: flex; flex-direction: column; gap: 28px; max-width: var(--maxw); margin: 0 auto; }
.tabs-list { display: flex; flex-direction: column; gap: 10px; }
.tab {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.tab:not(.is-active):hover { border-color: var(--border-active); box-shadow: var(--shadow-md); }
.tab.is-active { border-color: var(--border-active); box-shadow: var(--shadow-md); }
.tab-head {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: none; border: none; cursor: pointer; text-align: left;
}
.tab-ic {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tab-ic svg { width: 20px; height: 20px; }
.tab.is-active .tab-ic { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: var(--shadow-glow); }
.tab-head:hover .tab-ic { border-color: var(--border-active); color: var(--primary); }
.tab.is-active .tab-head:hover .tab-ic { color: #fff; }
.tab-title {
  flex: 1; min-width: 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16.5px;
  color: var(--ink); transition: color 0.2s ease;
}
.tab.is-active .tab-title { color: var(--primary-ink); }
.tab-head:hover .tab-title { color: var(--primary-ink); }
.tab-num {
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px;
  color: var(--muted); font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}
.tab.is-active .tab-num { color: var(--primary); }

.tab-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.tab.is-active .tab-body { grid-template-rows: 1fr; }
.tab-body-inner { overflow: hidden; }
.tab-body p { padding: 0 20px 2px 74px; font-size: 15px; line-height: 1.6; color: var(--body); }
.tab-points { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 12px 20px 20px 74px; }
.tab-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
.tab-points li svg {
  flex-shrink: 0; width: 18px; height: 18px; padding: 4px; border-radius: 50%;
  background: rgba(37, 99, 235, 0.11); color: var(--primary);
}

/* On mobile the media panel is moved (by JS) inside the active tab card, so it
   appears right below the tab you opened — not after all of them. */
.tabs-media { min-width: 0; display: none; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: mediaIn 0.4s ease; }
.tab > .tab-panel { padding: 2px 16px 18px; }
@keyframes mediaIn { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }

@media (min-width: 768px) {
  .showcase { padding: 60px 40px; }
  .showcase-tabs { flex-direction: row; gap: 56px; align-items: flex-start; }
  .tabs-list { flex: 0 0 42%; }
  .tabs-media { flex: 1; position: sticky; top: 96px; display: block; }
}

/* ===== Secondary features — horizontal scroll strip of cards ===== */
/* "Everything else" as a quieter sub-part of the See-it-in-action section */
.showcase-more { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--border); }
.more-head { text-align: center; margin-bottom: 30px; }
.more-head h3 { font-size: 22px; }
.more-head h3 em { font-style: italic; font-weight: 500; }
.mini-carousel { display: flex; align-items: center; gap: 10px; }
.mini-arrow {
  flex: 0 0 auto;
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--primary-ink);
  cursor: pointer;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.mini-arrow svg { width: 19px; height: 19px; }
.mini-arrow:hover { transform: scale(1.07); box-shadow: var(--shadow-lg); }
.mini-arrow:disabled { opacity: 0.3; cursor: default; transform: none; box-shadow: var(--shadow-sm); }
.mini-track {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 2px 18px;
}
.mini-track::-webkit-scrollbar { display: none; }
.mini-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.mini-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-active); }
.mini-ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--primary);
}
.mini-ic svg { width: 20px; height: 20px; }
.mini-item h4 { font-size: 16px; }
.mini-item p { font-size: 14px; line-height: 1.55; color: var(--body); }

/* ===== Pricing — two-panel: everything included + trial CTA (no price yet) ===== */
.pricing { padding: 48px 20px; }
.price-panel {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.price-includes {
  list-style: none;
  display: grid;
  gap: 16px;
  padding: 32px 28px;
  flex: 1.35;
}
.price-includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.price-includes li svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.11);
  color: var(--primary);
  margin-top: 1px;
}
.price-cta {
  flex: 1;
  padding: 36px 28px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.price-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mint);
}
.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.price-amount span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.price-trial-sub {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.5;
  margin-top: 4px;
}
.price-cta .btn { width: 100%; margin-top: 14px; }
.price-note { margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (min-width: 768px) {
  .pricing { padding: 60px 40px; }
  .price-panel { flex-direction: row; }
  .price-includes { grid-template-columns: 1fr 1fr; column-gap: 32px; padding: 44px 40px; }
  .price-cta { border-left: 1px solid var(--border); padding: 44px 36px; }
}

/* ===== FAQ — asymmetric two-column (aside + accordion) ===== */
.faq { padding: 48px 20px; }
.faq-inner { display: flex; flex-direction: column; gap: 36px; max-width: var(--maxw); margin: 0 auto; }
.faq-aside { display: flex; flex-direction: column; align-items: flex-start; }
.faq-aside .section-title { font-size: 30px; }
.faq-aside-sub { margin-top: 14px; font-size: 16px; color: var(--body); max-width: 320px; }
.faq-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  transition: gap 0.18s ease, color 0.18s ease;
}
.faq-contact svg { width: 17px; height: 17px; }
.faq-contact:hover { gap: 12px; color: var(--primary-ink); }
.faq-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) {
  .faq { padding: 60px 40px; }
  .faq-inner { flex-direction: row; gap: 72px; align-items: flex-start; }
  .faq-aside { flex: 0 0 34%; position: sticky; top: 100px; }
  .faq-aside .section-title { font-size: 36px; }
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open { border-color: var(--border-active); box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.faq-toggle {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-toggle svg { width: 14px; height: 14px; }
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.faq-item.open .faq-answer-wrapper { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer { padding: 0 24px 24px; }
.faq-answer p { font-size: 15px; color: var(--body); }
.faq-answer p + p { margin-top: 12px; }

/* ===== Final CTA — full-width closing band ===== */
.final-cta {
  margin-top: 48px;
  padding: 72px 20px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: linear-gradient(135deg, #0C1E3C 0%, #0A1830 58%, #081428 100%);
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 110% at 50% -12%, rgba(59, 130, 246, 0.30), transparent 60%),
    radial-gradient(ellipse 45% 90% at 92% 105%, rgba(14, 165, 233, 0.16), transparent 55%);
  z-index: -1;
}
.final-cta-inner { max-width: 720px; margin: 0 auto; }
.final-cta h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.final-cta p { color: rgba(255, 255, 255, 0.9); font-size: 18px; margin-bottom: 28px; }
.final-cta .btn-primary {
  background: #fff;
  color: var(--primary-ink);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.35);
}
.final-cta .btn-primary:hover { transform: translateY(-2px); }
.final-cta .fine { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.78); }

/* ===== Footer ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 20px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.footer-copyright { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 14px; color: var(--body); transition: color 0.18s; }
.footer-links a:hover { color: var(--primary-ink); }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Tablet — 768px+
   ===================================================================== */
@media (min-width: 768px) {
  .hero h1 { font-size: 56px; }
  .hero-sub { font-size: 20px; }
  .section-title { font-size: 40px; }
  .hero { padding: 150px 40px 60px; }

  .mini-arrow { display: grid; }

  .final-cta { margin-top: 60px; padding: 96px 40px; }
  .final-cta h2 { font-size: 42px; }

  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* =====================================================================
   Two-column hero — 1000px+ (text left, product visual right)
   ===================================================================== */
@media (min-width: 1000px) {
  /* Stacked hero: centered text on top, big full-width product shot below */
  .hero { padding: 156px 40px 60px; }
  .hero h1 { font-size: 56px; }
  .hero-sub { font-size: 19px; max-width: 640px; }
  .hero-visual { max-width: none; width: 100%; margin-top: 8px; }
}

/* =====================================================================
   Desktop — 1280px+
   ===================================================================== */
@media (min-width: 1280px) {
  .header-nav { display: flex; }
  .header-actions .btn-primary { display: inline-flex; }
  .hamburger { display: none; }

  .hero { padding: 172px 40px 60px; }
  .hero h1 { font-size: 56px; }
  .hero-sub { font-size: 19px; }
  .section-title { font-size: 46px; }
}