:root {
  --stt-ink: #101828;
  --stt-muted: #5c6b82;
  --stt-soft: #f4f7fb;
  --stt-line: #d8e1ee;
  --stt-blue: #2d5bd7;
  --stt-blue-dark: #183b8f;
  --stt-teal: #087f8c;
  --stt-coral: #e76635;
  --stt-gold: #f2c94c;
  --stt-white: #ffffff;
  --stt-shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--stt-soft);
  color: var(--stt-ink);
  font-family: "Merriweather Sans", "Open Sans", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--stt-blue);
}

a:hover {
  color: var(--stt-teal);
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--stt-blue);
  border-color: var(--stt-blue);
  box-shadow: 0 12px 26px rgba(45, 91, 215, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--stt-blue-dark);
  border-color: var(--stt-blue-dark);
}

.btn-outline-light:hover {
  color: var(--stt-ink);
}

.hero-actions .btn {
  min-width: 165px;
  padding: 1rem 1.35rem;
}

.hero-actions .btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.52);
  color: #ffffff;
  box-shadow: none;
}

.hero-actions .btn-outline-light:hover,
.hero-actions .btn-outline-light:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--stt-ink);
}

#mainNav {
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(16, 25, 43, 0.12);
}

#mainNav .navbar-brand {
  padding: 0;
}

#mainNav .navbar-nav .nav-item .nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:hover {
  color: #ffffff;
}

#mainNav.navbar-shrink,
#mainNav.is-fixed {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--stt-line);
}

#mainNav.navbar-shrink .navbar-nav .nav-item .nav-link,
#mainNav.navbar-shrink .navbar-brand,
#mainNav.is-fixed .navbar-nav > li.nav-item > a,
#mainNav.is-fixed .navbar-brand {
  color: var(--stt-ink);
}

.logo-image {
  width: 142px !important;
  height: auto;
  margin-top: 0;
}

.logo-image img {
  display: block;
  max-height: 42px;
  width: 100%;
}

.nav-language {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  line-height: 1;
  margin-left: 0.5rem;
  padding: 0.55rem 0.7rem !important;
}

.navbar-shrink .nav-language,
.is-fixed .nav-language {
  border-color: var(--stt-line);
}

.hero-home {
  min-height: 86vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  padding: 7.5rem 0 4.5rem;
}

.hero-home__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.78) 52%, rgba(8, 127, 140, 0.32) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.hero-home__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.72fr);
  gap: 3rem;
  align-items: center;
}

.hero-home__copy {
  max-width: 760px;
}

.hero-kicker,
.section-kicker,
.section-heading p,
.post-card__date {
  color: var(--stt-coral);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.hero-home h1 {
  color: #ffffff;
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 1.35rem;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.hero-home p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-home__panel {
  justify-self: end;
  width: 100%;
  max-width: 410px;
}

.terminal-window {
  background: rgba(9, 18, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.terminal-window__bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.terminal-window__bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--stt-coral);
}

.terminal-window__bar span:nth-child(2) {
  background: #f4c35f;
}

.terminal-window__bar span:nth-child(3) {
  background: #44c585;
}

.terminal-window pre {
  color: #d9fff8;
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
  padding: 1.35rem;
  white-space: pre-wrap;
}

.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 7.5rem 0 3.5rem;
  color: #ffffff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 25, 43, 0.9) 0%, rgba(16, 25, 43, 0.68) 56%, rgba(36, 84, 214, 0.28) 100%),
    linear-gradient(180deg, rgba(16, 25, 43, 0.1) 0%, rgba(16, 25, 43, 0.82) 100%);
}

.page-hero__content {
  position: relative;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.page-hero .subheading,
.page-hero .meta {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.page-hero .meta a {
  color: #ffffff;
  font-weight: 700;
}

.page-section {
  padding: 5.5rem 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 3rem;
}

.section-heading h2,
.about-section h2,
.contact-section h2,
.post-list-intro h2 {
  color: var(--stt-ink);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: 0;
}

.services-section {
  background: #ffffff;
}

.services-section h3 {
  color: var(--stt-ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.services-section .lead {
  color: var(--stt-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.service-tile {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--stt-line);
  border-radius: 8px;
  padding: 1.65rem 1.35rem;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 84, 214, 0.35);
  box-shadow: var(--stt-shadow);
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--stt-blue), var(--stt-teal));
  border-radius: 8px;
  font-size: 1.55rem;
  margin-bottom: 1.1rem;
}

.service-tile p {
  color: var(--stt-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.about-section {
  background: var(--stt-soft);
}

.automation-panel {
  max-width: 420px;
  margin: 0 auto 2rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--stt-line);
  border-radius: 8px;
  box-shadow: var(--stt-shadow);
}

.automation-panel__header {
  display: flex;
  gap: 0.45rem;
  padding: 1rem 1.15rem;
  background: #101828;
}

.automation-panel__header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--stt-coral);
}

.automation-panel__header span:nth-child(2) {
  background: var(--stt-gold);
}

.automation-panel__header span:nth-child(3) {
  background: #39c980;
}

.automation-panel__body {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.automation-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid var(--stt-line);
  border-radius: 8px;
}

.automation-row i {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--stt-blue), var(--stt-teal));
  border-radius: 8px;
  font-size: 1.35rem;
}

