/*
Theme Name: SmartTradeIn
Description: A responsive electronics buyback theme for SmartTradeIn.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: smartradein
*/
:root {
  --ink: #11253b;
  --muted: #465b70;
  --blue: #174ba8;
  --blue-hover: #103a85;
  --line: #d6e0ec;
  --wash: #f1f6fc;
  --paper: #fff;
  --width: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #477bd8; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 5.25vw, 4.75rem); font-weight: 760; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 740; }
h3 { font-size: 1.2rem; font-weight: 720; }
.wrap { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 10; padding: .5rem 1rem; background: white; }
.skip:not(:focus) { clip-path: inset(50%); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-weight: 760; font-size: 1.15rem; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: var(--blue); color: #fff; font: 700 22px/1 system-ui, sans-serif; }
.custom-logo-link { display: inline-flex; }
.custom-logo { width: auto; max-height: 45px; max-width: 180px; }
.nav-list { display: flex; gap: clamp(1rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.nav-quote-mobile { display: none; }
.nav-list a { color: inherit; text-decoration: none; font-weight: 630; }
.nav-list a:hover, .nav-list [aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.sti-button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .65rem 1.15rem; gap: .55rem; border: 1px solid transparent; border-radius: 9px; background: var(--blue); color: white; font-weight: 680; text-align: center; text-decoration: none; line-height: 1.25; }
.sti-button:hover { background: var(--blue-hover); color: white; }
.sti-button--small { min-height: 42px; font-size: .88rem; }
.sti-button--secondary { background: transparent; border-color: #aebdd1; color: var(--ink); }
.sti-button--secondary:hover { background: #e6effb; color: var(--ink); }
.hero { background: linear-gradient(110deg,#f4f8fc,#e9f1fb); }
.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(1.5rem,4vw,3.75rem); align-items: center; padding-block: clamp(3.5rem,7vw,6.75rem); }
.hero-copy p, .page-intro p { max-width: 39ch; margin-top: 1.1rem; font-size: clamp(1.05rem,2vw,1.22rem); color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.65rem; }
.hero-media { margin: 0; overflow: hidden; border-radius: 20px; background: #dce8f5; }
.hero-media img { width: 100%; aspect-ratio: 6/5; object-fit: cover; display: block; }
.section { padding-block: clamp(3.4rem,6vw,5.6rem); }
.section--wash { background: var(--wash); }
.section-head { margin-bottom: 1.75rem; }
.section-head p { margin-top: .65rem; color: var(--muted); }
.device-grid, .steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.device { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; color: var(--ink); background: white; }
.device p, .steps p { margin-top: .55rem; color: var(--muted); font-size: .94rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: trade-step; }
.steps li { border-top: 1px solid #aebdd1; padding: 1.2rem .45rem 0 0; counter-increment: trade-step; }
.steps li::before { content: counter(trade-step,decimal-leading-zero); display: inline-block; margin-bottom: .85rem; color: var(--blue); font-weight: 750; }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { padding: 1rem 2rem 1rem 0; font-weight: 700; cursor: pointer; }
.faq-list details p { padding-bottom: 1rem; color: var(--muted); max-width: 62ch; }
.bulk-band { border-radius: 20px; background: #102947; color: white; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(1.5rem,5vw,3.4rem); }
.bulk-band h2 { font-size: clamp(1.75rem,3vw,2.8rem); }
.bulk-band p { margin-top: .7rem; color: #d7e4f5; }
.bulk-band .sti-button { background: white; color: #102947; }
.bulk-band .sti-button:hover { background: #e6effb; }
.site-footer { border-top: 1px solid var(--line); background: var(--wash); }
.footer-upper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem; }
.footer-lower { border-top: 1px solid var(--line); padding-block: 1rem; color: var(--muted); font-size: .86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; }
.page-intro { background: var(--wash); padding-block: clamp(2.75rem,6vw,4.75rem); }
.page-intro h1 { font-size: clamp(2.45rem,5vw,4.25rem); }
.page-content { padding-block: clamp(2rem,5vw,4rem); min-height: 30vh; }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1rem; }
.quote-panel { max-width: 800px; padding: clamp(1.25rem,4vw,2.35rem); border: 1px solid var(--line); border-radius: 16px; margin-top: 0; }
.quote-panel h2 { font-size: clamp(1.5rem,3vw,2.05rem); }
.quote-panel p { color: var(--muted); margin-block: .65rem 1.1rem; }
@media (max-width: 900px) {
  .device-grid, .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .header-cta { display: none; }
  .nav-quote-mobile { display: list-item; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { align-items: flex-start; justify-content: center; flex-direction: column; gap: .65rem; padding-block: .85rem; }
  .nav-list { flex-wrap: wrap; gap: .45rem 1rem; }
  .hero-inner, .faq-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-inner { padding-block: 2.4rem; }
  .hero-media { border-radius: 14px; }
  .hero-media img { aspect-ratio: 16/10; }
  .bulk-band { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 355px) {
  .device-grid, .steps { grid-template-columns: 1fr; }
}
