:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6d6d6d;
  --soft: #f4f4f4;
  --line: #e5e5e5;
  --panel: #ffffff;
  --accent: #ffe500;
  --accent-dark: #1b1b1b;
  --sale: #ff3b30;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.notice {
  align-items: center;
  background: #111;
  color: #fff;
  display: flex;
  font-size: 13px;
  gap: 12px;
  justify-content: center;
  min-height: 34px;
  padding: 7px 18px;
}

.notice strong {
  color: var(--accent);
}

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  min-height: 76px;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  border: 2px solid #111;
  border-radius: 6px;
  color: #111;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  width: 54px;
}

.nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.nav a,
.nav-item {
  border-radius: 6px;
  color: var(--muted);
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  padding: 10px 12px;
}

.nav a {
  cursor: pointer;
}

.nav-item {
  cursor: default;
}

.nav a[aria-current="page"],
.nav-item[aria-current="page"],
.nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.shell {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1240px;
  padding: 24px 24px 70px;
}

.intro {
  align-items: end;
  background: #111;
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 180px;
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.intro::after {
  background: var(--accent);
  border-radius: 100px 0 0 0;
  bottom: 0;
  content: "";
  height: 130px;
  opacity: 0.95;
  position: absolute;
  right: 0;
  width: 36%;
}

h1 {
  font-size: clamp(31px, 4.5vw, 58px);
  line-height: 1.05;
  margin: 0;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.lead {
  color: #d8d8d8;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.intro-copy {
  display: grid;
  gap: 14px;
}

.controls {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
}

.service-tabs {
  background: #111;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}

.service-tabs button {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  min-height: 42px;
  padding: 0 14px;
  white-space: normal;
}

.service-tabs button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

.search-wrap {
  flex: 1 1 280px;
  position: relative;
}

.search {
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  min-height: 48px;
  padding: 0 16px;
  width: 100%;
}

.parts-cta {
  align-items: center;
  background: var(--accent);
  border: 2px solid #111;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  color: #111;
  display: inline-flex;
  font-size: 18px;
  font-weight: 950;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  text-align: center;
}

.header-parts-cta {
  flex: 0 0 auto;
  font-size: 14px;
  min-height: 42px;
  padding: 0 16px;
  place-self: center;
  white-space: nowrap;
}

.parts-cta:hover {
  transform: translateY(-1px);
}

.segments {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  padding: 3px;
}

.segments button {
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 36px;
  padding: 0 12px;
}

.segments button.is-active {
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.status {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  min-height: 20px;
  padding: 0 4px;
}

.count {
  background: var(--accent);
  border-radius: 999px;
  color: #111;
  font-weight: 900;
  padding: 6px 10px;
}

.workspace {
  display: grid;
  gap: 14px;
}

.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 100%;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 0;
  table-layout: fixed;
  width: 100%;
}

th,
td {
  border-top: 1px solid #ededed;
  padding: 18px 20px;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #111;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

th {
  color: #cfcfcf;
}

tbody tr:hover {
  background: #fffceb;
}

td strong,
td span {
  display: block;
}

td span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 4px;
}

.price {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.service-price-cell {
  text-align: center;
}

.service-name-cell {
  text-align: left;
  width: auto;
}

.dual-price-cell {
  width: 25%;
  min-width: 0;
  white-space: normal;
}

.macbook-price-cell {
  width: 19%;
  min-width: 0;
  white-space: normal;
}

.module-price-cell {
  width: 22%;
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.search-section-cell {
  width: 260px;
  white-space: nowrap;
}

.search-name-cell {
  width: 52%;
  white-space: nowrap;
}

.search-price-cell {
  min-width: 470px;
  text-align: left;
  vertical-align: middle;
}

.search-price-cell span {
  color: var(--ink);
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  white-space: nowrap;
}

.pill {
  background: #111;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  padding: 6px 10px;
  white-space: nowrap;
}

.empty-state {
  color: var(--muted);
  padding: 34px 22px;
  text-align: center;
}

.notes {
  background: var(--soft);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  padding: 18px;
}

.notes code {
  background: #fff;
  border-radius: 6px;
  color: var(--ink);
  padding: 2px 6px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
  padding: 24px 0 0;
}

.info-shell {
  gap: 30px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.info-shell > * {
  grid-column: 1 / -1;
}

.page-heading {
  padding: 30px 0 8px;
  text-align: center;
}

.page-heading h1 {
  font-size: 42px;
  margin: 0 auto;
  max-width: 900px;
}

.page-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  margin: 14px auto 0;
  max-width: 760px;
}

.warranty-hero-cards {
  display: grid;
  gap: 18px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 24px;
}

.warranty-hero-cards article {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 210px;
  padding: 34px 36px;
}

.warranty-hero-cards h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.warranty-hero-cards p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  max-width: 620px;
}

.contact-people {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 8px 0 24px;
}

.contact-people article {
  display: grid;
  grid-template-columns: 130px 200px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.contact-people h2,
.contact-address h2 {
  font-size: 24px;
  margin: 0 0 8px;
}

.contact-people a,
.contact-address a {
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.contact-people a:hover,
.contact-address a:hover {
  text-decoration: underline;
}

.contact-people h2 {
  font-size: 18px;
  margin: 0;
}

.contact-people a {
  white-space: nowrap;
}

.contact-location {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-address,
.contact-map {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}

.contact-address {
  padding: 32px;
}

.contact-address p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.contact-map {
  overflow: hidden;
  min-height: 320px;
}

.contact-map iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

@media (max-width: 760px) {
  .contact-people article {
    grid-template-columns: 70px 136px minmax(0, 1fr);
    gap: 8px;
  }

  .contact-people h2,
  .contact-people a {
    font-size: 14px;
  }

  .contact-people,
  .contact-location {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-address {
    padding: 24px 22px;
  }
}

@media (max-width: 360px) {
  .contact-people article {
    grid-template-columns: 60px 124px minmax(0, 1fr);
    gap: 6px;
  }

  .contact-people h2,
  .contact-people a {
    font-size: 13px;
  }
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 420px) {
  .topbar .nav {
    gap: 2px;
  }

  .topbar .nav a,
  .topbar .nav-item {
    font-size: 14px;
    padding: 10px 5px;
  }

  .topbar .brand {
    font-size: 16px;
    gap: 6px;
  }
}

.contact-panel {
  background: var(--soft);
  border-radius: 8px;
  min-height: 330px;
  padding: 42px;
  position: relative;
}

.contact-panel-dark {
  background: #111;
  color: #fff;
}

.contact-panel h2,
.warranty-item h2 {
  font-size: 34px;
  margin: 0 0 24px;
}

.contact-panel p,
.contact-note,
.warranty-item p,
.warranty-callout p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.contact-note {
  color: #bcbcbc;
  display: block;
  margin-top: 20px;
}

.panel-number,
.warranty-item > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  position: absolute;
  right: 26px;
  top: 22px;
}

.contact-lines {
  display: grid;
  gap: 18px;
}

.contact-lines div {
  border-bottom: 1px solid #dcdcdc;
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
}

.contact-lines span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-lines strong {
  font-size: 18px;
}

.map-placeholder {
  align-items: center;
  background: #dedede;
  border-radius: 8px;
  display: flex;
  min-height: 330px;
  overflow: hidden;
  padding: 38px;
  position: relative;
}

.map-placeholder::before,
.map-placeholder::after {
  background: #c9c9c9;
  content: "";
  height: 2px;
  left: -5%;
  position: absolute;
  transform: rotate(-12deg);
  width: 110%;
}

.map-placeholder::after {
  transform: rotate(9deg);
}

.map-placeholder div {
  background: #fff;
  border-left: 8px solid var(--accent);
  max-width: 420px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.map-placeholder span {
  font-size: 13px;
  font-weight: 900;
}

.map-placeholder strong {
  display: block;
  font-size: 28px;
  margin-top: 7px;
}

.map-placeholder p {
  color: var(--muted);
  line-height: 1.5;
  margin: 10px 0 0;
}

.warranty-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.warranty-text {
  border-top: 1px solid var(--line);
  display: block;
  grid-column: 1 / -1;
  margin: 0 auto;
  max-width: 960px;
  padding: 28px 0 0;
}

.warranty-text h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 34px 0 14px;
}

.warranty-text h2:first-child {
  margin-top: 0;
}

.warranty-text p {
  font-size: 18px;
  line-height: 1.65;
  margin: 18px 0 8px;
}

.warranty-text ul {
  margin: 0 0 20px;
  padding-left: 24px;
}

.warranty-text li {
  font-size: 18px;
  line-height: 1.65;
  margin: 8px 0;
}

.warranty-content {
  display: grid;
  gap: 18px;
}

.warranty-section {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

.warranty-section-dark {
  background: #111;
  color: #fff;
}

.warranty-section h2 {
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 20px;
}

.warranty-section h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 12px;
}

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

.warranty-list li {
  color: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  padding-left: 20px;
  position: relative;
}

.warranty-list li::before {
  background: var(--accent);
  border: 2px solid #111;
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 9px;
  width: 8px;
}

.warranty-section-dark .warranty-list li::before {
  border-color: #fff;
}

.warranty-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.warranty-list.compact li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 16px;
}

.warranty-list.compact li::before {
  display: none;
}

.warranty-list strong {
  white-space: nowrap;
}

.warranty-periods {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.warranty-item {
  background: var(--soft);
  border-top: 6px solid #111;
  min-height: 300px;
  padding: 34px 28px;
  position: relative;
}

.warranty-item:nth-child(2) {
  background: #111;
  color: #fff;
}

.warranty-callout {
  align-items: center;
  background: var(--accent);
  border: 2px solid #111;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(200px, 0.8fr) minmax(280px, 1.2fr);
  padding: 28px;
}

.warranty-callout > strong {
  font-size: 24px;
}

.warranty-callout .parts-cta {
  box-shadow: none;
  min-height: 48px;
}

.mobile-nav {
  background: #fff;
  border-top: 1px solid var(--line);
  bottom: 0;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  left: 0;
  position: fixed;
  right: 0;
  z-index: 30;
}

.mobile-nav a,
.mobile-nav > span {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 3px;
  justify-items: center;
  min-height: 58px;
  padding: 8px 4px;
}

.mobile-nav a[aria-current="page"],
.mobile-nav > span[aria-current="page"] {
  color: #111;
}

.mobile-nav b {
  font-size: 18px;
}

@media (max-width: 760px) {
  .notice {
    justify-content: flex-start;
  }

  .topbar {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px 18px;
  }

  .nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    overflow-x: visible;
    width: auto;
  }

  .header-parts-cta {
    grid-column: 1 / -1;
    grid-row: 2;
    place-self: stretch;
  }

  .shell {
    padding: 16px 12px 32px;
  }

  .intro {
    align-items: flex-start;
    min-height: 165px;
    padding: 22px 24px;
  }

  .intro::after {
    height: 92px;
    width: 42%;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
    line-height: 1.35;
  }

  .page-heading {
    padding: 18px 8px 0;
  }

  .page-heading h1 {
    font-size: 32px;
  }

  .page-heading p {
    font-size: 16px;
  }

  .warranty-hero-cards {
    gap: 12px;
    grid-template-columns: 1fr;
    padding-top: 8px;
  }

  .warranty-hero-cards article {
    min-height: auto;
    padding: 28px 22px;
  }

  .warranty-hero-cards h2 {
    font-size: 21px;
    margin-bottom: 12px;
  }

  .warranty-hero-cards p {
    font-size: 16px;
    line-height: 1.55;
  }

  .contact-grid,
  .warranty-grid,
  .warranty-columns,
  .warranty-periods {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .warranty-section,
  .warranty-item {
    min-height: auto;
    padding: 26px 22px;
  }

  .contact-panel h2,
  .warranty-section h2,
  .warranty-item h2 {
    font-size: 28px;
  }

  .warranty-text {
    max-width: none;
    padding-top: 22px;
  }

  .warranty-text h2 {
    font-size: 21px;
    margin-top: 28px;
  }

  .warranty-text p,
  .warranty-text li {
    font-size: 16px;
    line-height: 1.55;
  }

  .warranty-list.compact li {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    min-height: 280px;
    padding: 20px;
  }

  .warranty-callout {
    grid-template-columns: 1fr;
  }

  .controls {
    align-items: stretch;
    flex-direction: column;
  }

  .search-wrap {
    flex: 0 0 auto;
    width: 100%;
  }

  .search {
    height: 54px;
    min-height: 54px;
  }

  .service-tabs {
    margin-left: -2px;
    margin-right: -2px;
  }

  .segments {
    overflow-x: auto;
  }

}

@media (max-width: 760px) {
  .table-wrap {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  table {
    display: block;
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 12px;
  }

  tbody tr {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    overflow: hidden;
    padding: 0;
  }

  tbody tr:hover {
    background: var(--panel);
  }

  td {
    border-top: 0;
    padding: 0 16px 16px;
  }

  td:first-child {
    padding-top: 16px;
  }

  .service-name-cell,
  .service-price-cell,
  .dual-price-cell,
  .macbook-price-cell,
  .module-price-cell,
  .search-section-cell,
  .search-name-cell,
  .search-price-cell {
    min-width: 0;
    text-align: left;
    white-space: normal;
    width: auto;
  }

  .service-name-cell strong,
  .search-name-cell strong {
    font-size: 18px;
    line-height: 1.25;
  }

  .service-price-cell {
    padding-top: 0;
  }

  .service-price-cell:not(.search-price-cell)::before {
    color: var(--muted);
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  .service-price-cell strong,
  .service-price-cell span,
  .search-price-cell span {
    color: var(--ink);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.35;
    margin: 0 0 6px;
    white-space: normal;
  }

  .search-section-cell {
    color: var(--muted);
    order: 3;
    padding-bottom: 6px;
    padding-top: 0;
  }

  .search-section-cell strong {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
  }

  .search-name-cell {
    order: 1;
    padding-top: 16px;
  }

  .search-price-cell {
    order: 2;
  }
}
