:root {
  --ink: #f3f6fb;
  --ink-strong: #ffffff;
  --muted: #abb7c7;
  --muted-strong: #ccd5e0;
  --canvas: #070b10;
  --surface: #0c1219;
  --surface-raised: #111a24;
  --line: #263140;
  --blue: #1687ee;
  --blue-bright: #32a2ff;
  --blue-deep: #075aa9;
  --danger: #ff7b78;
  --success: #80d6a0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --container: 1200px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--blue-bright);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #79c5ff;
}

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

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 40;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #04101b;
  background: var(--blue-bright);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  background: rgb(7 11 16 / 92%);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-strong);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand span {
  color: var(--blue-bright);
  margin-left: 0.3em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted-strong);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink-strong);
  background: rgb(255 255 255 / 7%);
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: #03101b;
  background: var(--blue-bright);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: #03101b;
  background: #73c1ff;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(760px, calc(100dvh - 72px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("./power-ym-hero.jpg");
  background-position: center;
  background-size: cover;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(3 6 10 / 96%) 0%, rgb(3 6 10 / 82%) 35%, rgb(3 6 10 / 16%) 68%, rgb(3 6 10 / 4%) 100%);
  content: "";
}

.hero-content {
  width: min(610px, 53%);
  padding-block: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-block: 0;
  color: var(--ink-strong);
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 34rem;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: #03101b;
  background: var(--blue-bright);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.button:hover {
  color: #03101b;
  background: #77c4ff;
}

.button:active {
  transform: scale(0.97);
}

.button-secondary {
  border-color: #536275;
  color: var(--ink-strong);
  background: rgb(7 11 16 / 66%);
}

.button-secondary:hover {
  border-color: #7f90a6;
  color: var(--ink-strong);
  background: rgb(20 29 39 / 90%);
}

.section {
  padding-block: clamp(76px, 10vw, 128px);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  max-width: 700px;
  margin-bottom: clamp(44px, 7vw, 72px);
}

.section-intro p,
.lead {
  max-width: 65ch;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  text-wrap: pretty;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: process;
}

.process-item {
  position: relative;
  min-height: 250px;
  padding: 26px 28px 26px 0;
  border-top: 1px solid #526175;
  counter-increment: process;
}

.process-item + .process-item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.process-item::before {
  display: block;
  margin-bottom: 46px;
  color: var(--blue-bright);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 800;
  content: counter(process, decimal-leading-zero);
}

.process-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(48px, 10vw, 120px);
  align-items: start;
}

.statement {
  max-width: 16ch;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.fact-list {
  margin: 0;
}

.fact-list > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list > div:first-child {
  padding-top: 0;
}

.fact-list dt {
  color: var(--ink-strong);
  font-weight: 800;
}

.fact-list dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding-block: clamp(72px, 9vw, 112px);
}

.support-band p {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--muted-strong);
}

.page-hero {
  padding-block: clamp(72px, 10vw, 124px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.page-hero .lead {
  max-width: 58ch;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(48px, 10vw, 120px);
  align-items: start;
}

.aside-panel {
  position: sticky;
  top: 104px;
}

.aside-panel h2 {
  max-width: none;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.aside-panel p,
.aside-panel address {
  margin: 14px 0 0;
  color: var(--muted);
  font-style: normal;
}

.aside-links {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.aside-links a {
  color: var(--muted-strong);
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  max-width: none;
  margin: 2.2em 0 0.75em;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
}

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

.prose h3 {
  margin: 1.8em 0 0.65em;
}

.prose p,
.prose li {
  color: var(--muted-strong);
  text-wrap: pretty;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.5em;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  margin: 0 0 56px;
  padding: 24px 0;
  border-top: 1px solid #526175;
  border-bottom: 1px solid var(--line);
}

.legal-meta dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-meta dd {
  margin: 6px 0 0;
  color: var(--ink-strong);
  font-weight: 700;
}

.notice {
  margin: 32px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--blue-bright);
  background: var(--surface);
  color: var(--muted-strong);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(52px, 10vw, 112px);
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 0;
}

.contact-method {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-method:first-child {
  padding-top: 0;
}

.contact-method p,
.contact-method address {
  margin: 8px 0 0;
  color: var(--muted);
  font-style: normal;
}

.contact-form {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

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

.field {
  margin-bottom: 20px;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-strong);
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #546275;
  border-radius: var(--radius-sm);
  color: var(--ink-strong);
  background: #080d13;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8290a2;
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #73839a;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgb(50 162 255 / 18%);
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  display: none;
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.9rem;
}

.field-error.is-visible {
  display: block;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--blue);
}

.checkbox-field label {
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.form-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--success);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.faq-list {
  margin-top: 48px;
  border-top: 1px solid #526175;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
  color: var(--ink-strong);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--blue-bright);
  font-size: 1.4rem;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 68ch;
  margin: -2px 0 24px;
  color: var(--muted);
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 72px);
  padding: 60px 20px;
  text-align: center;
}

.empty-state-inner {
  max-width: 640px;
}

.empty-state h1 {
  max-width: none;
}

.empty-state p {
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: 1.15rem;
}

.site-footer {
  padding-block: 56px 32px;
  background: #05080c;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  max-width: 38ch;
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-column h2 {
  max-width: none;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column nav {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.footer-column a,
.footer-column p,
.footer-column address {
  color: var(--muted);
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  color: #8391a3;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }

  .button:active {
    transform: scale(0.97);
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 73px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    height: calc(100dvh - 73px);
    padding: 22px 20px;
    background: var(--canvas);
  }

  .site-nav.is-open {
    display: grid;
    align-content: start;
  }

  .site-nav a {
    min-height: 52px;
    padding-inline: 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav .nav-cta {
    margin: 14px 0 0;
    border: 0;
    border-radius: var(--radius-sm);
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero::before {
    background-position: 68% center;
  }

  .hero::after {
    background: linear-gradient(0deg, rgb(3 6 10 / 98%) 0%, rgb(3 6 10 / 82%) 46%, rgb(3 6 10 / 8%) 100%);
  }

  .hero-content {
    width: min(100%, 650px);
    padding-block: 60px;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-item:nth-child(3) {
    border-left: 0;
  }

  .service-layout,
  .contact-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .aside-panel {
    position: static;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 64px;
  }

  .site-nav {
    top: 65px;
    height: calc(100dvh - 65px);
  }

  .hero {
    min-height: 700px;
  }

  .hero::before {
    background-position: 72% top;
  }

  .hero-content {
    padding-block: 48px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

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

  .process,
  .form-row,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .process-item,
  .process-item + .process-item,
  .process-item:nth-child(3) {
    min-height: auto;
    padding: 24px 0 30px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-item::before {
    margin-bottom: 28px;
  }

  .support-band {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--canvas);
    backdrop-filter: none;
  }
}
