/* ==========================================================
   Central Remote Support
   
   ========================================================== */

:root {
  --central-dark: #003f2d;
  --central-green: #006e43;
  --central-green-2: #008c5a;
  --central-bright: #00ce7c;

  --text: #1e2b26;
  --muted: #5b6762;
  --line: #dfe7e3;
  --soft: #f5f9f7;
  --white: #ffffff;

  --warning: #c88700;
  --warning-border: #e7b333;
  --warning-bg: #fff9e9;
  --info-border: #b8ddd0;
  --info-bg: #f3fbf7;
  --action: #1d6f8a;
  --action-border: #a7c9dc;
  --action-bg: #f2f8fb;
  --red: #c9232b;

  --content-width: 1240px;
  --page-gutter: clamp(18px, 3vw, 40px);
  --radius: 8px;
}

/* ---------- Reset / base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--central-green);
}

a:focus-visible {
  outline: 3px solid var(--central-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Shared container ---------- */

.header-inner,
.hero-inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e6ebe8;
  box-shadow: 0 2px 12px rgba(0, 63, 45, 0.05);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(190px, 14vw, 235px);
}

/* ---------- Main page layout ---------- */

main {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(min-content, 1fr) auto;
}

.hero {
  min-height: 0;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 80% 24%, rgba(0, 206, 124, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.hero-inner {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 5vw, 70px);
  padding-block: clamp(26px, 4vh, 54px);
}

.hero-copy,
.hero-art {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--central-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  color: var(--central-dark);
  font-size: clamp(46px, 4.2vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.intro {
  max-width: 700px;
  margin: 14px 0 16px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.45;
}

/* ---------- Information callouts ---------- */

.alert {
  max-width: 700px;
  margin: 9px 0;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid;
  border-radius: var(--radius);
}

.alert > div:last-child {
  min-width: 0;
}

.alert strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.alert p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.alert p + p {
  margin-top: 4px;
}

.alert-warning {
  border-color: var(--warning-border);
  background: var(--warning-bg);
}

.alert-info {
  border-color: var(--info-border);
  background: var(--info-bg);
}

.alert-action {
  border-color: var(--action-border);
  background: var(--action-bg);
}

.alert-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--warning);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.alert-icon.info {
  background: var(--central-green);
  font-family: Georgia, serif;
}

.alert-icon.action {
  background: var(--action);
  font-size: 17px;
}

.red-text {
  color: var(--red);
  font-weight: 800;
}

.do-not-start strong {
  color: var(--central-dark);
}

/* ---------- Remote support action ---------- */

.session {
  margin-top: 12px;
}

.support-button {
  min-width: 310px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--central-green), var(--central-green-2));
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 110, 67, 0.17);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.support-button:hover {
  transform: translateY(-2px);
  background: var(--central-dark);
  box-shadow: 0 11px 24px rgba(0, 110, 67, 0.24);
}

.button-icon {
  font-size: 18px;
}

.direct-link {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.direct-link a {
  font-weight: 700;
}

/* ---------- Hero illustration ---------- */

.hero-art {
  position: relative;
  min-height: clamp(330px, 39vh, 430px);
  display: grid;
  place-items: center;
}

.art-orbit {
  position: absolute;
  border: 2px dashed rgba(0, 110, 67, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: min(370px, 78%);
  aspect-ratio: 1;
}

.orbit-two {
  width: min(290px, 62%);
  aspect-ratio: 1;
  border-color: rgba(0, 206, 124, 0.18);
}

.laptop {
  position: relative;
  z-index: 2;
  width: min(430px, 92%);
  margin-top: 28px;
}

.laptop-screen {
  min-height: 240px;
  padding: 11px;
  background: #0d2820;
  border: 9px solid #143328;
  border-bottom-width: 12px;
  border-radius: 14px 14px 6px 6px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15);
}

.window-bar {
  min-height: 32px;
  padding-inline: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 4px 4px 0 0;
  background: #f6f7f6;
  color: #314039;
  font-size: 11px;
  font-weight: 700;
}

.window-x {
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.support-status {
  min-height: 176px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  text-align: center;
}

.headset {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--central-green), var(--central-bright));
  color: var(--white);
  font-size: 29px;
}

.support-status strong {
  color: var(--central-green);
  font-size: 16px;
}

.support-status p {
  max-width: 230px;
  margin: 5px 0 0;
  color: #58655f;
  font-size: 12px;
  line-height: 1.4;
}

.laptop-base {
  width: 108%;
  height: 13px;
  margin-left: -4%;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(#d8dfdb, #8b9691);
}

.cloud {
  position: absolute;
  z-index: 3;
  top: 48px;
  right: 54px;
  width: 88px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #dce7e1;
  border-radius: 38px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.lock {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--central-green);
  color: var(--white);
}

.shield {
  position: absolute;
  z-index: 4;
  right: 6px;
  bottom: 38px;
  width: 80px;
  height: 92px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 94% 18%, 88% 70%, 50% 100%, 12% 70%, 6% 18%);
  background: linear-gradient(160deg, var(--central-green-2), var(--central-dark));
  color: var(--white);
  font-size: 39px;
  font-weight: 900;
  filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.15));
}

