/* ==========================================================================
   P.L.C Solutions - design system
   Apple-inspired: white, generous whitespace, large bold type, soft rounded
   corners, pill buttons, translucent blurred nav.

   COMPONENT INDEX (see STYLEGUIDE.md for markup examples)
   --------------------------------------------------------------------------
   Layout      .container  .container--narrow  .section  .section--alt
   Headings    .section-head  .eyebrow  .section-title  .section-sub
   Hero        .hero  .hero--alt  .hero-title  .hero-sub  .hero-ctas
   Buttons     .btn  .btn--secondary  .btn--large  .btn--small  .btn--light
               .link-arrow
   Cards       .grid  .grid--2  .grid--3  .card  .card--tinted  .card-icon
               .card-link
   Features    .feature-row  .feature-row--reverse  .feature-media
               .feature-media--dark  .feature-media--blue  .feature-body
   Stats       .stats-band  .stat  .stat-number  .stat-label
   Steps       .steps  .step  .step-number
   Lists       .checklist
   Chips       .chip-row  .chip
   FAQ         .faq  .faq details/summary
   CTA         .cta-panel  .cta-panel--light
   Forms       .form-card  .field  .field-row  .form-actions  .form-note
               .alert  .alert--success  .alert--error  .hp (honeypot)
   Misc        .reveal (JS scroll animation)  .notice
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #1d1d1f;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-on-dark: #f5f5f7;
  --text-secondary-on-dark: #a1a1a6;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --border-light: rgba(0, 0, 0, 0.08);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 980px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
  --nav-height: 52px;
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

::selection {
  background: rgba(0, 113, 227, 0.2);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg);
  color: var(--accent);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 2000;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 780px;
}

.section {
  padding: 110px 0;
  background: var(--bg);
}

.section--alt {
  background: var(--bg-alt);
}

.section--tight {
  padding: 70px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.section-sub {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.45;
  color: var(--text-secondary);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-nav {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.nav-logo {
  width: 30px;
  height: auto;
  flex-shrink: 0;
}

.nav-brand-name span {
  font-weight: 400;
  color: var(--text-secondary);
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  opacity: 1;
  font-weight: 600;
}

.nav-links .nav-cta a {
  opacity: 1;
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: -0.022em;
  color: var(--text);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-dropdown-toggle:hover {
  opacity: 1;
}

.nav-dropdown--active .nav-dropdown-toggle {
  opacity: 1;
  font-weight: 600;
}

.nav-dropdown-toggle svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  list-style: none;
  display: none;
}

@media (min-width: 821px) {
  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
  }

  /* invisible bridge so the pointer can cross the gap to the menu */
  .nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

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

  .nav-links .nav-dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
    padding: 8px 24px 20px;
    display: none;
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-dropdown-menu {
    position: static;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-links .nav-dropdown-menu a {
    padding-left: 16px;
  }

  .nav-links .nav-cta {
    padding-top: 16px;
  }

  .nav-links .nav-cta a {
    border-bottom: 0;
    display: inline-block;
    padding: 0;
  }

  .nav-links .nav-cta .btn {
    padding: 10px 22px;
  }
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--large {
  font-size: 19px;
  padding: 17px 34px;
}

.btn--small {
  font-size: 14px;
  padding: 9px 18px;
}

.btn--secondary {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.btn--secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}

.btn--light {
  background: #fff;
  color: var(--text);
}

.btn--light:hover {
  background: #f0f0f2;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 17px;
  font-weight: 500;
  color: var(--accent);
}

.link-arrow::after {
  content: "›";
  content: "›" / "";
  font-size: 19px;
  transition: transform 0.2s ease;
}

.link-arrow:hover {
  text-decoration: none;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 130px 0 110px;
  text-align: center;
  background: var(--bg);
}

.hero--alt {
  background: var(--bg-alt);
}

.hero-title {
  font-size: clamp(44px, 7.5vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero-sub {
  font-size: clamp(19px, 2.5vw, 25px);
  line-height: 1.4;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card--tinted {
  background: var(--bg-alt);
  box-shadow: none;
}

.card h3 {
  font-size: 22px;
  line-height: 1.2;
}

.card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
  flex-grow: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0071e3, #42a1ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-link {
  font-size: 15px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Feature rows (alternating text + visual)
   -------------------------------------------------------------------------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: 100px;
}

.feature-row--reverse .feature-media {
  order: 2;
}

@media (max-width: 820px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-row--reverse .feature-media {
    order: 0;
  }
}

.feature-media {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f5f5f7 0%, #e8e8ed 100%);
  color: var(--text);
}

.feature-media svg {
  width: 42%;
  height: auto;
  opacity: 0.9;
}

.feature-media--dark {
  background: linear-gradient(160deg, #2c2c2e 0%, #1d1d1f 100%);
  color: #f5f5f7;
}

.feature-media--blue {
  background: linear-gradient(160deg, #0a84ff 0%, #0055b8 100%);
  color: #fff;
}

.feature-body h3 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.12;
  margin-bottom: 16px;
}

.feature-body p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 14px;
}

.feature-body .checklist {
  margin: 22px 0;
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 820px) {
  .stats-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

.stat-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #0071e3, #2f8fea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

.stat-label {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Steps (numbered process)
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  list-style: none;
}

.steps--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .steps,
  .steps--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps,
  .steps--3 {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
}

.section--alt .step {
  box-shadow: none;
}

.section:not(.section--alt) .step {
  background: var(--bg-alt);
  box-shadow: none;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Checklist
   -------------------------------------------------------------------------- */

.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="black" stroke="none"/><path d="M8.5 12.5l2.3 2.3 4.7-5" stroke="white" fill="none"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="black" stroke="none"/><path d="M8.5 12.5l2.3 2.3 4.7-5" stroke="white" fill="none"/></svg>') center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Chips (brand strips etc.)
   -------------------------------------------------------------------------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.section--alt .chip {
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   FAQ (details/summary accordion)
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0;
  overflow: hidden;
}

.section--alt .faq details {
  box-shadow: none;
}

.section:not(.section--alt) .faq details {
  background: var(--bg-alt);
  box-shadow: none;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 56px 22px 28px;
  font-size: 17px;
  font-weight: 600;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  content: "+" / "";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   CTA panel (dark rounded billboard)
   -------------------------------------------------------------------------- */

.cta-panel {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 80px);
  text-align: center;
  color: var(--text-on-dark);
}

.cta-panel h2 {
  color: #fff;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-panel p {
  color: var(--text-secondary-on-dark);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-panel .hero-ctas {
  margin: 0;
}

/* eBay store billboard (background image + overlay) */
.store-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: #06131f;
  background-image: url("/img/store-bg.svg");
  background-size: cover;
  background-position: right center;
  color: #fff;
  padding: clamp(52px, 8vw, 96px) clamp(28px, 6vw, 72px);
}

.store-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 14, 24, 0.92) 0%,
    rgba(4, 14, 24, 0.74) 46%,
    rgba(4, 14, 24, 0.32) 100%
  );
}

.store-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.store-band .eyebrow {
  color: #7cc5ff;
}

.store-band h2 {
  color: #fff;
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.04;
  margin-bottom: 18px;
}

.store-band p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
  max-width: 560px;
  margin-bottom: 32px;
}

.store-band .hero-ctas {
  justify-content: flex-start;
}

.cta-panel--light {
  background: var(--bg-alt);
  color: var(--text);
}

.cta-panel--light h2 {
  color: var(--text);
}

.cta-panel--light p {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 5vw, 52px);
  max-width: 720px;
  margin: 0 auto;
}

