/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:           #F8F5F0;
  --surface:      #FFFFFF;
  --surface-alt:  #F2EFE9;
  --text:         #1A1816;
  --text-2:       #5A5550;
  --text-3:       #9A9590;
  --accent:       #1C5E52;
  --accent-dark:  #154840;
  --accent-pale:  #EAF2EF;
  --warm:         #A86D2F;
  --rule:         rgba(0, 0, 0, 0.08);
  --rule-mid:     rgba(0, 0, 0, 0.12);

  --card-pad:     40px;
  --card-radius:  20px;
  --card-border:  1px solid var(--rule);
  --card-shadow:  0 1px 2px rgba(0,0,0,0.03), 0 4px 18px rgba(0,0,0,0.06);
  --card-hover:   0 4px 8px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.09);

  --font-serif: "Iowan Old Style", "Hiragino Mincho ProN", "Yu Mincho", "Georgia", serif;
  --font-sans:  "Avenir Next", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  text-decoration: underline;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 240, 0.86);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--rule);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.nav a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 150ms ease, background 150ms ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 120px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(28, 94, 82, 0.08) 0%,
    rgba(168, 109, 47, 0.04) 50%,
    transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================
   EYEBROW
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 94, 82, 0.22);
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(46px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 28px;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-lead {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.9;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(28, 94, 82, 0.24);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 24px rgba(28, 94, 82, 0.32);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--rule-mid);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text);
}

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  border-radius: 10px;
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  padding: 88px 0;
}

.section-header {
  margin-bottom: 52px;
}

.section-header .eyebrow {
  margin-bottom: 16px;
}

.section-header p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.85;
}

/* ============================================================
   BRIDGE (3 pillars)
   ============================================================ */
.bridge {
  padding: 0 0 88px;
}

.bridge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bridge-card {
  padding: var(--card-pad);
  border-radius: var(--card-radius);
  border: var(--card-border);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.bridge-card:hover {
  box-shadow: var(--card-hover);
  transform: translateY(-3px);
}

.bridge-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 18px;
}

.bridge-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.85;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: var(--card-pad);
  border-radius: var(--card-radius);
  border: var(--card-border);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.feature-card:hover {
  box-shadow: var(--card-hover);
  transform: translateY(-3px);
}

.feature-num {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
}

/* ============================================================
   SPLIT SECTIONS (2 col)
   ============================================================ */
.split-section {
  padding: 88px 0;
  border-top: 1px solid var(--rule);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.split-card {
  padding: var(--card-pad);
  border-radius: var(--card-radius);
  border: var(--card-border);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.split-card-accent {
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--accent-pale) 60%, white),
    var(--surface) 75%);
  border-color: rgba(28, 94, 82, 0.14);
}

.split-card h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 18px;
}

.split-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.9;
}

/* Check list */
.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Info list */
.info-list {
  margin-top: 20px;
}

.info-list div {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.info-list div:first-child {
  padding-top: 0;
}

.info-list div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-list dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.info-list dd {
  font-size: 15px;
  color: var(--text-2);
}

.info-list a {
  color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 56px 0;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 150ms ease;
}

.footer-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ============================================================
   SUBPAGE STYLES (support / privacy)
   ============================================================ */
.subpage-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--rule);
}

.subpage-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 94, 82, 0.22);
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.subpage-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 20px;
}

.subpage-hero p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.9;
}

.subpage-content {
  padding: 72px 0;
}

.content-section {
  padding: var(--card-pad);
  border-radius: var(--card-radius);
  border: var(--card-border);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  margin-bottom: 16px;
}

.content-section h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 18px;
}

.content-section p,
.content-section li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.9;
}

.content-section ul {
  padding-left: 20px;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.content-section + .content-section {
  margin-top: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}

.contact-link:hover {
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 960px) {
  .bridge-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 680px) {
  :root {
    --card-pad: 28px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .site-header-inner {
    width: calc(100% - 32px);
    height: auto;
    min-height: 60px;
    padding: 10px 0;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    gap: 4px;
  }

  .nav a {
    font-size: 13px;
    padding: 6px 11px;
  }

  .hero {
    padding: 64px 0 56px;
    text-align: left;
  }

  .hero::before {
    width: 500px;
    height: 500px;
    left: 0;
    transform: none;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

  .hero-lead {
    margin-left: 0;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-tags {
    justify-content: flex-start;
  }

  .bridge {
    padding: 0 0 56px;
  }

  .section,
  .split-section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .subpage-hero {
    padding: 48px 0 40px;
  }

  .subpage-content {
    padding: 48px 0;
  }
}
