@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800;900&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --bg: #111413;
  --bg-2: #191f1d;
  --panel: rgba(29, 36, 34, 0.82);
  --panel-2: rgba(37, 45, 42, 0.86);
  --line: rgba(213, 183, 123, 0.18);
  --text: #f0eee8;
  --muted: #b9b2a5;
  --accent: #d7b36c;
  --accent-2: #b8754d;
  --accent-3: #14b8a6;
  --dark-text: #14110c;
  --container: 1080px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.site-page {
  background:
    linear-gradient(140deg, rgba(215, 179, 108, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(20, 184, 166, 0.08), transparent 32%),
    linear-gradient(145deg, #0d100f 0%, #161c1a 52%, #101312 100%);
  color: var(--text);
  font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

body.site-page,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

body.site-page::before {
  background:
    linear-gradient(rgba(215, 179, 108, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 179, 108, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, black, transparent 82%);
  opacity: 0.34;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

body.site-page::after {
  background: linear-gradient(90deg, transparent, rgba(215, 179, 108, 0.2), rgba(184, 117, 77, 0.12), transparent);
  content: "";
  filter: blur(32px);
  height: 220px;
  left: -12vw;
  opacity: 0.42;
  pointer-events: none;
  position: fixed;
  top: 20vh;
  transform: rotate(-8deg);
  width: 120vw;
  z-index: -1;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(13, 16, 15, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213, 183, 123, 0.14);
  display: flex;
  gap: 36px;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 max(26px, calc((100vw - var(--container)) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-brand {
  align-items: flex-start;
  display: inline-flex;
  text-decoration: none;
}

.site-logo-lockup {
  display: inline-grid;
  gap: 5px;
  justify-items: center;
  min-width: 0;
  text-decoration: none;
}

.site-logo-lockup img {
  display: block;
  height: auto;
  max-width: 238px;
  width: auto;
}

.site-logo-lockup span {
  color: rgba(215, 179, 108, 0.9);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.site-header__actions,
.site-nav {
  align-items: center;
  display: flex;
}

.site-header__actions {
  flex: 1 1 auto;
  gap: 34px;
  justify-content: flex-end;
  min-width: 0;
}

.site-nav {
  gap: 28px;
}

.site-nav a {
  color: rgba(240, 238, 232, 0.72);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #f8fafc;
}

.site-nav__login {
  background: rgba(215, 179, 108, 0.1);
  border: 1px solid rgba(215, 179, 108, 0.34);
  border-radius: 8px;
  color: #f2d79b !important;
  flex: 0 0 auto;
  font-weight: 600;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-nav__login:hover,
.site-nav__login:focus {
  background: rgba(215, 179, 108, 0.16);
  border-color: rgba(215, 179, 108, 0.52);
  box-shadow: 0 14px 30px rgba(184, 117, 77, 0.16);
  color: #fff2c9 !important;
  transform: translateY(-1px);
  text-decoration: none;
}

.hero {
  padding: 0 max(26px, calc((100vw - var(--container)) / 2));
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, #111413 0%, rgba(17, 20, 19, 0.88) 38%, rgba(17, 20, 19, 0.12) 100%),
    url("hero-triarkon-tech.png") right center / cover no-repeat;
  content: "";
  inset: 0;
  opacity: 0.74;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero__content {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 78px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  min-height: 560px;
  padding: 62px 0 54px;
}

.hero__copy {
  max-width: 660px;
}

.eyebrow {
  color: var(--accent);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  color: #f5f1e7;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  max-width: 760px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  margin: 22px 0 0;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 46px;
  min-width: 168px;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(184, 117, 77, 0.18);
  color: var(--dark-text);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-console {
  background:
    linear-gradient(145deg, rgba(215, 179, 108, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(25, 31, 29, 0.88);
  border: 1px solid rgba(213, 183, 123, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.hero-console:hover {
  border-color: rgba(215, 179, 108, 0.38);
  transform: translateY(-5px);
}

.hero-console__top {
  align-items: center;
  background: rgba(12, 14, 13, 0.58);
  border-bottom: 1px solid rgba(213, 183, 123, 0.14);
  display: flex;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
}

.hero-console__top span {
  background: rgba(215, 179, 108, 0.72);
  border-radius: 999px;
  height: 9px;
  width: 9px;
}

.hero-console__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.hero-console__body div,
.solution-card,
.module-card,
.metric-grid article {
  background:
    linear-gradient(145deg, rgba(215, 179, 108, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(29, 36, 34, 0.78);
  border: 1px solid rgba(213, 183, 123, 0.16);
}

.hero-console__body div {
  border-radius: 13px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.hero-console small,
.solution-card__index {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-console strong {
  color: #f7f2e8;
  font-size: 15px;
  line-height: 1.4;
}

.section {
  padding: 62px max(26px, calc((100vw - var(--container)) / 2));
  position: relative;
}

.section--cards {
  background: linear-gradient(180deg, rgba(17, 20, 19, 0.24), rgba(24, 31, 29, 0.76));
  border-top: 1px solid rgba(213, 183, 123, 0.1);
}

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

.solution-card,
.module-card,
.metric-grid article,
.contact-form {
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.solution-card {
  border-radius: 18px;
  min-height: 210px;
  padding: 24px;
}

.solution-card:hover,
.module-card:hover,
.metric-grid article:hover {
  background:
    linear-gradient(145deg, rgba(215, 179, 108, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(37, 45, 42, 0.9);
  border-color: rgba(215, 179, 108, 0.36);
  transform: translateY(-6px);
}

.solution-card h2 {
  color: #f7f2e8;
  font-size: 22px;
  line-height: 1.16;
  margin: 44px 0 12px;
}

.solution-card p,
.module-card p,
.split-copy p,
.contact-heading p,
.contact-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.section--split {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
}

.split-copy h2,
.section-heading h2,
.contact-heading h2 {
  color: #f5f1e7;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
}

.split-copy p,
.contact-heading p {
  margin-top: 16px;
  max-width: 580px;
}

.metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid article {
  border-radius: 16px;
  display: grid;
  gap: 10px;
  min-height: 122px;
  padding: 20px;
}

.metric-grid strong {
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.metric-grid span {
  color: #efe8d8;
  font-size: 15px;
  font-weight: 600;
}

.section--modules {
  background: rgba(13, 16, 15, 0.48);
  border-bottom: 1px solid rgba(213, 183, 123, 0.1);
  border-top: 1px solid rgba(213, 183, 123, 0.1);
}

.section-heading {
  margin: 0 0 28px;
  max-width: 660px;
}

.module-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-card {
  border-radius: 16px;
  min-height: 148px;
  padding: 18px;
}

.module-card h3 {
  color: #f7f2e8;
  font-size: 17px;
  margin: 0 0 10px;
}

.contact-page {
  margin: 0 auto;
  max-width: var(--container);
  padding: 66px 26px 72px;
  width: 100%;
}

.contact-heading {
  margin: 0 auto 34px;
  max-width: 680px;
  text-align: center;
}

.contact-heading p {
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(280px, 430px) minmax(360px, 500px);
  justify-content: center;
  margin: 0 auto;
  max-width: 966px;
  width: 100%;
}

.contact-info {
  justify-self: end;
  max-width: 430px;
}

.contact-info h3 {
  color: #f7f2e8;
  font-size: 22px;
  margin: 0 0 12px;
}

.contact-channel {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.contact-channel span {
  color: #f7f2e8;
  font-size: 13px;
  font-weight: 600;
}

.contact-channel a {
  color: var(--muted);
  text-decoration: none;
}

.contact-form {
  background:
    linear-gradient(145deg, rgba(215, 179, 108, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(29, 36, 34, 0.86);
  border: 1px solid rgba(213, 183, 123, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  justify-self: start;
  max-width: 500px;
  padding: 22px;
  width: 100%;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form span {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid rgba(213, 183, 123, 0.22);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: transparent;
  border-color: rgba(34, 211, 238, 0.52);
  box-shadow: 0 0 0 3px rgba(215, 179, 108, 0.12);
  outline: none;
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus {
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 9999s ease-out;
}

.contact-form textarea {
  height: 96px;
  max-height: 96px;
  min-height: 96px;
  overflow: auto;
  resize: none;
  scrollbar-width: none;
}

.contact-form textarea::-webkit-scrollbar {
  display: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(220, 230, 242, 0.48);
}

.contact-form button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 0;
  border-radius: 8px;
  color: var(--dark-text);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  min-height: 44px;
}

/* UI overflow guard: button labels must stay inside their controls. */
body.site-page :where(.button, .site-nav__login, .contact-form button) {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

body.site-page .button {
  flex-wrap: wrap;
}

.page-hero {
  margin: 0 auto;
  max-width: var(--container);
  padding: 82px max(26px, calc((100vw - var(--container)) / 2)) 46px;
}

.page-hero h1,
.contact-page h1 {
  color: #f5f1e7;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  max-width: 760px;
}

.page-hero p,
.contact-page > div > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.64;
  margin: 16px 0 0;
  max-width: 620px;
}

.simple-grid,
.product-grid {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  max-width: var(--container);
  padding: 18px max(26px, calc((100vw - var(--container)) / 2)) 72px;
}

.simple-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.simple-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid--full {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-left: 0;
  padding-right: 0;
}

.simple-grid article,
.product-grid article {
  background:
    linear-gradient(145deg, rgba(215, 179, 108, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(29, 36, 34, 0.78);
  border: 1px solid rgba(213, 183, 123, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
  padding: 22px;
}

.simple-grid h2,
.product-grid h2 {
  color: #f7f2e8;
  font-size: 21px;
  line-height: 1.18;
  margin: 0 0 10px;
}

.simple-grid p,
.product-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.contact-mail {
  color: #f2d79b;
  display: inline-flex;
  font-weight: 700;
  margin-top: 18px;
  text-decoration: none;
}

.site-footer {
  align-items: center;
  background: rgba(13, 16, 15, 0.88);
  border-top: 1px solid rgba(213, 183, 123, 0.14);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
  padding: 26px max(26px, calc((100vw - var(--container)) / 2));
}

.site-footer__brand,
.site-footer__address,
.site-footer__contact {
  display: grid;
  gap: 6px;
}

.site-footer__brand {
  justify-self: start;
  justify-items: center;
  max-width: 330px;
  text-align: center;
  width: 100%;
}

.site-logo-lockup--footer img {
  max-width: 190px;
}

.site-footer__brand span,
.site-footer__address span,
.site-footer__contact span {
  color: rgba(215, 179, 108, 0.72);
  font-size: 12px;
}

.site-footer__address {
  justify-self: center;
  justify-items: center;
  text-align: center;
  width: 112px;
}

.site-footer__address strong {
  color: rgba(240, 238, 232, 0.78);
  font-size: 13px;
}

.site-footer a {
  color: rgba(240, 238, 232, 0.78);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__contact {
  justify-self: end;
  justify-items: center;
  max-width: 330px;
  text-align: center;
  width: 100%;
}

.site-footer__contact a {
  color: rgba(240, 238, 232, 0.58);
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.site-footer__social {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}

.site-footer__social a {
  align-items: center;
  background: rgba(215, 179, 108, 0.08);
  border: 1px solid rgba(215, 179, 108, 0.22);
  border-radius: 9px;
  color: #f2d79b;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  transition: transform 180ms ease, border-color 180ms ease;
  width: 34px;
}

.site-footer__social a:hover {
  border-color: rgba(215, 179, 108, 0.42);
  transform: translateY(-2px);
}

.site-footer__social svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.reveal {
  animation: revealUp 680ms ease both;
}

.reveal:nth-child(2) {
  animation-delay: 90ms;
}

.reveal:nth-child(3) {
  animation-delay: 160ms;
}

.reveal:nth-child(4) {
  animation-delay: 230ms;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .site-header__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .hero__content,
  .section--split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    min-height: auto;
  }

  .solution-grid,
  .module-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer__brand,
  .site-footer__address,
  .site-footer__contact {
    justify-self: center;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-logo-lockup img {
    max-width: 214px;
  }

  .site-logo-lockup span {
    font-size: 9px;
  }

  .site-nav {
    justify-content: center;
    width: 100%;
  }

  .site-nav__login,
  .button {
    justify-content: center;
    width: 100%;
  }

  .hero,
  .section,
  .contact-page,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .solution-grid,
  .module-row,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    justify-items: center;
    text-align: center;
  }

  .site-footer__brand,
  .site-footer__address,
  .site-footer__contact {
    justify-items: center;
    text-align: center;
  }

  .site-footer__social {
    justify-content: center;
  }
}

.site-footer {
  align-items: center;
  background: rgba(13, 16, 15, 0.88);
  border-top: 1px solid rgba(213, 183, 123, 0.14);
  box-sizing: border-box;
  column-gap: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  justify-content: stretch;
  justify-items: stretch;
  margin-inline: 0;
  padding: 28px max(26px, calc((100vw - var(--container)) / 2));
  text-align: center;
  width: 100%;
}

.site-footer span {
  color: rgba(240, 238, 232, 0.62);
  font-size: 12px;
  grid-column: 2;
  justify-self: center;
  min-width: 0;
  white-space: nowrap;
}

.site-footer::before,
.site-footer::after {
  background: linear-gradient(90deg, transparent, rgba(213, 183, 123, 0.38));
  content: "";
  height: 1px;
  width: min(104px, 100%);
}

.site-footer::before {
  grid-column: 1;
  justify-self: end;
}

.site-footer::after {
  background: linear-gradient(90deg, rgba(213, 183, 123, 0.38), transparent);
  grid-column: 3;
  justify-self: start;
}

@media (max-width: 760px) {
  .site-footer {
    column-gap: 10px;
    grid-template-columns: minmax(20px, 44px) minmax(0, auto) minmax(20px, 44px);
    padding: 26px 20px;
  }

  .site-footer span {
    white-space: normal;
  }
}

/* Public-site safety guard: only text casing and overflow, never colors or surfaces. */
body.site-page :where(.site-logo-lockup span, .button, .site-nav a, .site-nav__login, .hero-console small, .solution-card__index) {
  letter-spacing: 0;
  text-transform: none;
}
