/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111111;
  background: #FAFAFA;
  line-height: 1.6;
}

:root {
  --nsm-accent: #111111;
  --nsm-text: #111111;
  --nsm-subtle-text: #555555;
  --nsm-bg: #FAFAFA;
  --nsm-card-bg: #FFFFFF;
  --nsm-border: #EAEAEA;
  --nsm-radius: 12px;
  --nsm-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --nsm-maxw: 1100px;
  --nsm-gap: 24px;
}

a { color: var(--nsm-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.nsm-container {
  width: 100%;
  max-width: var(--nsm-maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.nsm-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--nsm-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nsm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.nsm-brand .custom-logo-link img { max-height: 44px; width: auto; }
.site-title {
  font-weight: 600;
  color: var(--nsm-text);
  font-size: 1.15rem;
}
.nsm-menu {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nsm-nav a { color: var(--nsm-text); font-weight: 500; }
.nsm-nav a:hover { color: var(--nsm-accent); }

/* Hero */
.nsm-hero {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
  border-bottom: 1px solid var(--nsm-border);
}
.nsm-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}
.nsm-hero__subtitle {
  color: var(--nsm-subtle-text);
  font-size: 1.1rem;
  margin: 0 0 20px 0;
}
.nsm-hero__cta { margin-top: 16px; }
.nsm-button {
  display: inline-block;
  background: var(--nsm-accent);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--nsm-accent);
  text-decoration: none;
  font-weight: 600;
}
.nsm-button:hover { opacity: 0.9; text-decoration: none; }
.nsm-button--ghost {
  background: transparent;
  color: var(--nsm-accent);
  border: 1px solid var(--nsm-accent);
}

/* Sections */
.nsm-section__title {
  font-size: 1.6rem;
  margin: 36px 0 16px 0;
}

/* Services */
.nsm-services { padding: 24px 0 12px; }
.nsm-grid {
  display: grid;
  gap: var(--nsm-gap);
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) {
  .nsm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .nsm-grid { grid-template-columns: repeat(3, 1fr); }
}
.nsm-card {
  background: var(--nsm-card-bg);
  border: 1px solid var(--nsm-border);
  border-radius: var(--nsm-radius);
  padding: 20px;
  box-shadow: var(--nsm-shadow);
}
.nsm-card__title {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}
.nsm-card__desc {
  margin: 0;
  color: var(--nsm-subtle-text);
}

/* Contact */
.nsm-contact { padding: 12px 0 48px; }
.nsm-contact__grid {
  display: grid;
  gap: var(--nsm-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .nsm-contact__grid { grid-template-columns: 2fr 1fr; }
}
.nsm-link { text-underline-offset: 2px; }

/* Footer */
.nsm-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--nsm-border);
  padding: 18px 0;
  color: var(--nsm-subtle-text);
}
.nsm-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.nsm-footer__links a { margin-left: 12px; }