:root {
  color-scheme: dark;
  --night: #04111d;
  --deep: #020a12;
  --white: #f1f9ff;
  --muted: #b4c7d5;
  --cyan: #22e2fa;
  --border: #126b86;
  --line: #214153;
  --cut: 15px;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--night);
  color: var(--white);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
p { color: var(--muted); line-height: 1.55; }
em { color: var(--cyan); font-style: inherit; }
.wrap { width: min(1140px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; z-index: 3; left: 14px; top: 14px; padding: 10px; background: var(--deep); transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { background: var(--deep); border-bottom: 1px solid #14566f; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 75px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.25rem; font-weight: 850; font-style: italic; text-transform: uppercase; letter-spacing: -.045em; white-space: nowrap; }
.brand img { border-radius: 50%; }
.brand strong { color: var(--cyan); }
nav { display: flex; align-items: center; gap: clamp(16px, 4vw, 42px); }
nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 700; padding-block: 10px; }
nav a:hover, .secondary:hover, .socials a:hover { color: var(--cyan); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--deep);
  background-image:
    linear-gradient(90deg, #020a12 0%, #020a12ed 22%, #020a125c 53%, #020a1214 75%),
    linear-gradient(0deg, #04111d 0%, transparent 30%),
    url("assets/controller-repair-workstation.webp");
  background-size: cover;
  background-position: center, center, center 54%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 3%, #106580 23%, var(--cyan) 50%, #106580 77%, transparent 97%);
  box-shadow: 0 0 17px #22e2fa8f;
}
.hero-inner { padding-block: clamp(46px, 6vw, 84px) clamp(52px, 7vw, 96px); }
.hero-copy { max-width: 640px; }
.area {
  color: var(--cyan);
  font-size: clamp(.68rem, 1.7vw, .81rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 17px;
}
.area span, .availability span { color: var(--cyan); padding-inline: .22em; }
h1, h2, h3 { font-style: italic; text-transform: uppercase; font-weight: 900; }
h1 { font-size: clamp(3.2rem, 7.4vw, 6.5rem); line-height: .9; letter-spacing: -.057em; }
h1 em { display: inline-block; padding-right: .07em; text-shadow: 0 0 24px #25cfee30; }
.hero-description { font-size: clamp(.96rem, 1.5vw, 1.06rem); margin-top: 22px; max-width: 41ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 22px; margin-top: 24px; }
.button {
  color: var(--deep);
  background: var(--cyan);
  padding: 13px 20px;
  font-size: .92rem;
  font-weight: 850;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  box-shadow: 0 0 22px #22e2fa38;
}
.button:hover { background: #99f3ff; }
.button:focus-visible { outline-offset: 4px; }
.secondary { font-size: .92rem; font-weight: 750; text-underline-offset: 5px; }
.prices { padding-block: 45px 30px; }
.section-title { font-size: clamp(2rem, 5.2vw, 3.75rem); line-height: .98; letter-spacing: -.055em; margin-bottom: 24px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 1px;
  background: linear-gradient(115deg, #209cbd 0%, #28d6ef 32%, #126b86 70%, #1eabcb 100%);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: #071521;
  clip-path: inherit;
}
.panel h3 {
  padding: 14px 19px;
  font-size: clamp(1.15rem, 2.6vw, 1.62rem);
  letter-spacing: -.035em;
  line-height: 1.1;
  background: linear-gradient(90deg, #0a273a, #0b2131 70%, #0e3a52);
  border-bottom: 1px solid var(--border);
}
.availability { padding: 10px 19px 0; font-size: .8rem; font-weight: 700; }
.rates { padding: 3px 19px 9px; }
.rates > div { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 13px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.rates > div:last-child { border-bottom: 0; }
dt { font-size: clamp(.88rem, 2vw, 1rem); font-weight: 680; }
dd { color: var(--cyan); font-size: clamp(.9rem, 2vw, 1.13rem); font-weight: 850; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
dd small { color: var(--muted); font-size: .75em; font-weight: 650; }
.price-note { margin-top: 13px; font-size: .85rem; }
.contact { padding-block: 0 40px; }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 18px 32px;
  align-items: center;
  padding: 21px 23px;
  background: linear-gradient(95deg, #091b2b, #052032);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
}
.contact h2 { font-size: clamp(1.35rem, 3.3vw, 2.15rem); letter-spacing: -.038em; line-height: 1.05; margin-bottom: 7px; }
.contact p { font-size: .9rem; max-width: 50ch; }
.contact-links { justify-self: end; min-width: 0; }
.email { display: inline-block; color: var(--cyan); font-size: clamp(1rem, 2.4vw, 1.29rem); font-weight: 800; text-underline-offset: 4px; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 11px; }
.socials a { padding-block: 3px; color: var(--white); font-size: .88rem; font-weight: 750; text-underline-offset: 4px; }
.socials span { margin-left: 4px; font-weight: 500; }

@media (max-width: 790px) {
  .wrap { width: calc(100% - 42px); }
  .hero { background-position: center, center, 62% center; }
  .price-grid { gap: 12px; }
  .panel h3 { padding-inline: 14px; }
  .rates { padding-inline: 14px; }
  .availability { padding-inline: 14px; }
}
@media (max-width: 620px) {
  .header-inner { min-height: 63px; }
  .brand { font-size: 1rem; gap: 5px; }
  .brand img { width: 38px; height: 38px; }
  nav { gap: 12px; }
  nav a { font-size: .76rem; }
  .hero {
    background-image:
      linear-gradient(0deg, #04111d 0%, #020a12 36%, #020a12d9 48%, #020a1208 71%),
      url("assets/controller-repair-workstation.webp");
    background-repeat: no-repeat;
    background-size: cover, auto 68%;
    background-position: center, 80% top;
  }
  .hero-inner { padding-block: 180px 35px; }
  h1 { font-size: clamp(2.9rem, 12vw, 4.55rem); }
  .hero-description { margin-top: 16px; }
  .actions { margin-top: 17px; }
  .price-grid, .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .prices { padding-block: 33px 21px; }
  .contact-panel { padding: 17px; }
  .contact-links { justify-self: start; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 30px); }
  .header-inner { gap: 8px; }
  nav { gap: 9px; }
  .rates > div { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
