/* Hanashi — static site (Cloudflare Pages) */
:root {
  --bg: #f4f4f2;
  --ink: #1a1f2e;
  --muted: #5c6378;
  --accent: #3d5a80;
  --accent-hover: #2c4260;
  --hero-dark: #0f1219;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 244, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 31, 46, 0.1);
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav__cta {
  padding: 0.45rem 1rem;
  border-radius: 6px;
  background: var(--accent);
  color: #fff !important;
}

.site-nav__cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 10vw, 5rem) 1.5rem;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--hero-dark) 0%, #1a2235 45%, #243652 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 140, 200, 0.28), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(61, 90, 128, 0.4), transparent 45%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 1rem;
}

.hero h1 {
  color: #fff !important;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.75rem;
}

.lead strong {
  color: #fff;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  color: #fff !important;
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
}

.section--muted {
  background: #ebeae8;
}

.section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 520px;
  text-align: center;
}

.section__intro {
  margin: 0 0 2rem;
  font-size: 1.08rem;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-grid li {
  background: #fff;
  border: 1px solid rgba(26, 31, 46, 0.08);
  border-radius: 10px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.feature-grid p {
  margin: 0;
  font-size: 0.98rem;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  max-width: 42rem;
}

.steps li {
  margin-bottom: 1rem;
  padding-left: 0.25rem;
}

.steps strong {
  color: var(--ink);
}

.contact-note {
  margin: 1rem 0;
}

.contact-email {
  margin: 1.25rem 0 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.contact-email a {
  color: var(--accent);
  font-weight: 500;
}

.fineprint {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(26, 31, 46, 0.1);
  background: #e3e2df;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.site-footer__sep {
  opacity: 0.5;
}

@media (max-width: 600px) {
  .site-nav {
    justify-content: flex-end;
  }
}
