/* ============================================================
   SaveIT landing — design tokens
   ============================================================ */
:root {
  --green: #2fc4b2;
  --green-light-1: #ebfffc;
  --green-light-2: #f6fffe;
  --green-border: #c7f3ee;
  --ink: #1a1c24;
  --ink-2: #1c1e21;
  --text: #595959;
  --text-strong: #45434a;
  --bg-1: #fafafb;
  --bg-2: #f5f5f5;
  --gray-1: #eeeeee;
  --lime: #c8ff5a;
  --grad-brand: linear-gradient(150deg, #1c1e21 35%, #2fc4b2 100%);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --maxw: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border-radius: 24px;
  padding: 10px 16px;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background-color .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: var(--gray-1); color: var(--ink); }
.btn-ghost:hover { background: #e4e4e4; }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { box-shadow: 0 8px 22px rgba(47,196,178,.4); }
.btn-gradient {
  background-image: var(--grad-brand);
  color: #fff;
  font-size: 16px;
  border-radius: 30px;
  padding: 12px 32px;
}
.btn-gradient:hover { box-shadow: 0 12px 30px rgba(47,196,178,.35); filter: brightness(1.05); }
.btn-lg { padding: 16px 40px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(250,250,251,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 42px; width: auto; }
.main-nav {
  display: flex;
  gap: 40px;
  font-size: 14px;
  font-weight: 600;
}
.main-nav a { position: relative; transition: color .2s ease; }
.main-nav a:hover { color: var(--green); }
.header-actions { display: flex; gap: 8px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  /* full-screen hero: fill the viewport below the sticky header */
  min-height: calc(100vh - 75px);
  display: flex;
  align-items: center;
  padding: 48px 0;
  /* no overflow clipping — let the decorative ring show in full */
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-copy { max-width: 653px; flex: 1 1 auto; }
.hero-headings { display: flex; flex-direction: column; gap: 12px; }
.hero-title {
  font-size: 72px;
  line-height: 1.12;
  font-weight: 700;
  background-image: linear-gradient(141deg, #1c1e21 4%, #2fc4b2 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Extra room below the baseline so the text-gradient paint area covers
     descenders (e.g. the "g" in "Management") instead of clipping them. */
  padding-bottom: 0.08em;
}
.hero-subtitle {
  font-size: 48px;
  line-height: 1.05;
  font-weight: 600;
  color: var(--ink);
}
.hero-lead {
  margin-top: 40px;
  max-width: 593px;
  font-size: 18px;
  line-height: 30.6px;
  font-weight: 400;
  color: var(--text-strong);
}
.hero .btn-gradient { margin-top: 40px; }
.trust-bar {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,.05);
}
.trust-icons { display: flex; align-items: center; gap: 16px; }
.trust-icons img { width: 40px; height: 40px; }
.trust-bar p { font-size: 14px; line-height: 25.6px; color: var(--text); }

.hero-visual {
  position: relative;
  width: 520px;
  min-width: 520px;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ring {
  position: absolute;
  width: 600px;
  max-width: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float-slow 9s ease-in-out infinite;
  pointer-events: none;
}
.hero-phone {
  position: relative;
  width: 460px;
  max-width: none;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.22));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes float-slow {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -52%) rotate(6deg); }
}

/* ============================================================
   Shared section headings
   ============================================================ */
.section-title {
  font-size: 56px;
  line-height: 61.6px;
  font-weight: 600;
  color: var(--ink);
}
.section-title.center { text-align: center; }
.section-lead {
  margin-top: 42px;
  font-size: 18px;
  line-height: 30.6px;
  color: var(--text);
}

/* ============================================================
   Innovating
   ============================================================ */
.innovating { padding: 80px 0; }
.innovating-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.innovating-visual {
  flex: 0 0 517px;
  border-radius: 28px;
  overflow: hidden;
}
.innovating-visual img { width: 100%; height: 626px; object-fit: cover; }
.innovating-copy { max-width: 628px; }
.feature-pills {
  margin-top: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 0;
}
.feature-pills li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ink);
}
.pill-icon { flex: 0 0 32px; width: 32px; height: 32px; }
.pill-icon svg { width: 32px; height: 32px; }

/* ============================================================
   Gmail & Outlook import card
   ============================================================ */
