/*
 * QAQPA Design Kit application layer.
 * Source of truth: qaqpa-design-kit.pdf / QAQPA Design Kit.dc.html.
 * Presentation only: no layout selectors below alter application behaviour.
 */

:root {
  --q-navy: #0e1e2e;
  --q-navy-900: #0b1622;
  --q-navy-700: #16324a;
  --q-accent: #f6b301;
  --q-accent-600: #e5a400;
  --q-accent-soft: #fff6da;
  --q-muted-kit: #67788a;
  --q-muted-light: #9db0c0;
  --q-border-kit: #e4e9ef;
  --q-surface-kit: #f5f7f9;
  --q-page: #eef1f4;
  --q-container: 1248px;
  --q-radius-sm: 12px;
  --q-radius: 18px;
  --q-radius-lg: 22px;
  --q-shadow: 0 30px 60px -30px rgba(14, 30, 46, 0.25);
  --q-graphite-950: var(--q-navy);
  --q-graphite-800: var(--q-navy-700);
  --q-graphite-650: var(--q-muted-kit);
  --q-surface-soft: var(--q-surface-kit);
  --q-border: var(--q-border-kit);
  --q-text: #1b2c3a;
  --q-muted: var(--q-muted-kit);
  --q-yellow: var(--q-accent);
  --q-yellow-hover: var(--q-accent-600);
  --ak-ink: var(--q-navy);
  --ak-ink-2: var(--q-navy-700);
  --ak-accent: var(--q-accent);
  --ak-accent-hover: var(--q-accent-600);
  --ak-line: var(--q-border-kit);
  --ak-paper: var(--q-surface-kit);
  --ak-muted: var(--q-muted-kit);
}

/* Release-one compact catalogue and universal lead form. */
.ak-additional {
  padding-block: 84px;
  background: var(--q-surface-kit);
}

.ak-additional .ak-section-heading > p {
  max-width: 470px;
  color: var(--q-muted-kit);
}

.ak-additional__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ak-additional-card {
  display: flex;
  min-height: 270px;
  padding: 26px;
  flex-direction: column;
  border: 1px solid var(--q-border-kit);
  border-radius: 16px;
  color: var(--q-navy);
  background: #fff;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.ak-additional-card:hover {
  transform: translateY(-3px);
  border-color: #cad3dd;
  color: var(--q-navy);
  box-shadow: 0 20px 45px -32px rgba(14, 30, 46, 0.45);
}

.ak-additional-card > span {
  color: #5f7182;
  font-family: monospace;
  font-size: 13px;
}

.ak-additional-card h3 {
  margin: 48px 0 12px;
  color: var(--q-navy);
  font-size: 22px;
}

.ak-additional-card p {
  margin: 0 0 24px;
  color: var(--q-muted-kit);
  font-size: 14px;
  line-height: 1.55;
}

.ak-additional-card b {
  margin-top: auto;
  color: var(--q-navy);
  font-size: 14px;
}

.ak-contact-form {
  position: relative;
  padding: 36px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(
      520px 260px at 100% 0,
      rgba(246, 179, 1, 0.16),
      transparent 62%
    ),
    var(--q-navy);
}

.ak-contact-form h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(30px, 4vw, 40px);
}

.ak-contact-form > p:not(.ak-eyebrow, .ak-form-status) {
  margin-bottom: 26px;
  color: var(--q-muted-light);
}

.ak-contact-form label:not(.ak-contact-form__consent) {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.ak-contact-form label > span {
  font-size: 13px;
  font-weight: 700;
}

.ak-contact-form label small {
  color: var(--q-muted-light);
  font-weight: 400;
}

.ak-contact-form input:not([type="checkbox"], .ak-honeypot),
.ak-contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.ak-contact-form textarea {
  resize: vertical;
}

.ak-contact-form input::placeholder,
.ak-contact-form textarea::placeholder {
  color: #91a2b1;
}

.ak-contact-form input:focus,
.ak-contact-form textarea:focus {
  outline: 2px solid var(--q-accent);
  outline-offset: 1px;
  border-color: transparent;
}

.ak-contact-form__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin: 18px 0 22px;
  align-items: start;
  color: var(--q-muted-light);
}

