:root {
  --bg: #f7f4ed;
  --paper: #fffdf8;
  --ink: #1c1b18;
  --muted: #6b6258;
  --line: #ded6c8;
  --accent: #0b6b5e;
  --accent-dark: #084f46;
  --warn: #f1dfb8;
  --shadow: 0 18px 48px rgba(43, 34, 21, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", Georgia, serif;
  line-height: 1.75;
}

body {
  margin: 0;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 72px);
}

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

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 14px;
  height: 38px;
  justify-content: center;
  letter-spacing: 0;
  width: 38px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--ink);
}

main {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 clamp(18px, 5vw, 72px) 72px;
}

.hero {
  padding: clamp(56px, 10vw, 116px) 0 clamp(38px, 7vw, 72px);
}

.eyebrow {
  color: var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 7vw, 78px);
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.25;
  margin: 42px 0 14px;
}

h3 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 22px);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  min-height: 46px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.panel,
.contact-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.panel h2,
.contact-box h2 {
  margin-top: 0;
}

.section {
  padding-top: 24px;
}

.link-list {
  display: grid;
  gap: 10px;
}

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

.store-links a {
  background: var(--ink);
  border-radius: 8px;
  color: var(--paper);
  display: grid;
  gap: 2px;
  min-height: 86px;
  padding: 18px 20px;
  text-decoration: none;
}

.store-links strong {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
}

.store-links span {
  color: rgba(255, 253, 248, 0.76);
}

.link-list a {
  align-items: center;
  background: rgba(255, 253, 248, 0.66);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 2px;
  padding: 18px 20px;
  text-decoration: none;
}

.link-list span,
.document li,
.document p {
  color: var(--muted);
}

.document {
  max-width: 860px;
  padding-top: clamp(48px, 8vw, 88px);
}

.document h1 {
  font-size: clamp(34px, 6vw, 62px);
}

.document ul {
  padding-left: 1.2em;
}

.callout {
  background: var(--warn);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: var(--ink) !important;
  padding: 18px 20px;
}

.table-like {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.table-like div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  padding: 16px 18px;
}

.table-like div:last-child {
  border-bottom: 0;
}

.table-like span {
  color: var(--muted);
}

.centered {
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  padding: 24px clamp(18px, 5vw, 72px);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .two-columns,
  .store-links,
  .table-like div {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }
}