/* ---------- Contact strip ---------- */

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: max(var(--page-gutter), calc((100% - var(--content-width)) / 2));
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.contact-card {
  min-width: 0;
  min-height: 104px;
  padding: 17px 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid #d7e0dc;
}

.contact-card:last-child {
  border-right: 0;
}

.contact-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--central-dark);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.contact-card > div:last-child {
  min-width: 0;
}

.contact-card strong,
.contact-card span,
.contact-card a {
  display: block;
}

.contact-card strong {
  margin-bottom: 3px;
  color: var(--central-dark);
  font-size: 14px;
}

.contact-card span,
.contact-card a {
  color: #46554e;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-card a {
  color: var(--central-green);
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
}

/* ---------- Footer ---------- */

.site-footer {
  min-height: 40px;
  padding: 9px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  background: var(--central-dark);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
}

.footer-lock {
  margin-right: 3px;
}

/* ==========================================================
   Responsive layouts
   ========================================================== */

/* Short desktop screens: compact slightly, but never hide overflow. */
@media (min-width: 981px) and (max-height: 820px) {
  .header-inner {
    min-height: 64px;
  }

  .brand img {
    width: 195px;
  }

  .hero-inner {
    gap: 48px;
    padding-block: 12px;
  }

  h1 {
    font-size: clamp(43px, 3.7vw, 56px);
  }

  .intro {
    margin-block: 9px 10px;
    font-size: 16px;
  }

  .alert {
    margin-block: 6px;
    padding: 8px 12px;
  }

  .session {
    margin-top: 8px;
  }

  .hero-art {
    min-height: 320px;
  }

  .laptop {
    width: min(385px, 90%);
  }

  .laptop-screen {
    min-height: 214px;
  }

  .support-status {
    min-height: 154px;
  }

  .contact-card {
    min-height: 88px;
    padding-block: 12px;
  }

  .site-footer {
    min-height: 34px;
    padding-block: 6px;
  }
}

/* Tablet / narrow desktop */
@media (max-width: 980px) {
  body {
    display: block;
    min-height: 0;
  }

  main {
    display: block;
  }

  .header-inner {
    min-height: auto;
    padding-block: 16px;
  }

  .brand img {
    width: 220px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 40px 32px;
  }

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

  .hero-art {
    min-height: 390px;
  }

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

  .contact-card:nth-child(2) {
    border-right: 0;
  }

  .contact-card:nth-child(-n + 2) {
    border-bottom: 1px solid #d7e0dc;
  }
}

/* Phones */
@media (max-width: 620px) {
  :root {
    --page-gutter: 14px;
  }

  .header-inner {
    padding-block: 14px;
  }

  .brand img {
    width: 200px;
  }

  .hero-inner {
    gap: 8px;
    padding-block: 30px 24px;
  }

  .eyebrow {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 48px);
    line-height: 0.98;
  }

  .intro {
    margin: 14px 0 18px;
    font-size: 17px;
  }

  .alert {
    padding: 12px;
  }

  .alert strong {
    font-size: 14px;
  }

  .alert p {
    font-size: 13px;
  }

  .support-button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    font-size: 17px;
  }

  .direct-link {
    font-size: 12px;
  }

  .hero-art {
    min-height: 320px;
  }

  .laptop {
    width: min(360px, 88%);
    margin-top: 24px;
  }

  .laptop-screen {
    min-height: 205px;
    padding: 9px;
    border-width: 7px;
    border-bottom-width: 10px;
  }

  .window-bar {
    min-height: 29px;
    font-size: 10px;
  }

  .support-status {
    min-height: 150px;
  }

  .headset {
    width: 56px;
    height: 56px;
    font-size: 25px;
  }

  .cloud {
    top: 28px;
    right: 22px;
    width: 72px;
    height: 44px;
  }

  .lock {
    width: 25px;
    height: 25px;
  }

  .shield {
    right: 0;
    bottom: 28px;
    width: 66px;
    height: 76px;
    font-size: 32px;
  }

  .orbit-one {
    width: min(285px, 78%);
  }

  .orbit-two {
    width: min(225px, 62%);
  }

  .contact-strip {
    grid-template-columns: 1fr;
    padding-inline: var(--page-gutter);
  }

  .contact-card,
  .contact-card:nth-child(2) {
    min-height: auto;
    padding: 18px 6px;
    border-right: 0;
    border-bottom: 1px solid #d7e0dc;
  }

  .contact-card:last-child {
    border-bottom: 0;
  }

  .site-footer {
    padding-block: 11px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .support-button {
    transition: none;
  }

  .support-button:hover {
    transform: none;
  }
}
