/* The chipsua.in stylesheet, scoped to #chipsua-legacy so it styles only the pages carried over from that site. */
#app #chipsua-legacy {--bg: #fffaf4;
  --surface: #ffffff;
  --surface-warm: #fff3e4;
  --text: #201914;
  --muted: #665b52;
  --primary: #b65f18;
  --primary-dark: #8d4510;
  --green: #315f2c;
  --gold: #e5a93d;
  --border: #ead8c3;
  --shadow: 0 18px 42px rgba(52, 31, 14, 0.12);
  --radius: 8px;
  --container: 1180px;
  --header-height: 76px;}
#app #chipsua-legacy, #app #chipsua-legacy * {box-sizing: border-box;}
#app #chipsua-legacy {scroll-behavior: smooth;}
#app #chipsua-legacy {margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;}
#app #chipsua-legacy .nav-open {overflow: hidden;}
#app #chipsua-legacy img {display: block;
  max-width: 100%;}
#app #chipsua-legacy a {color: var(--primary);
  text-decoration: none;}
#app #chipsua-legacy a:hover {color: var(--primary-dark);}
#app #chipsua-legacy .container {width: min(100% - 2rem, var(--container));
  margin: 0 auto;}
#app #chipsua-legacy .logo {font-weight: 900;
  letter-spacing: 0;
  color: var(--text);}
#app #chipsua-legacy .logo {font-size: 1.55rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;}
#app #chipsua-legacy #img-logo-chipsua {width: 150px;
  height: auto;
  display: block;}
#app #chipsua-legacy .hero {min-height: calc(100svh - var(--header-height));
  background:
    linear-gradient(90deg, rgba(23, 17, 12, 0.82), rgba(23, 17, 12, 0.54), rgba(23, 17, 12, 0.18)),
    url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=1800&q=82") center/cover;}
#app #chipsua-legacy .hero-overlay {min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 5rem 0;}
#app #chipsua-legacy .page-hero {padding: clamp(4.5rem, 11vw, 8rem) 0;
  background:
    linear-gradient(90deg, rgba(23, 17, 12, 0.84), rgba(23, 17, 12, 0.54)),
    url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=1800&q=82") center/cover;
  color: #fff;}
#app #chipsua-legacy .page-hero .container {max-width: 920px;}
#app #chipsua-legacy .page-hero h1 {margin-bottom: 1rem;
  font-size: clamp(2.6rem, 7vw, 5.5rem);}
#app #chipsua-legacy .page-hero .hero-lead {color: rgba(255, 255, 255, 0.88);}
#app #chipsua-legacy .page-hero .eyebrow {color: #ffd890;}
#app #chipsua-legacy .hero-content {max-width: 690px;
  color: #fff;}
#app #chipsua-legacy .eyebrow, #app #chipsua-legacy .section-tag, #app #chipsua-legacy .blog-category {margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;}
#app #chipsua-legacy .hero .eyebrow {color: #ffd890;}
#app #chipsua-legacy h1, #app #chipsua-legacy h2, #app #chipsua-legacy h3, #app #chipsua-legacy h4, #app #chipsua-legacy p {margin-top: 0;}
#app #chipsua-legacy h1, #app #chipsua-legacy h2, #app #chipsua-legacy h3, #app #chipsua-legacy h4 {line-height: 1.12;}
#app #chipsua-legacy h1 {margin-bottom: 0.9rem;
  font-size: clamp(4rem, 13vw, 2.5rem);
  font-weight: 100;
  letter-spacing: 0;}
#app #chipsua-legacy h2 {margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;}
#app #chipsua-legacy h3 {margin-bottom: 0.7rem;
  font-size: 1.25rem;}
#app #chipsua-legacy p {color: var(--muted);}
#app #chipsua-legacy .hero-lead {max-width: 56ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);}
#app #chipsua-legacy .hero-actions {display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;}
#app #chipsua-legacy .btn {display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;}
#app #chipsua-legacy .btn:hover {transform: translateY(-2px);}
#app #chipsua-legacy .btn-primary {border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(182, 95, 24, 0.28);}
#app #chipsua-legacy .btn-primary:hover {background: var(--primary-dark);
  color: #fff;}
#app #chipsua-legacy .btn-secondary {border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(10px);}
#app #chipsua-legacy .btn-secondary:hover {color: #fff;
  background: rgba(255, 255, 255, 0.2);}
