:root {
  --bg: #F4F1EE;
  --text-main: #2B2622;
  --text-muted: #5F584F;
  --accent: #F5A35B;
  --accent-hover: #E58C34;
  --surface: #F8F4F1;
  --surface-strong: #F0E7DE;
  --border-soft: #E1D7CB;

  /* Airy neumorphism shadows */
  --neo-light: -6px -6px 14px rgba(255, 255, 255, 0.85);
  --neo-dark:  6px  6px 18px rgba(0, 0, 0, 0.10);

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shadow-soft: var(--neo-light), var(--neo-dark);
  --focus-ring: 0 0 0 3px rgba(47, 111, 228, 0.42);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* offset for sticky header so titles remain visible */
}
@media (max-width: 960px) {
  html {
    scroll-padding-top: 70px;
  }
}

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.svg-icon svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page {
  min-height: 100vh;
  padding: 0 2vw 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Top nav */
.nav {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 16px;
  margin-bottom: 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  padding-top: 20px;
  padding-bottom: 20px;

  /* Make header full-bleed while .page has horizontal padding */
  width: calc(100% + 4vw);
  margin-left: -2vw;
  margin-right: -2vw;
  padding-left: 2vw;
  padding-right: 2vw;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-center {
  display: flex;
  justify-content: center;
}

.nav-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.logo-img {
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-img img {
  width: 120%;
  height: 120%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.logo-text {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-center button,
.nav-right button {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  padding: 10px 18px;
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA); /* match app screen in first frame */
  color: var(--text-main); /* keep readable contrast */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.nav-center button:hover,
.nav-right button:hover {
  transform: translateY(-2px);
  box-shadow: -4px -4px 10px rgba(255,255,255,0.9),
               6px  6px 16px rgba(0,0,0,0.16);
}

.nav-right a {
  color: var(--text-main);
  font-size: 13px;
  text-decoration: none;
  padding: 8px 8px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease-out, color 0.15s ease-out;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.nav-right a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  color: var(--text-main);
  font-size: 13px;
  text-decoration: none;
  padding: 8px 8px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease-out, color 0.15s ease-out;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "v";
  display: inline-block;
  font-size: 10px;
  margin-left: 6px;
  transform: translateY(-1px);
}

.nav-dropdown[open] summary,
.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible {
  background: rgba(0, 0, 0, 0.06);
}

.nav-dropdown[open] summary::after {
  transform: rotate(180deg) translateY(1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1100;
  min-width: 245px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-right button span.icon {
  font-size: 16px;
}

/* Hero layout */
.hero {
  width: 90%;
  max-width: 1440px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); /* give more room to the heading */
  column-gap: 52px; /* horizontal gap between left and right */
  row-gap: 16px; /* reduced gap between discount and content */
  align-items: center;
  margin-left: 2vw; /* nudge hero slightly to the right */
  position: relative;
  grid-template-areas:
    "discount discount"
    "left right";
}

.hero-discount {
  grid-area: discount;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  margin-top: -20px;
  line-height: 1.5;
  animation: blink 3s ease-in-out infinite;
}

.hero-discount strong {
  color: var(--accent);
  font-weight: 800;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-left h1 {
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero-left p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 26px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.btn-primary,
.btn-secondary {
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.15s ease-out;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #1F1A16;
  box-shadow: 0 14px 30px rgba(243, 137, 57, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(243, 137, 57, 0.45);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: -4px -4px 12px rgba(255,255,255,0.95),
               6px  6px 18px rgba(0,0,0,0.16);
}

.hero-meta {
  font-size: 13px;
  color: #6A6258;
  font-weight: 600;
}

.hero-meta span + span::before {
  content: "•";
  padding: 0 6px;
  color: #B0A79A;
}

.hero-left {
  grid-area: left;
}

.hero-right {
  grid-area: right;
}

/* Right mockup */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
}

.desktop-frame {
  width: 100%;
  max-width: 580px;
  border-radius: 32px;
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA); /* Option A: cream gradient */
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    -16px -16px 32px rgba(255,255,255,0.9),
     18px  18px 32px rgba(0,0,0,0.12);
}

.desktop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.window-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28C840; }

.window-title {
  font-size: 13px;
  color: #7A7369;
  margin-left: 8px;
  font-weight: 600;
}

.desktop-searchbar {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}

.desktop-searchbar input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  outline: none;
  color: #333;
}

.desktop-searchbar .kbd {
  display: none;
}

.desktop-searchbar .filter-chip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #E4DED4;
  background: #F6F0E7;
  color: #6E675C;
  line-height: 1;
  white-space: nowrap;
  font-weight: 600;
}

.desktop-searchbar .find-btn {
  border: none;
  border-radius: 999px;
  background: #333232;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  min-height: 32px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.15s ease-out;
}

.desktop-searchbar .find-btn:hover {
  transform: translateY(-2px);
  box-shadow: -4px -4px 10px rgba(255,255,255,0.9),
               6px  6px 16px rgba(0,0,0,0.18);
}

.file-panel {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 18px 12px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.file-section {
  margin-bottom: 14px;
}

.file-section:last-child {
  margin-bottom: 0;
}

.file-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.file-section-header span {
  font-size: 12px;
  color: #8B8277;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  gap: 10px;
}

.file-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.file-icon {
  width: 18px;
  height: 22px;
  border-radius: 6px;
  background: #F3E9DD;
  box-shadow: -2px -2px 4px rgba(255,255,255,0.9),
               2px  2px 4px rgba(0,0,0,0.08);
}

.file-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.file-name {
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 700;
}

.file-meta {
  font-size: 11px;
  color: #9A9287;
}

.file-date {
  font-size: 12px;
  color: #A39B90;
  white-space: nowrap;
  margin-left: 6px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "discount"
      "right"
      "left";
    gap: 40px;
    margin-left: 0; /* recentre on mobile */
    width: 100%;
  }

  .hero-right {
    order: 0; /* desktop preview on top on mobile */
  }

  .nav {
    margin-bottom: 40px;
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .nav-right {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }
  .nav-right a,
  .nav-dropdown summary {
    white-space: nowrap;
  }
  .nav-dropdown {
    position: static;
  }
  .nav-dropdown-menu {
    position: fixed;
    top: 106px;
    left: 2vw;
    right: 2vw;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 0 2vw 40px;
  }
  .nav {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .hero-left h1 {
    font-size: 30px;
  }
  .desktop-frame {
    border-radius: 24px;
  }
}

/* How it works */
.how-it-works {
  width: 100%;
  max-width: 1200px;
  margin: 120px auto 0; /* center-of-page feel */
  text-align: center;
}

.problem,
.how-it-works,
.file-support,
.privacy-first,
.use-cases,
.pricing,
.faqs,
.site-footer,
.lp-section,
.lp-cta,
.feature-table-section,
.trust-page {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

.how-it-works h2 {
  font-size: clamp(32px, 5vw, 44px); /* larger, section heading */
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-weight: 800;
}

.hiw-subtle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}

.step-card {
  position: relative;
}

.mini-window {
  position: relative;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 12px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg,  #F3E9DD, #F6F1EA);
}

.tone-1 .mini-window,
.tone-2 .mini-window,
.tone-3 .mini-window {
  /* unify to subtle neutral grey gradient (similar softness, no hue) */
  background: linear-gradient(135deg,  #F3E9DD, #F6F1EA); /* match initial frame */
}

.step-number {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #111111;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(243, 137, 57, 0.35);
  z-index: 1;
}

.step-caption {
  padding: 10px 2px 0;
}
.step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.step-text {
  font-size: 13px;
  color: #6A6258;
  line-height: 1.55;
}

/* compact inner UI for mini-window */
.mini-window .desktop-topbar {
  margin-bottom: 10px;
}
/* Hide traffic dots in How it works mini windows */
.mini-window .window-dots .dot {
  display: none;
}
.mini-window .desktop-searchbar {
  margin-bottom: 12px;
  padding: 8px 12px;
  box-shadow: var(--shadow-soft);
}
.mini-window .desktop-searchbar input {
  font-size: 13px;
}
.mini-window .file-panel {
  padding: 12px 14px 10px;
  min-height: 210px; /* leave ample free space below the folders */
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,0.96);
}
.mini-window .file-row {
  padding: 6px 0;
}

/* Mini folders mock for Step 1 */
.mini-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mini-toolbar .title {
  font-size: 13px;
  font-weight: 700;
  color: #5A5248;
}
.mini-toolbar .add-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: #333232;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.mini-toolbar .add-btn:hover {
  transform: translateY(-2px);
  box-shadow: -4px -4px 10px rgba(255,255,255,0.9),
               6px  6px 16px rgba(0,0,0,0.18);
}
.mini-toolbar .click-hint {
  position: absolute;
  right: -12px;         /* tuck to the right of the + button */
  bottom: -12px;        /* slightly below the + button */
  font-size: 11px;
  color: #ffffff;
  background: rgba(255,255,255,0);
  padding: 2px 6px;
  border-radius: 999px;
  border: 0px solid #ffffff;
  pointer-events: none; /* do not block clicks on the + button */
  z-index: 2;
}
.mini-toolbar .click-hint svg {
  width: 20px;
  height: 25px;
  display: block;
}
.folder-grid {
  display: grid;
  grid-template-columns: repeat(3, 80px); /* half the previous width to increase whitespace */
  gap: 12px;
  justify-content: start;
  align-content: start;
}
.folder-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 64px; /* ~half the original size */
}
.folder-card .folder-emoji {
  font-size: 18px;
  line-height: 1;
}
.folder-card .folder-name {
  font-size: 12px;
  font-weight: 700;
  color: #2b2b2b;
}

@media (max-width: 960px) {
  .how-it-works {
    margin-top: 60px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* File support */
.file-support {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
  text-align: center;
}
.file-support h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-weight: 800;
}
.fs-subtle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.fs-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}
/* Hover cards (replace dropdown details) */
.fs-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
  border: 1px solid #D6E6FF;
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.2s ease-out;
  position: relative;
  overflow: hidden;
}
.fs-card:hover {
  transform: translateY(-3px);
  box-shadow: -6px -6px 14px rgba(255,255,255,0.9),
               10px 10px 20px rgba(0,0,0,0.12);
}
.fs-card:focus {
  outline: none;
  transform: translateY(-3px);
  box-shadow: var(--focus-ring), -6px -6px 14px rgba(255,255,255,0.9),
               10px 10px 20px rgba(0,0,0,0.12);
}
.fs-card .fs-header {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  position: relative;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 0 34px;
}
.fs-item .fs-title {
  text-align: center;
  width: 100%;
}
.fs-item .fs-icon {
  font-size: 50px;
  line-height: 1;
  margin-top: 0;
}
/* Reveal on hover/focus */
.fs-card .fs-content {
  padding-top: 8px;
  font-size: 14px;
  color: #6A6258;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
}
.fs-card:hover .fs-content,
.fs-card:focus .fs-content,
.fs-card:focus-within .fs-content {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 960px) {
  .file-support {
    margin-top: 60px;
  }
  .fs-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .fs-list {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
  text-align: center;
}
.pricing h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-weight: 800;
}
.pricing-subtle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.pricing-grid {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.pricing-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
  border: 1px solid #D6E6FF;
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.pricing-card .plan-name {
  font-size: 14px;
  font-weight: 700;
  color: #5A7ABF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: clamp(34px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  color: #111111;
}
.pricing-card .price .currency {
  font-size: 0.6em;
  color: #5A7ABF;
  transform: translateY(-2px);
  display: inline-block;
}
.pricing-card .price .once {
  font-size: 14px;
  font-weight: 700;
  color: #5A7ABF;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px;
  display: grid;
  gap: 8px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #3F3F3F;
}
.feature-list li .tick {
  color: #2F6FE4;
  font-size: 16px;
  line-height: 1.2;
}
.pricing-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.pricing-meta {
  font-size: 12px;
  color: #6A6258;
}
@media (max-width: 960px) {
  .pricing {
    margin-top: 60px;
  }
  .pricing-card {
    text-align: left;
  }
}

/* FAQs */
.faqs {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
  text-align: center;
}
.faqs h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-weight: 800;
}
.faqs-subtle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.problem-subtle a,
.fs-subtle a,
.pf-subtle a,
.uc-subtle a,
.lp-section-inner a,
.problem-card a,
.pf-card a,
.faq-a a {
  color: #2F6FE4;
  font-weight: 700;
  text-decoration: none;
}
.uc-text a {
  color: inherit;
  text-decoration: none;
}
.problem-subtle a:hover,
.fs-subtle a:hover,
.pf-subtle a:hover,
.uc-subtle a:hover,
.lp-section-inner a:hover,
.problem-card a:hover,
.pf-card a:hover,
.faq-a a:hover,
.uc-text a:hover {
  text-decoration: underline;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  text-align: left;
}
.faq-item details {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
  border: 1px solid #D6E6FF;
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item .q {
  color: #111111;
}
.faq-item .chev {
  font-size: 18px;
  line-height: 1;
  color: #5A7ABF;
  transition: transform 0.15s ease-out;
}
.faq-item details[open] .chev {
  transform: rotate(180deg);
}
.faq-a {
  padding-top: 8px;
  font-size: 14px;
  color: #3F3F3F;
  line-height: 1.6;
}
@media (max-width: 960px) {
  .faqs {
    margin-top: 60px;
  }
}

/* Footer */
.site-footer {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 12px 0 24px;
}
.footer-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.footer-col h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5A5248;
  margin-bottom: 10px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-col a {
  color: #3F3F3F;
  text-decoration: none;
  font-size: 14px;
}
.footer-col a:hover {
  text-decoration: underline;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  font-size: 16px;
  color: #2F6FE4;
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border-soft);
  padding-top: 14px;
  margin-top: 16px;
  font-size: 13px;
  color: #6A6258;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111111;
  font-weight: 700;
}
.footer-brand .footer-logo {
  width: 18px;
  height: 18px;
  aspect-ratio: 1;
  display: inline-block;
}
.footer-bottom a {
  color: #3F3F3F;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
@media (max-width: 960px) {
  .site-footer {
    margin-top: 60px;
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Waitlist modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}
.modal-backdrop.show {
  display: flex;
}
.modal-card {
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.modal-header h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.close-btn {
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-pill);
}
.modal-body {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}
.form-row {
  display: grid;
  gap: 6px;
}
.form-row label {
  font-size: 13px;
  font-weight: 700;
  color: #5A5248;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  border: 1px solid var(--border-soft);
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 12px;
  min-height: 44px;
  font-size: 14px;
  outline: none;
}
.form-row textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: #2F6FE4;
  box-shadow: var(--focus-ring);
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.btn-ghost {
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  cursor: pointer;
}
.form-help {
  font-size: 12px;
  color: #6A6258;
}
.form-error {
  font-size: 13px;
  color: #b42318;
  background: #fee4e2;
  border: 1px solid #fecdca;
  padding: 8px 10px;
  border-radius: 10px;
  display: none;
}
.form-success {
  font-size: 14px;
  color: #05603a;
  background: #d1fadf;
  border: 1px solid #abefc6;
  padding: 10px 12px;
  border-radius: 12px;
  display: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* Problem section */
.problem {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
  text-align: center;
}
.problem h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-weight: 800;
}
.problem-subtle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 24px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}
.problem-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
  border: 1px solid var(--border-soft);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
}
.problem-card .problem-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}
.problem-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}
.problem-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 960px) {
  .problem {
    margin-top: 60px;
  }
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

/* Privacy-first section */
.privacy-first {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
  text-align: center;
}
.privacy-first h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-weight: 800;
}
.pf-subtle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 24px;
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}
.pf-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
  border: 1px solid var(--border-soft);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
}
.pf-card .pf-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}
.pf-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}
.pf-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 960px) {
  .privacy-first {
    margin-top: 60px;
  }
  .pf-grid {
    grid-template-columns: 1fr;
  }
}

