/* ============================================================
   Hosted SPF -- holding page
   Visual language: TwoFive corporate (deep blue, clean white,
   teal accents, Noto Sans JP + Inter)
   ============================================================ */

:root {
  --blue-deep: #1a237e;
  --blue-mid: #283593;
  --blue-light: #3949ab;
  --teal: #00897b;
  --teal-light: #26a69a;
  --white: #ffffff;
  --gray-lightest: #f5f7fa;
  --gray-light: #e8eaf0;
  --gray-mid: #90949c;
  --gray-dark: #4a4e57;
  --text-primary: #1e2128;
  --text-secondary: #555a64;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.72);
  --maxw: 1140px;
  --font-body: 'Inter', 'Noto Sans JP', -apple-system, 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- nav ---------- */

.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: var(--blue-deep);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-brand .nav-brand-icon {
  width: 32px;
  height: 32px;
  background: var(--blue-deep);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 150ms ease, color 150ms ease;
}
.nav-links a:hover {
  background: var(--gray-lightest);
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links .lang-toggle {
  font-size: 13px;
  color: var(--gray-mid);
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  padding: 6px 12px;
  margin-left: 8px;
}
.nav-links .lang-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: transparent;
}

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 60%, var(--blue-light) 100%);
  color: var(--text-on-dark);
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero .hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 150ms ease, transform 80ms ease;
  text-decoration: none !important;
}
.btn:active { transform: scale(0.98); }

.btn-white {
  background: var(--white);
  color: var(--blue-deep);
}
.btn-white:hover { background: var(--gray-lightest); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }

/* ---------- under construction notice ---------- */

.notice-band {
  background: var(--gray-lightest);
  border-bottom: 1px solid var(--gray-light);
  padding: 48px 0;
  text-align: center;
}

.notice-band .notice-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.notice-band h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.notice-band p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.notice-band a.notice-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  color: var(--teal);
  font-size: 15px;
}

/* ---------- feature preview cards ---------- */

.features-preview {
  padding: 80px 0;
}

.features-preview h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 28px 24px;
  background: var(--white);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.feature-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 137, 123, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- SPF record showcase ---------- */

.spf-showcase {
  background: var(--gray-lightest);
  padding: 64px 0;
  text-align: center;
}

.spf-showcase h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.spf-showcase .spf-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.spf-record-display {
  background: #1e2128;
  color: #7fdbca;
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 14px;
  line-height: 1.8;
  padding: 24px 32px;
  border-radius: 10px;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
  overflow-x: auto;
  box-shadow: 0 8px 32px rgba(30, 33, 40, 0.25);
  word-break: break-all;
}

.spf-record-display .spf-comment {
  color: #546e7a;
}

.spf-record-display .spf-macro {
  color: #c792ea;
}

.spf-record-display .spf-keyword {
  color: #82aaff;
}

/* ---------- footer ---------- */

.site-footer {
  background: #1e2128;
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}
.footer-links a:hover { color: var(--teal-light); }

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 30px; }
  .hero .hero-sub { font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .nav-links a:not(.lang-toggle) { display: none; }
  .spf-record-display { font-size: 11px; padding: 16px 18px; }
}