.ak-contact-form__consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--q-accent);
}

.ak-contact-form .ak-button {
  width: 100%;
}

.ak-contact-form .ak-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ak-contact-form .ak-form-note {
  margin: -4px 0 0;
  color: var(--ak-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ak-form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--q-muted-light);
  font-size: 14px;
}

.ak-form-status.is-success {
  color: #8fe1aa;
}

.ak-form-status.is-error {
  color: #ffb5ae;
}

.ak-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (max-width: 900px) {
  .ak-additional__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ak-additional {
    padding-block: 64px;
  }

  .ak-additional__grid {
    grid-template-columns: 1fr;
  }

  .ak-additional-card {
    min-height: 220px;
  }

  .ak-contact-form {
    padding: 26px 20px;
  }
}

body.agentk-site {
  color: #1b2c3a;
  background: var(--q-page);
  font-family: "Golos Text", system-ui, sans-serif;
  font-weight: 400;
  font-feature-settings: normal;
}

.agentk-site h1,
.agentk-site h2,
.agentk-site .site-title,
.agentk-site .ak-display,
.agentk-site .ak-title {
  font-family: Rubik, "Golos Text", sans-serif;
  font-weight: 600;
}

.agentk-site a {
  color: var(--q-navy);
}

.agentk-site a:hover {
  color: #c99400;
}

.agentk-site ::selection {
  color: var(--q-navy);
  background: var(--q-accent);
}

.agentk-site .site-content,
.agentk-site .entry-content {
  background: #fff;
}

.agentk-site .site-content > .ast-container {
  max-width: none;
  padding-inline: 0;
}

.agentk-site .ast-container,
.agentk-site .site-primary-header-wrap {
  max-width: 1360px;
  padding-inline: 40px;
}

.ak-container {
  width: min(var(--q-container), calc(100% - 80px));
}

/* Header */
.agentk-site .site-header,
.agentk-site .ast-primary-header-bar {
  min-height: 68px;
  border-bottom: 1px solid #eaeef2;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.agentk-site .site-primary-header-wrap {
  min-height: 68px;
}

.agentk-site .site-branding,
.agentk-site .site-title a {
  display: flex;
  align-items: center;
}

.agentk-site .site-title a {
  gap: 12px;
  color: var(--q-navy);
  font-family: Rubik, "Golos Text", sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.agentk-site .site-title a::before {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 9px;
  color: var(--q-accent);
  content: "q";
  background: var(--q-navy);
  font-family: Rubik, sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}

.agentk-site .main-header-menu > .menu-item > .menu-link {
  height: 68px;
  padding-inline: 13px;
  color: var(--q-navy);
  font-size: 16px;
  font-weight: 600;
}

.agentk-site .main-header-menu > .ak-header-phone > .menu-link {
  display: grid;
  width: 42px;
  height: 42px;
  min-height: 42px;
  margin-left: 8px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--q-navy);
  border-radius: 10px;
  color: var(--q-graphite-950);
  background: #fff;
}

.agentk-site .main-header-menu > .ak-header-phone > .menu-link::before {
  display: none;
  content: none;
}

.agentk-site .main-header-menu > .ak-header-phone > .menu-link:hover {
  border-color: var(--q-accent);
  color: var(--q-navy);
  background: #fff8df;
}

.agentk-site .ak-page-hero--calculator {
  display: none;
}

.agentk-site .ak-page-hero--calculator + .ak-section {
  padding-top: 32px;
}

.agentk-site
  .main-header-menu
  > .menu-item:not(:last-child)
  > .menu-link::after {
  display: none;
}

