:root {
  --bg: #ffffff;
  --bg-muted: #f6f7f9;
  --fg: #15181c;
  --fg-muted: #5c6570;
  --border: #e6e9ee;
  --accent: #ffea01;
  --accent-fg: #15181c;
  --accent-soft: rgba(255, 234, 1, 0.22);
  --client-bg: #495056;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(21, 24, 28, 0.08);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

code {
  font-size: 0.85em;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  background: var(--bg-muted);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

html.promo-dismissed .promo-bar {
  display: none;
}

.promo-bar {
  position: relative;
  overflow: hidden;
  background: var(--fg);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 120% at 8% 50%, rgba(255, 234, 1, 0.18), transparent 70%),
    radial-gradient(ellipse 30% 100% at 92% 50%, rgba(255, 234, 1, 0.08), transparent 70%);
  pointer-events: none;
}

.promo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.5rem 0;
  position: relative;
}

.promo-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.625rem 0.875rem;
  padding: 0 2.5rem 0 0.25rem;
}

.promo-bar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(21, 24, 28, 0.08);
}

.promo-bar-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.625rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
}

.promo-bar-text strong {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.promo-bar-price-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}

.promo-bar-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.promo-bar-period {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.promo-bar-old {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.promo-bar-deadline {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.promo-bar-cta {
  display: inline;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  box-shadow: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.promo-bar-cta:hover {
  color: var(--accent);
  background: transparent;
  transform: none;
  box-shadow: none;
  text-decoration-color: var(--accent);
}

.promo-bar-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.promo-bar-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  box-shadow:
    0 1px 2px rgba(21, 24, 28, 0.06),
    0 0 0 1px rgba(21, 24, 28, 0.04);
}

.logo-word {
  transform: translateY(0.5px);
}

.logo:hover .logo-mark {
  box-shadow:
    0 4px 12px rgba(255, 234, 1, 0.45),
    0 0 0 1px rgba(21, 24, 28, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.lang-switch {
  position: relative;
}

.lang-switch-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-switch-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(21, 24, 28, 0.08);
  z-index: 30;
}

.lang-switch-menu a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
}

.lang-switch-menu a.is-current {
  background: #fff6cc;
  font-weight: 700;
}

.nav a:not(.nav-cta):hover {
  color: var(--fg-muted);
}

.nav-cta {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
}

.hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(circle at top right, var(--accent-soft), transparent 42%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--fg-muted);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 8px 24px rgba(255, 234, 1, 0.35);
}

.btn-secondary {
  background: #fff;
  border-color: var(--border);
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.hero-points li + li {
  margin-top: 0.35rem;
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.hero-widget-stage {
  width: min(100%, 420px);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 234, 1, 0.2), transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
}

.hero-widget-stage .aioreply-preview-root,
.hero-widget-stage #aioreply-root {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.hero-widget-stage #aioreply-root .ar-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-widget-stage #aioreply-root .ar-panel {
  display: flex !important;
  position: absolute;
  top: auto;
  bottom: 78px;
  width: min(340px, calc(100% - 24px));
  height: auto;
  max-height: calc(100% - 96px);
  min-height: 360px;
  pointer-events: none;
  transform: none !important;
  animation: none !important;
}

.hero-widget-stage #aioreply-root .ar-shell.side-right .ar-panel {
  right: 12px;
  left: auto;
}

.hero-widget-stage #aioreply-root .ar-section.is-body {
  min-height: 160px;
}

.hero-widget-stage #aioreply-root .ar-dock {
  position: absolute;
  bottom: var(--aioreply-offset-bottom, 12px);
  right: var(--aioreply-offset-side, 12px);
  left: auto;
  pointer-events: none !important;
  z-index: 2;
}

.hero-widget-stage #aioreply-root .ar-fab,
.hero-widget-stage #aioreply-root .ar-fab-hint {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: none !important;
}

.hero-widget-stage #aioreply-root .ar-composer .ar-input {
  pointer-events: none;
  cursor: default;
}

