:root {
  --bg: #faf8f3;
  --paper: #ffffff;
  --ink: #262a35;
  --ink-soft: #4b5060;
  --muted: #7c8091;
  --line: #e4dfd6;
  --accent: #3f4668;
  --accent-soft: #6b6f96;
  --gold: #a98b5b;
  --tint: #f2eee6;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Songti SC", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1040px, 100% - 48px);
  margin-inline: auto;
}
.wrap.narrow { max-width: 720px; }

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.brand-mark { color: var(--accent); display: flex; }

.brand-text {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.14em;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}
.brand-text small {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 400;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.header-nav a { color: inherit; }

.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    radial-gradient(1100px 380px at 78% -12%, rgba(107, 111, 150, 0.13), transparent 62%),
    radial-gradient(700px 300px at 8% 8%, rgba(169, 139, 91, 0.10), transparent 65%),
    linear-gradient(180deg, #fbf9f4 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 6%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 62% 40%, rgba(255, 255, 255, 0.95) 0 28%, rgba(230, 226, 236, 0.7) 60%, rgba(230, 226, 236, 0) 72%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin: 0 0 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.62;
  letter-spacing: 0.06em;
  margin: 0 0 26px;
  color: #23262f;
}

.hero-lead {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 14.5px;
  letter-spacing: 0.08em;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -12px rgba(63, 70, 104, 0.9);
}
.btn-primary:hover {
  background: #333a58;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent-soft); color: var(--accent); }

.btn-block { width: 100%; }

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.hero-notes li { position: relative; padding-left: 13px; }
.hero-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- sections ---------- */

.section { padding: 76px 0; }
.section-tinted {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 2.6vw, 26px);
  letter-spacing: 0.12em;
  margin: 0 0 28px;
  padding-bottom: 16px;
  position: relative;
  color: #23262f;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section-lead {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: -12px 0 34px;
}

.section p { margin: 0 0 20px; color: var(--ink-soft); }
.section > .wrap > p:last-child { margin-bottom: 0; }

.note-inline {
  font-size: 13.5px;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 16px;
  margin-top: 30px;
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 30px 28px 26px;
  box-shadow: 0 10px 26px -24px rgba(38, 42, 53, 0.6);
}
.card-num {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 10px !important;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17.5px;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  color: #23262f;
}
.card p {
  font-size: 14px;
  margin: 0 !important;
  color: var(--ink-soft);
}

/* ---------- spec ---------- */

.spec { margin: 0; }
.spec-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: 1px solid var(--line); }
.spec dt {
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.spec dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- form ---------- */

.section-subscribe {
  background:
    radial-gradient(700px 260px at 50% -10%, rgba(107, 111, 150, 0.12), transparent 70%),
    #fbf9f4;
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px 30px 28px;
  border-radius: 3px;
  box-shadow: 0 18px 40px -34px rgba(38, 42, 53, 0.85);
}

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 9px;
}
.req, .opt {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: 1px;
}
.req { background: #f3e7e2; color: #9a5a46; }
.opt { background: #eceaf0; color: var(--muted); }

.field input[type="email"],
.field input[type="text"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  padding: 13px 14px;
  border: 1px solid #d8d3c9;
  border-radius: 2px;
  background: #fffefb;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: #b4b3ae; }
.field input:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(107, 111, 150, 0.14);
}
.field input[aria-invalid="true"] { border-color: #b4755f; }

.field-error {
  font-size: 12.5px;
  color: #a4563f !important;
  margin: 8px 0 0 !important;
}

.field-check { margin-bottom: 26px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px !important;
  color: var(--ink-soft) !important;
  margin: 0 !important;
  cursor: pointer;
}
.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.check span { line-height: 1.7; }
.check a { text-decoration: underline; text-underline-offset: 3px; }

.form-foot {
  font-size: 12.5px;
  color: var(--muted) !important;
  text-align: center;
  margin: 16px 0 0 !important;
}

/* ---------- done ---------- */

.done {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 40px 32px 34px;
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 18px 40px -34px rgba(38, 42, 53, 0.85);
}
.done:focus { outline: none; }
.done-mark {
  font-size: 22px;
  color: var(--gold);
  margin: 0 0 12px !important;
}
.done h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  color: #23262f;
}
.done p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 12px !important; }
.done .done-small { font-size: 12.5px; color: var(--muted); margin-bottom: 0 !important; }

/* ---------- privacy ---------- */

.sub-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 34px 0 10px;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
}
.sub-title:first-of-type { margin-top: 6px; }
.section-tinted .sub-title + p { margin-bottom: 6px; }

/* ---------- footer ---------- */

.site-footer {
  background: #23262f;
  color: #d9d7d2;
  padding: 42px 0 34px;
}
.footer-inner { text-align: center; }
.footer-brand {
  font-family: var(--serif);
  letter-spacing: 0.24em;
  font-size: 15px;
  margin: 0 0 14px;
  color: #f3f1ea;
}
.footer-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  font-size: 12px;
  margin: 0 0 16px;
  color: #9c9a96;
}
.footer-note a { color: #c9c6c0; }
.copyright { font-size: 11.5px; letter-spacing: 0.1em; color: #8a8885; margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap { width: min(1040px, 100% - 36px); }
  .header-nav { gap: 14px; font-size: 12px; }
  .header-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 58px 0 52px; }
  .hero::after { width: 120px; height: 120px; top: 10px; right: -20px; opacity: 0.75; }
  .section { padding: 56px 0; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px 22px 22px; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .form { padding: 26px 20px 22px; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; flex: 1 1 auto; }
  .sp-br { display: none; }
}
