/* Bizi Dig homepage — production package
   Palette: Dezine Bot Option A "Lavender Bright"
   (/home/box/websmith/bizidig-refresh/dezine-deliveries/palette-lavender.md)
   :root vars, old-name mapping, and button/link states are used exactly.
   Fonts stay Poppins / Inter (live bizidig.com already uses Poppins as the
   main face, plus some Montserrat; Inter is kept for body text).
   This stylesheet is original to this package; it does not copy the live homepage CSS. */

:root {
  --bd-primary: #7C3AED;
  --bd-primary-hover: #6D28D9;
  --bd-primary-pressed: #5B21B6;
  --bd-deep: #4C1D95;
  --bd-deeper: #2E1065;
  --bd-tint: #EDE9FE;
  --bd-bg: #F7F4FF;
  --bd-line: #E4DCF8;
  --bd-accent: #D946EF;
  --bd-accent-text: #A21CAF;
  --bd-ink: #1B1030;
  --bd-muted: #5B5473;
  --bd-on-dark: #DDD6FE;
  --bd-link-on-dark: #C4B5FD;
  --bd-focus: #7C3AED;
  --bd-shadow: 0 10px 30px rgba(76, 29, 149, 0.10);

  /* Old-name mapping from palette-lavender.md (Bizi Dig page) */
  --forest: #4C1D95;
  --forest-dark: #2E1065;
  --green: #6D28D9;
  --teal: #7C3AED;
  --lime: #7C3AED;
  --lime-dark: #6D28D9;
  --ink: #1B1030;
  --muted: #5B5473;
  --mist: #F7F4FF;
  --line: #E4DCF8;
  --shadow: 0 10px 30px rgba(76, 29, 149, 0.10);

  --white: #ffffff;
  --radius: 18px;
  --header-offset: 5.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--bd-primary-hover);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--bd-deep);
  text-decoration: underline;
}

a:visited {
  color: #86198F;
}

h1,
h2,
h3,
.brand-name,
.btn,
.nav-links,
.step-num,
.form-title {
  font-family: Poppins, Inter, system-ui, sans-serif;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 650;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 200;
  background: var(--bd-primary);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.5rem;
}

/* --- Header / nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--white);
  color: var(--bd-ink);
  border-bottom: 1px solid var(--bd-line);
}

.nav-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--bd-ink);
  text-decoration: none;
}

.nav-links a:visited {
  color: var(--bd-ink);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--bd-primary);
  text-decoration: none;
}

.nav-links .btn,
.nav-links .btn:visited {
  color: #ffffff;
  margin-left: 0.25rem;
  text-decoration: none;
}

.nav-links .btn:hover {
  color: #ffffff;
  text-decoration: none;
}

/* Desktop: pin the header CTA at the far right of the nav bar. */
@media (min-width: 861px) {
  .nav-links {
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-links li:last-child {
    margin-left: auto;
    flex-shrink: 0;
  }
}

/* --- Layout --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.25rem 0;
}

.section-mist {
  background: var(--mist);
}

.section-forest {
  background: linear-gradient(160deg, #F7F4FF 0%, #EDE9FE 60%, #E4DCF8 100%);
  color: var(--bd-ink);
}

.section-forest h2,
.section-forest h3 {
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-family: Poppins, Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bd-primary);
  margin-bottom: 0.7rem;
}

.hero .eyebrow {
  color: var(--bd-primary);
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
}

.section-forest fieldset.field {
  border: 0;
  padding: 0;
  margin: 0 0 0.95rem;
  min-inline-size: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--bd-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--bd-primary-hover);
}

.btn:hover {
  background: var(--bd-primary-hover);
  color: #ffffff;
  text-decoration: none;
}

.btn:active {
  background: var(--bd-primary-pressed);
  color: #ffffff;
}

.btn:visited {
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--bd-primary-hover);
  box-shadow: none;
  border: 1.5px solid var(--bd-primary-hover);
}

.btn-secondary:hover {
  background: var(--bd-tint);
  color: var(--bd-deep);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  align-items: center;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(160deg, #F7F4FF 0%, #EDE9FE 60%, #E4DCF8 100%);
  color: var(--bd-ink);
  padding: 4rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
}

.hero h1 {
  color: var(--ink);
  margin-bottom: 1rem;
}

.hero .lead {
  color: var(--muted);
  max-width: 36rem;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-note a {
  color: var(--bd-primary-hover);
}

/* Phone illustration — decorative only */
.phone-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  padding: 1.15rem 1.15rem 1.3rem;
  max-width: 360px;
  margin: 0 auto;
}

.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bd-accent);
  display: inline-block;
  margin-right: 0.35rem;
}

.call-row {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.65rem;
  background: var(--mist);
}

.call-row h3 {
  font-size: 0.82rem;
  margin: 0 0 0.2rem;
  color: var(--bd-primary);
}

.call-row p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.call-row.transfer {
  background: #EFE7FF;
  border-color: var(--line);
}

.illus-caption {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.85rem;
}

