/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  --color-bg: #0e131f;
  --color-bg-card: #161b28;
  --color-bg-footer: #020617;
  --color-bg-input: #303542;
  --color-text: #c7c4da;
  --color-text-muted: #918fa3;
  --color-text-footer: #64748b;
  --color-heading: #ffffff;
  --color-brand: #c7d2fe;
  --color-accent-green: #44dfab;
  --color-primary-start: #4b3aff;
  --color-primary-end: #00bf8e;
  --color-gradient-text-start: #c3c0ff;
  --color-gradient-text-end: #44dfab;
  --color-glass-bg: rgba(48, 53, 66, 0.2);
  --color-glass-border: rgba(70, 69, 87, 0.15);
  --color-nav-bg: rgba(2, 6, 23, 0.6);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- Base / Global --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

/* --- Utility --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.gradient-text {
  background: linear-gradient(to right, var(--color-gradient-text-start), var(--color-gradient-text-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(to right, var(--color-primary-start), var(--color-primary-end));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  padding: 17px 32px;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(75, 58, 255, 0.2), 0 4px 6px -4px rgba(75, 58, 255, 0.2);
  transition: opacity 0.2s;
}

.btn-gradient:hover {
  opacity: 0.9;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.4);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-brand);
  letter-spacing: -1.2px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s;
}

.navbar__link:hover {
  color: #fff;
}

.navbar__cta {
  background: linear-gradient(to right, var(--color-primary-start), var(--color-primary-end));
  color: #dbd8ff;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.navbar__cta:hover {
  opacity: 0.9;
}

.navbar__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__hamburger svg {
  display: block;
}

/* --- Mobile Nav --- */
.navbar__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px 32px;
  background: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-glass-border);
}

.navbar__mobile-menu.active {
  display: flex;
}

.navbar__mobile-menu a {
  font-size: 16px;
  color: var(--color-text);
  padding: 8px 0;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 194px 0 96px;
  overflow: hidden;
  min-height: 828px;
}

.hero__bg-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: rgba(75, 58, 255, 0.2);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero__bg-blur--green {
  position: absolute;
  top: -100px;
  right: 0;
  width: 600px;
  height: 600px;
  background: rgba(0, 191, 142, 0.1);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  background: rgba(52, 57, 70, 0.1);
  border: 1px solid var(--color-glass-border);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-green);
  letter-spacing: 0.6px;
  width: fit-content;
}

.hero__heading {
  font-size: 72px;
  line-height: 1;
  letter-spacing: -1.8px;
  color: #fff;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.625;
  color: var(--color-text);
  max-width: 600px;
}

.hero__cta {
  padding-top: 16px;
}


/* --- Three Pillars Section --- */
.pillars {
  padding: 96px 0;
  background: #090e1a;
}

.pillars__header {
  text-align: center;
  margin-bottom: 80px;
}

.pillars__title {
  font-size: 36px;
  line-height: 40px;
  margin-bottom: 16px;
}

.pillars__underline {
  width: 96px;
  height: 4px;
  background: var(--color-accent-green);
  border-radius: 9999px;
  margin: 0 auto;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 40px;
  min-height: 328px;
}

.pillar-card--outsource {
  border-top: 2px solid rgba(68, 223, 171, 0.2);
}

.pillar-card--outstaff {
  border-top: 2px solid rgba(68, 223, 171, 0.2);
}

.pillar-card--startups {
  border-top: 2px solid rgba(68, 223, 171, 0.2);
}

.pillar-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.pillar-card__icon--outsource {
  background: rgba(75, 58, 255, 0.1);
}

.pillar-card__icon--outstaff {
  background: rgba(0, 191, 142, 0.1);
}

.pillar-card__icon--startups {
  background: rgba(116, 27, 255, 0.1);
}

.pillar-card__icon img {
  width: 30px;
  height: auto;
}

.pillar-card__title {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 16px;
}

.pillar-card__desc {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text);
}

/* --- Noki.kz Spotlight Section --- */
.noki {
  padding: 128px 0;
  background: var(--color-bg);
}

.noki__card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--color-glass-bg);
  border: 1px solid rgba(70, 69, 87, 0.1);
  border-radius: 24px;
  padding: 65px;
  position: relative;
  overflow: hidden;
}

.noki__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(149deg, rgba(75, 58, 255, 0.1) 0%, rgba(75, 58, 255, 0) 100%);
  pointer-events: none;
}

.noki__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.noki__phone-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.noki__phone-glow {
  position: absolute;
  inset: 10% -10%;
  background: rgba(68, 223, 171, 0.2);
  filter: blur(40px);
  border-radius: 50%;
}

.noki__phone {
  position: relative;
  width: 280px;
  height: 580px;
  background: #0f172a;
  border: 8px solid #1e293b;
  border-radius: 48px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.noki__phone-notch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #1e293b;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  z-index: 2;
}

.noki__phone-notch-pill {
  width: 64px;
  height: 16px;
  background: #000;
  border-radius: 9999px;
}

.noki__phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noki__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.noki__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.noki__brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.noki__brand-name {
  font-size: 24px;
  letter-spacing: -0.6px;
}

.noki__heading {
  font-size: 48px;
  line-height: 1;
}

.noki__desc {
  font-size: 18px;
  line-height: 1.625;
  color: var(--color-text);
}

.noki__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.noki__feature {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: #dee2f4;
}

.noki__feature img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.noki__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #00bf8e;
  color: #004733;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 32px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  margin-top: 24px;
  width: fit-content;
  transition: opacity 0.2s;
}

.noki__btn:hover {
  opacity: 0.9;
}

.noki__btn img {
  width: 16px;
  height: 16px;
}