.hero-widget-stage #aioreply-root .ar-credit {
  pointer-events: auto;
  cursor: default;
  transition: color 0.15s ease;
}

.hero-widget-stage #aioreply-root .ar-credit:hover {
  color: var(--aioreply-text);
}

.hero-widget-stage #aioreply-root .ar-shell.theme-light .ar-msg.from-visitor .ar-bubble {
  box-shadow: 0 1px 3px rgba(255, 234, 1, 0.28);
}

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  color: var(--fg-muted);
}

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

.feature {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

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

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

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 800;
  font-size: 0.875rem;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

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

.cta-box {
  padding: 2rem;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, #15181c 0%, #2a3038 100%);
  color: #fff;
  text-align: center;
}

.cta-box h2 {
  color: #fff;
}

.cta-box > p {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.78);
}

.cta-form {
  max-width: 34rem;
  margin: 0 auto;
  text-align: left;
}

.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cta-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.cta-form-grid .cta-field {
  margin-bottom: 0;
}

.cta-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.cta-input {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cta-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-input:focus {
  border-color: rgba(255, 234, 1, 0.65);
  background: rgba(255, 255, 255, 0.09);
}

.cta-textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.45;
}

.cta-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.cta-form-actions .btn-secondary {
  color: var(--fg);
  background: #fff;
  border-color: transparent;
}

.cta-form-status {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.cta-form-status.is-ok {
  color: #bbf7d0;
}

.cta-form-status.is-err {
  color: #fecaca;
}

.cta .btn-secondary {
  color: var(--fg);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 3.25rem 0 1.75rem;
  background: var(--fg);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 80% at 8% 0%, rgba(255, 234, 1, 0.16), transparent 65%),
    radial-gradient(ellipse 35% 70% at 92% 100%, rgba(255, 234, 1, 0.08), transparent 70%);
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
}

.footer-brand {
  width: 100%;
  max-width: none;
  margin-bottom: 2.25rem;
}

.footer-brand-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.9rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.footer-logo .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.footer-about {
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9875rem;
  line-height: 1.6;
}

.footer-tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  margin-bottom: 2.25rem;
}

.footer-heading {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: 0.45rem;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

/* Legal / privacy pages */
.legal-body {
  background: var(--bg);
}

.legal-main {
  padding: 2.5rem 0 4rem;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, var(--accent-soft), transparent 60%),
    var(--bg);
}

.legal-article {
  max-width: 760px;
}

.legal-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-meta {
  margin: 0 0 1.25rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--fg);
}

.legal-section {
  margin: 0 0 2rem;
}

.legal-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  line-height: 1.35;
}

.legal-section p,
.legal-section li {
  color: var(--fg);
}

.legal-section p {
  margin: 0 0 0.85rem;
}

.legal-section ul,
.legal-list {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

.legal-section li + li,
.legal-list > li + li {
  margin-top: 0.65rem;
}

.legal-section a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-section a:hover {
  color: var(--fg-muted);
}

.legal-section em {
  font-style: italic;
  color: var(--fg-muted);
}

.legal-note {
  margin-top: 2.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.legal-note p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.nav a[aria-current="page"] {
  color: var(--fg-muted);
}

@media (max-width: 900px) {
  .legal-main {
    padding: 1.75rem 0 3rem;
  }
}

@media (max-width: 900px) {
  .promo-bar-inner {
    min-height: auto;
    padding: 0.625rem 0;
  }

  .promo-bar-content {
    justify-content: flex-start;
    padding-right: 2rem;
    gap: 0.5rem 0.625rem;
  }

  .promo-bar-text {
    font-size: 0.8125rem;
  }

  .promo-bar-deadline {
    padding-left: 0;
    border-left: 0;
    width: 100%;
    flex-basis: 100%;
    padding-left: calc(2.75rem + 0.625rem);
  }

  .promo-bar-cta {
    margin-left: calc(2.75rem + 0.625rem);
  }

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

  .hero-preview {
    order: -1;
  }

  .cta-form-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .nav > a:not(.nav-cta) {
    display: none;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
