:root {
  --product-max: 1100px;
  --product-line: #e5e7eb;
  --product-muted: #6b7280;
}

html {
  scroll-padding-top: 80px;
}

body {
  background: var(--white);
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -80px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.nav {
  gap: 24px;
}

.nav-brand:focus-visible,
.nav-links a:focus-visible,
.hero-actions a:focus-visible,
.product-link:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(224, 168, 38, .5);
  outline-offset: 4px;
  border-radius: 8px;
}

.nav-product {
  font-size: 14px;
  font-weight: 800;
  color: #b18422;
  letter-spacing: -.3px;
}

.nav-product-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: super;
}

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

.lang-chip {
  position: absolute;
  left: 40%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 34px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: #fff;
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(10, 22, 40, .03);
}

.ati-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.ati-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

body.ati-menu-open .ati-menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.ati-menu-open .ati-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.ati-menu-open .ati-menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero.product-hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 112px 48px 35px;
}

.product-hero .hero-badge {
  position: relative;
  background: var(--gold-dim);
  border-color: rgba(224, 168, 38, .25);
  color: #b18422;
  margin-bottom: 20px;
}

.product-hero .hero-h1-styled {
  max-width: 880px;
}

.product-hero .hero-h1-styled em {
  background: linear-gradient(135deg, #b18422, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-hero .hero-sub {
  max-width: 690px;
  margin-bottom: 28px;
}

.product-hero .hero-sub strong {
  color: var(--gray-700);
}

.product-hero .stats-bar {
  width: min(900px, 100%);
  justify-content: space-between;
}

.product-hero .hero-actions {
  margin-bottom: 36px;
}

.product-hero + section {
  padding-top: 48px;
}

.product-section {
  max-width: var(--product-max);
  margin: 0 auto;
}

.product-section.wide {
  max-width: 1180px;
}

.product-soft {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.product-section .section-center {
  max-width: 760px;
  margin: 0 auto 46px;
}

.section-center .section-sub {
  margin-right: auto;
  margin-left: auto;
}

.section-title em {
  color: #b18422;
  font-style: normal;
}

.feature-grid-product {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-product {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--product-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(10, 22, 40, .035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-product:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 168, 38, .45);
  box-shadow: 0 14px 36px rgba(10, 22, 40, .075);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.feature-product h3,
.workflow-step h3,
.security-card h3,
.product-card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}

.feature-product p,
.workflow-step p,
.product-card p {
  margin: 0;
  color: var(--product-muted);
  font-size: 14px;
  line-height: 1.7;
}

.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.decision-panel {
  padding: 30px;
  border-radius: 14px;
  border: 1px solid;
}

.decision-panel.assist {
  background: #effbf4;
  border-color: #b7ebc8;
}

.decision-panel.limit {
  background: #fff5f3;
  border-color: #ffc9c3;
}

.decision-panel h3 {
  margin: 0 0 14px;
  font-size: 19px;
}

.decision-panel.assist h3 {
  color: #159447;
}

.decision-panel.limit h3 {
  color: #dc2626;
}

.decision-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.decision-panel li {
  position: relative;
  margin-top: 9px;
  padding-left: 20px;
  color: var(--gray-700);
  font-size: 14px;
}

.decision-panel li::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-weight: 900;
}

.decision-panel.assist li::before {
  content: "✓";
  color: #16a34a;
}

.decision-panel.limit li::before {
  content: "×";
  color: #dc2626;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: workflow;
}

.workflow-step {
  position: relative;
  min-height: 210px;
  padding: 24px 20px;
  border: 1px solid var(--product-line);
  border-radius: 14px;
  background: #fff;
}

.workflow-step::before {
  counter-increment: workflow;
  content: counter(workflow);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--gold-dim);
  color: #b18422;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(224, 168, 38, .2);
}

.product-dark {
  background: var(--navy);
  color: #fff;
}

.product-dark .section-label {
  color: var(--gold);
}

.product-dark .section-title {
  color: #fff;
}

.product-dark .section-sub {
  color: rgba(255, 255, 255, .62);
}

.security-grid-product {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.security-card {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
}

.security-card h3 {
  color: #fff;
}

.security-card p {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.7;
}

.security-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(224, 168, 38, .12);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.privacy-note {
  max-width: 860px;
  margin: 26px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(224, 168, 38, .2);
  border-radius: 12px;
  background: rgba(224, 168, 38, .06);
  color: rgba(255, 255, 255, .7);
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
}

.product-relation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
}

.product-card {
  padding: 28px;
  border: 1px solid var(--product-line);
  border-radius: 14px;
  background: #fff;
}

.product-card.current {
  border-top: 4px solid var(--gold);
}

.product-card.other {
  border-top: 4px solid var(--navy);
}

.product-card h3 {
  font-size: 22px;
}

.product-card .product-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.relation-arrow {
  align-self: center;
  color: var(--gold);
  font-size: 26px;
}

.faq-product {
  max-width: 840px;
  margin: 0 auto;
}

.faq-product details {
  border-bottom: 1px solid var(--product-line);
}

.faq-product summary {
  position: relative;
  padding: 20px 42px 20px 0;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 750;
}

.faq-product summary::-webkit-details-marker {
  display: none;
}

.faq-product summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  color: #b18422;
  font-size: 24px;
  font-weight: 500;
}

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

