:root {
  --ink: #14201c;
  --ink-soft: #3a4a44;
  --muted: #5f6f68;
  --line: rgba(20, 32, 28, 0.12);
  --paper: #f3efe6;
  --paper-2: #e7efe9;
  --fog: #dfe8e2;
  --accent: #1f6b57;
  --accent-deep: #145244;
  --accent-soft: #d7ebe3;
  --warn-soft: #f3e6d4;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(20, 32, 28, 0.12);
  --radius: 18px;
  --max: 1080px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, #f8f4ea 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #dceee6 0%, transparent 50%),
    linear-gradient(180deg, #f7f4ec 0%, #eef3ef 42%, #f5f2ea 100%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 236, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #2d8a70, #145244);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(31, 107, 87, 0.28);
}

.brand-name {
  font-size: 1.05rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent-deep);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.18rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button.is-active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.4rem, 7vw, 5.2rem) 1.25rem clamp(2.8rem, 8vw, 5.6rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  min-height: min(88vh, 760px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  animation: rise 0.8s ease both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero .lede {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 420px;
  animation: float-in 1s ease 0.1s both;
}

.stage {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 70% 20%, rgba(31, 107, 87, 0.18), transparent 42%),
    linear-gradient(180deg, #d7e7df, #c4d6cc 60%, #b7c8bf);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stage::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% 20%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 65%);
  filter: blur(8px);
}

.receipt {
  position: absolute;
  width: min(78%, 320px);
  right: 8%;
  top: 10%;
  background: #fffdf8;
  color: #1d2421;
  border-radius: 14px;
  padding: 1.15rem 1.15rem 1.3rem;
  box-shadow: 0 18px 40px rgba(20, 32, 28, 0.18);
  transform: rotate(3deg);
  animation: tilt 7s ease-in-out infinite;
}

.receipt h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.receipt .meta {
  color: #6a756f;
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  padding: 0.28rem 0;
  border-bottom: 1px dashed rgba(29, 36, 33, 0.14);
}

.receipt-row strong {
  font-weight: 700;
}

.chip {
  position: absolute;
  left: 7%;
  bottom: 14%;
  width: min(68%, 280px);
  background: rgba(20, 32, 28, 0.92);
  color: #f4f7f5;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 16px 36px rgba(20, 32, 28, 0.25);
  transform: rotate(-2.5deg);
  animation: tilt-rev 8s ease-in-out infinite;
}

.chip .label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 0.35rem;
}

.chip .title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.chip ul {
  margin: 0;
  padding-left: 1.05rem;
  font-size: 0.86rem;
  color: rgba(244, 247, 245, 0.88);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 4.5rem) 1.25rem;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section .support {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.02rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.15rem 0;
}

.feature-list .num {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.85rem;
}

.feature-list h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.privacy-band {
  background: linear-gradient(135deg, rgba(31, 107, 87, 0.1), rgba(243, 230, 212, 0.55));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-band .section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: end;
}

.note {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-deep);
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 3.6rem) 1.25rem 0.5rem;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.page-hero .meta {
  color: var(--muted);
  margin: 0;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin: 2rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 1rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent-deep);
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.7rem 0 0.15rem;
  color: var(--muted);
}

.contact-block {
  margin-top: 1.2rem;
  padding: 1.15rem 0 0.2rem;
  border-top: 1px solid var(--line);
}

.contact-block a.mail {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tilt {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(1.5deg) translateY(-8px);
  }
}

@keyframes tilt-rev {
  0%,
  100% {
    transform: rotate(-2.5deg) translateY(0);
  }
  50% {
    transform: rotate(-1deg) translateY(7px);
  }
}

@media (max-width: 860px) {
  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 360px;
    order: -1;
  }

  .privacy-band .section {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-right {
    gap: 0.55rem 0.75rem;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .lang-switch button {
    font-size: 0.72rem;
    padding: 0.32rem 0.48rem;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-visual {
    min-height: 320px;
  }

  .receipt,
  .chip {
    width: min(84%, 280px);
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