#app #chipsua-legacy .section {padding: 5.5rem 0;}
#app #chipsua-legacy .split-section, #app #chipsua-legacy .notice-layout, #app #chipsua-legacy .contact-grid {display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;}
#app #chipsua-legacy .section-copy p:last-child, #app #chipsua-legacy .contact-copy p:last-child {margin-bottom: 0;}
#app #chipsua-legacy .promise-row {display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);}
#app #chipsua-legacy .promise-item {min-height: 250px;
  padding: 1.5rem;
  background: var(--surface);}
#app #chipsua-legacy .promise-item span {display: inline-block;
  margin-bottom: 3rem;
  color: var(--primary);
  font-weight: 900;}
#app #chipsua-legacy .notice-section, #app #chipsua-legacy .contact-section {background: #fff4e6;}
#app #chipsua-legacy .notice-layout {align-items: center;}
#app #chipsua-legacy .notice-panel {padding: clamp(1.4rem, 4vw, 2.3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);}
#app #chipsua-legacy .notice-panel strong {display: block;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;}
#app #chipsua-legacy .text-link {display: inline-flex;
  margin-top: 0.7rem;
  font-weight: 800;}
#app #chipsua-legacy .blog-header {max-width: 820px;
  margin-bottom: 2.5rem;}
#app #chipsua-legacy .blog-grid {display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;}
#app #chipsua-legacy .blog-card {overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(52, 31, 14, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;}
#app #chipsua-legacy .blog-card:hover {transform: translateY(-4px);
  box-shadow: var(--shadow);}
#app #chipsua-legacy .blog-card img {width: 100%;
  height: 235px;
  object-fit: cover;}
#app #chipsua-legacy .blog-card-content {padding: 1.25rem;}
#app #chipsua-legacy .blog-card-content h2 {font-size: 1.35rem;}
#app #chipsua-legacy .blog-category {margin-bottom: 0.55rem;
  color: var(--primary);
  font-size: 0.76rem;}
#app #chipsua-legacy .blog-card-content a {font-weight: 800;}
#app #chipsua-legacy .internal-links {display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);}
#app #chipsua-legacy .internal-links span {color: var(--text);
  font-weight: 800;}
#app #chipsua-legacy .internal-links a {padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 700;}
#app #chipsua-legacy .contact-info {display: grid;
  gap: 1rem;
  margin-top: 1.5rem;}
#app #chipsua-legacy .contact-item {padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);}
#app #chipsua-legacy .contact-item span {display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;}
#app #chipsua-legacy .contact-item a {color: var(--text);
  font-weight: 800;}
#app #chipsua-legacy .contact-form {padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);}
#app #chipsua-legacy .contact-form label {display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-weight: 800;}
#app #chipsua-legacy .contact-form input, #app #chipsua-legacy .contact-form textarea {width: 100%;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;}
#app #chipsua-legacy .contact-form textarea {resize: vertical;}
#app #chipsua-legacy .contact-form input:focus, #app #chipsua-legacy .contact-form textarea:focus, #app #chipsua-legacy .chatbot-form input:focus {outline: 3px solid rgba(182, 95, 24, 0.18);
  border-color: var(--primary);}
#app #chipsua-legacy .form-message {min-height: 1.4rem;
  margin: 1rem 0 0;
  font-size: 0.94rem;
  font-weight: 700;}
#app #chipsua-legacy .chatbot-widget {position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;}
#app #chipsua-legacy .chatbot-toggle {width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 38px rgba(49, 95, 44, 0.32);
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.2s ease, background 0.2s ease;}
#app #chipsua-legacy .chatbot-toggle:hover {transform: translateY(-2px);
  background: #234b20;}
#app #chipsua-legacy .chatbot-panel {position: absolute;
  right: 0;
  bottom: 74px;
  width: 350px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  display: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(41, 25, 12, 0.22);}
#app #chipsua-legacy .chatbot-panel.is-open {display: block;
  animation: panelIn 0.22s ease both;}
#app #chipsua-legacy .chatbot-header {display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-warm);}
#app #chipsua-legacy .chatbot-header strong {display: block;
  color: var(--text);}
#app #chipsua-legacy .chatbot-header p {margin: 0.2rem 0 0;
  font-size: 0.86rem;}
