/* Marketing Site — local styles. Tokens come from /colors_and_type.css */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-ui);
  color: var(--fg-2);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* layout container */
.container { width: min(1200px, 100% - 48px); margin: 0 auto; }
@media (max-width: 767px) { .container { width: calc(100% - 40px); } }

/* ---------------- GNB ---------------- */
.gnb {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--fg-dark-1);
}
.gnb-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 32px; }
.gnb-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.gnb-brand img { height: 28px; width: auto; max-width: 140px; object-fit: contain; }
.gnb-menu { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.gnb-menu a { font-size: 15px; font-weight: 500; color: var(--fg-dark-2); transition: color 150ms; white-space: nowrap; }
.gnb-menu a:hover { color: var(--fg-dark-1); }
.gnb-cta { display: flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0; }
.gnb-cta .btn { white-space: nowrap; }
.gnb-burger { display: none; background: transparent; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.gnb-burger svg { width: 24px; height: 24px; }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .gnb-menu, .gnb-cta { display: none; }
  .gnb-burger { display: block; }
  .mobile-menu.open {
    display: block; position: fixed; left: 0; right: 0; top: 72px; bottom: 0;
    background: var(--bg-dark); padding: 24px;
    z-index: 49;
  }
  .mobile-menu a {
    display: block; padding: 16px 0; font-size: 18px; font-weight: 600;
    color: var(--fg-dark-1); border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .mobile-menu .btn { width: 100%; margin-top: 24px; }
}

/* ---------------- Hero ---------------- */
.hero {
  background: var(--bg-dark);
  color: var(--fg-dark-1);
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
}
.hero::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,0,43,.32), transparent 65%);
  pointer-events: none;
}
.hero-tag {
  display: inline-block; font-family: var(--font-en); font-size: 12px;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nurugo-red);
  background: rgba(200,0,43,.12); padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(200,0,43,.30);
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.15; letter-spacing: -.02em; font-weight: 800;
  margin: 24px 0 20px; color: #fff; text-wrap: balance;
}
.hero h1 .accent { color: var(--nurugo-red); }
.hero p.lead {
  font-size: clamp(16px, 1.4vw, 19px); color: var(--fg-dark-2);
  max-width: 620px; margin: 0 0 36px; line-height: 1.6; text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { white-space: nowrap; }
.hero-meta {
  display: flex; gap: 36px; margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap;
}
.hero-meta-item { white-space: nowrap; }
.hero-meta-item .num {
  font-family: var(--font-num); font-weight: 700; font-size: 28px;
  color: #fff; line-height: 1;
}
.hero-meta-item .lbl {
  font-size: 13px; color: var(--fg-dark-3); margin-top: 6px;
}
.hero-visual {
  position: absolute; right: -40px; bottom: -80px; width: 480px;
  opacity: .9; pointer-events: none;
}
.hero-visual img { width: 100%; height: auto; opacity: .14; }

@media (max-width: 1023px) {
  .hero { padding: 80px 0 100px; }
  .hero-visual { display: none; }
  .hero-meta { gap: 24px; }
}
@media (max-width: 480px) {
  .hero-meta { gap: 18px; margin-top: 40px; padding-top: 24px; }
  .hero-meta-item .num { font-size: 22px; }
}

/* ---------------- Section base ---------------- */
.section { padding: 120px 0; }
.section.tight { padding: 96px 0; }
.section.subtle { background: var(--bg-subtle); }
.eyebrow {
  font-family: var(--font-en); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--nurugo-red);
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -.015em;
  font-weight: 800; color: var(--fg-1); margin: 0 0 20px; text-wrap: balance;
}
.section .sub {
  font-size: 17px; color: var(--fg-3); max-width: 640px; line-height: 1.6;
  margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .sub { margin-left: auto; margin-right: auto; }
@media (max-width: 767px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ---------------- About / About-grid ---------------- */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
}
.about-grid h2 { text-align: left; }
.about-grid .sub { margin: 0 0 28px 0; }
.about-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.about-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--fg-2);
}
.about-bullets .dot {
  flex: 0 0 22px; height: 22px; border-radius: 999px;
  background: var(--nurugo-red-soft); color: var(--nurugo-red);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  margin-top: 1px;
}
.about-visual {
  background: var(--bg-dark); border-radius: 24px; padding: 40px;
  display: grid; place-items: center; aspect-ratio: 4 / 3; position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: ''; position: absolute; inset: -20% -20% auto auto; width: 60%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(200,0,43,.4), transparent 60%);
}
.about-visual img { max-width: 56%; height: auto; position: relative; z-index: 1; }
@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------------- Feature cards ---------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--bg-base); border-radius: 16px; padding: 36px 32px;
  box-shadow: var(--shadow-e2); border: 1px solid var(--border-default);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-e3); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--nurugo-red); color: #fff;
  display: grid; place-items: center;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 22px; font-weight: 700; color: var(--fg-1); margin: 0; line-height: 1.3; }
