﻿:root {
  --bg: #f7f6f3;
  --paper: #fff;
  --ink: #1f1c19;
  --muted: #686058;
  --line: #ddd6cf;
  --brand: #bc4d28;
  --brand-soft: #f0e4d9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--ink);
  background: linear-gradient(180deg, #fcfbf9 0%, var(--bg) 100%);
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.85;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.94rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-link,
.register-btn,
.menu-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  min-height: 38px;
}

.icon-link {
  width: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.icon-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.register-btn {
  padding: 8px 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
}

.menu-btn {
  width: 42px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.menu-btn span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.drawer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  display: grid;
}

.drawer[hidden] {
  display: none;
}

.drawer a {
  text-decoration: none;
  color: var(--ink);
  padding: 12px 16px;
  border-bottom: 1px solid #eee8e2;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 88px 14px 40px;
}

.section {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  margin-top: 14px;
}

.kv {
  min-height: 56svh;
  display: grid;
  align-content: center;
  gap: 8px;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  color: var(--muted);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.8rem, 5.6vw, 3.2rem);
  line-height: 1.35;
}

h2 {
  font-size: clamp(1.15rem, 2.9vw, 1.5rem);
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(1.03rem, 2.6vw, 1.22rem);
}

.cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta {
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.94rem;
  border: 1px solid transparent;
}

.cta.primary {
  background: var(--brand);
  color: #fff;
}

.cta.secondary {
  background: var(--brand-soft);
  color: #39261e;
  border-color: #dbc7b8;
}

.cta.ghost {
  color: #392d27;
  border-color: #d2c5b9;
  background: transparent;
  padding: 6px 13px;
}

.text-link {
  color: #3b2f28;
  text-underline-offset: 3px;
}

.flow-list {
  margin: 0;
  padding-left: 1.4rem;
}

.note {
  color: var(--muted);
  font-size: 0.92rem;
}

.split-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.closing {
  border-style: dashed;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding: 24px 14px 34px;
}

.footer-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
}

.footer-grid a {
  color: #3c342e;
  text-decoration: none;
  border-bottom: 1px solid #dbd2ca;
  padding-bottom: 4px;
}

@media (min-width: 760px) {
  .section {
    padding: 36px 34px;
    margin-top: 18px;
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
