:root {
  --navy: #152d69;
  --blue: #267bdf;
  --blue-ink: #1858a6;
  --raspberry: #a72c58;
  --white: #fff;
  --surface: #f7f9fc;
  --ink: #172745;
  --muted: #4d607c;
  --border: #dce5f1;
  --radius: 18px;
  --container: 1152px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 100%;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--white); font-size: 1rem; line-height: 1.55; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.18; font-weight: 650; }
h2 { font-size: clamp(1.5rem, 3vw, 1.75rem); letter-spacing: -.025em; }
h3 { font-size: 1.125rem; letter-spacing: -.013em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 4px; }
section[id], article[id] { scroll-margin-top: 1.5rem; }

.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.sr-only, .icons {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  z-index: 3;
  top: .75rem;
  left: .75rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }
.icon { width: 1.4rem; height: 1.4rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.site-header, .hero { color: var(--white); background-color: var(--navy); }
.site-header :focus-visible, .hero :focus-visible { outline-color: #bddcff; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid #ffffff26; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; color: inherit; }
.brand-mark {
  display: grid;
  width: 108px;
  aspect-ratio: 384 / 94;
  filter: drop-shadow(.45px 0 currentColor) drop-shadow(-.45px 0 currentColor)
    drop-shadow(0 .35px currentColor) drop-shadow(0 -.35px currentColor);
}
.brand-mark::before {
  content: "";
  background: currentColor;
  mask: url("artiq-logo.png") center / contain no-repeat;
}
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.site-nav > a:not(.button) { font-size: .9375rem; font-weight: 550; }
.site-nav > a:not(.button) { color: #e6edff; }
.site-nav > a:not(.button):hover { text-decoration: underline; text-underline-offset: .28em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 650;
  font-size: .9375rem;
  line-height: 1.25;
  text-align: center;
}
.button-header { min-height: 42px; border-color: #ffffff57; background: #ffffff0c; }
.button-header:hover { background: #ffffff20; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff57; border-radius: 8px; color: var(--white); background: transparent; cursor: pointer; }
.menu-toggle:hover { background: #ffffff20; }
.menu-toggle .menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }

.hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(2rem, 5.5vw, 5rem); align-items: center; padding-block: 38px; }
.hero-copy { max-width: 480px; }
.hero h1 { font-size: clamp(2rem, 3.4vw, 2.5rem); letter-spacing: -.028em; line-height: 1.14; text-wrap: balance; }
.hero-description { margin-top: .9rem; max-width: 395px; color: #e0e9ff; font-size: 1.0625rem; line-height: 1.62; }
.button-primary { margin-top: 1.35rem; min-height: 48px; padding-inline: 1rem 1.25rem; border-color: var(--blue); background: #2171d2; color: var(--white); box-shadow: 0 3px 10px #081c4b2e; }
.button-primary:hover { background: #1f6dcc; }
.hero-note { margin-top: .7rem; color: #ccdaf5; font-size: .875rem; }

.unit-preview { min-width: 0; }
.unit-window {
  overflow: hidden;
  border: 1px solid #dce6f6;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 28px #08173938;
  font-variant-numeric: tabular-nums;
}
.unit-window-header { display: flex; justify-content: space-between; align-items: center; gap: .55rem; padding: .62rem 1.15rem; background: #f1f5fb; border-bottom: 1px solid var(--border); }
.unit-name { display: inline-flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.unit-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: var(--white); background: var(--navy); }
.unit-icon .icon { width: 17px; height: 17px; }
.demo-label { color: var(--muted); font-size: .8125rem; font-weight: 600; text-align: right; }
.unit-window-body { padding: .8rem 1.15rem .65rem; }
.unit-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .65rem; }
.unit-heading h2 { font-size: 1.0625rem; }
.unit-heading p { color: var(--muted); font-size: .8125rem; text-align: right; }
.unit-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.unit-metrics div { display: flex; flex-direction: column; justify-content: space-between; gap: .15rem; padding: .5rem .7rem; border: 1px solid #dce9fc; border-radius: 8px; background: #f1f6ff; }
.unit-metrics .metric-profit { border-color: #d2e9db; background: #edf7f1; }
.unit-metrics dt { color: var(--muted); font-size: .8125rem; line-height: 1.3; }
.unit-metrics dd { font-size: clamp(1.125rem, 1.75vw, 1.4rem); line-height: 1.25; font-weight: 700; white-space: nowrap; }
.metric-profit dd { color: #146045; }
.unit-table { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .875rem; line-height: 1.3; }
.unit-table th, .unit-table td { padding: .28rem 0; }
.unit-table tr + tr { border-top: 1px solid #e9eef6; }
.unit-table th { color: var(--muted); text-align: left; font-weight: 500; }
.unit-table td { padding-left: .4rem; text-align: right; white-space: nowrap; font-weight: 600; }
.unit-table .sale { border-bottom: 1px solid var(--border); }
.unit-table .sale th, .unit-table .sale td { padding-block: .38rem; color: var(--navy); font-weight: 700; }

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; flex-wrap: wrap; gap: 0; }
  .brand-mark { width: 104px; }
  .site-nav { display: grid; width: 100%; align-items: stretch; gap: .25rem; padding: .25rem 0 .9rem; }
  .site-nav > a:not(.button) { display: flex; align-items: center; min-height: 44px; }
  .site-nav .button { justify-self: start; min-height: 44px; margin-top: .2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 1.6rem; }
  .hero-description { margin-top: .9rem; }
  .button-primary { margin-top: 1.2rem; }
  .unit-preview { width: min(100%, 555px); }
}
@media (max-width: 430px) {
  .unit-window-header, .unit-window-body { padding-inline: .75rem; }
  .unit-metrics { gap: .45rem; }
  .unit-metrics div { padding-inline: .45rem; }
}

.landing-details {
  --detail-radius: 14px;
  --detail-space: 28px;
  --detail-pad: clamp(1.1rem, 2.45vw, 2rem);
  --detail-split: minmax(0, 1.65fr) minmax(0, 1fr);
  padding-block: var(--detail-space);
}
.landing-details h2 { color: var(--navy); }
.detail-section > h2 { margin-bottom: 1rem; }
.landing-details p { color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: var(--detail-split);
  border: 1px solid var(--border);
  border-radius: var(--detail-radius);
  overflow: hidden;
}
.product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  align-items: center;
  gap: .55rem .65rem;
  min-width: 0;
  padding: clamp(.85rem, 1.55vw, 1.4rem) var(--detail-pad);
}
.product-unit { background: #f2f7ff; box-shadow: inset 3px 0 var(--blue); }
.product-pro { border-left: 1px solid var(--border); }
.product-icon {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e1edff;
  color: var(--blue-ink);
}
.product-pro .product-icon { background: #f0f3f8; color: var(--muted); }
.product-icon .icon { width: 20px; height: 20px; }
.product h3 {
  grid-area: 1 / 2;
  color: var(--navy);
  font-size: clamp(1.25rem, 1.75vw, 1.5rem);
  white-space: nowrap;
}
.product-pro h3 { font-size: 1.2rem; }
.status {
  grid-area: 1 / 3;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .55rem;
  border-radius: 6px;
  font-size: .8125rem;
  line-height: 1.3;
  font-weight: 650;
  white-space: nowrap;
}
.status-live { color: #146045; background: #e2f3e9; }
.status-live span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-development { color: var(--muted); background: var(--surface); }
.product p { grid-column: 1 / -1; max-width: 44ch; text-wrap: pretty; }
.product .button { grid-column: 1 / -1; justify-self: start; align-self: start; }
.button-unit, .button-telegram { background: var(--navy); color: var(--white); }
.button-unit:hover, .button-telegram:hover { background: #214688; }

.experience-section {
  display: grid;
  grid-template-columns: var(--detail-split);
  align-items: center;
  margin-block: var(--detail-space);
  padding-block: 1.15rem;
  border-block: 1px solid var(--border);
}
.about-copy { padding-right: clamp(1.5rem, 5vw, 4rem); }
.about-copy p { max-width: 62ch; margin-top: .45rem; text-wrap: pretty; }
.landing-details .experience {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: .2rem .75rem;
  padding-left: var(--detail-pad);
  border-left: 2px solid var(--blue);
  color: var(--navy);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.experience strong { font-size: 2.5rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.experience .experience-partners { grid-column: 2; font-size: .875rem; font-weight: 500; }

.telegram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  padding: var(--detail-pad);
  border-radius: var(--detail-radius);
  background: #eaf3ff;
}
.telegram-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .3rem .8rem;
}
.telegram-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  color: var(--blue-ink);
  background: #dceaff;
}
.telegram-icon .icon { width: 23px; height: 23px; }
.landing-details .telegram h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.button-telegram { justify-self: start; }

.site-footer { border-top: 1px solid var(--border); background: var(--white); color: var(--navy); }
.footer-inner { min-height: 52px; font-size: .875rem; }
.footer-inner p { color: var(--muted); white-space: nowrap; }
.footer-support { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; white-space: nowrap; }
.footer-support:hover { text-decoration: underline; text-underline-offset: .28em; }

@media (min-width: 761px) and (max-width: 1020px) {
  .product { grid-template-rows: auto auto auto 1fr; }
  .product .status { grid-area: 2 / 1 / auto / -1; }
}

@media (max-width: 760px) {
  .landing-details { --detail-space: 20px; --detail-split: minmax(0, 1fr); }
  .detail-section > h2 { margin-bottom: .85rem; }
  .product-pro { border-top: 1px solid var(--border); border-left: 0; }
  .product { column-gap: .55rem; }
  .product h3 { font-size: 1.1875rem; }
  .product-icon { width: 30px; height: 30px; }
  .experience-section { gap: .75rem; padding-block: 1rem; }
  .about-copy { padding: 0; }
  .landing-details .experience { padding-left: .65rem; font-size: .9375rem; }
  .experience strong { font-size: 2rem; }
  .telegram { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .telegram-copy { gap: .55rem .65rem; }
  .telegram-icon { grid-row: auto; width: 34px; height: 34px; }
  .telegram p { grid-column: 1 / -1; text-wrap: pretty; }
}

@media (max-width: 385px) {
  .product { grid-template-rows: auto auto auto 1fr; }
  .product .status { grid-area: 2 / 1 / auto / -1; }
}