#app #chipsua-legacy .chatbot-close {border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.05rem;}
#app #chipsua-legacy .chatbot-messages {max-height: 310px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;}
#app #chipsua-legacy .chatbot-message {max-width: 88%;
  padding: 0.78rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.93rem;
  line-height: 1.45;}
#app #chipsua-legacy .chatbot-message.bot {border: 1px solid #eed3ae;
  background: #fff2df;
  color: var(--text);}
#app #chipsua-legacy .chatbot-message.user {margin-left: auto;
  background: var(--primary);
  color: #fff;}
#app #chipsua-legacy .chatbot-quick-actions {display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 1rem;}
#app #chipsua-legacy .chatbot-chip {border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;}
#app #chipsua-legacy .chatbot-form {display: flex;
  gap: 0.55rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: #fffaf5;}
#app #chipsua-legacy .chatbot-form input {min-width: 0;
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font: inherit;}
#app #chipsua-legacy .chatbot-form button {width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  cursor: pointer;}
#app #chipsua-legacy .reveal {opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;}
#app #chipsua-legacy .reveal.is-visible {opacity: 1;
  transform: translateY(0);}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#app #chipsua-legacy .chipsua-breadcrumb-bar {display: block;
  width: 100%;
  background: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid #eeeeee;
  position: relative;
  z-index: 5;}
#app #chipsua-legacy .chipsua-breadcrumb-list {display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;}
#app #chipsua-legacy .chipsua-breadcrumb-list li {display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  font-size: 14px;
  line-height: 22px;
  color: #333333;}
#app #chipsua-legacy .chipsua-breadcrumb-list li::before, #app #chipsua-legacy .chipsua-breadcrumb-list li::after, #app #chipsua-legacy .chipsua-breadcrumb-list li::marker {content: none !important;
  display: none !important;}
#app #chipsua-legacy .chipsua-breadcrumb-list a {color: #8b4513;
  font-weight: 600;
  text-decoration: none;}
#app #chipsua-legacy .chipsua-breadcrumb-list a:hover {text-decoration: underline;}
@media (prefers-reduced-motion: reduce) {
#app #chipsua-legacy, #app #chipsua-legacy *, #app #chipsua-legacy *::before, #app #chipsua-legacy *::after {scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;}
#app #chipsua-legacy .reveal {opacity: 1;
    transform: none;}
}
@media (max-width: 980px) {
#app #chipsua-legacy .split-section, #app #chipsua-legacy .notice-layout, #app #chipsua-legacy .contact-grid {grid-template-columns: 1fr;}
#app #chipsua-legacy .promise-row, #app #chipsua-legacy .blog-grid {grid-template-columns: 1fr;}
#app #chipsua-legacy .promise-item {min-height: auto;}
#app #chipsua-legacy .promise-item span {margin-bottom: 1.5rem;}
}
@media (max-width: 640px) {
#app #chipsua-legacy {--header-height: 68px;}
#app #chipsua-legacy .container {width: min(100% - 1.25rem, var(--container));}
#app #chipsua-legacy .logo {font-size: 1.32rem;}
#app #chipsua-legacy #img-logo-chipsua {width: 125px;}
#app #chipsua-legacy .hero, #app #chipsua-legacy .hero-overlay {min-height: calc(92svh - var(--header-height));}
#app #chipsua-legacy .hero {background:
      linear-gradient(180deg, rgba(23, 17, 12, 0.8), rgba(23, 17, 12, 0.5)),
      url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=1200&q=82") center/cover;}
#app #chipsua-legacy .hero-overlay {padding: 4rem 0;
    align-items: flex-end;}
#app #chipsua-legacy h1 {font-size: clamp(3.25rem, 18vw, 5rem);}
#app #chipsua-legacy .section {padding: 4rem 0;}
#app #chipsua-legacy .hero-actions, #app #chipsua-legacy .btn {width: 100%;}
#app #chipsua-legacy .blog-card img {height: 210px;}
#app #chipsua-legacy .internal-links {align-items: stretch;
    flex-direction: column;}
#app #chipsua-legacy .chatbot-widget {right: 14px;
    bottom: 14px;}
#app #chipsua-legacy .chatbot-toggle {width: 54px;
    height: 54px;}
#app #chipsua-legacy .chatbot-panel {width: min(350px, calc(100vw - 20px));
    right: -4px;}
}