/* Use cases section */
.use-cases {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
  text-align: center;
}
.use-cases h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-weight: 800;
}
.uc-subtle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 24px;
}
.uc-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
  text-align: left;
}
.uc-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
  border: 1px solid var(--border-soft);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}
.uc-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.uc-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.uc-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}
.uc-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 960px) {
  .use-cases {
    margin-top: 60px;
  }
}

/* Landing page shared styles */
.lp-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.lp-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.lp-breadcrumb a:hover {
  text-decoration: underline;
}

.lp-hero {
  width: 100%;
  max-width: 780px;
  margin: 48px auto 0;
  text-align: center;
  padding: 0 16px;
}
.lp-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 18px;
}
.lp-hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}

.lp-section {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
}
.lp-section-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.lp-section-inner h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 18px;
}
.lp-section-inner p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.lp-subheading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.lp-file-types {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.lp-file-types li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
  border: 1px solid var(--border-soft);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}
.lp-ft-icon {
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}
.lp-ft-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lp-ft-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}
.lp-ft-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.lp-cta {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
}
.lp-cta-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
  border: 1px solid var(--border-soft);
  padding: 48px 32px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.lp-cta-card h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 12px;
}
.lp-cta-card p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.lp-cta-btn {
  font-size: 16px;
  padding: 15px 30px;
}