.faq-product details p {
  margin: -4px 0 20px;
  color: var(--product-muted);
  font-size: 14px;
  line-height: 1.7;
}

.cta-section.product-cta {
  padding-top: 78px;
  padding-bottom: 78px;
}

.product-cta h2 {
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.product-cta p {
  max-width: 660px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, .66);
  font-size: 16px;
}

.btn-cta-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 27px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-cta-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(224, 168, 38, .22);
}

.compliance-strip {
  padding: 36px 48px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--product-max);
  margin: 0 auto;
  gap: 28px;
}

.compliance-grid h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 11px;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.compliance-grid p {
  margin: 0;
  color: var(--product-muted);
  font-size: 12px;
  line-height: 1.65;
}

.footer {
  background: #fff;
}

.footer p {
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.7;
}

.footer-links {
  margin-bottom: 12px !important;
}

.footer a {
  display: inline-block;
  margin: 0 9px 7px;
  color: var(--gray-500);
}

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

.trademark-note {
  padding: 13px 20px;
  border-top: 1px solid #1e293b;
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.trademark-note strong {
  color: var(--gold);
}

.power-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.power-pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid rgba(224, 168, 38, .24);
  border-radius: 13px;
  background: #fffaf0;
}

.power-pillar strong {
  flex: 0 0 auto;
  color: #b18422;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -1px;
}

.power-pillar span {
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.decision-panel.power {
  background: var(--navy);
  border-color: var(--navy);
}

.decision-panel.professional {
  background: #f4f7fb;
  border-color: #cdd8e6;
}

.decision-panel.power h3 {
  color: #fff;
}

.decision-panel.professional h3 {
  color: var(--navy);
}

.decision-panel.power li {
  color: rgba(255, 255, 255, .82);
}

.decision-panel.power li::before {
  content: "✓";
  color: var(--gold);
}

.decision-panel.professional li::before {
  content: "→";
  color: #b18422;
}

.power-note {
  margin: 22px 0 0;
  padding: 17px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: #fff;
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.65;
}

.power-note strong {
  color: var(--navy);
}

@media (max-width: 820px) {
  .power-strip {
    grid-template-columns: 1fr 1fr;
  }
}

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

@media (max-width: 980px) {
  .lang-chip {
    display: none;
  }

  .nav-links {
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .nav {
    padding: 0 14px;
  }

  .nav-brand-name {
    font-size: 14px;
  }

  .nav-product {
    font-size: 12px;
  }

  .ati-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
  }

  body.ati-menu-open {
    overflow: hidden;
  }

  body.ati-menu-open .nav-links {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .2);
  }

  body.ati-menu-open .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 9px;
  }

  body.ati-menu-open .nav-links .nav-cta {
    justify-content: center;
    margin-top: 4px;
  }

  .hero.product-hero {
    min-height: auto;
    padding: 112px 18px 60px;
  }

  .product-hero .hero-h1-styled {
    font-size: clamp(36px, 11vw, 52px);
    letter-spacing: -1.8px;
  }

  .product-hero .hero-sub {
    font-size: 16px;
  }

  .product-hero .stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  section {
    padding: 72px 20px;
  }

  .feature-grid-product,
  .security-grid-product,
  .compliance-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .product-relation {
    grid-template-columns: 1fr;
  }

  .relation-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .compliance-strip {
    padding: 34px 20px;
  }
}