/* --- Contact Section --- */
.contact {
  padding: 96px 0;
  background: var(--color-bg-card);
}

.contact__desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.contact__heading {
  font-size: 42px;
  line-height: 1.2;
}

.contact__subtitle {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text);
  max-width: 560px;
}

.contact__cards {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 25px 40px;
  background: rgba(48, 53, 66, 0.3);
  border: 1px solid rgba(70, 69, 87, 0.1);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.contact-card:hover {
  border-color: rgba(75, 58, 255, 0.3);
  background: rgba(48, 53, 66, 0.5);
}

.contact__cta {
  margin-top: 8px;
  padding: 16px 48px;
  border-radius: 12px;
  font-size: 16px;
  text-decoration: none;
}

.contact__mobile {
  display: none;
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon--phone {
  background: rgba(75, 58, 255, 0.2);
}

.contact-card__icon--email {
  background: rgba(0, 191, 142, 0.2);
}

.contact-card__icon img {
  width: 18px;
  height: auto;
}

.contact-card__label {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-card__value {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 28px;
}


/* --- Footer --- */
.footer {
  background: var(--color-bg-footer);
  border-top: 1px solid rgba(30, 41, 59, 0.2);
  padding: 49px 0 48px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-brand);
  margin-bottom: 16px;
}

.footer__brand-desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-footer);
  max-width: 320px;
}

.footer__contact-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 16px;
}

.footer__contact-link {
  display: block;
  font-size: 14px;
  color: var(--color-text-footer);
  line-height: 20px;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.footer__contact-link:hover {
  color: var(--color-text);
}

.footer__copyright {
  font-size: 14px;
  color: var(--color-text-footer);
  padding: 16px 0 32px;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  /* Navbar */
  .navbar .container {
    height: 64px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: block;
  }

  /* Hero */
  .hero {
    padding: 160px 0 48px;
    min-height: auto;
  }

  .hero__heading {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -1px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero__subtitle {
    font-size: 15px;
    line-height: 1.625;
  }

  /* Pillars */
  .pillars {
    padding: 48px 0;
    background: var(--color-bg);
  }

  .pillars__header {
    display: none;
  }

  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pillar-card {
    padding: 32px;
    min-height: auto;
    position: relative;
    overflow: hidden;
  }

  .pillar-card__icon {
    display: none;
  }

  .pillar-card__title {
    font-size: 24px;
  }

  .pillar-card--outsource .pillar-card__title {
    color: var(--color-accent-green);
  }

  .pillar-card--outstaff .pillar-card__title {
    color: #c3c0ff;
  }

  .pillar-card--startups {
    border-top: none;
    border-left: 2px solid rgba(68, 223, 171, 0.2);
  }

  .pillar-card__mobile-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
  }

  .pillar-card__mobile-icon img {
    width: 45px;
    height: auto;
    object-fit: contain;
  }

  .pillar-card__desc {
    font-size: 14px;
    line-height: 24px;
  }

  /* Noki */
  .noki {
    padding: 48px 0;
  }

  .noki__card {
    padding: 0;
    border-radius: 16px;
  }

  .noki__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .noki__phone-wrapper {
    display: none;
  }

  .noki__content {
    padding: 32px;
    gap: 24px;
  }

  .noki__brand-logo {
    width: 40px;
    height: 40px;
  }

  .noki__brand-name {
    font-size: 20px;
  }

  .noki__heading {
    font-size: 32px;
    line-height: 1.125;
  }

  .noki__desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .noki__mobile-screenshot {
    display: block;
    width: 100%;
    border-radius: 12px;
    margin: 16px 0;
  }

  .noki__features {
    display: none;
  }

  .noki__btn {
    width: 100%;
    justify-content: center;
    margin-top: 0;
  }

  .noki__cta-card {
    display: block;
    padding: 32px;
    background: linear-gradient(135deg, rgba(75, 58, 255, 0.15), rgba(0, 191, 142, 0.1));
    border-top: 1px solid var(--color-glass-border);
    position: relative;
    overflow: hidden;
  }

  .noki__cta-heading {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .noki__cta-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 16px;
    max-width: 200px;
  }

  .noki__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(to right, var(--color-primary-start), var(--color-primary-end));
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
  }

  /* Contact */
  .contact {
    padding: 48px 0;
    background: var(--color-bg);
  }

  .contact__desktop {
    display: none;
  }

  .contact__mobile {
    display: block;
  }

  .contact__mobile-heading {
    font-size: 20px;
    text-align: center;
    margin-bottom: 24px;
  }

  .contact__mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .contact-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg-card);
    border-radius: 16px;
    border: 1px solid var(--color-glass-border);
  }

  .contact-link-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .contact-link-card__icon--phone {
    background: rgba(75, 58, 255, 0.2);
  }

  .contact-link-card__icon--email {
    background: rgba(0, 191, 142, 0.2);
  }

  .contact-link-card__icon img {
    width: 18px;
    height: auto;
  }

  .contact-link-card__info {
    flex: 1;
  }

  .contact-link-card__label {
    font-size: 12px;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .contact-link-card__value {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }

  .contact-link-card__arrow {
    color: var(--color-text-muted);
    font-size: 18px;
  }

  /* Footer */
  .footer {
    padding: 49px 0 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__copyright-wrapper {
    border-top: 1px solid rgba(30, 41, 59, 0.3);
    padding-top: 33px;
    margin-top: 16px;
  }

  .footer__copyright {
    padding-top: 0;
  }
}

/* Desktop-only: hide mobile elements */
@media (min-width: 769px) {
  .noki__mobile-screenshot {
    display: none;
  }

  .noki__cta-card {
    display: none;
  }

  .contact__mobile {
    display: none;
  }

  .pillar-card__mobile-icon {
    display: none;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

