:root {
  --ink: #171717;
  --ink-soft: #535353;
  --paper: #f5f5f5;
  --white: #ffffff;
  --line: #d4d4d4;
  --teal: #007b91;
  --teal-dark: #00566b;
  --teal-pale: #e7f7fa;
  --coral: #d6008f;
  --lime: #00bce4;
  --navy: #151515;
  --shadow: 0 16px 45px rgba(0, 0, 0, 0.13);
  --container: 1180px;
  --radius: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 78px;
  border-bottom: 1px solid rgba(216, 223, 220, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.site-header.is-overlay {
  position: absolute;
  width: 100%;
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  background: rgba(8, 20, 25, 0.34);
}

.nav-shell {
  display: flex;
  height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.brand.logo-link {
  align-self: stretch;
  min-width: 178px;
  justify-content: center;
  padding: 14px 18px;
  background: #111111;
}

.brand-logo {
  width: 144px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-link {
  position: relative;
  padding: 25px 0 22px;
  color: inherit;
  font-size: 14px;
  font-weight: 650;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-control {
  display: inline-flex;
  height: 44px;
  align-items: center;
  border-left: 1px solid var(--line);
}

.language-control select {
  height: 44px;
  padding: 0 30px 0 14px;
  border: 0;
  background-color: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}

.site-header.is-overlay .button.secondary,
.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
}

.site-header.is-overlay .button.secondary:hover,
.hero .button.secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.button.coral {
  background: var(--coral);
}

.button.coral:hover {
  background: #c94935;
}

.button.dark-button {
  background: #111111;
  color: var(--white);
}

.button.dark-button:hover {
  background: #343434;
}

.button.light-button {
  border-color: var(--white);
  background: var(--white);
  color: #111111;
}

.button.light-button:hover {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.arrow {
  font-size: 20px;
  line-height: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  height: min(720px, calc(100svh - 78px));
  min-height: 560px;
  align-items: flex-end;
  overflow: hidden;
  background-color: #0e2630;
  background-image: url("/web/content/176356/chillmine-site-9743abc9680b74f6-product-hardware.jpg");
  background-position: center 54%;
  background-size: cover;
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.48);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 148px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 19px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.dark-band .eyebrow,
.page-hero.dark .eyebrow {
  color: #8cddd5;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  content: "";
  background: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 6.4vw, 92px);
  font-weight: 800;
}

.hero h1 {
  max-width: 680px;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  line-height: 1.48;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-marker {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-marker span {
  width: 38px;
  height: 1px;
  background: var(--lime);
}

.proof-band {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 128px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  border-left: 1px solid var(--line);
}

.proof-number {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 850;
}

.proof-item strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}

.proof-item small {
  color: var(--ink-soft);
}

.category-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.category-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 118px;
  gap: 64px;
}

.category-strip h2 {
  margin: 0;
  font-size: 25px;
}

.category-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-self: stretch;
}

.category-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-left: 1px solid var(--line);
  font-size: 16px;
  font-weight: 750;
  text-align: center;
}

.category-links a:last-child {
  border-right: 1px solid var(--line);
}

.category-links a:hover {
  background: #eeeeee;
  color: var(--teal-dark);
}

.hp-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 42px;
}

.hp-section-title h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(40px, 5vw, 70px);
}

.hp-section-title p {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.hp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.hp-card {
  display: grid;
  grid-template-rows: 310px 1fr;
  background: var(--white);
}

.hp-card img {
  height: 310px;
  object-fit: cover;
}

.hp-card > div {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}

.hp-card h3 {
  margin-bottom: 14px;
  font-size: 29px;
}

.hp-card p {
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.hp-card .button {
  margin-top: auto;
}

.hp-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
}

.hp-promo.reverse .hp-promo-media {
  order: 2;
}

.hp-promo-media img {
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.hp-promo-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(52px, 8vw, 128px);
  background: #eeeeee;
}

.hp-promo-copy h2 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 70px);
}

.hp-promo-copy p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 18px;
}

.hp-promo-copy.light-copy {
  background: #111111;
  color: var(--white);
}

.hp-promo-copy.light-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.hp-portal-band {
  padding: 92px 0;
  background: #252525;
  color: var(--white);
}

.hp-portal-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 100px;
}

.hp-portal-layout h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
}

.hp-portal-layout > div:last-child p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.section {
  padding: 104px 0;
}

.section.compact {
  padding: 76px 0;
}

.section.white {
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.45fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head h2,
.split-copy h2,
.cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 780;
}

.section-head p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-block {
  position: relative;
  min-height: 310px;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-index {
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.service-block h3 {
  max-width: 380px;
  margin: 70px 0 14px;
  font-size: 27px;
}

.service-block p {
  max-width: 500px;
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 800;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 72px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}

.split-media img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.split-media::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 78px;
  height: 8px;
  content: "";
  background: var(--lime);
}

.split-copy h2 {
  margin-bottom: 25px;
}

.split-copy > p {
  color: var(--ink-soft);
  font-size: 18px;
}

.feature-list {
  margin: 34px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  margin-bottom: 3px;
}

.check {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.dark-band {
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
}

.workflow-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 4vw, 58px);
}

