:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5e6a66;
  --panel: #ffffff;
  --page: #f4f6f5;
  --line: #dce3df;
  --green: #1f7a61;
  --green-dark: #0e4f41;
  --coral: #d9614c;
  --amber: #d69b2d;
  --blue: #226aa5;
  --charcoal: #18211f;
  --shadow: 0 18px 44px rgba(23, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

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

svg {
  fill: none;
  height: 1.15em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.15em;
}

.site-header {
  align-items: center;
  background: rgba(244, 246, 245, 0.88);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 32, 29, 0.12);
  display: flex;
  justify-content: space-between;
  left: 24px;
  padding: 12px 14px;
  position: fixed;
  right: 24px;
  top: 18px;
  z-index: 20;
}

.brand,
.site-header nav,
.hero-actions,
.button,
.uptime-panel,
.service-card,
.hardware-title,
.owner-band,
.profile-header {
  align-items: center;
  display: flex;
}

.brand {
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--charcoal);
  border-radius: 7px;
  color: #ffffff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-header nav {
  gap: 6px;
}

.site-header nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 11px;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: #e5ebe8;
  color: var(--ink);
  outline: none;
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(9, 17, 15, 0.88), rgba(9, 17, 15, 0.58), rgba(9, 17, 15, 0.22)),
    url("/hero-datacenter.jpg");
  background-position: left center;
  background-size: cover;
  color: #ffffff;
  min-height: 84svh;
  overflow: hidden;
  position: relative;
}

