:root {
  --bg: #f5efe8;
  --card: rgba(255, 250, 245, 0.9);
  --card-strong: #fff8f2;
  --ink: #1f2f38;
  --muted: #60707a;
  --line: rgba(70, 58, 46, 0.12);
  --primary: #006a67;
  --primary-dark: #004f4d;
  --accent: #d46a4b;
  --hero-glow: radial-gradient(circle at top right, rgba(212, 106, 75, 0.25), transparent 32rem);
  --hero-alt: radial-gradient(circle at bottom left, rgba(0, 106, 103, 0.18), transparent 28rem);
  --shadow: 0 24px 60px rgba(27, 39, 48, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f8f2ec 0%, #f0e7dc 100%);
  color: var(--ink);
  font-family: "Bahnschrift", "Aptos", "Trebuchet MS", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background: var(--hero-glow);
}

body::after {
  background: var(--hero-alt);
}

.page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: rgba(255, 251, 247, 0.72);
  border: 1px solid rgba(96, 112, 122, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand strong {
  display: block;
  font-size: 1.1rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.main-nav a,
.lang-switcher label {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.main-nav a.active {
  color: var(--primary);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher select,
input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 28px;
}

.hero-copy,
.hero-panel,
.card,
.contact-strip {
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  margin-bottom: 14px;
}

.hero-text,
.small-note,
.card p,
.contact-strip p,
.steps {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), #00847f);
  color: white;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-points,
.steps {
  margin: 0;
  padding-left: 18px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  padding: 20px;
  background: var(--card-strong);
  border-radius: 22px;
  border: 1px solid rgba(0, 106, 103, 0.08);
}

.metric-card strong {
  font-size: 1.7rem;
}

.metric-card span {
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.single-column {
  grid-template-columns: 1fr;
}

.two-column-balanced {
  grid-template-columns: 1.1fr 0.9fr;
}

.card {
  padding: 28px;
}

.card-accent {
  background:
    linear-gradient(180deg, rgba(255, 248, 242, 0.98), rgba(255, 241, 233, 0.9));
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list h3 {
  margin-bottom: 6px;
}

.stack {
  display: grid;
  gap: 14px;
}

.stack.tight {
  gap: 10px;
}

.stack label span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.small-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.small-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.faq-list,
.doc-list,
.check-list {
  display: grid;
  gap: 14px;
}

.faq-item,
.doc-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.faq-item h3,
.doc-item h3 {
  margin-bottom: 8px;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
}

.site-footer {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 247, 0.72);
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-grid a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 8px;
}

.status-message {
  min-height: 24px;
  font-weight: 700;
}

.checkout-status-card {
  overflow: hidden;
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.status-orbit {
  display: grid;
  grid-template-columns: repeat(3, 16px);
  gap: 10px;
  justify-content: center;
  margin: 28px 0;
}

.status-orbit span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--primary);
  animation: statusPulse 1.2s ease-in-out infinite;
}

.status-orbit span:nth-child(2) {
  animation-delay: 0.18s;
}

.status-orbit span:nth-child(3) {
  animation-delay: 0.36s;
}

.status-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.status-step {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  opacity: 0.62;
}

.status-step.active {
  border-color: rgba(0, 106, 103, 0.35);
  background: rgba(232, 248, 244, 0.9);
  opacity: 1;
}

.status-step span,
.license-result p {
  color: var(--muted);
}

.license-result {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(0, 106, 103, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.checkout-layout {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .content-grid,
  .contact-strip,
  .small-grid,
  .footer-grid,
  .status-timeline,
  .two-column-balanced {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }
}
