/*
Theme Name: YES Accessory B2B V2
Theme URI: https://www.yesaccessory.com/
Author: YES ACCESSORY
Description: Premium B2B acquisition website theme for YesAccessory OEM phone cases, screen protectors, private label programs, and new device launch support.
Version: 2.0.0
Text Domain: yes-accessory-b2b
*/

:root {
  --blue: #1268ff;
  --blue-dark: #0b46c4;
  --ink: #111827;
  --text: #303846;
  --muted: #687386;
  --soft: #f6f8fb;
  --ice: #edf6ff;
  --line: #e5eaf0;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: MiSans, "MiSans VF", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  letter-spacing: 0;
}

p {
  margin-top: 0;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 92px;
}

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

.section-blue {
  background:
    radial-gradient(circle at 76% 42%, rgba(18, 104, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(1200px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #65a7ff);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  position: relative;
  padding: 29px 0;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary,
.nav-cta {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(18, 104, 255, 0.18);
}

.button-primary:hover,
.nav-cta:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: #ccd6e4;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.center-buttons {
  justify-content: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 4px solid rgba(18, 104, 255, 0.14);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inquiry-form .full {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-direct a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hero .split {
  min-height: 720px;
  padding: 74px 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.02;
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 740;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 760;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  max-width: 840px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 40%, rgba(18, 104, 255, 0.16), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: var(--shadow);
}

.image-panel,
.card-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: #f6f8fb;
}

.image-panel {
  min-height: 430px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.image-panel img,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-panel img {
  position: absolute;
  inset: 0;
}

.hero-image img {
  object-position: center;
}

.card-image {
  height: 300px;
  margin: -10px -10px 26px;
  border-radius: 20px;
}

.small-image {
  height: 170px;
  margin: -6px -6px 20px;
}

.small-image img {
  object-position: center;
}

.device {
  position: absolute;
  right: 116px;
  top: 58px;
  width: 214px;
  height: 366px;
  border: 10px solid #303845;
  border-radius: 34px;
  background: linear-gradient(145deg, #f8fafc, #dce5ef);
  box-shadow: 0 28px 52px rgba(17, 24, 39, 0.16);
  transform: rotate(-7deg);
}

.device::before {
  position: absolute;
  top: 22px;
  right: 18px;
  width: 54px;
  height: 82px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.18);
  content: "";
}

.case,
.glass {
  position: absolute;
  border-radius: 34px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82), 0 24px 46px rgba(18, 104, 255, 0.12);
}

.case {
  right: 260px;
  top: 86px;
  width: 230px;
  height: 388px;
  border: 3px solid rgba(18, 104, 255, 0.24);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(4px);
  transform: rotate(8deg);
}

.case::before {
  position: absolute;
  top: 22px;
  right: 18px;
  width: 62px;
  height: 92px;
  border: 3px solid rgba(18, 104, 255, 0.18);
  border-radius: 18px;
  content: "";
}

.glass {
  right: 44px;
  top: 80px;
  width: 198px;
  height: 344px;
  border: 2px solid rgba(113, 183, 255, 0.55);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(226, 243, 255, 0.24));
  transform: rotate(-4deg);
}

.packaging {
  position: absolute;
  right: 52px;
  bottom: 42px;
  width: 180px;
  height: 112px;
  border: 1px solid #d9e1ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.08);
}

.chips {
  position: absolute;
  left: 44px;
  bottom: 50px;
  width: 170px;
  height: 68px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, #d9ecff 0 22%, transparent 22% 28%, #e8edf4 28% 50%, transparent 50% 56%, #cfd8e6 56% 78%, transparent 78% 84%, #aeb9c9 84%);
}

.tool {
  position: absolute;
  left: 56px;
  bottom: 70px;
  width: 190px;
  height: 16px;
  border-radius: 999px;
  background: #9aa8ba;
  transform: rotate(-12deg);
}

.mini-visual {
  min-height: 260px;
  margin: -10px -10px 26px;
  border-radius: 20px;
  box-shadow: none;
}

.mini-visual .device {
  top: 36px;
  right: 48px;
  width: 88px;
  height: 152px;
  border-width: 5px;
  border-radius: 18px;
}

.mini-visual .device::before {
  top: 10px;
  right: 8px;
  width: 24px;
  height: 36px;
  border-radius: 8px;
}

.mini-visual .case {
  top: 48px;
  right: 124px;
  width: 96px;
  height: 164px;
  border-radius: 18px;
}

.mini-visual .case::before {
  top: 9px;
  right: 8px;
  width: 28px;
  height: 42px;
  border-radius: 8px;
}

.mini-visual .glass {
  top: 38px;
  right: 52px;
  width: 84px;
  height: 146px;
  border-radius: 18px;
}

.metric-grid,
.status-grid,
.category-grid,
.service-grid,
.benefit-grid,
.device-grid,
.program-grid,
.buyer-grid,
.packaging-preview,
.timeline {
  display: grid;
  gap: 24px;
}

.metric-grid,
.status-grid,
.device-grid,
.packaging-preview,
.buyer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-grid.core,
.benefit-grid,
.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-grid.supporting {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

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

.buyer-grid.four,
.benefit-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-card,
.status-grid article,
.category-card,
.service-grid article,
.benefit-grid article,
.device-grid article,
.program-grid article,
.buyer-grid article,
.packaging-preview article,
.timeline article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.05);
}

.metric-card {
  padding: 32px;
}

.metric-card strong {
  display: block;
  color: var(--ink);
  font-size: 52px;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 750;
}

.metric-card.primary {
  border-color: rgba(18, 104, 255, 0.22);
  background: linear-gradient(135deg, #fff, #edf6ff);
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.category-card.large {
  min-height: 540px;
}

.category-card.small {
  min-height: 230px;
}

.category-card p,
.service-grid p,
.benefit-grid p,
.status-grid p,
.buyer-grid p,
.program-grid p,
.faq-list p {
  color: var(--muted);
}

.service-grid article,
.benefit-grid article,
.status-grid article,
.device-grid article,
.program-grid article,
.buyer-grid article,
.packaging-preview article,
.timeline article {
  padding: 26px;
}

.benefit-grid span,
.timeline span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e4ebf3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status {
  color: var(--blue);
  background: #eaf4ff;
  border-color: #d5eaff;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 850;
}

.text-link::after {
  content: " ->";
}

.center-action {
  margin-top: 34px;
  text-align: center;
}

.device-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 760;
}

.device-row span:last-child {
  color: var(--blue);
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 780;
}

.check-list li::before {
  color: var(--blue);
  content: "✓ ";
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.cta-panel {
  padding: 88px 40px;
  border: 1px solid #d9eaff;
  border-radius: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(18, 104, 255, 0.14), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 100%);
  box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel p {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.cta-panel p {
  color: var(--muted);
  font-size: 18px;
}

.footer {
  color: #d9e3ee;
  background: #101827;
}

.footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, minmax(0, 1fr));
  gap: 30px;
}

.footer h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
}

.footer a,
.footer span,
.footer p {
  display: block;
  margin: 9px 0 0;
  color: #b8c3d2;
  font-size: 14px;
}

.footer a:hover {
  color: #fff;
}

.footer-logo {
  color: #fff;
}

.footer-brand .button {
  display: inline-flex;
  margin-top: 20px;
}

.popular-searches {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.popular-searches .pill {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: auto auto auto;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 13px 16px;
  }

  .split,
  .metric-grid,
  .status-grid,
  .device-grid,
  .program-grid,
  .buyer-grid,
  .buyer-grid.four,
  .timeline,
  .inquiry-form,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero .split {
    min-height: auto;
  }

  .visual {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .container,
  .nav,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .section {
    padding: 62px 0;
  }

  .hero .split {
    padding: 58px 0;
  }

  .split,
  .metric-grid,
  .status-grid,
  .category-grid.core,
  .category-grid.supporting,
  .service-grid,
  .benefit-grid,
  .device-grid,
  .program-grid,
  .buyer-grid,
  .buyer-grid.four,
  .packaging-preview,
  .timeline,
  .inquiry-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-form .full {
    grid-column: auto;
  }

  .reverse-mobile .visual {
    order: -1;
  }

  .nav {
    min-height: 68px;
  }

  .brand span:last-child {
    font-size: 16px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .lead,
  .section-heading p {
    font-size: 16px;
  }

  .visual {
    min-height: 340px;
  }

  .device {
    right: 68px;
    top: 48px;
    width: 156px;
    height: 268px;
  }

  .case {
    right: 168px;
    top: 82px;
    width: 166px;
    height: 282px;
  }

  .glass {
    right: 22px;
    top: 74px;
    width: 140px;
    height: 244px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .category-card.large {
    min-height: auto;
  }

  .cta-panel {
    padding: 62px 22px;
  }
}
