:root {
  --navy: #062f63;
  --navy-dark: #041f43;
  --teal: #009a9d;
  --teal-soft: #dff5f5;
  --orange: #ff7900;
  --text: #14325a;
  --muted: #5d6d82;
  --line: rgba(6, 47, 99, 0.1);
  --shadow: 0 24px 70px rgba(6, 47, 99, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 121, 0, 0.12), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(0, 154, 157, 0.17), transparent 30rem),
    linear-gradient(135deg, #ffffff 0%, #f7fbfd 100%);
  min-height: 100vh;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: min(280px, 52vw);
  height: auto;
  display: block;
}

.header-domain {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(1rem, 2vw, 1.35rem);
  padding-left: 24px;
  border-left: 1px solid rgba(6, 47, 99, 0.18);
  white-space: nowrap;
}

.hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  flex: 1;
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  position: relative;
  padding: 56px 0 36px;
  overflow: hidden;
}

.hero-card {
  width: min(880px, 100%);
  text-align: center;
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(0, 154, 157, 0.1);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(420px, 82vw);
  height: auto;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(0 16px 28px rgba(6, 47, 99, 0.12));
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.2rem, 9vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.lead {
  margin: 22px auto 0;
  color: var(--navy-dark);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.35;
  font-weight: 650;
}

.support {
  max-width: 660px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  line-height: 1.65;
}

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

.service-card {
  min-height: 116px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 17px 10px;
  border: 1px solid rgba(6, 47, 99, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(6, 47, 99, 0.09);
}

.service-icon {
  color: var(--teal);
  font-size: 2rem;
  line-height: 1;
}

.service-card:nth-child(2) .service-icon { color: var(--orange); }

.service-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 0.98rem;
}

.notice-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 154, 157, 0.12), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(0, 154, 157, 0.16);
}

.notice-panel strong,
.notice-panel span {
  display: block;
}

.notice-panel strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.notice-panel span {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 13px 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff9a27);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(255, 121, 0, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.email-link:hover,
.email-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 121, 0, 0.32);
}

.bg-line {
  position: absolute;
  z-index: 1;
  opacity: 0.17;
  pointer-events: none;
}

.bg-line svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--navy);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bg-house { width: 250px; left: -20px; bottom: 110px; }
.bg-pin { width: 120px; left: 165px; top: 140px; }
.bg-clipboard { width: 150px; right: 70px; top: 138px; }

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .header-domain {
    border-left: 0;
    padding-left: 0;
    white-space: normal;
  }

  .hero { padding-top: 30px; }

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

  .service-grid .service-card:last-child {
    grid-column: 1 / -1;
  }

  .notice-panel {
    flex-direction: column;
    text-align: center;
  }

  .email-link { width: 100%; }

  .bg-house, .bg-pin, .bg-clipboard { display: none; }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero-card {
    border-radius: 24px;
    padding: 24px 16px;
  }

  .service-grid { gap: 10px; }
  .service-card { min-height: 104px; border-radius: 18px; }
}
