:root {
  --primary: #f9450a;
  --primary-ink: #fcf9f4;
  --secondary: #712506;
  --brown: #8b1e07;
  --bg: #fcf9f4;
  --fg: #1a1410;
  --muted: #f5f0e8;
  --muted-fg: #6b5d4f;
  --card: #ffffff;
  --line: rgba(249, 69, 10, 0.15);
  --shadow: 0 10px 30px rgba(26, 20, 16, 0.08);
  --radius: 18px;
  --header: 76px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  display: flex; align-items: center;
  background: rgba(252, 249, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 18px; width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.04em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.brand .brand-logo {
  width: auto; height: 34px; border-radius: 0; object-fit: contain;
}
@media (min-width: 861px) {
  .brand .brand-logo { height: 38px; }
}
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a, .nav button.linkish {
  background: transparent; border: 0; cursor: pointer;
  padding: 8px 12px; border-radius: 999px; color: var(--muted-fg); font-weight: 600;
}
html[lang="hy"] .nav a,
html[lang="hy"] .nav button.linkish { font-size: 14px; }
.nav a.active, .nav a:hover { color: var(--primary); background: rgba(249, 69, 10, 0.08); }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 8px 12px; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.nav-icon {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--line); background: white; color: var(--secondary);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
}
.nav-icon svg { width: 22px; height: 22px; }
.nav-icon:hover, .nav-icon.active { color: var(--primary); border-color: var(--primary); background: rgba(249, 69, 10, 0.08); }
.lang { position: relative; }
.lang-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: white; color: var(--secondary);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.lang-toggle svg { width: 22px; height: 22px; }
.lang.open .lang-toggle, .lang-toggle:hover { color: var(--primary); border-color: var(--primary); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 50;
  min-width: 180px; margin: 0; padding: 8px;
  background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.lang.open .lang-menu { display: grid; }
.lang-menu a, .lang-menu button {
  border: 0; background: transparent; cursor: pointer; text-align: left; display: block;
  padding: 10px 12px; border-radius: 12px; font-weight: 700; color: var(--fg);
}
.lang-menu a:hover, .lang-menu a.on,
.lang-menu button:hover, .lang-menu button.on { background: rgba(249, 69, 10, 0.08); color: var(--primary); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 20px; border: 1px solid transparent;
  font-weight: 700; cursor: pointer; background: var(--primary); color: var(--primary-ink);
}
.btn.secondary { background: var(--secondary); }
.btn.ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn.block { width: 100%; }
.hero {
  position: relative; min-height: calc(100vh - var(--header));
  display: grid; place-items: center; color: white; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,20,16,.35), rgba(113,37,6,.72)); }
