:root {
  color-scheme: light;
  --ink: #132238;
  --muted: #5b697b;
  --line: #d9e1eb;
  --surface: #ffffff;
  --soft: #f3f7fb;
  --blue: #165fc7;
  --blue-dark: #0d438f;
  --teal: #0a8c83;
  --coral: #c75b49;
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

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

a:focus-visible {
  outline: 3px solid rgba(22, 95, 199, 0.34);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 72px;
  border-bottom: 1px solid rgba(217, 225, 235, 0.92);
  background: rgba(255, 255, 255, 0.96);
}

.nav-shell,
.section-shell {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #344258;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.nav-contact {
  padding: 8px 14px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: var(--blue);
}

.hero {
  position: relative;
  height: clamp(540px, calc(100svh - 112px), 760px);
  min-height: 540px;
  overflow: hidden;
  background:
    url("/assets/hero-salon-owner.webp") center center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.34);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-bottom: 36px;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #0d2a4e;
  font-size: clamp(56px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 570px;
  margin: 24px 0 0;
  color: #243951;
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 680;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 750;
  transition: background 160ms ease, border-color 160ms ease;
}

.primary-link:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.primary-link.light {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--blue-dark);
}

.primary-link.light:hover {
  border-color: #dbe8f7;
  background: #dbe8f7;
}

.text-link {
  border-bottom: 1px solid currentColor;
  color: var(--blue-dark);
  font-weight: 750;
}

.product-band,
.company-band {
  padding: 96px 0;
  background: var(--surface);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

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

.section-heading h2,
.audience-layout h2,
.company-layout h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.audience-layout > p,
.company-copy,
.contact-layout {
  color: var(--muted);
  font-size: 18px;
}

.section-heading > p:last-child {
  margin: 26px 0 0;
}

.product-visual {
  margin: 0;
  display: grid;
  justify-items: center;
}

.product-visual img {
  width: min(100%, 340px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 52px rgba(19, 34, 56, 0.14);
}

.product-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.capabilities {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-list article {
  min-height: 230px;
  padding: 40px 28px;
  border-right: 1px solid var(--line);
}

.capability-list article:first-child {
  border-left: 1px solid var(--line);
}

.capability-index {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.capability-list h3 {
  margin: 48px 0 8px;
  font-size: 22px;
  letter-spacing: 0;
}

.capability-list p {
  margin: 0;
  color: var(--muted);
}

.audience-band {
  padding: 96px 0;
  background: #0b6f69;
  color: #ffffff;
}

.audience-layout,
.company-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.audience-layout .eyebrow,
.contact-layout .eyebrow {
  color: #b9f3ea;
}

.audience-layout > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
}

.company-copy p {
  margin: 0 0 20px;
}

.company-copy a,
.legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-band {
  padding: 72px 0;
  background: var(--blue-dark);
  color: #ffffff;
}

.contact-layout {
  align-items: center;
}

.contact-layout h2 {
  max-width: 680px;
  font-size: clamp(30px, 3.6vw, 48px);
}

.contact-layout .primary-link {
  justify-self: end;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid #26374d;
  background: #111c2b;
  color: #d7dfeb;
}

.footer-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.footer-layout p {
  margin: 8px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  background: var(--soft);
}

.legal-shell {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
  padding: 80px 0 104px;
}

.legal-header {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.15;
  letter-spacing: 0;
}

.legal-header > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
}

.legal-content {
  padding-top: 28px;
  color: #354459;
  font-size: 17px;
}

.legal-content h2 {
  margin: 42px 0 10px;
  color: var(--ink);
  font-size: 23px;
  letter-spacing: 0;
}

.legal-content p {
  margin: 0 0 18px;
}

.not-found-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--soft);
}

.not-found-shell {
  width: min(100%, 620px);
  text-align: center;
}

.not-found-shell img {
  margin: 0 auto 24px;
  border-radius: var(--radius);
}

.not-found-shell h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 62px);
  line-height: 1.18;
  letter-spacing: 0;
}

.not-found-shell > p:not(.eyebrow) {
  margin: 18px auto 30px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-nav > a:not(.nav-contact) {
    display: none;
  }

  .hero {
    height: 610px;
    min-height: 610px;
    background-position: 62% center;
  }

  .hero::before {
    background: rgba(255, 255, 255, 0.56);
  }

  .hero-inner {
    justify-content: flex-end;
    padding-bottom: 56px;
  }

  .hero-copy {
    max-width: 520px;
  }

  .product-grid,
  .audience-layout,
  .company-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .product-visual {
    justify-self: center;
  }

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

  .capability-list article:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .capability-list article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .contact-layout .primary-link {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .section-shell,
  .hero-inner,
  .legal-shell {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header,
  .nav-shell {
    min-height: 64px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-contact {
    padding: 7px 10px;
  }

  .hero {
    height: 580px;
    min-height: 580px;
    background-position: 68% center;
  }

  .hero h1 {
    font-size: 54px;
  }

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

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .primary-link {
    width: 100%;
  }

  .text-link {
    width: max-content;
  }

  .product-band,
  .company-band,
  .audience-band {
    padding: 72px 0;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability-list article,
  .capability-list article:first-child,
  .capability-list article:nth-child(odd) {
    min-height: 190px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .capability-list article:last-child {
    border-bottom: 0;
  }

  .capability-list h3 {
    margin-top: 28px;
  }

  .contact-band {
    padding: 64px 0;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-shell {
    padding: 64px 0 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
