:root {
  --paper: #f4f7fb;
  --teal: #007c89;
  --teal-dark: #005f6b;
  --blue: #007c89;
  --amber: #ffbf3f;
  --lime: #92e35f;
  --steel: #d9e1e6;
  --line: #dfe6ea;
}

.brand-mark,
.hero-brand-mark,
.steps li::before,
.trade-mini-steps strong,
.trade-step-number,
.trade-process-grid strong {
  color: #08211f;
  background: #92e35f;
}

.header-call,
.header-actions .header-call,
.button.primary,
.chat-launcher,
.chat-form button,
.mobile-call-bar {
  color: #031f1e;
  background: #92e35f;
}

.header-actions .header-call:hover,
.button.primary:hover {
  color: #031f1e;
  background: #d4ffac;
}

.header-quote,
.button.offer,
.sell-active-link,
.hero-actions a[href="sell-your-phone.html"],
.trade-submit {
  color: #111827 !important;
  background: #ffbf3f;
  border-color: #ffbf3f;
}

.header-quote:hover,
.button.offer:hover,
.hero-actions a[href="sell-your-phone.html"]:hover,
.trade-submit:hover {
  color: #111827;
  background: #ffd36f;
  border-color: #ffd36f;
}

.hero .eyebrow,
.sell-callout .eyebrow,
.trade-hero .eyebrow {
  color: #92e35f;
}

.notice-band span,
.trade-brand-buttons button:hover,
.trade-brand-buttons button.is-selected,
.chat-message.user,
.link-grid a:hover {
  color: #ffffff;
  background: #005f6b;
  border-color: #005f6b;
}

.offer-band {
  color: #111827;
  background: #ffbf3f;
}

.panel.light,
.quote-result,
.chat-suggestions button,
.trade-status-pill {
  background: #edf6f4;
  border-color: #ccddda;
}

.quote-option,
.check-list li {
  border-color: #ccddda;
}

.chat-messages {
  background: #f6f8f7;
}

.chat-suggestions button,
.service-card a,
.contact-details a,
.policy-content a,
.quote-option strong,
.chat-message a {
  color: #005f6b;
}

.trade-status-pill {
  color: #0b4d55;
}

.trade-status-pill.is-ready,
.trade-photo-badge {
  color: #111827;
  background: #92e35f;
  border-color: #92e35f;
}

.trade-hero {
  background:
    linear-gradient(135deg, rgba(23, 32, 38, 0.98), rgba(0, 95, 107, 0.92)),
    #172026;
}

input:focus,
select:focus,
textarea:focus {
  outline-color: rgba(0, 127, 120, 0.18);
  border-color: #007c89;
}

.site-header .nav a[href="#contact"],
.hero-actions a[href^="tel:"] {
  display: none;
}

.site-header .header-actions {
  flex: 0 0 auto;
}