.import-section { padding: 60px 0; }
.import-card {
  position: relative;
  border-radius: 32px;
  padding: 102px 83px;
  overflow: hidden;
  background-image: linear-gradient(129deg, #1c1e21 35%, #2fc4b2 100%);
}
.import-copy { position: relative; z-index: 2; max-width: 506px; }
.import-title {
  font-size: 56px;
  line-height: 61.6px;
  font-weight: 600;
  color: var(--bg-1);
}
.import-lead {
  margin-top: 40px;
  font-size: 18px;
  line-height: 30.6px;
  color: #d9dbe2;
}
.import-checks { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.import-checks li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  line-height: 30.6px;
  color: #d9dbe2;
}
.check-icon { flex: 0 0 24px; width: 24px; height: 24px; }
.check-icon svg { width: 24px; height: 24px; }
.import-visual {
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 780px;
  z-index: 1;
  pointer-events: none;
}
.import-ring {
  position: absolute;
  right: -40px;
  top: 50%;
  height: 640px;
  width: auto;
  max-width: none;
  transform: translateY(-50%);
}
.import-icon { position: absolute; width: 120px; height: 120px; filter: drop-shadow(0 16px 30px rgba(0,0,0,.3)); }
.import-outlook { right: 190px; top: 90px; animation: float 7s ease-in-out infinite; }
.import-gmail { right: 400px; top: 250px; animation: float 6s ease-in-out infinite .8s; }

/* ============================================================
   How it works
   ============================================================ */
.how { padding: 40px 0; }
.how-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}
.how-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 41px 25px;
  border-radius: 16px;
  border: 1px solid var(--green-border);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.how-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(47,196,178,.16); }
.how-card--primary {
  border-color: var(--green);
  background-image: linear-gradient(180deg, var(--green-light-2), var(--green-light-1));
}
.how-icon {
  width: 72px;
  height: 72px;
  border-radius: 36px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.how-icon--soft { background: var(--green-light-1); }
.how-icon svg { width: 32px; height: 32px; }
.how-card h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.how-card p {
  max-width: 233px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .2px;
  color: var(--text);
}
.how-card .btn-gradient { margin-top: 32px; }

/* ============================================================
   Feature banners
   ============================================================ */
.features { padding: 40px 0; }
.feature-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  border-radius: 32px;
  padding: 102px 62px 102px 109px;
  min-height: 494px;
  overflow: hidden;
  margin-top: 88px;
}
.feature-banner--light { background: var(--bg-1); justify-content: flex-end; }
.feature-banner--green { background-image: linear-gradient(128deg, #e7f8f6 38%, #c5ede8 100%); }
.feature-banner__copy { position: relative; z-index: 2; max-width: 457px; }
.feature-banner__copy--right { max-width: 400px; }
.feature-banner__copy h3 {
  font-size: 36px;
  line-height: 43.2px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ink);
  max-width: 457px;
}
.feature-banner--light .feature-banner__copy h3 { max-width: 340px; }
.feature-banner__copy p {
  margin-top: 24px;
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: .2px;
  color: var(--text);
}
/* Images bleed out of their card edges, cropped by the card (overflow:hidden) */
.banner-img { position: absolute; max-width: none; z-index: 1; }
.banner-img--stored {
  left: 100px;
  bottom: 0;
  width: 360px;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.14));
}
.banner-img--paper {
  right: 0;
  top: -36px;
  width: 600px;
}

/* ============================================================
   Automatic categorization
   ============================================================ */
.categorization {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding-top: 180px;
}
.categorization__copy { flex: 0 0 544px; padding-left: 110px; }
.cat-list { margin-top: 72px; display: flex; flex-direction: column; gap: 50px; }
.cat-list li { display: flex; gap: 17px; align-items: flex-start; }
.cat-icon { flex: 0 0 40px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.cat-icon svg { width: 40px; height: 40px; }
.cat-list h5 { font-size: 18px; line-height: 34px; font-weight: 600; color: var(--ink); }
.cat-list p { margin-top: 8px; font-size: 16px; line-height: 25.6px; color: var(--text); max-width: 377px; }
.categorization__visual {
  position: relative;
  flex: 0 0 520px;
  height: 614px;
  background: var(--ink-2);
  border-radius: 32px;
}
.categorization__visual img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 520px;
  max-width: none;
}

/* ============================================================
   Collaborative
   ============================================================ */
.collab { padding: 80px 0 60px; }
.collab-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.collab-card {
  position: relative;
  background: #1c1c19;
  border: 1px solid rgba(243,239,231,.14);
  border-radius: 28px;
  padding: 48px;
  min-height: 446px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
}
.collab-card__glow {
  position: absolute;
  width: 950px;
  height: 679px;
  left: 47px;
  top: -8px;
  background: radial-gradient(circle at 50% 50%, rgba(47,196,178,.28), transparent 60%);
  pointer-events: none;
}
.collab-card__top { position: relative; z-index: 2; order: 0; display: flex; flex-direction: column; gap: 20px; }
.collab-card__top h3 {
  font-size: 36px;
  line-height: 43.2px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--bg-1);
}
.collab-card__top p {
  font-size: 16px;
  line-height: 25.6px;
  color: rgba(255,255,255,.64);
  max-width: 385px;
}
/* Shared-workspace card: people photo pinned flush to the bottom (full-bleed,
   no cropping), avatars sit above it and never cover the people */
