:root {
  --bg: #f4efe7;
  --paper: #fbf8f2;
  --ink: #191714;
  --muted: #625d55;
  --line: #d4cabe;
  --soft: #e9dfd1;
  --accent: #b95f3b;
  --accent-dark: #7a3721;
  --brand-dot: #50a605;
  --steel: #e1d9cb;
  --blue: #252f38;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.52;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 231, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.brand span {
  color: var(--brand-dot);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.language-switch a {
  min-width: 42px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.language-switch a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 760;
  transition: 0.18s ease;
}

.nav-cta {
  flex: 0 0 auto;
  padding: 10px 17px;
  background: transparent;
  color: var(--ink);
}

.btn {
  padding: 14px 21px;
}

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

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

.btn:hover,
.nav-cta:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.hero {
  min-height: calc(96vh - 76px);
  display: grid;
  align-items: center;
  padding: 76px 0 58px;
  border-bottom: 1px solid var(--line);
}

.hero-stack {
  display: grid;
  gap: 44px;
}

.hero-content {
  max-width: 980px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.02em;
}

h1,
h2,
.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

h3 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

p {
  margin: 0;
}

.hero-copy,
.lead {
  color: #2d2923;
  font-size: clamp(19px, 2vw, 25px);
  letter-spacing: -0.012em;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 32px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.animated-hero-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--paper);
}

.animated-hero-visual picture,
.animated-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.animated-hero-visual img {
  object-fit: cover;
  transform: scale(1.006);
}

.animated-hero-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-signal-dot {
  fill: currentColor;
  filter: drop-shadow(0 0 9px currentColor);
  opacity: 0;
}

.hero-signal-blue { color: #6078d8; }
.hero-signal-green { color: #66a978; }
.hero-signal-violet { color: #8b72c8; }
.hero-signal-red { color: #d75b43; }

.hero-flow-1 {
  offset-path: path("M468 264 C610 262 665 364 699 457");
  animation: heroFlow 9s linear infinite;
}

.hero-flow-2 {
  offset-path: path("M972 262 C845 262 807 364 796 456");
  animation: heroFlow 10.5s linear infinite;
  animation-delay: -3s;
}

.hero-flow-3 {
  offset-path: path("M1140 449 C1005 448 950 518 862 558");
  animation: heroFlow 8.5s linear infinite;
  animation-delay: -5.5s;
}

.hero-flow-4 {
  offset-path: path("M459 492 C560 492 612 558 657 570");
  animation: heroFlow 11s linear infinite;
  animation-delay: -7s;
}

.hero-flow-5 {
  offset-path: path("M829 497 C894 430 935 407 963 398");
  animation: heroRedFlow 13s ease-in-out infinite;
  animation-delay: -2s;
}

@supports not (offset-path: path("M0 0 L1 1")) {
  .hero-signal-dot {
    display: none;
  }
}

@keyframes heroFlow {
  0% { offset-distance: 0%; opacity: 0; transform: scale(0.72); }
  12% { opacity: 0.75; transform: scale(1); }
  82% { opacity: 0.75; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.72); }
}

@keyframes heroRedFlow {
  0%, 48% { offset-distance: 0%; opacity: 0; transform: scale(0.6); }
  58% { opacity: 0.85; transform: scale(1); }
  76% { opacity: 0.85; }
  92% { offset-distance: 100%; opacity: 0; transform: scale(0.75); }
  100% { offset-distance: 100%; opacity: 0; }
}

.hero-warning-pulse {
  position: absolute;
  left: 61.5%;
  top: 38.8%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(216, 91, 67, 0.48);
  border-radius: 999px;
  opacity: 0;
  animation: heroWarn 13s ease-in-out infinite;
  animation-delay: -2s;
}

.hero-warning-pulse::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(216, 91, 67, 0.28);
  border-radius: inherit;
  opacity: 0;
  animation: heroWarnOuter 13s ease-in-out infinite;
  animation-delay: -2s;
}

@keyframes heroWarn {
  0%, 51%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.76); }
  61% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  78% { opacity: 0; transform: translate(-50%, -50%) scale(1.42); }
}

@keyframes heroWarnOuter {
  0%, 55%, 100% { opacity: 0; transform: scale(0.8); }
  66% { opacity: 0.9; transform: scale(1); }
  82% { opacity: 0; transform: scale(1.5); }
}

.hero-soft-glow {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 68%);
  opacity: 0;
  animation: heroGlow 12s ease-in-out infinite;
  mix-blend-mode: screen;
}

.hero-glow-1 { left: 40%; top: 57%; width: 110px; height: 70px; animation-delay: -1s; }
.hero-glow-2 { left: 77%; top: 62%; width: 90px; height: 70px; animation-delay: -6s; }
.hero-glow-3 { left: 64%; top: 23%; width: 100px; height: 64px; animation-delay: -9s; }

@keyframes heroGlow {
  0%, 100% { opacity: 0; transform: scale(0.92); }
  45%, 63% { opacity: 0.28; transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-signal-dot,
  .hero-warning-pulse,
  .hero-warning-pulse::after,
  .hero-soft-glow {
    animation: none !important;
    display: none;
  }
}

.visual-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
}

.visual-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.95);
}

