:root {
  --cream: #f7f4ec;
  --cream-deep: #f1ede3;
  --sage-pale: #e8eee4;
  --sage: #839779;
  --sage-dark: #60735c;
  --forest: #173e2d;
  --ink: #26342d;
  --muted: #647068;
  --divider: rgba(131, 151, 121, 0.42);
  --shadow: 0 22px 60px rgba(32, 54, 40, 0.16);
  --radius: 18px;
  --content: 760px;
  --wide: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { font: inherit; }

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--forest);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

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

.container {
  width: min(calc(100% - 44px), var(--wide));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.hero {
  padding-top: 46px;
  padding-bottom: 76px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: min(560px, 88vw);
  height: auto;
  mix-blend-mode: multiply;
}

.positioning {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  line-height: 1.7;
  letter-spacing: 0.008em;
  color: #34443b;
}

.section-divider {
  width: min(calc(100% - 44px), 820px);
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--divider) 16%, var(--divider) 84%, transparent);
}

.text-column {
  max-width: var(--content);
  text-align: center;
}

h2 {
  margin: 0 0 26px;
  color: var(--forest);
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: 0.035em;
}

p {
  margin: 0 0 18px;
  font-size: 1.04rem;
}

.text-column p:last-child { margin-bottom: 0; }

strong {
  color: var(--forest);
  font-weight: 500;
}

.updates {
  margin-top: 30px !important;
  color: var(--sage-dark);
  font-style: italic;
}

.values {
  margin-top: 10px;
  padding: 62px 0;
  background: var(--sage-pale);
  border-radius: var(--radius) var(--radius) 0 0;
}

.values-inner { text-align: center; }

.values-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 13px;
  max-width: 900px;
  margin: 0 auto;
  color: #435248;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.site-footer {
  padding: 34px 0 40px;
  color: #4f5e55;
  background: var(--cream-deep);
  border-top: 1px solid rgba(96, 115, 92, 0.14);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-name,
.copyright {
  margin: 0;
  font-size: 0.84rem;
}

.copyright { text-align: right; }

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.button,
.text-button,
.dialog-close {
  border: 0;
  cursor: pointer;
}

.button {
  padding: 9px 17px;
  border-radius: 10px;
  color: #fff;
  background: var(--sage-dark);
  box-shadow: 0 6px 18px rgba(77, 99, 74, 0.12);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(41, 67, 49, 0.16);
}

.button-small { font-size: 0.88rem; }

.text-button {
  padding: 7px 2px;
  color: var(--sage-dark);
  background: transparent;
  font-size: 0.86rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-button:hover,
.text-button:focus-visible { color: var(--forest); }

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.privacy-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(82vh, 760px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.privacy-dialog::backdrop {
  background: rgba(23, 44, 33, 0.35);
  backdrop-filter: blur(3px);
}

.dialog-content {
  position: relative;
  padding: 42px 42px 36px;
  overflow-y: auto;
}

.dialog-content h2 {
  margin-bottom: 24px;
  padding-right: 40px;
}

.dialog-content p {
  font-size: 0.96rem;
  line-height: 1.68;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--forest);
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
}
.dialog-close:hover { background: rgba(131, 151, 121, 0.12); }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .section { padding: 58px 0; }
  .hero { padding-top: 34px; padding-bottom: 62px; }
  .logo { width: min(520px, 94vw); }
  .positioning { max-width: 600px; margin-top: 18px; font-size: 1.08rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .copyright { text-align: center; }
  .dialog-content { padding: 38px 24px 28px; }
}

@media (max-width: 480px) {
  .container,
  .section-divider { width: min(calc(100% - 32px), var(--wide)); }
  .section { padding: 52px 0; }
  h2 { margin-bottom: 22px; }
  p { font-size: 1rem; }
  .values { padding: 52px 0; border-radius: 14px 14px 0 0; }
  .values-line { gap: 7px 10px; }
}

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