@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/vazirmatn-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/vazirmatn-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  scroll-padding-block-start: 84px;
  --hn-logo-gradient: linear-gradient(90deg, #3f5cff, #8d54fb 50%, #ff4c8c);
  --hn-brand-gradient: linear-gradient(95deg, #8faaff, #bd98ff 48%, #ff90b9);
  --hn-action: #adbcff;
  --hn-ink: #eef1f8;
  --hn-muted: #b8c2d6;
  --hn-border: #344055;
  --hn-surface: #141d2e;
  --hn-background: #0b1120;
  --hn-tint: #101827;
  --hn-dark: #101727;
  --hn-dark-text: #c5d0e9;
  --hn-focus: #b5c7ff;
  --hn-radius: 16px;
  --hn-radius-large: 24px;
  --hn-shadow: 0 18px 46px #20295614;
  --hn-gap: clamp(12px, 2vw, 22px);
  --hn-gutter: clamp(18px, 4.5vw, 68px);
  --hn-section: clamp(48px, 6.1vw, 90px);
  --hn-shell: 1260px;
  --hn-motion: 160ms ease;
  --hn-weight-medium: 500;
  --hn-weight-heading: 550;
  --hn-font: "Space Grotesk", Vazirmatn, system-ui, sans-serif;
  font-family: var(--hn-font);
}
:root[lang="fa"] { --hn-font: Vazirmatn, "Space Grotesk", Tahoma, system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--hn-font); background: var(--hn-background); color: var(--hn-ink); line-height: 1.65; }
img { display: block; max-inline-size: 100%; block-size: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.18; font-weight: var(--hn-weight-heading); }
strong, b { font-weight: var(--hn-weight-heading); }
:lang(fa) h1, :lang(fa) h2, :lang(fa) h3 { line-height: 1.4; }
h1 { font-size: clamp(2.3rem, 5.15vw, 4.9rem); letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.4vw, 3.05rem); letter-spacing: -.032em; text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
:lang(fa) :is(h1, h2, h3) { letter-spacing: normal; }
a { color: var(--hn-action); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--hn-focus); outline-offset: 4px; }
button, summary { font: inherit; }
.hn-shell { inline-size: min(var(--hn-shell), calc(100% - var(--hn-gutter) * 2)); margin-inline: auto; }
.hn-sr, .hn-skip:not(:focus) { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hn-skip { position: fixed; z-index: 5; inset-block-start: 10px; inset-inline-start: 10px; padding: 10px 16px; background: var(--hn-surface); border-radius: 8px; }
.hn-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: #0e1525;
  color: #f1f5ff;
  border-block-end: 1px solid #39406a;
  background-image: linear-gradient(105deg, #1a2455 0%, transparent 43%, #351b4338 100%);
}
.hn-header-inner { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 34px); min-block-size: 68px; }
.hn-brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: inherit; font: var(--hn-weight-heading) 1.3rem/1.2 "Space Grotesk", system-ui, sans-serif; letter-spacing: -.025em; text-decoration: none; }
.hn-brand-name { color: #bd98ff; }
@supports (background-clip: text) {
  .hn-brand-name {
    background-image: var(--hn-brand-gradient);
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active) {
  .hn-brand-name { background-image: none; color: LinkText; }
}
.hn-brand img { padding: 3px; background: #171f3b; border: 1px solid #46537b; border-radius: 9px; }
.hn-desktop { display: flex; justify-content: center; align-items: center; gap: clamp(1px, 1.3vw, 18px); flex: 1; }
.hn-desktop a, .hn-mobile nav a, .hn-lang, .hn-mobile summary {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding-inline: 12px;
  color: #e4eafd;
  text-decoration: none;
  font-weight: var(--hn-weight-medium);
  font-size: .94rem;
  border-radius: 9px;
}
.hn-header :focus-visible { outline-color: #bfcaff; }
.hn-desktop a:hover, .hn-mobile nav a:hover, .hn-lang:hover, .hn-mobile summary:hover { background: #263457; }
.hn-desktop a[aria-current], .hn-mobile nav a[aria-current], .hn-nav-section { color: #fff; background: #263457; box-shadow: inset 0 -2px #8799ff; }
.hn-lang { border: 1px solid #465676; white-space: nowrap; }
.hn-mobile { display: none; }
.hn-mobile summary { cursor: pointer; list-style: none; border: 1px solid #465676; }
.hn-mobile summary::-webkit-details-marker { display: none; }
.hn-mobile summary::after { content: ""; inline-size: 7px; block-size: 7px; border-block-end: 1px solid; border-inline-end: 1px solid; transform: rotate(45deg); margin-inline-start: 8px; margin-block-start: -4px; }
:dir(rtl) .hn-mobile summary::after { transform: rotate(-45deg); }
.hn-mobile nav { position: absolute; inset-inline: var(--hn-gutter); inset-block-start: calc(100% + 6px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--hn-dark); padding: 12px; border: 1px solid #465676; border-radius: var(--hn-radius); box-shadow: 0 16px 30px #10172745; }
.hn-hero {
  padding-block: clamp(42px, 7vw, 100px);
  background: radial-gradient(ellipse at 50% 100%, #1a2d5a 0, transparent 66%), #0e1525;
  color: #f5f7ff;
}
.hn-hero :is(.hn-kicker, .hn-lede) { color: var(--hn-dark-text); }
.hn-hero h1 { text-wrap: initial; }
:lang(fa) .hn-hero h1 { font-size: clamp(2.2rem, 4.45vw, 4.2rem); line-height: 1.35; }
.hn-hero .hn-lede { max-inline-size: 40ch; }
.hn-hero .hn-actions { margin-block-start: 28px; }
.hn-hero .hn-link.hn-link--secondary { background: #1c2948; color: #f0f4ff; border-color: #4f6088; }
.hn-hero .hn-link--secondary:hover { background: #2b3b61; }
.hn-hero :focus-visible { outline-color: #c8d1ff; }
.hn-kicker, .hn-eyebrow { font-size: .8rem; line-height: 1.55; font-weight: var(--hn-weight-heading); color: var(--hn-action); }
.hn-kicker { display: flex; gap: 9px; align-items: center; }
.hn-kicker::before { content: ""; inline-size: 9px; block-size: 9px; border-radius: 3px; background: var(--hn-logo-gradient); }
.hn-heading :is(h1, h2) { margin-block-start: 9px; }
.hn-lede { margin-block-start: 13px; max-inline-size: 60ch; font-size: clamp(1rem, 1.45vw, 1.2rem); color: var(--hn-muted); }
.hn-actions, .hn-card-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.hn-actions { margin-block-start: 23px; }
.hn-actions--spaced { margin-block-start: 34px; }
.hn-link { display: inline-flex; align-items: center; gap: 8px; justify-content: center; min-block-size: 44px; font-weight: var(--hn-weight-heading); text-decoration: none; overflow-wrap: anywhere; }
.hn-link:is(.hn-link--primary, .hn-link--secondary) { border-radius: 10px; padding: 10px 17px; border: 1px solid transparent; transition: background var(--hn-motion), color var(--hn-motion); }
.hn-link--primary { background: var(--hn-brand-gradient); color: #151730; }
.hn-link--primary:hover { filter: brightness(1.1); }
.hn-link.hn-link--secondary { background: var(--hn-surface); border-color: var(--hn-border); color: var(--hn-ink); }
.hn-link--secondary:hover { background: #243249; }
.hn-arrow { line-height: 1; }
:dir(rtl) .hn-arrow { transform: scaleX(-1); }
.hn-jump { background: #111a2b; border-block-end: 1px solid var(--hn-border); }
.hn-jump-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hn-jump .hn-link { justify-content: space-between; padding: 10px clamp(12px, 3vw, 32px); min-block-size: 60px; color: #c7d4ef; }
.hn-jump .hn-link:hover { background: #202e46; }
.hn-jump .hn-link + .hn-link { border-inline-start: 1px solid var(--hn-border); }
.hn-section { padding-block: var(--hn-section); }
.hn-section--services { background: #0e1726; }
.hn-section--tint { background: var(--hn-tint); border-block: 1px solid var(--hn-border); }
.hn-section--page { padding-block-start: clamp(25px, 5vw, 60px); min-block-size: 55vh; }
.hn-section--page > .hn-shell > .hn-heading { margin-block-end: clamp(24px, 4vw, 42px); }
.hn-section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-block-end: clamp(18px, 3.3vw, 36px); }
.hn-grid { display: grid; gap: var(--hn-gap); }
.hn-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hn-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hn-card { min-inline-size: 0; display: flex; flex-direction: column; align-items: start; gap: 10px; background: var(--hn-surface); border: 1px solid var(--hn-border); border-radius: var(--hn-radius); padding: clamp(16px, 2.4vw, 30px); }
.hn-card p { color: var(--hn-muted); }

.hn-card h3 a { color: inherit; text-decoration: none; }
.hn-card-top { inline-size: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-block-end: 3px; }
.hn-icon { display: inline-grid; place-items: center; inline-size: 46px; block-size: 46px; flex: 0 0 46px; background: #1c2a41; border: 1px solid #3b4d69; border-radius: 11px; color: var(--hn-action); }
.hn-index { font-variant-numeric: tabular-nums; color: var(--hn-muted); font-size: .8rem; }
.hn-service > .hn-link, .hn-card-actions, .hn-plan > .hn-link { margin-block-start: auto; }
.hn-product, .hn-service { transition: transform var(--hn-motion), border-color var(--hn-motion); }
.hn-product:focus-within, .hn-service:focus-within { border-color: var(--hn-focus); }
@media (hover: hover) and (pointer: fine) {
  .hn-product:hover, .hn-service:hover { border-color: #a6aff0; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hn-product:hover, .hn-service:hover { transform: translateY(-3px); }
}
.hn-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hn-service { min-block-size: 214px; }
.hn-service--industrial-ai {
  position: relative;
  isolation: isolate;
  grid-column: span 2;
  overflow: hidden;
  min-block-size: 242px;
  background: #18243a;
  border-color: #3a4d6b;
}
.hn-service--industrial-ai > :not(svg) { position: relative; }
.hn-service--industrial-ai p { max-inline-size: 36ch; }
.hn-industrial-diagram { position: absolute; z-index: -1; inset-inline-end: -23px; inset-block-end: -2px; width: min(62%, 350px); color: #8498d5; opacity: .42; }
:dir(rtl) .hn-industrial-diagram { transform: scaleX(-1); }
.hn-service--security { grid-column: span 2; background: #1e2338; border-color: #404962; }
.hn-product { border-radius: 19px; }
.hn-catalog { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hn-catalog .hn-product { grid-column: span 2; }
.hn-catalog .hn-product--featured { grid-column: span 3; }
.hn-product--featured {
  --hn-product-accent: #506bf0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-block-size: 330px;
  padding: clamp(20px, 3vw, 38px);
  color: #f5f7ff;
  background: linear-gradient(155deg, #21316a, #18253e 60%, #141d2e);
  border-color: #405680;
}
.hn-product--featured[data-category="ai"] { --hn-product-accent: #9c77ee; background: linear-gradient(155deg, #40284f, #25223c 60%, #181e30); border-color: #625381; }
.hn-product--featured::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -100px;
  inset-inline-end: -76px;
  inline-size: 292px;
  aspect-ratio: 1;
  border: 1px solid var(--hn-product-accent);
  border-radius: 50%;
  opacity: .15;
  box-shadow: 0 0 0 21px #798dff42, 0 0 0 48px #798dff24, 0 0 0 74px #798dff12;
}
.hn-product--featured .hn-icon { inline-size: 56px; block-size: 56px; flex-basis: 56px; color: #e9eeff; background: #354775; border-color: #788aba; }
.hn-product--featured[data-category="ai"] .hn-icon { background: #513e74; border-color: #8c72bb; }
.hn-product--featured h3 { font-size: clamp(1.5rem, 2.7vw, 2.35rem); }
.hn-product--featured p { color: #d0daf3; max-inline-size: 43ch; }
.hn-product--featured .hn-eyebrow { color: #b9c8ff; }
.hn-product--featured .hn-link--text { color: #e3e9ff; }
.hn-product--featured :focus-visible { outline-color: #cad4ff; }
.hn-card-price { display: grid; padding-block: 9px; gap: 1px; }
.hn-card-price strong { font-size: clamp(1.28rem, 2.1vw, 1.85rem); line-height: 1.35; font-variant-numeric: tabular-nums; }
.hn-card-price span { font-size: .87rem; color: var(--hn-muted); }
.hn-product--featured .hn-card-price span { color: #c5d0eb; }
.hn-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 6px; font-size: .79rem; line-height: 1.5; font-weight: var(--hn-weight-heading); background: #eef0f6; color: #424e68; }
.hn-status::before { content: ""; inline-size: 5px; block-size: 5px; flex: 0 0 5px; border-radius: 50%; background: currentColor; }
.hn-status--available { background: #e0f5eb; color: #126447; }
.hn-status--contact_sales { background: #f6eafa; color: #653680; }
.hn-status--in_development { background: #fcf1d8; color: #704c10; }
.hn-section--ecosystem { background: #0e1525; color: #f0f4ff; }
.hn-section--ecosystem :is(.hn-kicker, .hn-lede) { color: #c6d2ef; }
.hn-section--ecosystem :focus-visible { outline-color: #c8d1ff; }
.hn-roadmap-heading { margin-block-start: 35px; }
.hn-roadmap { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(192px, 100%), 1fr)); gap: 12px; }
.hn-roadmap li { display: grid; align-content: start; gap: 8px; padding: 14px; border-radius: 13px; background: var(--hn-surface); border: 1px solid var(--hn-border); }
.hn-roadmap li p { font-size: .86rem; color: var(--hn-muted); }
.hn-roadmap .hn-icon { inline-size: 36px; block-size: 36px; flex-basis: 36px; }
.hn-roadmap .hn-icon svg { width: 18px; height: 18px; }
.hn-roadmap .hn-link { justify-content: space-between; font-size: .96rem; }
.hn-section--ecosystem .hn-roadmap li { background: #1c2946; border-color: #3e5076; }
.hn-section--ecosystem .hn-roadmap li p, .hn-section--ecosystem .hn-roadmap .hn-link { color: #dce5ff; }
.hn-plan { gap: 12px; box-shadow: 0 10px 25px #1b295509; }
.hn-plan h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.hn-price-list { display: grid; gap: 9px; inline-size: 100%; margin: 0; }
.hn-price-list > div { border-radius: 10px; padding: 10px 13px; }
.hn-price--monthly { background: linear-gradient(115deg, #222f56, #322747); }
.hn-price--annual { border: 1px solid #3d4a61; }
.hn-price-list dt { color: var(--hn-muted); font-size: .86rem; font-weight: var(--hn-weight-medium); }
.hn-price-list dd, .hn-card .hn-quote { margin: 0; font-weight: var(--hn-weight-heading); color: var(--hn-ink); font-variant-numeric: tabular-nums; }
.hn-price--monthly dd, .hn-card .hn-quote { font-size: clamp(1.43rem, 2.45vw, 2.15rem); line-height: 1.35; }
.hn-price--annual dd { font-size: clamp(1.13rem, 1.7vw, 1.4rem); }
.hn-plan .hn-fine { inline-size: 100%; border-block-start: 1px solid var(--hn-border); padding-block-start: 11px; }
.hn-plan > .hn-link { inline-size: 100%; }
.hn-price-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-block: -12px 34px; }
.hn-checklist { margin: 0; padding-inline-start: 1.22em; }
.hn-checklist li + li { margin-block-start: 4px; }
.hn-fine { font-size: .85rem; }
.hn-contacts { display: flex; flex-wrap: wrap; gap: 5px 18px; }
.hn-contacts a { display: inline-flex; align-items: center; min-block-size: 44px; overflow-wrap: anywhere; }
.hn-trust, .hn-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px 38px; flex-wrap: wrap; }
.hn-case-grid { margin-block-start: 26px; }
.hn-case { border-inline-start: 3px solid #7386df; }
.hn-contact-panel { padding: clamp(22px, 5vw, 60px); background: linear-gradient(120deg, #1c2a49, #2d203a); border: 1px solid var(--hn-border); color: #f4f6ff; border-radius: var(--hn-radius-large); }
.hn-contact-panel :is(.hn-kicker, .hn-lede, .hn-contacts a) { color: #d6dcff; }
.hn-contact-panel :focus-visible, .hn-footer :focus-visible { outline-color: #c8d1ff; }
.hn-contact-panel .hn-actions { margin-block-start: 8px; }
.hn-crumbs { padding-block-start: 17px; font-size: .85rem; color: var(--hn-muted); }
.hn-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hn-crumbs li + li::before { content: "/"; color: var(--hn-muted); margin-inline-end: 6px; }
.hn-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 20px; }
.hn-filters button { cursor: pointer; min-block-size: 44px; padding: 6px 12px; border: 1px solid var(--hn-border); border-radius: 8px; color: var(--hn-ink); background: var(--hn-surface); }
.hn-filters button:hover { border-color: var(--hn-action); }
.hn-filters button[aria-pressed="true"] { color: #141e34; background: var(--hn-action); border-color: var(--hn-action); }
.hn-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 65px); align-items: start; }
.hn-detail > div:first-child { padding-block: 12px; }
.hn-detail .hn-icon { margin-block-end: 14px; }
.hn-detail-facts { background: #18233a; border-color: #394862; }
.hn-detail-body { inline-size: 100%; grid-column: 1 / -1; }
.hn-detail-body p { margin: 0; }
.hn-detail-facts h2, .hn-prose h2, .hn-contact-card h2 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.hn-prose { max-inline-size: 68ch; }
.hn-prose p { margin-block: 9px 20px; }
.hn-prose .hn-checklist { margin-block-start: 9px; }
.hn-notice { background: #fcf1d8; color: #60420f; padding: 12px 16px; border-radius: 10px; font-weight: var(--hn-weight-heading); }
.hn-pricing-group + .hn-pricing-group { margin-block-start: clamp(28px, 5vw, 60px); }
.hn-pricing-group .hn-section-head p { color: var(--hn-muted); margin-block-start: 7px; }
.hn-footer { display: block; padding-inline: 0; background: #0e162b; color: #e8edff; padding-block: clamp(35px, 5vw, 58px); border-block-start: 1px solid #3b4e75; }
.hn-social { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; }
.hn-social a { min-block-size: 30px; display: inline-flex; align-items: center; }
.hn-footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 24px; }
.hn-footer h2 { font-size: 1rem; margin-block: 8px; }
.hn-footer a { color: #d6dcff; }
.hn-footer-grid > div > a:not(.hn-brand) { display: flex; inline-size: fit-content; align-items: center; min-block-size: 32px; }
.hn-footer p { color: #c0c7df; margin-block-start: 8px; }
.hn-trust-slot a { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; }
.hn-trust-slot img { inline-size: 46px; block-size: 46px; object-fit: contain; }
.hn-trust-slot .trust-facts { overflow-wrap: anywhere; }
@media (max-width: 980px) {
  .hn-desktop { display: none; }
  .hn-mobile { display: block; }
  .hn-lang { margin-inline-start: auto; }
}
@media (max-width: 820px) {
  .hn-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-service--security { min-block-size: 180px; }
  .hn-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-catalog .hn-product { grid-column: auto; }
  .hn-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .hn-header-inner { min-block-size: 63px; }
  .hn-detail { grid-template-columns: 1fr; }
  .hn-hero .hn-actions { margin-block-start: 18px; }
  .hn-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .hn-grid--two, .hn-grid--three, .hn-jump-grid, .hn-services, .hn-catalog { grid-template-columns: 1fr; }
  .hn-service--industrial-ai, .hn-service--security { grid-column: auto; }
  .hn-service { min-block-size: auto; }
  .hn-service--industrial-ai { min-block-size: 230px; }
  .hn-roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-roadmap .hn-card-top { display: grid; justify-content: start; }
  .hn-roadmap .hn-status { max-inline-size: 100%; }
  .hn-roadmap li { padding: 11px; }
  .hn-footer-grid { column-gap: 16px; }
  .hn-jump .hn-link { min-block-size: 46px; }
  .hn-jump .hn-link + .hn-link { border-inline-start: 0; border-block-start: 1px solid var(--hn-border); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Keep the legacy content layouts while applying the shared type and palette. */
.hn-legacy {
  --bg: var(--hn-background);
  --bg2: var(--hn-surface);
  --g: var(--hn-action);
  --purple: #a69bd1;
  --gold: #ceab97;
  --g-glow: #a8bcff20;
  font-family: var(--hn-font);
  background: var(--hn-background);
  color: var(--hn-ink);
}
.hn-legacy::before, .hn-legacy::after { content: none; }
.hn-legacy .hn-header nav { margin: 0; }
.hn-legacy .hn-header .hn-desktop { position: static; }
.hn-legacy .hn-header .hn-mobile nav { position: absolute; }
.hn-legacy .hn-footer { display: block; padding-inline: 0; padding-block: clamp(35px, 5vw, 58px); }
.hn-legacy main :is(h1, h2, h3) { font-family: var(--hn-font); font-weight: var(--hn-weight-heading); }
.hn-legacy main :is(.ct-hero, .bl-hero, .bp-hero, .pr-hero, .pd-hero) { padding-block-start: clamp(48px, 7vw, 92px); }
.hn-legacy main h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); }
.hn-legacy main :is(input, select, textarea, button) { font-family: var(--hn-font); }
.hn-legacy main :is(.ct-sub, .ab-hero-sub, .wd-hero-sub, .da-hero-sub, .cy-hero-sub, .ind-hero-sub, .bl-hero-sub, .pr-hero-sub, .at-sub, .ind-sub, .wd-sub, .da-sub, .cy-sub, .ab-sub, .bl-sub, .pr-sub) { color: var(--hn-muted); }
.hn-legacy main :is(.bp, .bp-btn) { background: var(--hn-brand-gradient); color: #141e34; box-shadow: none; text-decoration: none; }
.hn-legacy main :is(.bs, .bs-btn) { background: var(--hn-surface); color: var(--hn-ink); border-color: var(--hn-border); text-decoration: none; }
.hn-legacy main .g { color: var(--hn-action); }
.hn-product-name, .hn-detail h1 { font-family: "Space Grotesk", Vazirmatn, system-ui, sans-serif; }


/* Standalone links have their own spacing and a visible keyboard outline. */
:is(.hn-footer a:not(.hn-brand), .hn-contacts a, .hn-crumbs a, .hn-card h3 a, .hn-link--text,
    .hn-journey-link, a.ct-info-val, a[href^="mailto:"], a[href^="tel:"]) {
  text-decoration: none;
}
:is(.hn-footer a:not(.hn-brand), .hn-contacts a, .hn-crumbs a, .hn-card h3 a, .hn-link--text,
    .hn-journey-link, a.ct-info-val, a[href^="mailto:"], a[href^="tel:"]):is(:hover, :focus-visible) {
  color: #e4b8ff;
}
@supports (background-clip: text) {
  @media (forced-colors: none) {
    :is(.hn-footer a:not(.hn-brand), .hn-contacts a, .hn-crumbs a, .hn-card h3 a, .hn-link--text,
        .hn-journey-link, a.ct-info-val, a[href^="mailto:"], a[href^="tel:"]):is(:hover, :focus-visible) {
      background-image: var(--hn-brand-gradient);
      background-clip: text;
      color: transparent;
    }
  }
}