.visual-caption {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.signal {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
}

.signal span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--accent);
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.meta {
  min-height: 142px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.38);
}

.meta:last-child {
  border-right: 0;
}

.meta strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.meta p,
.card p,
.small-card span,
.muted,
.price li,
.site-footer {
  color: var(--muted);
}

section,
.page-hero {
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  background: var(--paper);
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(48px, 7vw, 92px);
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  margin-bottom: 48px;
}

.grid-3,
.pricing,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card,
.small-card,
.price,
.notice {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
}

.card {
  min-height: 240px;
  padding: 26px;
  background: transparent;
}

.mission-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--paper);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mission-card details {
  min-height: 100%;
  background: transparent;
}

.mission-card summary {
  display: block;
  cursor: pointer;
  list-style: none;
  list-style-type: none;
  outline-offset: -4px;
}

.mission-card summary::-webkit-details-marker,
.mission-card summary::marker {
  display: none;
  content: "";
  font-size: 0;
}

.mission-card:hover,
.mission-card:focus-within {
  border-color: var(--ink);
}

.mission-card picture {
  display: block;
}

.mission-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: filter 180ms ease, transform 220ms ease;
}

.mission-card h3,
.mission-card p,
.mission-content {
  padding: 0 24px;
}

.mission-card h3 {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.05;
}

.mission-card p {
  margin-bottom: 0;
  padding-bottom: 26px;
  font-size: 17px;
  line-height: 1.48;
}

.mission-card summary > span {
  display: block;
  padding-top: 20px;
}

.mission-card summary > span::after {
  content: attr(data-more);
  display: inline-block;
  margin: 0 24px 24px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
}

.mission-card details[open] summary > span::after {
  content: attr(data-less);
}

.mission-card details[open] {
  background: #eee6db;
}

.mission-card details[open] summary > span {
  padding-bottom: 0;
}

.mission-card details[open] summary p {
  display: none;
}

.mission-card details[open] img {
  filter: saturate(0.82) contrast(0.92);
  transform: scale(1.015);
}

.mission-card details[open]::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
  z-index: 1;
}

.mission-status {
  display: inline-block;
  margin: 0 24px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}

.mission-status.available {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(185, 95, 59, 0.1);
}

.mission-content {
  margin: 0 18px 18px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  animation: cardBackIn 180ms ease-out;
}

.mission-content h4 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.2;
}

.mission-content ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.mission-content li + li {
  margin-top: 5px;
}

.mission-content p {
  padding: 0;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
}

.text-link {
  color: var(--ink);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes cardBackIn {
  from {
    opacity: 0;
    transform: rotateX(-4deg) translateY(-4px);
  }

  to {
    opacity: 1;
    transform: rotateX(0) translateY(0);
  }
}

.faq-section {
  padding-top: 0;
}

.faq-section .section-head {
  grid-template-columns: 0.8fr 1.2fr;
  margin-bottom: 30px;
}

.faq-section h2 {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

.faq-list {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0 22px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
  list-style: none;
  list-style-type: none;
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
  display: none;
  content: "";
  font-size: 0;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 820px;
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.faq-item a {
  color: var(--ink);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.small-card,
.notice {
  padding: 24px;
}

.small-card b {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.quote {
  max-width: 980px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
}

.byline {
  margin-top: 22px;
  color: var(--muted);
}

.profile-name {
  color: var(--ink);
  font-weight: 760;
}

.notice a {
  color: var(--ink);
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.price {
  padding: 28px;
}

.price.featured {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}

.price .amount {
  margin: 20px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.price ul {
  margin: 22px 0 0;
  padding-left: 18px;
}

.price li {
  margin: 8px 0;
}

.price.featured p,
.price.featured li {
  color: var(--muted);
}

.shop-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.shop-note,
.shop-embed {
  border: 1px solid var(--line);
  background: var(--paper);
}

.shop-note {
  padding: 24px;
}

.shop-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.shop-note p,
.shop-embed p {
  color: var(--muted);
}

.shop-embed {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.final-box {
  display: grid;
  gap: 20px;
  padding: 48px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.final-box p {
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
}

.final-box .btn.secondary {
  border-color: var(--ink);
  color: var(--ink);
}

.site-footer {
  padding: 36px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p + p {
  margin-top: 14px;
}

.legal-note {
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  color: var(--muted);
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
  width: min(520px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 20px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.cookie-consent strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.cookie-consent p {
  color: var(--muted);
  font-size: 14px;
}

.cookie-consent a {
  display: inline-block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  display: flex;
  gap: 8px;
}

.cookie-consent button,
.cookie-settings-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 760;
}

.cookie-consent button[data-cookie-choice="accept"] {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-head,
  .shop-panel,
  .grid-2,
  .pricing,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .meta-row,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }

  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .nav-links {
    order: 4;
    width: 100%;
    display: flex;
    gap: 16px;
    font-size: 14px;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero,
  .page-hero,
  section {
    padding: 58px 0;
  }

  h1 {
    overflow-wrap: break-word;
    font-size: clamp(40px, 13vw, 54px);
  }

  .meta-row,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .meta {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .meta:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .final-box {
    padding: 30px;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    right: 16px;
    width: min(520px, calc(100vw - 32px));
  }

  .cookie-consent-actions {
    justify-content: flex-start;
  }
}