.collab-card--shared { padding-bottom: 0; }
.collab-card__image {
  position: relative;
  z-index: 1;
  order: 2;
  align-self: flex-end;      /* align the photo to the right edge */
  margin-top: auto;
  margin-bottom: 0;
  margin-right: -48px;       /* extend flush to the card's right edge */
  width: 340px;
  max-width: calc(100% + 48px);
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px 0 0 16px;
}
.collab-card__visual { position: relative; z-index: 2; order: 1; display: flex; align-items: center; gap: 14px; }
.avatar-stack { display: flex; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  border: 2px solid #1c1c19;
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.members-label { font-family: "Inter", sans-serif; font-size: 13px; color: #a8a299; }

.ledger {
  position: relative;
  z-index: 2;
  background: #131311;
  border: 1px solid rgba(243,239,231,.14);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
/* QuickBooks card: ledger sizes to its content (no stretching) */
.collab-card--ledger .ledger { flex: 0 0 auto; }
.ledger__row { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.ledger__name { flex: 1 1 auto; color: #f3efe7; }
.ledger__amt { color: #a8a299; }
.ledger__cat { background: var(--lime); color: #131311; border-radius: 99px; padding: 2px 8px; }
.ledger__pushed {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed rgba(243,239,231,.14);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--lime);
}
.ledger__pushed span:first-child { flex: 1 1 auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 40px 0 80px; }
.faq-grid { display: flex; gap: 60px; align-items: flex-start; }
.faq-left { flex: 0 0 420px; padding-top: 20px; }
.faq-note { margin-top: 40px; font-family: "Inter", sans-serif; font-size: 15px; line-height: 1.6; color: #514c44; max-width: 280px; }
.faq-list { flex: 1 1 auto; border-top: 1px solid rgba(24,23,21,.12); }
.faq-item { border-bottom: 1px solid rgba(24,23,21,.12); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 18px;
  line-height: 34px;
  font-weight: 600;
  color: var(--ink);
}
.faq-toggle {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  transition: transform .3s ease, background-color .3s ease;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transition: transform .3s ease, background-color .3s ease;
}
.faq-toggle::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq-toggle::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.open .faq-toggle { background: var(--green); transform: rotate(90deg); }
.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after { background: #fff; }
.faq-item.open .faq-toggle::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease, opacity .4s ease, padding .4s ease;
  opacity: 0;
}
.faq-a p { font-size: 16px; line-height: 26px; color: var(--text); max-width: 640px; }
.faq-item.open .faq-a { max-height: 220px; opacity: 1; padding-bottom: 28px; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 60px 0 100px; }
.cta-card {
  position: relative;
  border-radius: 32px;
  padding: 102px 83px;
  overflow: hidden;
  background-image: linear-gradient(132deg, #1c1e21 35%, #2fc4b2 100%);
}
.cta-card h2 {
  position: relative;
  z-index: 2;
  font-size: 56px;
  line-height: 61.6px;
  font-weight: 600;
  color: var(--bg-1);
  max-width: 580px;
}
.cta-card > p {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  font-size: 18px;
  line-height: 30.6px;
  color: #abaeb6;
  max-width: 570px;
}
.cta-stores { position: relative; z-index: 2; margin-top: 72px; display: flex; gap: 16px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  border-radius: 8px;
  padding: 9px 16px;
  min-width: 168px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: 11px; text-transform: uppercase; letter-spacing: .3px; }
.store-btn strong { font-size: 18px; font-weight: 600; }
.cta-ring {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  height: 680px;
  width: auto;
  max-width: none;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { padding: 32px 0; border-top: 1px solid rgba(0,0,0,.05); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner p { font-size: 16px; line-height: 30px; color: var(--text); }
.footer-nav { display: flex; gap: 24px; font-size: 16px; font-weight: 600; }
.footer-nav a { transition: color .2s ease; }
.footer-nav a:hover { color: var(--green); }

/* ============================================================
   Reveal animations
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="down"]  { transform: translateY(-22px); }
[data-reveal].in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-phone, .hero-ring, .import-outlook, .import-gmail { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-visual { width: 100%; min-width: 0; margin-top: 40px; }
  .innovating-inner { flex-direction: column; }
  .innovating-visual { flex: none; width: 100%; }
  .innovating-visual img { height: auto; }
  .how-grid { grid-template-columns: 1fr 1fr; }

  /* Gmail & Outlook import — text on top; ring pinned to bottom-right, 1.5x */
  .cta-card { padding: 72px 40px; }
  .import-card { padding: 56px 32px 240px; overflow: hidden; }
  .import-copy { max-width: 100%; position: relative; z-index: 2; }
  .import-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
    left: auto;
    width: 100%;
    height: 380px;
    margin: 0;
    z-index: 1;
  }
  .import-ring {
    position: absolute;
    right: -40px;
    bottom: -40px;
    top: auto;
    left: auto;
    transform: none;
    height: 420px;
    width: auto;
  }
  .import-outlook { right: 60px; bottom: 120px; top: auto; left: auto; width: 88px; height: 88px; }
  .import-gmail  { right: 135px; bottom: 55px; top: auto; left: auto; width: 88px; height: 88px; }
  .cta-ring { opacity: .35; }

  /* Feature banners — text on top, image flush to the bottom (margin-bottom 0) */
  .feature-banner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 48px 32px 0;
    min-height: 0;
    overflow: hidden;
    gap: 32px;
  }
  .feature-banner--light { flex-direction: column-reverse; }
  .feature-banner__copy,
  .feature-banner__copy--right { max-width: 100%; }
  .feature-banner__copy h3,
  .feature-banner--light .feature-banner__copy h3 { max-width: 100%; }
  .banner-img {
    position: static;
    width: 100%;
    margin: 0;
  }

  .categorization { flex-direction: column; padding-top: 100px; }
  .categorization__copy { flex: none; width: 100%; padding-left: 0; }
  .categorization__visual { flex: none; width: 100%; }
  .collab-grid { grid-template-columns: 1fr; }
  .collab-card__image { height: auto; margin-top: 24px; }
  .faq-grid { flex-direction: column; }
  .faq-left { flex: none; width: 100%; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .hero-title { font-size: 40px; line-height: 1.05; }
  .hero-subtitle { font-size: 32px; }
  .section-title, .import-title, .cta-card h2 { font-size: 38px; line-height: 1.1; }
  .how-grid { grid-template-columns: 1fr; }
  .how-card { padding: 32px 24px; }
  .feature-banner--light { margin-top: 0; }
  .feature-pills { grid-template-columns: 1fr; gap: 20px; }
  .cta-stores { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* Smaller hero lead copy on phones */
  .hero-lead { font-size: 16px; line-height: 27px; margin-top: 0; }

  /* Reorder the hero column so the phone visual sits ABOVE the trust bar.
     display:contents lifts .hero-copy's children into the .hero-inner flex
     column so the visual (a sibling of .hero-copy) can be ordered between the
     button and the trust bar. align-items:stretch keeps them full-width. */
  .hero-inner { gap: 28px; align-items: stretch; }
  .hero-copy { display: contents; }
  .hero .btn-gradient { margin-top: 0; }

  /* Hero visual — scale ring + phone to fit the viewport (no side bleed) */
  .hero-visual { order: 1; height: 480px; margin-top: 0; }
  .hero-ring { width: 300px; }
  .hero-phone { width: 240px; }

  /* Trust bar — moved below the visual; label wraps instead of overlapping icons */
  .trust-bar {
    order: 2;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 14px 18px;
    border-radius: 20px;
    align-items: center;
  }
  .trust-icons { flex-shrink: 0; }
  .trust-bar p { min-width: 0; flex: 1 1 160px; }

  /* Gmail & Outlook import — lower the ring/icons below the checklist and
     separate the two icons so they no longer overlap */
  .import-card { padding: 48px 24px 300px; }
  .import-visual { height: 300px; }
  .import-ring { right: -50px; bottom: -56px; height: 340px; }
  .import-outlook { right: 46px; bottom: 150px; width: 78px; height: 78px; }
  .import-gmail  { right: 140px; bottom: 60px; width: 78px; height: 78px; }

  /* Automatic categorization — tighten the list spacing on mobile */
  .cat-list { margin-top: 56px; gap: 32px; }

  /* Automatic categorization — embed the phone inside a compact, contained
     card instead of a large fixed-height panel that bleeds off-screen */
  .categorization__visual {
    height: auto;
    padding: 32px 24px 0;
    border-radius: 24px;
    overflow: hidden;
  }
  .categorization__visual img {
    position: static;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    transform: none;
  }
}

/* ============================================================
   Legal pages (Privacy Policy, Terms of Use)
   ============================================================ */
.legal { padding: 64px 0 96px; background: #fff; }
.legal-inner { max-width: 820px; }
.legal h1 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.legal .legal-updated { color: var(--text); font-size: 14px; margin-bottom: 40px; }
.legal h2 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 14px;
}
.legal p { color: var(--text-strong); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.legal ul { margin: 0 0 18px; padding-left: 24px; list-style: disc; }
.legal li { color: var(--text-strong); font-size: 16px; line-height: 1.7; margin-bottom: 10px; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a { color: var(--green); text-decoration: underline; }
.legal a:hover { filter: brightness(.9); }

@media (max-width: 720px) {
  .legal { padding: 40px 0 64px; }
  .legal h1 { font-size: 34px; }
  .legal h2 { font-size: 19px; }
}
