:root {
  --bg: #0d2a24;
  --bg-2: #123a32;
  --cream: #f4efe6;
  --cream-dim: #c9c2b5;
  --coral: #ff7a63;
  --line: rgba(244, 239, 230, 0.14);
  --font: "Gothic A1", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-p { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--coral); border-radius: 50%; color: var(--coral); font-weight: 900; }
.brand b { display: block; font-size: 17px; }
.brand small { display: block; font-size: 12px; color: var(--cream-dim); line-height: 1.3; }
.menu { display: flex; gap: 4px; flex-wrap: wrap; }
.menu a { padding: 6px 12px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--cream-dim); border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--coral); }

/* shared blocks */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--coral); }
.sec { margin-top: 84px; }
.sec h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.3; font-weight: 900; letter-spacing: -0.02em; margin: 6px 0 22px; }
.lede { max-width: 640px; color: var(--cream-dim); font-size: 17px; }
.btn { display: inline-block; padding: 14px 22px; font-weight: 700; text-decoration: none; border: 1px solid var(--cream); }
.btn-coral { background: var(--coral); border-color: var(--coral); color: #1b0f0c; }
.btn:hover { transform: translateY(-1px); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.panel { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); }
.note { font-size: 14px; color: var(--cream-dim); }

/* page head (subpages) */
.ph { padding-top: 44px; }
.crumb { font-size: 13px; color: var(--cream-dim); margin-bottom: 20px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--coral); }
.ph h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.2; font-weight: 900; letter-spacing: -0.03em; margin: 8px 0 14px; }

/* tables */
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font-size: 13px; color: var(--cream-dim); padding-bottom: 10px; }
th, td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: right; }
th:first-child { text-align: left; }
thead th { border-bottom: 2px solid var(--coral); font-weight: 700; }
thead small { display: block; font-size: 11px; font-weight: 400; color: var(--cream-dim); }
tbody th { font-weight: 400; color: var(--cream-dim); }
td { font-weight: 700; }

/* figures */
figure img { width: 100%; }
figcaption { font-size: 13px; color: var(--cream-dim); margin-top: 8px; }

/* faq */
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--coral); font-weight: 900; }
.qa details[open] summary::after { content: "–"; }
.qa p { padding-bottom: 18px; color: var(--cream-dim); }

/* footer + callbar */
.foot { margin-top: 96px; padding: 40px 0 110px; border-top: 1px solid var(--line); font-size: 14px; color: var(--cream-dim); }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-name { font-size: 18px; font-weight: 900; color: var(--cream); }
.foot-name span { font-size: 14px; font-weight: 400; color: var(--cream-dim); }
.callbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; }
.callbar a { display: block; padding: 14px 26px; background: var(--cream); color: var(--bg); text-decoration: none; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); white-space: nowrap; }
.callbar b { color: #b8402e; }

@media (max-width: 720px) {
  .foot-in { grid-template-columns: 1fr; }
  .menu a { padding: 6px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}