.site-header .header-address {
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    min-height: 64px !important;
    padding: 10px 14px !important;
    gap: 10px !important;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .brand span:last-child {
    max-width: none;
  }

  .site-header .nav,
  .site-header .header-address,
  .site-header .header-quote {
    display: none !important;
  }

  .site-header .header-actions {
    display: flex !important;
    grid-column: auto !important;
    order: initial !important;
    width: auto !important;
    margin-left: 0 !important;
    justify-content: flex-end !important;
  }

  .site-header .header-call {
    min-height: 42px !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    font-size: 0.84rem !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 460px;
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 48px;
  }

  .hero-actions .button:first-child {
    grid-column: auto;
  }

  .hero-service-strip {
    display: none;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    padding: 9px 12px !important;
  }

  .site-header .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-header .header-call {
    max-width: 128px !important;
    font-size: 0.8rem !important;
  }

  .hero {
    padding-top: 86px;
    padding-bottom: 26px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .notice-band {
    display: none;
  }

  .offer-band .button {
    display: none;
  }

  .mobile-call-bar {
    display: none;
  }

  .chat-widget {
    left: auto;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .chat-launcher {
    width: auto;
    min-width: 82px;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 999px;
  }
}

/* Modern neon refresh inspired by the reference artwork */
:root {
  --ink: #f8fbff;
  --muted: #a9b8c7;
  --paper: #05070f;
  --panel: #0b1220;
  --teal: #42b7ff;
  --teal-dark: #10d9ff;
  --blue: #1e8bff;
  --amber: #a95cff;
  --lime: #7cff35;
  --steel: #151f2e;
  --charcoal: #070b14;
  --line: rgba(150, 184, 255, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --neon-purple: #a95cff;
  --neon-blue: #28b7ff;
  --neon-green: #7cff35;
  --glass: rgba(10, 18, 32, 0.78);
}

body {
  color: #f8fbff;
  background:
    linear-gradient(180deg, #05070f 0%, #08111f 46%, #05070f 100%);
}

.site-header,
.policy-header {
  background: rgba(4, 8, 16, 0.9) !important;
  border-bottom: 1px solid rgba(66, 183, 255, 0.28) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
}

.brand {
  color: #ffffff;
}

.brand-mark,
.hero-brand-mark,
.steps li::before,
.trade-mini-steps strong,
.trade-step-number,
.trade-process-grid strong {
  color: #071018;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
  box-shadow: 0 0 24px rgba(124, 255, 53, 0.28);
}

.nav a,
.repair-nav a {
  color: rgba(248, 251, 255, 0.86);
}

.nav a:hover,
.repair-nav a:hover {
  color: var(--neon-blue);
}

.header-call,
.header-actions .header-call,
.button.primary,
.chat-launcher,
.chat-form button,
.mobile-call-bar,
.trade-submit {
  color: #071018 !important;
  background: linear-gradient(135deg, var(--neon-green), #36e7ff) !important;
  border-color: rgba(124, 255, 53, 0.75) !important;
  box-shadow: 0 0 28px rgba(124, 255, 53, 0.22);
}

.header-call:hover,
.header-actions .header-call:hover,
.button.primary:hover,
.chat-launcher:hover,
.chat-form button:hover,
.mobile-call-bar:hover,
.trade-submit:hover {
  color: #071018 !important;
  background: linear-gradient(135deg, #b8ff7e, #6fefff) !important;
}

.header-quote,
.button.offer,
.sell-active-link,
.hero-actions a[href="sell-your-phone.html"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)) !important;
  border-color: rgba(169, 92, 255, 0.8) !important;
  box-shadow: 0 0 30px rgba(169, 92, 255, 0.28);
}

.header-quote:hover,
.button.offer:hover,
.hero-actions a[href="sell-your-phone.html"]:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #c17aff, #56c8ff) !important;
}

.hero {
  color: #ffffff;
  background: #05070f;
}

.hero-media {
  filter: saturate(1.08) contrast(1.06);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 5, 12, 0.97) 0%, rgba(5, 9, 20, 0.88) 46%, rgba(5, 8, 18, 0.3) 100%),
    linear-gradient(180deg, rgba(43, 12, 90, 0.3), rgba(6, 26, 42, 0.45));
}

.hero .eyebrow,
.section-heading .eyebrow,
.location-copy .eyebrow,
.contact-copy .eyebrow,
.repair-hero .eyebrow,
.repair-content .eyebrow,
.sell-callout .eyebrow,
.trade-hero .eyebrow,
.policy-content .eyebrow {
  color: var(--neon-blue) !important;
}

h1,
h2,
h3,
.policy-content h1,
.repair-hero h1,
.repair-content h2,
.trade-form-heading h2,
.trade-summary-card h2 {
  color: #ffffff;
}

.hero h1 {
  text-shadow: 0 0 32px rgba(40, 183, 255, 0.18);
}

.hero-copy,
.intro-copy p,
.section-heading p:not(.eyebrow),
.location-copy p,
.contact-copy p,
.repair-hero p,
.repair-content p,
.trade-summary-intro,
.trade-process-grid p,
.policy-content p,
.policy-content li {
  color: var(--muted) !important;
}

.hero-service-strip a,
.button.secondary,
.repair-hero .button.secondary,
.trade-hero .button.secondary {
  color: #f8fbff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(66, 183, 255, 0.28) !important;
}

.hero-service-strip a:hover,
.button.secondary:hover,
.repair-hero .button.secondary:hover,
.trade-hero .button.secondary:hover {
  color: #071018 !important;
  background: var(--neon-blue) !important;
  border-color: var(--neon-blue) !important;
}

.hero-stats,
.service-card,
.quote-form,
.map-frame,
.panel.light,
.faq-list details,
.repair-content,
.trade-form-card,
.trade-summary-card,
.trade-process-grid article,
.chat-panel,
.quote-result,
.area-list span,
.damage-grid figure,
.store-photo {
  color: #f8fbff;
  background: linear-gradient(180deg, rgba(13, 22, 38, 0.96), rgba(8, 14, 25, 0.96)) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow);
}

.service-card:hover,
.trade-form-card:hover,
.trade-process-grid article:hover {
  border-color: rgba(66, 183, 255, 0.42) !important;
  box-shadow: 0 26px 80px rgba(40, 183, 255, 0.12);
}

.service-card p,
.quote-note,
.faq-list p,
.trade-summary-card dt {
  color: var(--muted) !important;
}

