:root {
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --bg-card: #ffffff;
  --text: #1a2332;
  --text-muted: #5c6b7a;
  --accent: #0d8f82;
  --accent-dim: #0a7369;
  --accent-soft: rgba(13, 143, 130, 0.12);
  --on-accent: #ffffff;
  --warm: #b45309;
  --border: rgba(26, 35, 50, 0.1);
  --shadow: 0 16px 40px rgba(26, 35, 50, 0.1);
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --radius: 12px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(13, 143, 130, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(180, 83, 9, 0.05), transparent);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: 7.5rem;
  width: auto;
  max-width: min(680px, 85vw);
}

@media (min-width: 768px) {
  .logo img {
    height: 9rem;
    max-width: 800px;
  }
}

.nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--on-accent) !important;
  background: var(--accent);
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--accent-dim);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0 1rem 1rem;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

h1 em {
  font-style: italic;
  color: var(--warm);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36em;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-dim);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.hero-visual {
  margin-inline: auto;
  max-width: min(520px, 100%);
  width: 100%;
  min-width: 0;
}

@media (min-width: 960px) {
  .hero-visual {
    margin-inline: 0;
    margin-left: auto;
  }
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.hero-compare {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 340px;
  margin-top: 3rem;
  margin-inline: auto;
}

.flow-arrow-icon::before {
  content: "↓";
}

@media (min-width: 720px) {
  .hero-compare {
    max-width: none;
    flex-direction: row;
    align-items: stretch;
    gap: 1.25rem;
  }

  .hero-compare .chain-card,
  .hero-compare .free-card {
    flex: 1;
  }

  .hero-compare .flow-arrow {
    align-self: center;
    white-space: nowrap;
  }

  .hero-compare .flow-arrow-icon::before {
    content: "→";
  }
}

.chain-card,
.free-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.chain-card {
  background: var(--bg-alt);
}

.free-card {
  background: linear-gradient(145deg, var(--accent-soft), var(--bg-card));
  border-color: rgba(13, 143, 130, 0.35);
  box-shadow: var(--shadow);
}

.chain-label,
.free-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.free-label {
  color: var(--accent);
}

.chain-list,
.free-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.chain-barrier {
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(180, 83, 9, 0.1);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--warm);
  text-align: center;
}

.flow-arrow {
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 400;
  margin: 0 0 2rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.section-note {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--warm);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split.reverse {
    direction: rtl;
  }

  .split.reverse > * {
    direction: ltr;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.highlight-box {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.45;
  margin: 0;
}

.quote-meta {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  color: var(--on-accent);
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.9rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-privacy {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 143, 130, 0.08) 100%);
}

.privacy-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .privacy-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.lead-sm {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.privacy-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-points li {
  background: var(--bg-card);
  border: 1px solid rgba(13, 143, 130, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.privacy-points strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
}

.privacy-points span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.subhead {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.muted {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags li {
  padding: 0.4rem 0.85rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-intro {
  max-width: 40em;
  margin-bottom: 2.5rem;
}

.section-intro p {
  margin: -1rem 0 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.examples {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.example {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .example {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .example-reverse {
    direction: rtl;
  }

  .example-reverse > * {
    direction: ltr;
  }
}

.example-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.example-copy p {
  margin: 0;
  color: var(--text-muted);
}

.mock {
  background: #0a0e12;
  border: 1px solid rgba(26, 35, 50, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: #e8edf2;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  background: #12181f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #9aa8b6;
}

.mock-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4550;
}

.mock-bar span:nth-child(1) {
  background: #e76f51;
}

.mock-bar span:nth-child(2) {
  background: #e9c46a;
}

.mock-bar span:nth-child(3) {
  background: #2a9d8f;
}

.mock-bar em {
  margin-left: 0.5rem;
  font-style: normal;
}

.mock-body {
  padding: 1rem;
}

.mock-search {
  padding: 0.65rem 0.85rem;
  background: rgba(61, 214, 195, 0.1);
  border: 1px solid rgba(61, 214, 195, 0.25);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #3dd6c3;
  margin-bottom: 0.85rem;
}

.mock-rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  background: #1c2530;
  border-radius: 6px;
  font-size: 0.82rem;
  align-items: center;
  color: #e8edf2;
}

.mock-row .ok {
  color: #3dd6c3;
}

.mock-row .warn {
  color: #e9c46a;
}

.mock-flow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flow-step {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #9aa8b6;
  position: relative;
}

.flow-step.done {
  border-color: rgba(61, 214, 195, 0.35);
  color: #e8edf2;
}

.flow-step.done::before {
  content: "✓ ";
  color: #3dd6c3;
}

.flow-step.active {
  background: rgba(233, 196, 106, 0.12);
  border-color: rgba(233, 196, 106, 0.4);
  color: #e9c46a;
  animation: pulse-border 2.2s ease-in-out infinite;
}

.mock-dash {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.dash-kpi {
  background: #1c2530;
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}

.dash-kpi strong {
  display: block;
  font-size: 1.1rem;
  color: #3dd6c3;
}

.dash-kpi small {
  color: #9aa8b6;
  font-size: 0.7rem;
}

.dash-chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 72px;
  padding: 0.5rem 0.25rem 0;
}

.dash-chart i {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, #3dd6c3, #2a9d8f);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

@keyframes pulse-border {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(233, 196, 106, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(233, 196, 106, 0.12);
  }
}

.cta-section {
  padding-bottom: 5rem;
}

.cta-grid {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: var(--shadow);
}

@media (min-width: 860px) {
  .cta-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

.cta-intro h2 {
  margin-bottom: 1rem;
}

.cta-intro > p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.cta-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.cta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.cta-mail {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cta-mail a {
  color: var(--accent);
  text-decoration: none;
}

.cta-mail a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a97a6;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-dim);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  border: none;
  cursor: pointer;
  margin-top: 0.25rem;
  align-self: flex-start;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
}

.form-status-ok {
  color: var(--accent);
}

.form-status-error {
  color: #e76f51;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

strong {
  color: var(--text);
  font-weight: 600;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-copy {
  min-width: 0;
  animation: hero-in 0.8s ease both;
}

.hero-visual {
  animation: hero-in 0.9s ease 0.15s both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-copy,
  .hero-visual,
  .flow-step.active {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