.agentk-site
  .ast-primary-header-bar
  .site-header-primary-section-right
  .menu-item:last-child
  > a,
.agentk-site .main-header-menu > .menu-item:last-child > .menu-link {
  height: 48px;
  min-height: 48px;
  margin-left: 17px;
  padding: 0 22px;
  border-radius: 11px;
  color: var(--q-navy);
  background: var(--q-accent);
  font-weight: 700;
}

.agentk-site
  .ast-primary-header-bar
  .site-header-primary-section-right
  .menu-item:last-child
  > a:hover {
  color: var(--q-navy);
  background: var(--q-accent-600);
}

/* Shared typography and controls */
.ak-eyebrow,
.ak-badge {
  color: var(--q-muted-kit);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ak-eyebrow {
  gap: 12px;
  margin-bottom: 24px;
}

.ak-eyebrow::before {
  width: 34px;
  height: 3px;
  border-radius: 0;
  background: var(--q-accent);
}

.ak-section--dark .ak-eyebrow,
.ak-page-hero .ak-badge,
.ak-catalog-hero .ak-badge,
.ak-home-hero .ak-badge {
  color: #b9c3cd;
}

.ak-button,
.ak-calculator button {
  border-radius: 12px;
  font-family: "Golos Text", system-ui, sans-serif;
  font-weight: 700;
}

.ak-button {
  min-height: 58px;
  padding: 15px 30px;
  border: 0;
  background: var(--q-accent);
  color: var(--q-navy) !important;
}

.ak-button:hover {
  color: var(--q-navy) !important;
  background: var(--q-accent-600);
  transform: none;
}

.ak-button--ghost,
.ak-button--secondary {
  border: 0;
  color: var(--q-navy) !important;
  background: #fff;
}

.ak-text-link {
  padding-bottom: 3px;
  border-bottom: 2px solid var(--q-accent);
  font-weight: 700;
}

/* Design-kit hero: editorial, one strong column, no illustrative media. */
.ak-home-hero {
  min-height: 0;
  padding: 96px 0 88px;
  color: #fff;
  background:
    radial-gradient(
      1100px 520px at 78% 8%,
      rgba(246, 179, 1, 0.14),
      transparent 60%
    ),
    linear-gradient(160deg, #0b1622 0%, #12283c 100%);
}

.ak-home-hero::before {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: none;
}

.ak-home-hero__grid {
  display: block;
  min-height: 0;
  padding: 0;
}

.ak-home-hero__content {
  max-width: 900px;
}

.ak-home-hero .ak-badge {
  display: inline-flex;
  gap: 12px;
  margin-bottom: 26px;
  align-items: center;
}

.ak-home-hero .ak-badge::before {
  width: 34px;
  height: 3px;
  content: "";
  background: var(--q-accent);
}

.ak-home-hero h1 {
  max-width: 900px;
  color: #fff;
  font-family: Rubik, "Golos Text", sans-serif;
  font-size: clamp(58px, 6vw, 76px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.ak-home-hero__lead {
  max-width: 610px;
  margin-top: 26px;
  color: var(--q-muted-light);
  font-size: 20px;
  line-height: 1.55;
}

.ak-home-hero .ak-actions {
  margin-top: 36px;
  gap: 14px;
}

.ak-home-hero .ak-button {
  min-height: 58px;
  padding-inline: 30px;
  border-radius: 12px;
}

.ak-home-hero .ak-button--ghost,
.ak-home-hero a.ak-button--ghost,
.ak-home-hero a.ak-button--ghost:visited {
  border: 0;
  color: var(--q-navy) !important;
  background: #fff;
}

.ak-yard-scene,
.ak-hero-points {
  display: none;
}

@media (min-width: 1025px) {
  .agentk-site .ak-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    gap: clamp(38px, 5vw, 72px);
  }

  .agentk-site .ak-home-hero__content {
    max-width: none;
  }
}

/* Metric strip */
.ak-value-strip {
  color: #fff;
  background: var(--q-navy-900);
  box-shadow: none;
}

.ak-value-strip .ak-container {
  width: min(var(--q-container), calc(100% - 80px));
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ak-value-strip .ak-container > div,
.ak-value-strip .ak-container > div:first-child {
  min-height: 118px;
  padding: 28px 10px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ak-value-strip span {
  display: none;
}

.ak-value-strip b {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ak-value-strip small {
  margin-top: 5px;
  color: #8fa2b3;
  font-size: 14px;
}

/* Sections and cards */
.ak-section,
.ak-products,
.ak-product-matrix,
.ak-option-section,
.ak-workflow,
.ak-choice-layout,
.ak-config-showcase {
  padding-block: 88px;
  content-visibility: visible;
}

.ak-section-heading {
  margin-bottom: 44px;
  align-items: end;
}

.ak-section-heading h2,
.ak-choice-layout h2,
.ak-config-showcase h2,
.ak-workflow h2,
.ak-section h2,
.ak-cta h2 {
  max-width: 760px;
  margin-top: 0;
  color: var(--q-navy);
  font-family: Rubik, "Golos Text", sans-serif;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ak-section-intro,
.ak-lead-text,
.ak-section-heading > p {
  color: var(--q-muted-kit);
}

.ak-section--soft,
.ak-products:nth-of-type(even),
.ak-product-matrix,
.ak-option-section + .ak-option-section {
  background: var(--q-surface-kit);
}

.ak-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ak-products .ak-card,
.ak-product-tile {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--q-border-kit);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  text-decoration: none !important;
}

.ak-products .ak-card *,
.ak-product-tile * {
  text-decoration: none !important;
}

.ak-products .ak-card:hover,
.ak-product-tile:hover {
  border-color: var(--q-navy);
  box-shadow: none;
  transform: none;
}

.ak-products .ak-card__visual,
.ak-product-tile__scene {
  height: 200px;
  margin: 0 0 24px;
  border-radius: 0;
  background: linear-gradient(135deg, #e7ecf1, #d6dee6);
}

.ak-products .ak-card__media {
  height: 200px;
  margin: 0 0 24px;
  border-radius: 0;
}

.ak-products .ak-card__media--diagram {
  background: #eef1f3;
}

.ak-products .ak-card__media--diagram .ak-card__image {
  object-fit: contain;
}

.ak-spec-diagram {
  margin: 28px 0 22px;
  overflow: hidden;
  border: 1px solid var(--q-border-kit);
  border-radius: 18px;
  background: #eef1f3;
}

.ak-spec-diagram__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.ak-spec-diagram figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--q-border-kit);
  color: var(--q-muted-kit);
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.ak-material-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--q-border-kit);
  border-radius: 14px;
  background: #fff;
}

.ak-material-tabs button {
  flex: 1 0 auto;
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  color: var(--q-navy);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ak-material-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--q-navy);
}

.ak-material-panel__intro {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--q-muted-kit);
  font-size: 18px;
}

.ak-material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ak-material-card {
  overflow: hidden;
  border: 1px solid var(--q-border-kit);
  border-radius: 18px;
  background: #fff;
}

.ak-material-card__media,
.ak-material-card__placeholder {
  display: block;
  height: 230px;
  background: linear-gradient(135deg, #e7ecf1, #d6dee6);
}

.ak-fence-fill-siding {
  display: block;
  height: 100%;
  background:
    linear-gradient(145deg, #ffffff24, transparent 45%),
    repeating-linear-gradient(0deg, #1a252d 0 7px, #765039 7px 34px);
}

.ak-material-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ak-material-card__placeholder {
  display: grid;
  place-items: center;
  color: #97a6b5;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ak-material-card__body {
  padding: 24px;
}

.ak-material-card h3 {
  margin: 0 0 9px;
  color: var(--q-navy);
  font-size: 24px;
}

.ak-material-card p {
  min-height: 72px;
  margin: 0 0 18px;
  color: var(--q-muted-kit);
}

.ak-material-card dl {
  margin: 0 0 22px;
  border-top: 1px solid var(--q-border-kit);
}

.ak-material-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--q-border-kit);
}

.ak-material-card dt {
  color: var(--q-muted-kit);
}

.ak-material-card dd {
  margin: 0;
  color: var(--q-navy);
  font-weight: 600;
  text-align: right;
}

.ak-material-comparison {
  margin-top: clamp(60px, 8vw, 100px);
}

.ak-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--q-border-kit);
  border-radius: 16px;
  background: #fff;
}

.ak-material-comparison table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.ak-material-comparison th,
.ak-material-comparison td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--q-border-kit);
  text-align: left;
}