/* Trust and utility pages */
.trust-page {
  width: 100%;
  max-width: 920px;
  margin: 54px auto 0;
}
.trust-hero {
  text-align: left;
}
.trust-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  background: #FFF1E3;
  border: 1px solid #F0CDA9;
  color: #9A4C0F;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.trust-hero h1 {
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.trust-hero p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
}
.trust-updated {
  margin-top: 12px;
  font-size: 13px !important;
  color: #8B8277 !important;
}
.trust-content {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 34px;
}
.trust-content h2 {
  font-size: 21px;
  line-height: 1.25;
  margin-top: 28px;
  margin-bottom: 8px;
}
.trust-content h2:first-child {
  margin-top: 0;
}
.trust-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.trust-content a,
.trust-hero a {
  color: #2F5EBF;
  font-weight: 800;
}
.not-found-page {
  min-height: 48vh;
  display: flex;
  align-items: center;
}
.not-found-page .hero-ctas {
  margin-top: 24px;
}

@media (max-width: 960px) {
  .lp-hero {
    margin-top: 32px;
  }
  .lp-section {
    margin-top: 60px;
  }
  .lp-cta {
    margin-top: 60px;
  }
  .trust-page {
    margin-top: 36px;
  }
}
@media (max-width: 600px) {
  .lp-hero h1 {
    font-size: 28px;
  }
  .lp-cta-card {
    padding: 32px 20px;
  }
  .trust-content {
    padding: 24px 20px;
  }
}

