/* New Age Computers — homepage styles */

:root {
  --navy: #0b1524;
  --navy-mid: #122033;
  --blue: #1a8cff;
  --blue-deep: #0e74e0;
  --cyan: #00c4f5;
  --white: #ffffff;
  --gray: #f3f6fa;
  --charcoal: #1c2736;
  --text: var(--charcoal);
  --muted: #5a6574;
  --heading: #0b1524;
  --focus: var(--cyan);
  --line: #d5dee8;
  --shadow: 0 8px 22px rgba(11, 21, 36, 0.08);
  --radius: 0.85rem;
  --wrap: 72rem;
  --header-h: 4.75rem;
  --ease: 0.16s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.05rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
}

h3,
.subhead {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue);
  transition: color var(--ease);
}

a:hover {
  color: var(--blue-deep);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(0, 196, 245, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 50%;
}

.brand-footer img {
  width: 3rem;
  height: 3rem;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand:hover,
.brand:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font: inherit;
}

.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 0.125rem;
  background: var(--white);
  box-shadow: 0 -0.35rem 0 var(--white), 0 0.35rem 0 var(--white);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.hero {
  background:
    radial-gradient(ellipse 55% 70% at 78% 52%, rgba(26, 140, 255, 0.16), transparent 64%),
    var(--navy);
  color: var(--white);
  padding: 4rem 0 4.25rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.25rem 2.5rem;
  align-items: center;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero h1,
.hero .lede,
.hero .eyebrow {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.lede {
  font-size: 1.125rem;
  max-width: 36rem;
  color: #c5d3e2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy) 0%, transparent 7%, transparent 88%, var(--navy) 100%),
    linear-gradient(180deg, var(--navy) 0%, transparent 10%, transparent 90%, var(--navy) 100%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.74rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color var(--ease), color var(--ease), box-shadow var(--ease);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-deep);
  color: var(--white);
}

.button-secondary {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--cyan);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(0, 196, 245, 0.12);
  color: var(--white);
}

.section {
  padding: 4.25rem 0;
}

.section-gray {
  background: var(--gray);
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-header h2 {
  padding-bottom: 0.7rem;
  border-bottom: none;
  background-image: linear-gradient(90deg, var(--cyan), var(--blue));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 4.25rem 3px;
}

.section-header p {
  color: var(--muted);
  margin-top: 0.9rem;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.85rem;
}

.service-list li {
  padding: 0.5rem 0.65rem 0.5rem 0.85rem;
  border-left: 3px solid var(--cyan);
  background: var(--white);
  border-radius: 0 0.5rem 0.5rem 0;
  font-size: 0.97rem;
  line-height: 1.4;
  box-shadow: 0 1px 0 rgba(11, 21, 36, 0.04);
}

.drop-off-card {
  margin-top: 1.75rem;
  max-width: 46rem;
}

.drop-off-card p {
  color: var(--muted);
}

.process-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.remote-download {
  margin: 0 0 0.25rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  vertical-align: top;
}

.rate-table thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.rate-table tbody th {
  font-weight: 700;
  color: var(--heading);
  width: 42%;
}

.rate-table tbody tr:nth-child(even) {
  background: #eaf0f6;
}

.rate-notes {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.benefit-list li {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
}

.benefit-list p {
  color: var(--muted);
  flex-grow: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.7rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
}

.contact-panel h3 {
  margin-bottom: 1rem;
}

.directions-link {
  margin-top: auto;
  align-self: flex-start;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 1.35rem 0 0;
}

.contact-list dt {
  font-weight: 700;
  color: var(--heading);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-list dd {
  margin: 0;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
}

.site-footer {
  background: var(--navy);
  color: #b8c6d4;
  padding: 1.85rem 0;
  border-top: 1px solid rgba(0, 196, 245, 0.16);
}

.footer-inner {
  display: grid;
  gap: 0.8rem;
}

.site-footer .brand-name,
.site-footer a {
  color: var(--white);
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
  transition: color var(--ease);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan);
}

.footer-meta,
.footer-copy {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero {
    padding: 2.5rem 0 2.35rem;
  }

  .hero-grid,
  .services-layout,
  .benefit-list,
  .contact-grid,
  .service-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual img {
    width: 100%;
    max-width: 36rem;
    margin-inline: auto;
  }

  .hero-visual::after {
    background:
      linear-gradient(90deg, var(--navy) 0%, transparent 6%, transparent 94%, var(--navy) 100%),
      linear-gradient(180deg, var(--navy) 0%, transparent 8%, transparent 92%, var(--navy) 100%);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 101;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1rem 1.5rem rgba(11, 21, 36, 0.45);
    padding: 0.75rem 1rem 1rem;
  }

  .nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.2rem;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .section {
    padding: 3.25rem 0;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(100% - 1.5rem, var(--wrap));
  }

  .brand img {
    width: 2.85rem;
    height: 2.85rem;
  }

  .brand-footer img {
    width: 2.6rem;
    height: 2.6rem;
  }

  .brand-name {
    white-space: normal;
    line-height: 1.15;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-panel {
    padding: 1.5rem 1.2rem;
  }

  .directions-link,
  .remote-download {
    width: 100%;
  }

  .rate-table th,
  .rate-table td {
    padding: 0.7rem 0.75rem;
  }
}