.workflow-intro p {
  color: rgba(255, 255, 255, 0.68);
}

.steps {
  counter-reset: workflow;
}

.step {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  padding: 27px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  counter-increment: workflow;
}

.step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.step::before {
  color: var(--lime);
  content: "0" counter(workflow);
  font-size: 14px;
  font-weight: 850;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.cta-band {
  padding: 78px 0;
  background: var(--teal-pale);
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}

.cta-band h2 {
  max-width: 780px;
}

.page-hero {
  padding: 112px 0 84px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero.dark {
  background: var(--navy);
  color: var(--white);
}

.page-hero h1 {
  max-width: 930px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6.2vw, 84px);
}

.page-hero p {
  max-width: 750px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 21px;
}

.page-hero.dark p {
  color: rgba(255, 255, 255, 0.7);
}

.scope-builder {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
}

.scope-controls {
  display: grid;
  align-content: start;
  gap: 10px;
}

.scope-button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.scope-button.active {
  border-color: var(--teal);
  box-shadow: inset 4px 0 0 var(--teal);
}

.scope-button span:first-child {
  color: var(--coral);
  font-weight: 850;
}

.scope-output {
  min-height: 420px;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.scope-output h3 {
  margin-bottom: 18px;
  font-size: 34px;
}

.scope-output p {
  color: rgba(255, 255, 255, 0.7);
}

.scope-output ul {
  margin: 30px 0 36px;
  padding: 0;
  list-style: none;
}

.scope-output li {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.scope-output li::before {
  margin-right: 10px;
  color: var(--lime);
  content: "+";
  font-weight: 900;
}

.portal-shell {
  overflow: hidden;
  border: 1px solid #c9d4d0;
  border-radius: var(--radius);
  background: #edf2f0;
  box-shadow: var(--shadow);
}

.portal-topbar {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #c9d4d0;
  background: var(--white);
}

.portal-topbar .brand {
  font-size: 15px;
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
}

.portal-brand img {
  width: 112px;
  padding: 7px 9px;
  background: #111111;
}

.portal-user {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 13px;
}

.user-dot {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-weight: 850;
}

.portal-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 480px;
}

.portal-tabs {
  padding: 18px 12px;
  border-right: 1px solid #c9d4d0;
  background: #e6ece9;
}

.portal-tab {
  width: 100%;
  margin-bottom: 5px;
  padding: 12px 13px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  font-weight: 750;
}

.portal-tab.active {
  background: var(--white);
  color: var(--teal-dark);
}

.portal-view {
  padding: 28px;
}

.portal-view h3 {
  margin-bottom: 22px;
  font-size: 24px;
}

.portal-table {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
  border-radius: 4px;
  background: var(--white);
  font-size: 13px;
}

.portal-table th,
.portal-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e1e7e4;
  text-align: left;
  white-space: nowrap;
}

.portal-table th {
  color: var(--ink-soft);
  font-size: 11px;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f3df;
  color: #326625;
  font-size: 11px;
  font-weight: 850;
}

.status.pending {
  background: #fff0d5;
  color: #805912;
}

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

.principle {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.principle span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.principle h3 {
  margin: 44px 0 12px;
  font-size: 24px;
}

.principle p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.facts-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.facts-list {
  margin: 0;
}

.fact-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.fact-row:last-child {
  border-bottom: 1px solid var(--line);
}

.fact-row dt {
  color: var(--ink-soft);
}

.fact-row dd {
  margin: 0;
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 84px;
}

.contact-details {
  display: grid;
  align-content: start;
  gap: 28px;
}

.contact-item {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-item small {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-item strong,
.contact-item a {
  font-size: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #bec9c5;
  border-radius: 3px;
  background: #fbfcfc;
  color: var(--ink);
}

.form-field input,
.form-field select {
  height: 48px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 145px;
  padding: 13px;
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  font-weight: 780;
}

.faq-question span:last-child {
  color: var(--teal);
  font-size: 24px;
  transition: transform 180ms ease;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  max-width: 820px;
  padding: 0 0 25px;
  color: var(--ink-soft);
}

.faq-item.open .faq-answer {
  display: block;
}

.legal-copy {
  max-width: 880px;
}

.legal-copy h2 {
  margin: 48px 0 16px;
  font-size: 29px;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
}

.site-footer {
  padding: 70px 0 30px;
  background: #101c21;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.6fr);
  gap: 50px;
  padding-bottom: 54px;
}

.footer-about p {
  max-width: 360px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .brand.logo-link {
  min-width: 0;
  width: 190px;
  align-self: auto;
  justify-content: flex-start;
  padding: 0;
  background: transparent;
}

.site-footer .brand-logo {
  width: 184px;
  max-height: none;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 11px 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-column a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100% - 44px));
  padding: 17px 20px;
  border-left: 4px solid var(--lime);
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .main-nav,
  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .main-nav {
    position: fixed;
    z-index: 49;
    inset: 78px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 30px;
    background: var(--white);
    color: var(--ink);
  }

  .menu-open .nav-link {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
  }

  .menu-open .nav-link::after {
    display: none;
  }

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

  .category-strip-inner,
  .hp-section-title,
  .hp-promo,
  .hp-portal-layout {
    grid-template-columns: 1fr;
  }

  .category-strip-inner {
    gap: 0;
    padding-top: 28px;
  }

  .category-strip h2 {
    padding-bottom: 24px;
  }

  .category-links {
    width: 100%;
  }

  .hp-section-title {
    display: grid;
    align-items: start;
    gap: 18px;
  }

  .hp-card-grid {
    grid-template-columns: 1fr;
  }

  .hp-card {
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-rows: 1fr;
  }

  .hp-card img {
    height: 100%;
    min-height: 320px;
  }

  .hp-promo.reverse .hp-promo-media {
    order: 0;
  }

  .hp-promo-media img {
    min-height: 480px;
  }

  .hp-promo-copy {
    min-height: 480px;
  }

  .hp-portal-layout {
    gap: 34px;
  }

  .proof-item:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .section-head,
  .split,
  .workflow-grid,
  .scope-builder,
  .facts-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .split-media img {
    min-height: 420px;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 0.7fr);
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header,
  .nav-shell {
    height: 66px;
  }

  .brand.logo-link {
    min-width: 128px;
    padding: 13px 12px;
  }

  .brand-logo {
    width: 108px;
    max-height: 40px;
  }

  .language-control,
  .language-control select {
    height: 40px;
  }

  .language-control select {
    padding: 0 24px 0 10px;
  }

  .menu-open .main-nav {
    inset: 66px 0 0;
  }

  .hero {
    height: calc(100svh - 66px);
    min-height: 520px;
    background-position: 48% center;
  }

  .category-links {
    grid-template-columns: 1fr 1fr;
  }

  .category-links a:nth-child(3),
  .category-links a:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .hp-card {
    grid-template-columns: 1fr;
  }

  .hp-card img {
    height: 270px;
    min-height: 270px;
  }

  .hp-card > div {
    min-height: 250px;
    padding: 26px;
  }

  .hp-promo-media img {
    min-height: 360px;
  }

  .hp-promo-copy {
    min-height: 0;
    padding: 58px 24px;
  }

  .hp-promo-copy h2,
  .hp-portal-layout h2 {
    font-size: 38px;
  }

  .hp-portal-band {
    padding: 68px 0;
  }

  .hero::before {
    background: rgba(7, 19, 24, 0.58);
  }

  .hero-content {
    padding: 116px 0 54px;
  }

  h1,
  .page-hero h1 {
    font-size: 46px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 17px;
  }

  .hero-marker {
    display: none;
  }

  .proof-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:nth-child(3) {
    min-height: auto;
    border-left: 1px solid var(--line);
  }

  .section,
  .page-hero {
    padding: 72px 0;
  }

  .section-head {
    gap: 24px;
    margin-bottom: 36px;
  }

  .section-head h2,
  .split-copy h2,
  .cta-band h2,
  .workflow-intro h2 {
    font-size: 38px;
  }

  .service-block {
    min-height: 270px;
    padding: 28px;
  }

  .service-block h3 {
    margin-top: 46px;
  }

  .split-media img {
    min-height: 330px;
  }

  .workflow-grid {
    gap: 34px;
  }

  .step {
    grid-template-columns: 45px 1fr;
  }

  .cta-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .scope-output {
    min-height: 0;
    padding: 28px;
  }

  .portal-body {
    grid-template-columns: 1fr;
  }

  .portal-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #c9d4d0;
  }

  .portal-tab {
    width: auto;
    flex: 0 0 auto;
  }

  .portal-view {
    overflow-x: auto;
    padding: 20px;
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .form-field.full,
  .form-note {
    grid-column: auto;
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

[dir="rtl"] body {
  text-align: right;
}

[dir="rtl"] .main-nav,
[dir="rtl"] .header-actions,
[dir="rtl"] .hero-actions,
[dir="rtl"] .cta-actions,
[dir="rtl"] .portal-user {
  flex-direction: row-reverse;
}

[dir="rtl"] .eyebrow::before {
  order: 2;
}

[dir="rtl"] .category-links a {
  border-right: 1px solid var(--line);
  border-left: 0;
}

[dir="rtl"] .category-links a:last-child {
  border-left: 1px solid var(--line);
}

[dir="rtl"] .text-link,
[dir="rtl"] .button {
  flex-direction: row-reverse;
}

[dir="rtl"] .portal-tabs {
  border-right: 0;
  border-left: 1px solid #c9d4d0;
}

[dir="rtl"] .portal-tab,
[dir="rtl"] .portal-table th,
[dir="rtl"] .portal-table td,
[dir="rtl"] .scope-button,
[dir="rtl"] .faq-question {
  text-align: right;
}

@media (max-width: 430px) {
  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

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