.ak-material-comparison thead th {
  color: var(--q-muted-kit);
  background: var(--q-surface-kit);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ak-material-comparison tbody th {
  color: var(--q-navy);
}

.ak-diagram-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ak-diagram-gallery article {
  overflow: hidden;
  border: 1px solid var(--q-border-kit);
  border-radius: 18px;
  background: #fff;
}

.ak-diagram-gallery figure {
  margin: 0;
  background: #eef1f3;
}

.ak-diagram-gallery__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.ak-diagram-gallery h3,
.ak-diagram-gallery article p {
  margin-inline: 22px;
}

.ak-diagram-gallery h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--q-navy);
  font-size: 22px;
}

.ak-diagram-gallery article p {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--q-muted-kit);
}

@media (max-width: 900px) {
  .ak-material-grid,
  .ak-diagram-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ak-material-grid,
  .ak-diagram-gallery__grid {
    grid-template-columns: 1fr;
  }

  .ak-material-card__media,
  .ak-material-card__placeholder {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

.ak-products .ak-card__visual i,
.ak-products .ak-card__visual em,
.ak-product-tile__scene i,
.ak-product-tile__scene em {
  display: none;
}

.ak-products .ak-card__visual::before,
.ak-product-tile__scene::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #aebac6;
  content: "Р¤РћРўРћ / Р Р•РЁР•РќРР•";
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ak-products .ak-card__visual::after {
  display: none;
}

.ak-card__index {
  top: 218px;
  right: 24px;
  color: #5f7182;
  font-size: 12px;
}

.ak-products .ak-card h3,
.ak-product-tile h3 {
  margin: 0 24px 8px;
  color: var(--q-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.ak-products .ak-card p,
.ak-product-tile p {
  max-width: none;
  margin: 0 24px 16px;
  color: var(--q-muted-kit);
  font-size: 15px;
  line-height: 1.5;
}

.ak-products .ak-card > b,
.ak-product-tile > b {
  margin: auto 24px 0;
  padding: 0 0 24px;
  color: var(--q-navy);
  font-size: 15px;
  font-weight: 700;
}

.ak-product-matrix__grid {
  gap: 24px;
}

.ak-product-tile > small,
.ak-product-tile ul {
  margin-inline: 24px;
}

.ak-option-grid {
  border-color: var(--q-border-kit);
}

.ak-option-card {
  min-height: 300px;
  padding: 28px;
  border-color: var(--q-border-kit);
  background: #fff;
}

.ak-option-card h3 {
  margin-top: 64px;
  font-size: 24px;
}

/* Editorial choices and process */
.ak-choice-layout {
  gap: 64px;
}

.ak-choice-list > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-color: #eaeef2;
}

.ak-choice-list span {
  color: #5f7182;
  font-family: monospace;
  font-size: 13px;
}

.ak-choice-list b {
  color: var(--q-navy);
  font-size: 18px;
}

.ak-workflow {
  color: var(--q-navy);
  background: #fff;
}

.ak-workflow .ak-section-heading > p,
.ak-workflow li p {
  color: #5f7182;
}

.ak-workflow ol {
  gap: 0;
  border: 0;
}

.ak-workflow li,
.ak-workflow li:first-child {
  min-height: 235px;
  padding: 0 28px 0 22px;
  border: 0;
  border-left: 2px solid var(--q-accent);
  background: transparent;
}

.ak-workflow li span {
  color: #5f7182;
  font-family: monospace;
  font-size: 13px;
}

.ak-workflow li b {
  margin-top: 18px;
  color: var(--q-navy);
  font-size: 20px;
  font-weight: 700;
}

.ak-workflow li p {
  font-size: 14px;
  line-height: 1.5;
}

/* Dark interactive band retained, restyled to the kit. */
.ak-config-showcase {
  background:
    radial-gradient(
      900px 400px at 85% 20%,
      rgba(246, 179, 1, 0.16),
      transparent 60%
    ),
    var(--q-navy);
}

.ak-config-showcase h2 {
  color: #fff;
}

.ak-config-showcase__grid > div > p:not(.ak-eyebrow) {
  color: var(--q-muted-light);
}

/* Page heroes */
.ak-page-hero,
.ak-catalog-hero {
  padding-block: 72px;
  color: #fff;
  background:
    radial-gradient(
      900px 420px at 80% 8%,
      rgba(246, 179, 1, 0.14),
      transparent 60%
    ),
    linear-gradient(160deg, #0b1622, #12283c);
}

.ak-catalog-hero {
  padding-block: 56px 32px;
  color: var(--q-navy);
  background: #fff;
}

.ak-catalog-hero::after {
  display: none;
}

.ak-page-hero::after,
.ak-catalog-hero::after {
  opacity: 0.5;
  background-size: 64px 64px;
  mask-image: none;
}

.ak-page-hero h1,
.ak-catalog-hero h1 {
  max-width: 900px;
  color: #fff;
  font-family: Rubik, "Golos Text", sans-serif;
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.ak-catalog-hero h1 {
  max-width: 760px;
  color: var(--q-navy);
  font-size: clamp(44px, 5vw, 58px);
  line-height: 1;
}

.ak-page-hero .ak-lead-text,
.ak-catalog-hero > .ak-container > p:not(.ak-badge) {
  max-width: 620px;
  color: var(--q-muted-light);
  font-size: 18px;
  line-height: 1.55;
}

.ak-catalog-hero .ak-badge {
  color: var(--q-muted-kit);
}

.ak-catalog-hero > .ak-container > p:not(.ak-badge) {
  color: var(--q-muted-kit);
}

.ak-catalog-tabs {
  margin-top: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ak-catalog-tabs span,
.ak-catalog-tabs span:first-child {
  padding: 9px 14px;
  border: 1px solid var(--q-border-kit);
  border-radius: 999px;
  color: var(--q-muted-kit);
  background: var(--q-surface-kit);
}

.ak-catalog-tabs span:first-child {
  border-color: var(--q-navy);
  color: #fff;
  background: var(--q-navy);
}

.ak-panel,
.ak-product-schematic,
.ak-solution-facts,
.ak-inline-note {
  border-radius: 16px;
  box-shadow: none;
}

/* CTA */
.ak-cta {
  padding-block: 72px;
  color: #fff;
  background:
    radial-gradient(
      900px 400px at 85% 20%,
      rgba(246, 179, 1, 0.16),
      transparent 60%
    ),
    var(--q-navy);
}

.ak-cta .ak-container {
  min-height: 0;
  gap: 40px;
}

.ak-cta h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 40px);
}

.ak-cta .ak-eyebrow,
.ak-cta p {
  color: var(--q-muted-light);
}

.ak-cta .ak-button {
  color: var(--q-navy) !important;
  background: var(--q-accent);
}

/* Calculator shell - matches the kit without changing React/Konva. */
.ak-calculator {
  padding: 44px 48px;
  border: 0;
  border-radius: 22px;
  color: var(--q-navy);
  background: #fff;
  box-shadow: var(--q-shadow);
  font-family: "Golos Text", system-ui, sans-serif;
}

.ak-heading {
  margin-bottom: 32px;
}

.ak-heading h2 {
  font-family: Rubik, "Golos Text", sans-serif;
  font-size: clamp(38px, 4vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ak-heading small {
  color: var(--q-muted-kit);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ak-calculation-label {
  padding: 8px 13px;
  border-radius: 9px;
  color: #8a6a00;
  background: var(--q-accent-soft);
}

.ak-progress {
  margin-bottom: 36px;
  border-color: #eaeef2;
}

.ak-progress button {
  padding: 18px 12px;
  font-size: 15px;
  font-weight: 700;
}

.ak-progress button span {
  width: 28px;
  height: 28px;
  border-color: var(--q-border-kit);
}

.ak-layout {
  gap: 44px;
}

.ak-step-intro {
  color: var(--q-muted-kit);
  font-size: 15px;
  line-height: 1.5;
}

.ak-dimension-grid > label {
  padding: 18px;
  border: 1.5px solid var(--q-border-kit);
  border-radius: 14px;
  background: var(--q-surface-kit);
}

.ak-dimension-grid input[type="number"] {
  border: 0;
  background: transparent;
  font-size: 28px;
  font-weight: 700;
}

.ak-calculator select,
.ak-calculator input,
.ak-calculator textarea {
  border: 1.5px solid var(--q-border-kit);
  border-radius: 12px;
  color: var(--q-navy);
  font-family: "Golos Text", system-ui, sans-serif;
  font-size: 15px;
}

.ak-calculator input[type="range"] {
  height: 6px;
  min-height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  outline: none;
  appearance: none;
  background: #dce3ea;
}

.ak-calculator input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  appearance: none;
  background: var(--q-navy);
  box-shadow: 0 2px 6px rgba(14, 30, 46, 0.35);
  cursor: pointer;
}

.ak-calculator input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--q-navy);
  cursor: pointer;
}

.ak-choice-grid button,
.ak-package-grid button {
  border: 1.5px solid var(--q-border-kit);
  border-radius: 14px;
  box-shadow: none;
}

.ak-choice-grid button:hover,
.ak-choice-grid button.is-selected,
.ak-package-grid button:hover,
.ak-package-grid button.is-selected {
  border-color: var(--q-accent);
  box-shadow: none;
}

.ak-canvas-shell,
.ak-spec,
.ak-price,
.ak-warnings {
  border-radius: 16px;
}

.ak-price {
  color: #fff;
  background:
    radial-gradient(
      400px 200px at 90% 10%,
      rgba(246, 179, 1, 0.18),
      transparent 60%
    ),
    var(--q-navy);
}

.ak-step-nav button.ak-secondary {
  color: #8a6a00;
  background: var(--q-accent-soft);
}

/* Footer */
.ak-site-footer {
  padding-top: 48px;
  color: #8fa2b3;
  background: var(--q-navy-900);
}

.ak-footer-top {
  padding-bottom: 44px;
}

.ak-footer-logo,
.ak-footer-top b {
  color: #fff !important;
}

.ak-footer-logo span {
  border-radius: 8px;
  color: var(--q-navy);
  background: var(--q-accent);
}

.ak-footer-top p,
.ak-footer-top a,
.ak-footer-bottom {
  color: #8fa2b3;
}

.ak-footer-top a:hover,
.ak-footer-calc {
  color: #fff !important;
}

.ak-footer-bottom {
  border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .agentk-site .ast-container,
  .agentk-site .site-primary-header-wrap {
    padding-inline: 24px;
  }

  .ak-container,
  .ak-value-strip .ak-container {
    width: calc(100% - 48px);
  }

  .ak-home-hero {
    padding-block: 80px;
  }

  .ak-card-grid,
  .ak-product-matrix__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ak-workflow ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 0;
  }
}

@media (max-width: 720px) {
  .agentk-site .site-header,
  .agentk-site .ast-primary-header-bar,
  .agentk-site .site-primary-header-wrap {
    min-height: 62px;
  }

  .agentk-site .ast-container,
  .agentk-site .site-primary-header-wrap {
    padding-inline: 18px;
  }

  .agentk-site .site-title a {
    gap: 9px;
    font-size: 19px;
  }

  .agentk-site .site-title a::before {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 20px;
  }

  .ak-container,
  .ak-value-strip .ak-container {
    width: calc(100% - 32px);
  }

  .ak-home-hero {
    padding: 64px 0 60px;
  }

  .ak-home-hero h1,
  .ak-page-hero h1,
  .ak-catalog-hero h1 {
    font-size: clamp(43px, 12vw, 58px);
    line-height: 0.98;
  }

  .ak-home-hero__lead {
    font-size: 17px;
  }

  .ak-home-hero .ak-actions {
    display: grid;
  }

  .ak-home-hero .ak-button {
    width: 100%;
  }

  .ak-value-strip .ak-container {
    grid-template-columns: 1fr 1fr;
  }

  .ak-value-strip .ak-container > div,
  .ak-value-strip .ak-container > div:first-child {
    min-height: 104px;
    padding: 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ak-value-strip b {
    font-size: 15px;
  }

  .ak-value-strip small {
    font-size: 11px;
  }

  .ak-section,
  .ak-products,
  .ak-product-matrix,
  .ak-option-section,
  .ak-workflow,
  .ak-choice-layout,
  .ak-config-showcase {
    padding-block: 68px;
  }

  .ak-section-heading h2,
  .ak-choice-layout h2,
  .ak-config-showcase h2,
  .ak-workflow h2,
  .ak-section h2,
  .ak-cta h2 {
    font-size: 36px;
  }

  .ak-card-grid,
  .ak-product-matrix__grid,
  .ak-workflow ol {
    grid-template-columns: 1fr;
  }

  .ak-products .ak-card__visual,
  .ak-product-tile__scene {
    height: 190px;
  }

  .ak-workflow ol {
    gap: 34px;
  }

  .ak-workflow li,
  .ak-workflow li:first-child {
    min-height: 0;
    padding-right: 0;
  }

  .ak-calculator {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .ak-heading h2 {
    font-size: 36px;
  }

  .ak-progress button {
    padding-inline: 6px;
  }

  .ak-progress button span {
    width: 26px;
    height: 26px;
  }

  .ak-cta {
    padding-block: 60px;
  }
}

/* Keep release-one components above Astra's generic entry-content rules. */
.entry-content .ak-additional-card,
.entry-content .ak-additional-card:hover,
.entry-content .ak-additional-card * {
  text-decoration: none;
}

.ak-section .ak-contact-form h2 {
  margin: 0 0 8px;
  color: #fff;
}

.ak-section .ak-contact-form label > span {
  color: #fff;
}

.ak-section .ak-contact-form input:not([type="checkbox"], .ak-honeypot),
.ak-section .ak-contact-form textarea {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.ak-section .ak-contact-form__consent > span {
  color: var(--q-muted-light);
}

/* Calling is a primary action: accent fill in the mobile bar, and the number
   itself shown once the header has room for it. */
.ak-header-phone__number {
  display: none;
  font-weight: 700;
}

@media (min-width: 1280px) {
  .agentk-site .main-header-menu > .ak-header-phone > .menu-link {
    width: auto;
    padding-inline: 14px;
    gap: 8px;
    grid-auto-flow: column;
    line-height: 1;
  }

  .ak-header-phone__number {
    display: block;
    font-size: 15px;
    white-space: nowrap;
  }
}

.ak-mobile-cta .ak-button--call {
  flex: 1.35;
  background: var(--q-accent);
}

.ak-mobile-cta .ak-button--whatsapp {
  flex: 1;
  border: 1px solid var(--q-border);
  background: #fff;
}

.ak-footer-contact__number {
  display: inline-block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