@media (max-width: 560px) {
  .nav-brand {
    gap: 8px;
  }

  .nav-brand-icon {
    width: 34px;
    height: 34px;
  }

  .nav-brand-sep {
    display: none;
  }

  .nav-brand-name {
    display: block;
  }

  .nav-product {
    display: block;
    margin-top: -2px;
    font-size: 10px;
    letter-spacing: .2px;
    text-transform: uppercase;
  }

  .hero.product-hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .product-hero .hero-badge {
    padding: 7px 12px;
    font-size: 11px;
  }

  .product-hero .hero-h1-styled {
    font-size: 34px;
  }

  .product-hero .hero-actions {
    width: 100%;
  }

  .product-hero .hero-actions a {
    width: 100%;
    max-width: 330px;
    text-align: center;
  }

  section {
    padding: 58px 16px;
  }

  .product-section .section-center {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 29px;
    letter-spacing: -1px;
  }

  .feature-grid-product,
  .decision-grid,
  .workflow-grid,
  .security-grid-product,
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .feature-product,
  .workflow-step {
    min-height: auto;
  }

  .cta-section.product-cta {
    padding: 58px 18px;
  }

  .footer {
    padding: 34px 18px;
  }
}


/* Bailey profile and 67-tool catalog */
.bailey-profile-lockup{display:inline-flex;align-items:center;gap:13px;margin:18px auto 22px;padding:9px 16px 9px 9px;border:1px solid rgba(212,168,67,.38);border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 16px 36px rgba(15,23,42,.12);text-align:left}
.bailey-profile-avatar{width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;overflow:hidden;padding:4px;border:2px solid var(--gold);border-radius:16px;background:#0a1628}
.bailey-profile-avatar img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;border-radius:11px}
.bailey-profile-copy{display:grid;gap:3px}
.bailey-profile-copy strong{color:var(--navy);font-size:17px;line-height:1.1}
.bailey-profile-copy small{display:flex;align-items:center;gap:7px;color:var(--gray-500);font-size:11px;font-weight:700}
.bailey-profile-copy small span{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#20a564;box-shadow:0 0 0 4px rgba(32,165,100,.13)}
.tools-catalog-section{background:radial-gradient(circle at 90% 4%,rgba(212,168,67,.12),transparent 24%),linear-gradient(180deg,#fff,#f7f9fb)}
.tools-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tool-group{padding:25px;border:1px solid var(--gray-200);border-radius:16px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.tool-group-wide{grid-column:1/-1}
.tool-group-head{display:flex;align-items:flex-start;gap:13px;padding-bottom:18px;border-bottom:1px solid var(--gray-200)}
.tool-group-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:11px;background:var(--navy);color:var(--gold);font-size:12px;font-weight:900;letter-spacing:.5px}
.tool-group h3{margin:1px 0 4px;color:var(--navy);font-size:17px}
.tool-group-head p{margin:0;color:var(--gray-500);font-size:12px;line-height:1.5}
.tool-list{margin:18px 0 0;padding-left:28px;columns:2;column-gap:32px}
.tool-list li{break-inside:avoid;margin:0 0 11px;padding-left:5px;color:var(--gray-700);font-size:12.5px;line-height:1.45}
.tool-list li::marker{color:#b18422;font-size:11px;font-weight:900}
.tool-list li strong{color:inherit;font-weight:650}
.tool-list-short{columns:3}
.tools-catalog-note{margin:22px 0 0;padding:17px 20px;border-left:4px solid var(--gold);border-radius:0 10px 10px 0;background:#fff;color:var(--gray-700);font-size:13px;line-height:1.65}
.tools-catalog-note strong{color:var(--navy)}
@media(max-width:820px){.tools-catalog{grid-template-columns:1fr}.tool-group-wide{grid-column:auto}.bailey-profile-lockup{margin-top:14px}}
@media(max-width:560px){.bailey-profile-lockup{width:min(100%,330px);padding-right:12px}.bailey-profile-avatar{width:58px;height:58px;flex-basis:58px}.bailey-profile-copy small{font-size:10px}.tool-group{padding:20px 18px}.tool-list,.tool-list-short{columns:1}}