/* --- Feature cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 1.6rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem 1.45rem;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--bd-primary);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.6rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.35rem 1.5rem;
  position: relative;
}

.step-num {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--bd-primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

/* --- Audience --- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 1.6rem;
}

.audience {
  padding: 1.5rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--mist);
}

.audience h3 {
  margin-bottom: 0.5rem;
}

/* --- Pricing --- */
.pricing-box {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem 1.7rem;
  box-shadow: var(--shadow);
  max-width: 40rem;
}

.pricing-box h2 {
  color: var(--ink);
}

.pricing-box .lead,
.pricing-box p {
  color: var(--muted);
}

/* --- FAQ --- */
.faq-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.15rem;
}

.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.faq-item p {
  color: var(--muted);
  margin: 0;
}

/* --- Form --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.25rem;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem 1.6rem;
}

.form-title {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

label,
.legend {
  display: block;
  font-weight: 650;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.field {
  margin-bottom: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--bd-focus);
  outline-offset: 1px;
  border-color: var(--bd-focus);
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
}

.choices label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  cursor: pointer;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.4rem 0 0.9rem;
  font-size: 0.92rem;
}

.consent input {
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.consent label {
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.form-card .btn {
  width: 100%;
}

.contact-aside a {
  color: var(--bd-primary-hover);
  font-weight: 650;
  text-decoration: none;
}

.contact-aside a:hover {
  color: var(--bd-deep);
  text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
  background: var(--mist);
  color: var(--muted);
  padding: 2.25rem 0 2.5rem;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--bd-primary-hover);
  text-decoration: none;
}

.site-footer a:visited {
  color: #86198F;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer-brand {
  font-family: Poppins, Inter, sans-serif;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .hero-grid,
  .form-grid,
  .card-grid,
  .steps,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.6rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .site-header {
    top: 0;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 22px;
    height: 22px;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.4rem;
  }

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

  .nav-links li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 0.7rem 0;
  }

  .nav-links .btn {
    margin: 0.5rem 0 0.7rem;
    width: 100%;
  }

  .phone-card {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

.narrow {
  max-width: 46rem;
}

.narrow.container {
  max-width: 46rem;
}

.byline {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.thank-you {
  margin-top: 1.15rem;
  background: var(--mist);
  border: 1px dashed var(--bd-primary);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
}

.thank-you p {
  margin: 0 0 0.7rem;
}

.thank-you p:last-child {
  margin-bottom: 0;
}

.thank-you-label {
  font-family: Poppins, Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bd-primary);
  margin-bottom: 0.65rem;
}

.thank-you.is-live {
  background: #EFE7FF;
  border-style: solid;
  border-color: var(--line);
}

.thank-you.is-live .thank-you-label {
  display: none;
}

.consent label {
  font-size: 0.92rem;
  line-height: 1.5;
}

/* --- Hero card illustration (decorative only) --- */
.card-visual {
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  padding: 1.15rem 1.15rem 1.25rem;
  max-width: 380px;
  margin: 0 auto;
}

.card-visual-face {
  background: linear-gradient(155deg, var(--bd-deeper) 0%, var(--bd-deep) 60%, var(--bd-primary) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1.25rem 1.15rem;
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-visual-kicker {
  font-family: Poppins, Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bd-on-dark);
  margin: 0 0 0.55rem;
}

.card-visual-face h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
}

.card-visual-face p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.card-visual-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 1.1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.qr-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 6px;
  background:
    linear-gradient(var(--white), var(--white)) 0 0 / 40% 40% no-repeat,
    linear-gradient(var(--white), var(--white)) 100% 0 / 40% 40% no-repeat,
    linear-gradient(var(--white), var(--white)) 0 100% / 40% 40% no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,0.7) 0 3px, transparent 3px 6px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.55) 0 3px, transparent 3px 6px);
  flex-shrink: 0;
}

.card-visual-rows {
  margin-top: 0.85rem;
}

@media (max-width: 860px) {
  .card-visual {
    max-width: 100%;
  }
}

/* --- Images added for the 10:05 PM PT refresh --- */
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 150px;
}
.brand .brand-name-fallback {
  /* typographic name kept for if the logo fails to load */
  display: none;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 1.6rem;
}
.photo-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.photo-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}
.photo-card.light img {
  background: var(--mist);
}
.photo-card figcaption {
  padding: 0.7rem 1rem 0.95rem;
  font-size: 0.88rem;
  color: var(--muted);
}
/* --- Dezine Bot stills (swapped in Dec 5, 2026, ~10:20 PM PT) --- */
.hero-visual {
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--mist);
}

/* How NFC works: 3-column row on desktop (~350×260 at 4:3), stacked on mobile.
   This rule was previously dropped during unused-CSS cleanup. */
.nfc-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
  align-items: start;
}
.nfc-still picture {
  display: block;
  width: 100%;
}
.nfc-still img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 861px) {
  .nfc-still img {
    max-width: 350px;
  }
}
@media (max-width: 860px) {
  .photo-grid,
  .nfc-slots {
    grid-template-columns: 1fr;
  }
  .nfc-still img {
    max-width: none;
  }
}
.nfc-still {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 8px 8px 0;
}
.nfc-still img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--mist);
}
.nfc-still figcaption {
  padding: 0.7rem 1rem 0.95rem;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .hero-visual {
    max-width: 100%;
    margin-left: 0;
  }
}