.automation-row strong {
  display: block;
  color: var(--stt-ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.automation-row span {
  display: block;
  color: var(--stt-muted);
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.about-section h3 {
  color: var(--stt-teal);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.about-section p {
  color: var(--stt-muted);
  line-height: 1.8;
}

.about-detail {
  background: #ffffff;
}

.profile-block,
.profile-contact {
  background: #ffffff;
  border: 1px solid var(--stt-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.07);
  margin-bottom: 1.25rem;
  padding: 2rem;
}

.profile-block h2,
.profile-contact h2 {
  color: var(--stt-ink);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.profile-block p,
.profile-contact p {
  color: var(--stt-muted);
  line-height: 1.8;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.profile-card {
  background: #f8fafc;
  border: 1px solid var(--stt-line);
  border-radius: 8px;
  padding: 1.25rem;
}

.profile-card i {
  color: var(--stt-blue);
  font-size: 1.7rem;
}

.profile-card h3 {
  color: var(--stt-ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0.65rem 0 0.45rem;
}

.profile-card p {
  color: var(--stt-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.profile-contact {
  background: linear-gradient(135deg, #10192b, #163a5f);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.profile-contact h2 {
  color: #ffffff;
}

.profile-contact p {
  color: rgba(255, 255, 255, 0.78);
}

.profile-contact .nav-link i {
  color: #ffffff;
  font-size: 2rem;
}

.contact-section {
  background: #10192b;
  color: rgba(255, 255, 255, 0.82);
}

.contact-section h2 {
  color: #ffffff;
}

.contact-section .form-control {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  min-height: 3.6rem;
  box-shadow: none;
}

.contact-section .form-control:focus {
  border-color: var(--stt-coral);
  box-shadow: 0 0 0 0.2rem rgba(239, 125, 69, 0.18);
}

.static-contact-box {
  text-align: center;
}

.post-list-page {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.post-list-intro {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.post-list-intro p:last-child {
  color: var(--stt-muted);
  line-height: 1.75;
}

.post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--stt-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--stt-shadow);
}

.post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe6ef;
  border-bottom: 1px solid var(--stt-line);
}

.post-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.55rem;
}

.post-card__date {
  color: var(--stt-coral);
  font-size: 0.76rem;
  margin-bottom: 0.85rem;
}

.post-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.post-card h3 a {
  color: var(--stt-ink);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--stt-blue);
}

.post-card__body p {
  color: var(--stt-muted);
  line-height: 1.65;
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: var(--stt-blue);
  font-weight: 800;
  text-decoration: none;
}

.post-article {
  background: #ffffff;
  padding-bottom: 2rem;
}

.article-content {
  color: #293044;
  font-family: Merriweather, Georgia, serif;
  font-size: 1.04rem;
  line-height: 1.85;
}

.article-content > h1:first-child {
  margin-top: 0;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--stt-ink);
  font-family: "Merriweather Sans", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.article-content h1 {
  font-size: 2.1rem;
}

.article-content h2 {
  font-size: 1.75rem;
}

.article-content h3 {
  font-size: 1.35rem;
}

.article-content p,
.article-content li {
  color: #344054;
}

.article-content a {
  color: var(--stt-blue);
  font-weight: 700;
  text-decoration-color: rgba(45, 91, 215, 0.32);
  text-underline-offset: 0.18em;
}

.article-content a:hover {
  color: var(--stt-teal);
}

.article-content h1:first-child + div[style] {
  background: #f8fafc !important;
  border: 1px solid var(--stt-line) !important;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
  font-family: "Merriweather Sans", Arial, sans-serif;
  line-height: 1.9;
  margin: 1rem 0 2.2rem;
  padding: 1.25rem 1.4rem !important;
}

.article-content h1:first-child + div[style] a {
  color: var(--stt-ink);
  font-weight: 700;
  text-decoration: none;
}

.article-content h1:first-child + div[style] a:hover {
  color: var(--stt-blue);
}

.article-content hr {
  border: 0;
  border-top: 1px solid var(--stt-line);
  margin: 1.4rem 0 1.8rem;
  opacity: 1;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-content pre,
.article-content code {
  white-space: pre-wrap;
  word-break: break-word;
}

.article-content pre {
  background: #10192b;
  color: #d9fff8;
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
}

.support-box {
  background: linear-gradient(135deg, #10192b, #163a5f);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  padding: 2rem;
}

.support-box h2 {
  color: #ffffff;
  margin-top: 0;
}

.coffee-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: Cookie, cursive;
  font-size: 1.85rem !important;
  margin-left: 0;
  max-width: 100%;
  white-space: normal;
}

.coffee-button img {
  width: 28px;
  height: 28px;
}

footer.footer {
  background: #0d1424 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

footer .btn-floating {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

#consent-popup {
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(13, 20, 36, 0.96) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.24);
  padding: 1rem 1.5rem !important;
  text-align: left;
}

#consent-popup p {
  margin: 0;
}

.cookie-copy {
  max-width: 760px;
}

.cookie-copy p + p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  margin-top: 0.2rem !important;
}

.cookie-accept {
  flex: 0 0 auto;
  background: var(--stt-gold);
  border-radius: 8px;
  color: #101828 !important;
  font-weight: 800;
  padding: 0.72rem 1rem;
  text-decoration: none;
}

.cookie-accept:hover {
  background: #ffe082;
  color: #101828 !important;
}

@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: rgba(16, 25, 43, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
  }

  #mainNav.navbar-shrink .navbar-collapse,
  #mainNav.is-fixed .navbar-collapse {
    background: #ffffff;
    border-color: var(--stt-line);
  }

  .nav-language {
    display: inline-block;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .hero-home {
    min-height: auto;
    padding: 6.7rem 0 4rem;
  }

  .hero-home__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-home__panel {
    justify-self: stretch;
    max-width: none;
  }

  .hero-home h1 {
    font-size: 3rem;
  }

  .page-hero {
    min-height: 36vh;
    padding-top: 7rem;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }
}

@media (max-width: 575.98px) {
  .hero-home h1 {
    font-size: 2.28rem;
    line-height: 1.08;
  }

  .hero-home p {
    font-size: 1rem;
  }

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

  #consent-popup {
    align-items: stretch;
    flex-direction: column;
    padding: 1rem !important;
  }

  .cookie-accept {
    text-align: center;
  }

  .page-section,
  .post-list-page {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-heading h2,
  .about-section h2,
  .contact-section h2,
  .post-list-intro h2 {
    font-size: 1.9rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .support-box {
    padding: 1.35rem;
  }

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

  .profile-block,
  .profile-contact {
    padding: 1.35rem;
  }
}