.feature p { font-size: 15px; color: var(--fg-3); margin: 0; line-height: 1.6; }
.feature .num-tag {
  font-family: var(--font-en); font-size: 11px; letter-spacing: .14em;
  font-weight: 700; color: var(--fg-3); text-transform: uppercase;
}
@media (max-width: 1023px) { .features { grid-template-columns: 1fr; } }

/* ---------------- Impact metrics ---------------- */
.impact { background: var(--bg-dark); color: #fff; }
.impact h2 { color: #fff; }
.impact .sub { color: var(--fg-dark-2); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.metric {
  text-align: center; padding: 56px 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.metric .big {
  font-family: var(--font-num); font-size: clamp(56px, 7vw, 84px);
  font-weight: 800; line-height: 1; letter-spacing: -.02em;
  color: var(--nurugo-red);
}
.metric .big .unit { font-size: .55em; color: #fff; margin-left: 4px; font-weight: 700; }
.metric .label { font-size: 16px; font-weight: 600; color: #fff; margin-top: 18px; }
.metric .note { font-size: 13px; color: var(--fg-dark-3); margin-top: 6px; }
@media (max-width: 767px) { .metrics { grid-template-columns: 1fr; gap: 16px; } .metric { padding: 36px 20px; } }

/* ---------------- Form ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form-grid h2 { text-align: left; }
.form-side .sub { margin: 0 0 32px; }
.form-info-list { display: grid; gap: 16px; padding: 0; list-style: none; margin: 0; }
.form-info-list li {
  display: flex; gap: 14px; padding: 18px;
  background: var(--bg-subtle); border-radius: 12px;
  border: 1px solid var(--border-default);
}
.form-info-list svg { width: 22px; height: 22px; color: var(--nurugo-red); flex-shrink: 0; margin-top: 2px; }
.form-info-list .ttl { font-weight: 700; color: var(--fg-1); font-size: 15px; }
.form-info-list .dsc { font-size: 13px; color: var(--fg-3); margin-top: 2px; }

.form-card {
  background: var(--bg-base); padding: 40px; border-radius: 20px;
  border: 1px solid var(--border-default); box-shadow: var(--shadow-e2);
}
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-row.split > .form-row { margin-bottom: 20px; }
.form-row label {
  font-size: 13px; font-weight: 600; color: var(--fg-1);
}
.form-row label .req { color: var(--nurugo-red); margin-left: 2px; }
.form-row input, .form-row select, .form-row textarea {
  font-family: inherit; font-size: 15px; color: var(--fg-1);
  padding: 14px 14px; border-radius: 8px;
  border: 1px solid var(--border-default); background: var(--bg-base);
  transition: border-color 150ms, box-shadow 150ms;
  width: 100%;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--nurugo-red);
  box-shadow: 0 0 0 3px rgba(200,0,43,.15);
}
.form-row .hint { font-size: 12px; color: var(--fg-3); }

.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions .agree {
  font-size: 12px; color: var(--fg-3); flex: 1;
}
.form-actions .agree a { color: var(--fg-2); text-decoration: underline; }
.form-direct-mail {
  margin: 14px 0 0; padding: 14px 16px;
  font-size: 13px; color: var(--fg-3); line-height: 1.55;
  background: var(--bg-elev-1); border-radius: 12px;
  text-align: center;
}
.form-direct-mail a { color: var(--nurugo-red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1023px) { .form-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) {
  .form-card { padding: 28px 20px; }
  .form-row.split { grid-template-columns: 1fr; gap: 0; }
}

/* ---------------- Footer ---------------- */
.footer {
  background: #0A0A0A; color: var(--fg-dark-2); padding: 64px 0 40px; font-size: 13px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer h4 { font-size: 13px; color: #fff; margin: 0 0 16px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--fg-dark-3); transition: color 150ms; }
.footer ul a:hover { color: #fff; }
.footer-brand img { height: 24px; width: auto; max-width: 140px; object-fit: contain; margin-bottom: 14px; }
.footer-info { color: var(--fg-dark-3); font-size: 12px; line-height: 1.7; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.06); color: var(--fg-dark-3); font-size: 12px;
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 767px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ---------------- Buttons (extends design system) ---------------- */
.btn-hero-secondary {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.14); }
