:root {
  --san-pine: #143c33;
  --san-moss: #527466;
  --san-amber: #d49a3a;
  --san-mist: #e7f0ec;
  --san-paper: #f7f8f5;
  --san-ink: #18201d;
  --san-white: #ffffff;
  --san-line: #cfd9d4;
  --san-danger: #9d3629;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--san-ink); background: var(--san-white); letter-spacing: 0; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-box {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.icon-box > svg,
.button-icon > svg,
.inline-icon > svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--san-amber);
  outline-offset: 3px;
}

.demo-notice {
  margin: 0;
  padding: 12px 20px;
  color: #405049;
  background: #eef2ef;
  border-top: 1px solid var(--san-line);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.notice-popup {
  position: fixed;
  z-index: 90;
  left: 24px;
  bottom: 24px;
  width: min(390px, calc(100vw - 48px));
  padding: 22px;
  color: var(--san-white);
  background: var(--san-pine);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 31, 25, .24);
}

.notice-popup__top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.notice-popup__top p { margin: 0 0 6px; color: #c3d6cf; font-size: 12px; }
.notice-popup__top h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.notice-popup__close { border: 0; color: white; background: transparent; cursor: pointer; border-radius: 4px; }
.notice-popup__body { margin: 16px 0; color: #dce8e3; font-size: 14px; line-height: 1.7; }
.notice-popup__action { display: inline-flex; align-items: center; min-height: 42px; color: #ffda97; font-weight: 700; text-decoration: none; }
.notice-popup__check { display: flex; align-items: center; gap: 9px; margin-top: 14px; color: #c3d6cf; font-size: 12px; cursor: pointer; }
.notice-popup__check input { width: 18px; height: 18px; accent-color: var(--san-amber); }

.form-success {
  padding: 18px;
  color: var(--san-pine);
  background: var(--san-mist);
  border: 1px solid #a8c3b8;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .notice-popup { left: 16px; bottom: 16px; width: calc(100vw - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