.hero-backdrop {
  background: rgba(217, 97, 76, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.hero-content {
  margin: 0 auto;
  max-width: 760px;
  padding: 148px 24px 58px;
  position: relative;
  width: min(100%, 1160px);
}

.eyebrow {
  color: var(--coral);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow,
.uptime-panel .eyebrow {
  color: #f2b36d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 72px;
  line-height: 0.96;
  margin-bottom: 24px;
}

h2 {
  font-size: 38px;
  line-height: 1.08;
  margin-bottom: 14px;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
  margin-bottom: 8px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.62;
  max-width: 680px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.button {
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.button-primary {
  background: #ffffff;
  color: var(--charcoal);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.button-dark {
  background: var(--charcoal);
  color: #ffffff;
}

.uptime-panel {
  background: rgba(18, 28, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
  color: #ffffff;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 620px;
  padding: 14px 16px;
}

.uptime-panel > svg {
  color: #f2b36d;
  font-size: 22px;
}

.uptime-panel strong {
  display: block;
  font-size: 22px;
}

.uptime-meta {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 13px;
  gap: 6px;
  margin-left: auto;
}

.section {
  padding: 78px 24px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1160px;
}

.section-heading {
  max-width: 710px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-services {
  background: #ffffff;
}

.service-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.service-card {
  align-items: flex-start;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 14px;
  min-height: 194px;
  padding: 20px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(31, 122, 97, 0.45);
  box-shadow: var(--shadow);
  outline: none;
  transform: translateY(-2px);
}

.service-icon {
  align-items: center;
  background: #deefe9;
  border-radius: 8px;
  color: var(--green-dark);
  display: flex;
  flex: 0 0 auto;
  font-size: 24px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.service-icon-blue {
  background: #e0edf8;
  color: var(--blue);
}

.service-icon-amber {
  background: #f7ecd4;
  color: #8a5b0c;
}

.service-icon-coral {
  background: #f8e1dc;
  color: #8d2f22;
}

.service-copy {
  display: grid;
  gap: 8px;
}

.service-copy strong {
  font-size: 22px;
  line-height: 1.18;
}

.service-copy span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.service-copy em {
  color: var(--green-dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.section-hardware {
  background: #edf2ef;
}

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

.hardware-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.08);
  padding: 22px;
}

.hardware-title {
  gap: 12px;
}

.hardware-title > svg {
  color: var(--green);
  font-size: 28px;
}

.hardware-title p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.hardware-summary {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 14px 0 18px;
}

.spec-list {
  display: grid;
  gap: 10px;
}

.spec-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(108px, 0.62fr) minmax(0, 1.45fr) auto;
  min-height: 58px;
  padding-top: 12px;
}

.spec-row span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.spec-row strong {
  font-size: 14px;
  line-height: 1.45;
}

.badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  min-width: 52px;
  padding: 0 10px;
  white-space: nowrap;
}

.badge-good {
  background: #dff3ea;
  color: var(--green-dark);
}

.badge-locked {
  background: #f8e1dc;
  color: #8d2f22;
}

.badge-neutral {
  background: #e7ecf0;
  color: #41515b;
}

.section-owner {
  background: #ffffff;
  padding-bottom: 88px;
}

.owner-band {
  background: #e9f0ed;
  border: 1px solid var(--line);
  border-radius: 8px;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
}

.owner-band p:last-child {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.site-footer {
  align-items: center;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 24px;
}

.site-footer span:first-child {
  color: #ffffff;
  font-weight: 900;
}

.profile-body {
  background:
    linear-gradient(180deg, #dfe9e5 0, rgba(223, 233, 229, 0) 360px),
    var(--page);
}

.profile-page {
  min-height: 100svh;
  padding: 24px;
}

.profile-header {
  justify-content: flex-start;
  margin: 0 auto 34px;
  max-width: 1120px;
}

.profile-back {
  background: #ffffff;
  border-color: var(--line);
  color: var(--charcoal);
}

.profile-hero,
.profile-focus,
.profile-section {
  margin: 0 auto;
  max-width: 1120px;
}

.profile-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(24, 33, 31, 0.98), rgba(14, 79, 65, 0.92)),
    var(--charcoal);
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  overflow: hidden;
  padding: 46px;
  position: relative;
}

.profile-hero::after {
  background: linear-gradient(90deg, transparent, rgba(242, 179, 109, 0.18));
  bottom: 0;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
}

.profile-identity {
  position: relative;
  z-index: 1;
}

.profile-identity h1 {
  font-size: 58px;
  line-height: 1;
  margin-bottom: 16px;
}

.profile-identity p:last-of-type {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.72;
  max-width: 720px;
}

.profile-avatar {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #f2b36d;
  display: flex;
  font-size: 24px;
  font-weight: 900;
  height: 92px;
  justify-content: center;
  margin-bottom: 28px;
  width: 92px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.profile-actions .button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.profile-snapshot {
  align-self: end;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.profile-snapshot div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px;
}

.profile-snapshot div:last-child {
  border-bottom: 0;
}

.profile-snapshot span {
  color: #f2b36d;
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.profile-snapshot strong {
  display: block;
  font-size: 18px;
  line-height: 1.42;
}

.profile-focus {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin-top: 18px;
}

.profile-focus-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.08);
  padding: 26px;
}

.profile-focus-main h2 {
  font-size: 30px;
  margin-bottom: 14px;
  max-width: 720px;
}

.profile-focus-main p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 780px;
}

.profile-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.profile-achievement-card {
  background: #fff6e5;
  border-color: #ead6ad;
  display: grid;
  align-content: center;
}

.profile-achievement-card strong {
  color: #65430b;
  display: block;
  font-size: 28px;
  line-height: 1.22;
}

.profile-achievement-card span {
  color: #7a622f;
  display: block;
  line-height: 1.62;
  margin-top: 18px;
}

.profile-section {
  margin-top: 18px;
}

.profile-section-heading {
  margin-bottom: 14px;
}

.profile-section-heading h2 {
  margin-bottom: 0;
}

.profile-activity-grid,
.profile-contact-grid {
  display: grid;
  gap: 14px;
}

.profile-activity-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.profile-activity-grid article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 32, 29, 0.07);
  display: grid;
  gap: 10px;
  min-height: 126px;
  padding: 20px;
}

.profile-activity-grid article:nth-child(2) {
  border-top: 4px solid var(--green);
}

.profile-activity-grid article:nth-child(3) {
  border-top: 4px solid var(--blue);
}

.profile-activity-grid article:nth-child(4) {
  border-top: 4px solid var(--coral);
}

.profile-activity-grid span,
.profile-contact-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-activity-grid strong,
.profile-contact-link strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.profile-contact-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.profile-contact-link {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 32, 29, 0.07);
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.profile-contact-link:hover,
.profile-contact-link:focus-visible {
  border-color: rgba(31, 122, 97, 0.45);
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.profile-contact-link:nth-child(1),
.profile-contact-link:nth-child(2),
.profile-contact-link:nth-child(3) {
  grid-column: span 2;
}

.profile-contact-link:nth-child(4) {
  grid-column: span 3;
}

.profile-contact-link:last-child {
  grid-column: span 3;
}

@media (max-width: 1060px) {
  .service-grid,
  .hardware-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hardware-grid {
    align-items: start;
  }

  .profile-hero,
  .profile-focus {
    grid-template-columns: 1fr;
  }

  .profile-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-contact-link:nth-child(1),
  .profile-contact-link:nth-child(2),
  .profile-contact-link:nth-child(3),
  .profile-contact-link:nth-child(4),
  .profile-contact-link:last-child {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    left: 12px;
    padding: 10px;
    right: 12px;
    top: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .site-header nav a {
    font-size: 13px;
    padding: 8px;
  }

  .hero {
    background-position: 31% center;
    min-height: 78svh;
  }

  .hero-content {
    padding: 122px 18px 38px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .uptime-panel {
    align-items: flex-start;
  }

  .uptime-meta {
    flex-basis: 100%;
    margin-left: 0;
  }

  .section {
    padding: 58px 18px;
  }

  .service-grid,
  .hardware-grid,
  .profile-activity-grid,
  .profile-contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .spec-row {
    grid-template-columns: 1fr;
  }

  .spec-row .badge {
    justify-self: flex-start;
  }

  .owner-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .profile-page {
    padding: 18px;
  }

  .profile-hero {
    padding: 28px;
  }

  .profile-identity h1 {
    font-size: 36px;
  }

  .profile-focus-main h2 {
    font-size: 26px;
  }
}