.service-card a,
.contact-details a,
.policy-content a,
.quote-option strong,
.chat-message a,
.service-card .icon,
.icon {
  color: var(--neon-blue) !important;
}

.notice-band {
  background: #05070f;
}

.notice-band span {
  color: #071018;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-green)) !important;
}

.offer-band,
.sell-callout {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(169, 92, 255, 0.32), rgba(40, 183, 255, 0.28)),
    #07101c !important;
  border-top: 1px solid rgba(169, 92, 255, 0.3);
  border-bottom: 1px solid rgba(66, 183, 255, 0.24);
}

.offer-band .button.secondary {
  color: #071018 !important;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue)) !important;
  border-color: transparent !important;
}

.sell-callout p:not(.eyebrow),
.trade-hero p {
  color: rgba(248, 251, 255, 0.78) !important;
}

.trade-hero {
  background:
    linear-gradient(135deg, rgba(10, 18, 32, 0.98), rgba(28, 10, 57, 0.92)),
    #070b14 !important;
  border: 1px solid rgba(169, 92, 255, 0.3);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
}

.trade-mini-steps span,
.trade-photo-badge {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(66, 183, 255, 0.24);
}

.trade-photo-badge {
  background: linear-gradient(135deg, rgba(169, 92, 255, 0.88), rgba(40, 183, 255, 0.88)) !important;
}

.trade-summary-card dl,
.trade-summary-card dl div,
.trade-status-pill,
.chat-messages,
.chat-suggestions,
.chat-form {
  background: rgba(7, 12, 22, 0.96) !important;
  border-color: var(--line) !important;
}

.trade-summary-card dd,
label,
.faq-list summary,
.area-list span {
  color: #f8fbff !important;
}

input,
select,
textarea,
.chat-form input {
  color: #f8fbff !important;
  background: rgba(5, 10, 19, 0.96) !important;
  border-color: rgba(150, 184, 255, 0.28) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(169, 184, 199, 0.76);
}

input:focus,
select:focus,
textarea:focus {
  outline-color: rgba(66, 183, 255, 0.24) !important;
  border-color: var(--neon-blue) !important;
}

.quote-option,
.check-list li,
.hero-stats div,
.chat-suggestions,
.site-footer {
  border-color: var(--line) !important;
}

.chat-header {
  background:
    linear-gradient(135deg, rgba(169, 92, 255, 0.36), rgba(40, 183, 255, 0.28)),
    #07101c !important;
}

.chat-message.bot {
  color: #f8fbff;
  background: rgba(12, 22, 38, 0.98) !important;
  border-color: var(--line) !important;
}

.chat-message.user {
  color: #071018;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue)) !important;
}

.chat-suggestions button,
.trade-brand-buttons button {
  color: #f8fbff !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(66, 183, 255, 0.26) !important;
}

.chat-suggestions button:hover,
.trade-brand-buttons button:hover,
.trade-brand-buttons button.is-selected {
  color: #071018 !important;
  background: var(--neon-blue) !important;
  border-color: var(--neon-blue) !important;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(7, 12, 22, 0.98), rgba(12, 20, 34, 0.98)) !important;
  border-top: 1px solid rgba(66, 183, 255, 0.24);
}

.site-footer a {
  color: #f8fbff !important;
}

.site-footer a:hover {
  color: var(--neon-blue) !important;
}

.site-footer .footer-social {
  flex: 1 1 100%;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(150, 184, 255, 0.16);
}

.footer-social span {
  color: #ffffff !important;
  font-weight: 900 !important;
}

.footer-social a {
  min-height: 42px !important;
  padding: 10px 16px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 0 30px rgba(169, 92, 255, 0.24);
}

.footer-social a[href*="tiktok"] {
  color: #071018 !important;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue)) !important;
}

.policy-page,
.repair-page {
  background: #05070f !important;
}

.policy-main,
.repair-main {
  color: #f8fbff;
}

.policy-content h2 {
  color: #ffffff;
}

.repair-hero img,
.trade-photo-panel,
.damage-grid figure,
.store-photo,
.map-frame {
  border-color: rgba(66, 183, 255, 0.22) !important;
}

@media (max-width: 860px) {
  .site-header {
    background: rgba(4, 8, 16, 0.94) !important;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 5, 12, 0.97) 0%, rgba(5, 9, 20, 0.88) 100%),
      linear-gradient(180deg, rgba(43, 12, 90, 0.26), rgba(6, 26, 42, 0.38));
  }
}

@media (max-width: 620px) {
  .site-footer {
    align-items: stretch !important;
  }

  .site-footer .footer-social {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .footer-social span {
    grid-column: 1 / -1;
  }

  .footer-social a {
    text-align: center;
  }
}