.hero-copy { position: relative; text-align: center; padding: 48px 16px 64px; }
.hero-copy img { width: 104px; height: 104px; margin: 0 auto 16px; border-radius: 28px; box-shadow: var(--shadow); }
.kicker { letter-spacing: .22em; font-size: 13px; font-weight: 700; }
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.15; margin: 0 0 10px; }
h1 { font-size: clamp(20px, 3vw, 34px); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.lede { max-width: 560px; margin: 0 auto 22px; font-size: 18px; }
.hero-lead { max-width: 640px; margin: 0 auto 12px; font-size: 17px; opacity: .92; }
.hero-proof { max-width: 560px; margin: 0 auto 20px; font-size: 14px; font-weight: 700; opacity: .88; }
.trust-row {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.trust-row li {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(252, 249, 244, 0.14); border: 1px solid rgba(252, 249, 244, 0.22);
  font-size: 13px; font-weight: 700;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.section { padding: 56px 0; }
.section h2 { font-size: 32px; }
.landing-section h3 { font-size: 22px; margin-top: 0; }
.landing-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px;
}
.landing-step {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.landing-step-num {
  font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--primary); margin-bottom: 10px;
}
.landing-step p, .landing-panel p { margin: 0; color: var(--muted-fg); }
.landing-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px;
}
.landing-panel {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.landing-panel.accent {
  background: linear-gradient(160deg, #fff4ef 0%, #ffffff 70%);
  border-color: rgba(249, 69, 10, 0.22);
}
.landing-panel ul { margin: 0 0 16px; padding-left: 18px; color: var(--muted-fg); }
.landing-panel ul:last-child { margin-bottom: 0; }
.landing-label { font-weight: 700; color: var(--fg); margin: 14px 0 8px !important; }
.landing-solution-grid { display: grid; gap: 14px; margin-top: 16px; }
.landing-solution-grid strong { display: block; margin-bottom: 4px; color: var(--primary); }
.check-list { list-style: none; padding-left: 0 !important; }
.check-list li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800;
}
.landing-early {
  background: linear-gradient(160deg, #2a1c16 0%, #1a1410 55%, #3a180c 100%);
  color: #fcf9f4;
}
.landing-early .kicker { color: rgba(252, 249, 244, 0.7); }
.landing-early .lede, .landing-early .landing-note { color: rgba(252, 249, 244, 0.82); }
.landing-perks {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.landing-perks li {
  padding: 12px 14px; border-radius: 14px;
  background: rgba(252, 249, 244, 0.08); border: 1px solid rgba(249, 69, 10, 0.28);
  font-weight: 700;
}
.landing-perks li::before { content: "✓ "; color: var(--primary); }
.landing-note { margin: 0 0 18px; max-width: 640px; }
.landing-faq { margin-top: 18px; display: grid; gap: 10px; }
.landing-faq details {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.landing-faq summary {
  cursor: pointer; font-weight: 700; list-style: none;
}
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq details[open] summary { color: var(--primary); margin-bottom: 8px; }
.landing-faq p { margin: 0; color: var(--muted-fg); }
.landing-future {
  background: linear-gradient(180deg, #fff4ef 0%, var(--bg) 100%);
}
.muted { color: var(--muted-fg); }
.grid { display: grid; gap: 16px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid.cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.card .pad { padding: 16px; }
.person { display: flex; gap: 12px; align-items: center; }
.avatar, .avatar-lg {
  border-radius: 50%; object-fit: cover; background: var(--muted);
}
.avatar { width: 56px; height: 56px; }
.avatar-lg { width: 112px; height: 112px; }
.ring { padding: 3px; border-radius: 50%; border: 2px solid var(--primary); }
.rings { display: flex; gap: 14px; overflow: auto; padding-bottom: 8px; }
.rings a { text-align: center; min-width: 76px; font-size: 12px; font-weight: 700; }
.place-photo { height: 160px; width: 100%; object-fit: cover; background: var(--muted); }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(249, 69, 10, 0.1); color: var(--primary);
  border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 22px; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input[type="date"], textarea, select {
  width: 100%; min-height: 48px; border-radius: 16px; border: 1px solid rgba(249, 69, 10, 0.2);
  background: white; padding: 10px 14px;
}
textarea { min-height: 120px; }
label { display: block; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.alert { padding: 12px 14px; border-radius: 14px; background: #fff4ef; color: var(--brown); margin-bottom: 14px; }
.alert.ok { background: #eef8f0; }
.alert-with-log {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.alert-with-log > span { flex: 1; min-width: 0; }
.alert-log-btn {
  flex: none; margin: 0; padding: 0; border: 0; background: transparent;
  color: var(--primary); font: inherit; font-weight: 700; text-decoration: underline;
  cursor: pointer; white-space: nowrap;
}
.alert-log-btn:hover { opacity: 0.85; }
.log-modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 20px;
}
.log-modal[hidden] { display: none !important; }
.log-modal-backdrop {
  position: absolute; inset: 0; background: rgba(26, 20, 16, 0.55);
}
.log-modal-panel {
  position: relative; z-index: 1;
  width: min(720px, 100%); max-height: min(80vh, 720px);
  display: flex; flex-direction: column;
  background: #fff; color: var(--brown);
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(26, 20, 16, 0.28);
  overflow: hidden;
}
.log-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.log-modal-close {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(26, 20, 16, 0.06); color: var(--brown);
  font-size: 24px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.log-modal-body {
  margin: 0; padding: 16px;
  overflow: auto; flex: 1;
  display: flex; flex-direction: column; gap: 14px;
  background: #faf7f3;
}
.log-modal-section h3 {
  margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--brown);
}
.log-modal-section pre {
  margin: 0; padding: 12px;
  border-radius: 12px; border: 1px solid var(--line);
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; line-height: 1.45; white-space: pre-wrap; word-break: break-word;
  max-height: 28vh; overflow: auto;
}
.sub-nag {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  width: min(360px, calc(100vw - 40px));
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px 44px 16px 18px;
  border-radius: 20px;
  background: linear-gradient(160deg, #2a1c16 0%, #1a1410 55%, #3a180c 100%);
  color: #fcf9f4;
  border: 1px solid rgba(249, 69, 10, 0.35);
  box-shadow: 0 18px 40px rgba(26, 20, 16, 0.28);
  animation: sub-nag-in .45s ease both;
}
.sub-nag-close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(252, 249, 244, 0.08); color: #fcf9f4;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sub-nag-close:hover { background: rgba(252, 249, 244, 0.16); }
.sub-nag-copy strong {
  display: block; font-size: 15px; letter-spacing: -0.02em; margin-bottom: 6px;
}
.sub-nag-copy p {
  margin: 0; font-size: 13px; line-height: 1.45; color: rgba(252, 249, 244, 0.78);
}
.sub-nag .btn {
  align-self: flex-start; min-width: 140px; text-align: center;
  box-shadow: 0 8px 18px rgba(249, 69, 10, 0.28);
}
@keyframes sub-nag-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 860px) {
  .sub-nag { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
.ok { background: #eef8ef; color: #1d5c2a; }
.layout { display: grid; grid-template-columns: 280px 1fr; gap: 22px; }
.side a { display: block; padding: 10px 12px; border-radius: 12px; font-weight: 700; color: var(--muted-fg); }
.side a.active, .side a:hover { background: white; color: var(--primary); }
.chat { display: flex; flex-direction: column; gap: 10px; min-height: 420px; }
.bubble { max-width: min(70%, 520px); padding: 10px 14px; border-radius: 16px; background: white; border: 1px solid var(--line); }
.bubble.mine { margin-left: auto; background: var(--primary); color: white; border-color: transparent; }
.story-stage { position: relative; max-width: 460px; margin: 0 auto; background: #1a1410; border-radius: 24px; overflow: hidden; min-height: 70vh; }
.story-stage img, .story-stage video { width: 100%; height: 70vh; object-fit: cover; }
.map { height: 460px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.footer { background: #1a1410; color: #fcf9f4; padding: 36px 0; margin-top: 40px; }
.footer a { color: #fcf9f4; opacity: .85; }
.footer .muted { color: rgba(252, 249, 244, 0.7); }
.footer-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-brand { max-width: 360px; }
.footer-payments { width: min(210px, 100%); height: auto; margin-top: 14px; display: block; }
.footer-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(252, 249, 244, 0.12);
}
.footer-rights, .footer-credit { margin: 0; font-size: 13px; opacity: .7; }
.footer-credit a { text-decoration: none; }
.footer-credit a:hover { opacity: 1; text-decoration: underline; }
.pricing-hero { background: linear-gradient(180deg, #fff4ef 0%, var(--bg) 100%); }
.pricing-toggle {
  display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px;
  background: white; border: 1px solid var(--line); margin-top: 8px;
}
.pricing-toggle a {
  min-width: 110px; padding: 10px 16px; border-radius: 999px;
  font-weight: 700; color: var(--muted-fg); text-align: center;
}
.pricing-toggle a.on { background: var(--primary); color: var(--primary-ink); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pricing-card { height: 100%; }
.pricing-card .pad { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.price-line { display: flex; align-items: baseline; gap: 8px; margin: 8px 0; }
.price { font-size: 42px; font-weight: 800; letter-spacing: -0.04em; color: var(--primary); }
.feature-list { margin: 0 0 12px; padding-left: 18px; color: var(--muted-fg); flex: 1; }
.feature-list li { margin-bottom: 6px; }
.pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 22px;
}
.pager-summary { color: var(--muted-fg); font-size: 14px; font-weight: 600; }
.pager-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pager-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; min-height: 42px; padding: 0 14px;
  border-radius: 12px; background: white; border: 1px solid var(--line);
  color: var(--fg); font-weight: 700; font-size: 14px; line-height: 1;
}
.pager-btn:hover { color: var(--primary); border-color: var(--primary); }
.pager-btn.is-current {
  background: var(--primary); border-color: var(--primary); color: var(--primary-ink);
}
.pager-btn.is-disabled {
  opacity: 0.45; cursor: default; pointer-events: none;
}
.pager svg { width: 16px; height: 16px; display: block; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.prose { white-space: pre-wrap; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 12px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .layout, .split { grid-template-columns: 1fr; }
  .grid.cards.cols-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .landing-steps, .landing-split, .landing-perks { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}
