:root {
  color-scheme: light;
  --ink: #1e2b3c;
  --muted: #5b6573;
  --accent: #3b4757;
  --mid: #b3bcc8;
  --line: #dce1e8;
  --surface: #f4f6f9;
  --warm: #e8edf3;
  --button: #1b2838;
  --button-hover: #111a26;
  --brand-navy: #101b28;
  --brand-white: #f4f8fb;
  --brand-orange: #eb6b24;
  --brand-peach: #f4aa69;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1.0625rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

main { flex: 1; scroll-margin-top: 82px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.035em; }
a { color: inherit; }
button, select { font: inherit; }
button:not(:disabled) { cursor: pointer; }
button:disabled { opacity: .55; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.container, .wrap {
  width: min(100% - 64px, 1180px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 8px 14px;
  color: white;
  background: var(--ink);
}

.skip-link:focus { transform: none; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.wordmark {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
}

.wordmark img { width: 140px; height: auto; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.menu-toggle:hover { border-color: var(--line); }
.menu-toggle[aria-expanded="false"] .menu-close,
.menu-toggle[aria-expanded="true"] .menu-bars { display: none; }

.primary-nav, .footer-inner nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav { gap: clamp(14px, 2vw, 28px); }

.primary-nav a, .footer-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: .25em;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:not(.nav-contact):hover, .primary-nav a[aria-current], .footer-inner nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .35em;
}

.primary-nav a:not(.nav-contact) { color: var(--muted); }
.primary-nav .nav-contact { padding-inline: 20px; white-space: nowrap; }

.site-header--brand { border-color: #273849; background: var(--brand-navy); }
.site-header--brand .header-inner { min-height: 74px; }
.site-header--brand .primary-nav a:not(.nav-contact) { color: #dce6ee; }
.site-header--brand .primary-nav a:not(.nav-contact):hover { color: var(--brand-peach); text-decoration: none; }
.site-header--brand .nav-contact { border-color: #997561; color: var(--brand-white); background: transparent; }
.site-header--brand .nav-contact:hover { border-color: var(--brand-peach); background: #263444; }
.site-header--brand .menu-toggle { color: var(--brand-white); background: var(--brand-navy); }
.site-header--brand :is(a, button):focus-visible, .hero-actions a:focus-visible { outline-color: var(--brand-peach); }

.hero {
  padding-block: clamp(42px, 5.2vw, 74px);
  color: var(--brand-white);
  background: var(--brand-navy);
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
}

.hero-copy { min-width: 0; }
.hero-product { margin-bottom: 13px; color: var(--brand-peach); font-size: 1rem; font-weight: 720; }

.hero h1 {
  font-size: clamp(2.35rem, 4.7vw, 4.2rem);
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: 1.13;
  word-break: keep-all;
}
.hero h1 span { color: var(--brand-peach); }

.hero-lead {
  margin-top: 19px;
  color: #c6d4df;
  font-size: 1.075rem;
  line-height: 1.6;
}

.hero-media {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #3b4b5a;
  border-radius: 14px;
  background: #233648;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions { margin-top: 25px; }
.hero-actions .button { padding-inline: 20px; border-radius: 6px; font-weight: 720; }
.hero-actions .button--primary { border-color: var(--brand-orange); background: var(--brand-orange); color: var(--brand-navy); }
.hero-actions .button--primary:hover { border-color: var(--brand-peach); background: var(--brand-peach); }
.hero-service-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  max-width: 18rem;
  margin-top: 22px;
  padding-top: 11px;
  border-top: 1px solid #405060;
  color: #bdcbd7;
  font-size: .9375rem;
}
.hero-service-status strong { font-weight: 650; color: #e5edf4; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  gap: .42em;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 670;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.button--primary { border-color: var(--button); background: var(--button); color: #fff; }
.button--primary:hover { border-color: var(--button-hover); background: var(--button-hover); }
.button--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.button--secondary:hover { background: var(--warm); }

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .24em;
  text-decoration-color: var(--mid);
  font-weight: 670;
}

.text-link:hover { text-decoration-color: currentColor; }

button.text-link {
  background: transparent;
  border: 0;
  min-height: 44px;
  padding: 0;
}

.section { padding-block: 80px; }
.section-heading h2, .faq-grid > h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; }
.section-heading p { max-width: 40em; margin-top: 16px; color: var(--muted); }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 750; }
.breadcrumb { font-size: .875rem; color: var(--muted); }

.section.home-solutions { padding-block: clamp(47px, 5.6vw, 72px); background: var(--surface); }

.home-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.home-product:focus-within {
  border-color: var(--mid);
  box-shadow: 0 10px 26px #1e2b3c0f;
}

.home-product-copy { display: flex; flex: 1; flex-direction: column; }
.home-product h3 { font-size: 1.6875rem; font-weight: 700; }
.home-product-copy > p { margin-top: 10px; color: var(--muted); }

.product-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
}

.product-preview { min-width: 0; margin: 0; }
.product-preview img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.product-preview figcaption { margin-top: 7px; color: var(--muted); font-size: .875rem; }

.latest-report {
  margin-block: 16px 8px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.report-meta { color: var(--muted); font-size: .875rem; font-weight: 620; }
.latest-report-title { display: inline-block; margin-top: 4px; font-weight: 700; text-underline-offset: .24em; }
.latest-report-title:hover { color: var(--accent); }
.report-message { color: var(--muted); }

.vertex-wordmark { width: clamp(140px, 16vw, 190px); height: auto; margin-bottom: 16px; }

.section.home-values { padding-top: 0; }
.home-values .container { padding-top: 80px; border-top: 1px solid var(--line); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.value-grid li { padding-top: 24px; border-top: 2px solid var(--ink); }
.value-grid h3 { font-size: 1.25rem; }
.value-grid h3 span { display: block; color: var(--muted); font-size: .875rem; letter-spacing: .02em; font-weight: 600; }
.value-grid p { margin-top: 12px; color: var(--muted); }

main > section[id] { scroll-margin-top: 73px; }
main > section[tabindex="-1"]:focus { outline: none; }
.home-faq { border-top: 1px solid var(--line); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr);
  gap: 48px;
  align-items: start;
}

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 8px 14px 4px;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--accent); }
.faq-list details[open] { background: var(--surface); }
.faq-list summary:focus-visible { outline-offset: 2px; }

.faq-list summary::after {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.faq-list details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq-answer { padding: 0 26px 18px 4px; color: var(--muted); }
.faq-answer .text-link { display: inline-block; margin-top: 8px; }

.home-contact {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  font-size: 1.0625rem;
}

.page-intro { padding-block: 62px 44px; }
.page-intro h1 { font-size: clamp(2.15rem, 4vw, 3.42rem); font-weight: 780; }
.page-intro p { max-width: 760px; margin-top: 16px; color: var(--muted); font-size: 1.125rem; }
.page-intro .text-link { display: inline-block; margin-top: 17px; }

.about-services, .monitor-section { padding-top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }

.service-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 35px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.service-panel h2 { margin-block: 8px 14px; font-size: 2rem; }
.service-panel p:not(.eyebrow) { color: var(--muted); }
.service-panel .button-group { margin-top: auto; padding-top: 25px; gap: 16px; }

.monitor-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.monitor-filters label { flex: 0 1 210px; display: grid; gap: 5px; font-size: .9rem; font-weight: 680; }

.monitor-filters select {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 33px 0 12px;
  border: 1px solid var(--mid);
  border-radius: 8px;
  appearance: none;
  color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234d6170' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.4' d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}

.monitor-filters select:disabled { opacity: .62; }
.monitor-filters button { padding-inline: 6px; font-size: .9rem; }
.monitor-data-state { margin-top: 12px; min-height: 23px; color: var(--muted); font-size: .9rem; }
.report-group { margin-top: 33px; }
.report-heading { display: flex; gap: 10px; align-items: baseline; }
.report-heading h2 { font-size: 1.625rem; font-weight: 745; }
.report-count { color: var(--accent); font-weight: 680; }
.report-list { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.report-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.report-list h3 { margin-top: 5px; font-size: 1.16rem; line-height: 1.45; }
.report-list h3 a { text-decoration: underline; text-decoration-color: var(--mid); text-underline-offset: .26em; }
.report-list h3 a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.report-details { margin-top: 5px; color: var(--muted); font-size: .875rem; }
.report-empty { margin-top: 12px; color: var(--muted); }

.site-footer { padding-block: 40px 46px; background: #fff; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 26px;
}
.footer-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand img { width: 132px; height: auto; }
.footer-vertex img { width: 96px; }
.footer-by { color: var(--muted); font-size: .875rem; font-weight: 600; }
.footer-inner p { margin-top: 7px; color: var(--muted); font-size: .875rem; }
.footer-inner nav { flex-wrap: wrap; gap: 0 18px; margin-top: 10px; }
.footer-inner nav a { font-size: .875rem; min-height: 36px; }

.menu-scrim { display: none; }

@media (max-width: 767px) {
  .container, .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; flex-wrap: wrap; gap: 0 10px; }
  .wordmark img { width: 122px; }
  .menu-toggle { display: grid; margin-inline-end: -8px; }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + .primary-nav { display: none; }
  .menu-toggle:not([hidden]) + .primary-nav {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 1px);
    display: grid;
    gap: 0;
    padding: 6px 20px 12px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 18px #1e2b3c0d;
  }
  .menu-toggle:not([hidden]) + .primary-nav a + a:not(.nav-contact) { border-top: 1px solid var(--line); }
  .primary-nav { gap: 8px 15px; flex-wrap: wrap; }
  .primary-nav a { font-size: .9375rem; }
  .primary-nav .nav-contact { justify-self: start; margin-top: 8px; }
  .menu-scrim { display: block; position: fixed; z-index: 9; inset: 64px 0 0; background: #1e2b3c55; }
  body { font-size: 1rem; }
  .site-header--brand .header-inner { min-height: 64px; }
  .site-header--brand .menu-toggle:not([hidden]) + .primary-nav { border-color: #273849; background: var(--brand-navy); }
  .site-header--brand .menu-toggle:not([hidden]) + .primary-nav a + a:not(.nav-contact) { border-color: #273849; }
  .hero { padding-block: 28px 30px; }
  .hero-stage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-product { margin-bottom: 10px; font-size: .9375rem; }
  .hero h1 { font-size: clamp(2rem, 8.8vw, 3.6rem); }
  .hero-lead { margin-top: 12px; font-size: 1rem; }
  .hero-actions { margin-top: 17px; }
  .hero-actions .button { min-height: 46px; padding-inline: 16px; }
  .hero-service-status { margin-top: 17px; padding-top: 9px; }
  .hero-media { border-radius: 12px; }
  .section { padding-block: 56px; }
  .home-product, .value-grid { grid-template-columns: minmax(0, 1fr); }
  .home-product { padding: 20px; }
  .home-product h3 { font-size: 1.4375rem; }
  .home-values .container { padding-top: 56px; }
  .value-grid { gap: 28px; margin-top: 28px; }
  main > section[id] { scroll-margin-top: 65px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq-list summary { font-size: 1rem; min-height: 56px; }
  .faq-answer { padding-right: 16px; }
  .page-intro { padding-bottom: 28px; }
  .page-intro p { font-size: 1.0625rem; }
  .about-services, .monitor-section { padding-top: 0; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .monitor-filters { padding: 14px; gap: 10px; }
  .monitor-filters label { flex: 1 1 calc(50% - 5px); min-width: 0; }
  .monitor-filters button { min-height: 36px; padding-inline: 0; }
  .site-footer { padding-block: 32px 38px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise-in 460ms cubic-bezier(.2, .72, .24, 1) backwards; }
  .hero-copy h1 { animation-delay: 55ms; }
  .hero-lead { animation-delay: 105ms; }
  .hero-copy .hero-actions { animation: fade-in 360ms ease-out 180ms backwards; }
  .hero-media img { animation: hero-photo-enter 660ms cubic-bezier(.2, .72, .24, 1) 55ms backwards; }

  .reveal-in-view { animation: rise-in 490ms cubic-bezier(.2, .72, .24, 1) backwards; }
  .button, .text-link {
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  }
  .button:not(:disabled):active { transform: translateY(1px) scale(.985); }
  .faq-list summary::after { transition: transform 220ms ease; }
  .home-product { transition: border-color 220ms ease, box-shadow 220ms ease; }
  .product-preview img { transition: transform 220ms ease; }
  .faq-list details { transition: background-color 220ms ease; }
  .faq-list details[open] .faq-answer { animation: content-enter 220ms ease-out; }

  @media (hover: hover) and (pointer: fine) {
    .home-product:has(.product-action:hover) {
      border-color: var(--mid);
      box-shadow: 0 10px 26px #1e2b3c0f;
    }
    .home-product:has(.product-action:hover) .product-preview img { transform: translateY(-3px); }
  }

  @media (min-width: 768px) {
    .home-product:nth-child(2), .value-grid li:nth-child(2) { animation-delay: 85ms; }
    .value-grid li:nth-child(3) { animation-delay: 155ms; }
  }

  @media (max-width: 767px) {
    .menu-toggle[aria-expanded="true"] + .primary-nav { animation: content-enter 220ms ease-out; }
    .menu-scrim:not([hidden]) { animation: fade-in 220ms ease-out; }
  }
}

@keyframes hero-photo-enter {
  from { opacity: .76; transform: scale(1.055); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes rise-in {
  from { opacity: .7; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: .72; }
  to { opacity: 1; }
}

@keyframes content-enter {
  from { opacity: .72; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