.section:not(.section--alt) .form-card {
  background: var(--bg-alt);
  box-shadow: none;
}

.field {
  margin-bottom: 22px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.field label .optional {
  font-weight: 400;
  color: var(--text-secondary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%236e6e73" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.form-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 13px;
  color: var(--text-secondary);
}

.form-note a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Honeypot: visually hidden from humans, present for bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Drag & drop photo upload */
.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 168px;
  padding: 28px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.section:not(.section--alt) .dropzone {
  background: #fbfbfd;
}

.dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Disable the native file-input button so only our prompt shows */
.dropzone-input::-webkit-file-upload-button {
  display: none;
}

.dropzone:hover,
.dropzone:focus-within {
  border-color: var(--accent);
  background: rgba(0, 113, 227, 0.04);
}

.dropzone.is-dragover {
  border-color: var(--accent);
  background: rgba(0, 113, 227, 0.08);
  transform: scale(1.01);
}

.dropzone-prompt {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dropzone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
  transition: transform 0.2s ease;
}

.dropzone.is-dragover .dropzone-icon {
  transform: translateY(-2px);
}

.dropzone-icon svg {
  width: 24px;
  height: 24px;
}

.dropzone-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.dropzone-link {
  color: var(--accent);
}

.dropzone-hint {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 340px;
}

.dropzone-error {
  margin-top: 12px;
  font-size: 14px;
  color: #b42318;
}

.dropzone-error:empty {
  display: none;
}

.dropzone-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.dropzone-list:empty {
  margin-top: 0;
}

.dropzone-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-card);
  aspect-ratio: 1;
  animation: dz-pop 0.25s ease;
}

@keyframes dz-pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.dropzone-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropzone-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 8px 6px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropzone-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.dropzone-remove:hover {
  background: rgba(0, 0, 0, 0.78);
}

@media (prefers-reduced-motion: reduce) {
  .dropzone,
  .dropzone-icon,
  .dropzone-item {
    transition: none;
    animation: none;
  }
}

.alert {
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.5;
}

.alert--success {
  background: #e8f6ec;
  color: #1d7a3a;
}

.alert--error {
  background: #fdecec;
  color: #b42318;
}

.alert ul {
  margin: 4px 0 0 18px;
}

/* --------------------------------------------------------------------------
   Notice (small informational strip)
   -------------------------------------------------------------------------- */

.notice {
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  padding: 22px 28px;
  font-size: 15px;
  color: var(--text-secondary);
}

.section--alt .notice {
  background: var(--bg);
}

.notice strong {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Prose (long-form text pages, e.g. privacy)
   -------------------------------------------------------------------------- */

.prose h2 {
  font-size: 26px;
  margin: 44px 0 14px;
}

.prose h3 {
  font-size: 20px;
  margin: 30px 0 10px;
}

.prose p,
.prose li {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 16px;
}

.prose ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--bg-alt);
  padding: 56px 0 40px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  width: 44px;
  height: auto;
  margin-bottom: 14px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.footer-brand span {
  font-weight: 400;
  color: var(--text-secondary);
}

.footer-tagline {
  max-width: 260px;
  line-height: 1.5;
}

.footer-col h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-legal {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Reveal animation (progressive enhancement via main.js)
   -------------------------------------------------------------------------- */

/* Hidden initial state only when JS is present (head partial stamps .js on
   <html>) so no-JS visitors see all content. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger helper for grids of .reveal cards */
.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card,
  .card:hover {
    transform: none;
    transition: none;
  }
}