/* Comparison grid — used on /local-file-search/ and similar pages */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.compare-col {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
}
.compare-col--standard {
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
}
.compare-col--semantic {
  background: linear-gradient(135deg, #E8F0FF, #EEF4FF);
  border-color: #C8D8F8;
}
.compare-col h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}
.compare-col--semantic h3 {
  color: #2F5EBF;
}
.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.compare-col ul li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.compare-col--standard ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #B0A89E;
}
.compare-col--semantic ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2F6FE4;
  font-weight: 700;
}
@media (max-width: 600px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* Three-column comparison variant — used on /desktop-search/ */
.compare-grid--three {
  grid-template-columns: 1fr 1fr 1fr;
}
.compare-col--builtin {
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
}
.compare-col--cloud {
  background: linear-gradient(135deg, #F0EBF8, #F5F0FC);
  border-color: #D9C8F0;
}
.compare-col--cloud h3 {
  color: #6B4DAD;
}
.compare-col--localspider {
  background: linear-gradient(135deg, #E8F0FF, #EEF4FF);
  border-color: #C8D8F8;
}
.compare-col--localspider h3 {
  color: #2F5EBF;
}
.compare-col-caption {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 14px;
  font-style: italic;
}
.compare-col--builtin ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #B0A89E;
}
.compare-col--cloud ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #9B89BE;
}
.compare-col--localspider ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2F5EBF;
  font-weight: 700;
}
@media (max-width: 760px) {
  .compare-grid--three {
    grid-template-columns: 1fr;
  }
}

/* Feature comparison table - used on alternatives pages */
.feature-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}
.feature-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}
.feature-table th,
.feature-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
  font-size: 13px;
  line-height: 1.55;
}
.feature-table thead th {
  background: linear-gradient(135deg, #F3E9DD, #F6F1EA);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 800;
}
.feature-table tbody th {
  width: 24%;
  color: var(--text-main);
  font-weight: 800;
}
.feature-table tbody td {
  color: var(--text-muted);
}
.feature-table tbody tr:last-child th,
.feature-table tbody tr:last-child td {
  border-bottom: none;
}
.feature-table tbody td:last-child {
  background: #F4F8FF;
}
