:root {
  --ink: #14191f;
  --muted: #626b73;
  --line: #d9dee2;
  --paper: #ffffff;
  --soft: #f2f4f5;
  --blue: #145fe1;
  --blue-dark: #0b49b5;
  --green: #12845a;
  --dark: #111518;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  color: var(--ink);
  font-size: 21px;
  font-weight: 750;
  text-decoration: none;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav > a:not(.button),
footer a,
.text-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-header nav > a.active,
.site-header nav > a:hover,
footer a:hover,
.text-link:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.button:hover { background: var(--blue-dark); }
.button.small { min-height: 38px; padding: 7px 13px; font-size: 14px; }
.button.outline { border-color: rgba(255,255,255,.65); color: #fff; background: transparent; }
.button.outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.hero {
  min-height: min(720px, calc(100svh - 120px));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,10,12,.94) 0%, rgba(7,10,12,.82) 38%, rgba(7,10,12,.12) 72%),
    url("/assets/sehcontrol-operations.png") center right / cover no-repeat;
}

.hero-inner {
  min-height: inherit;
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 88px;
}

.hero-copy { width: min(650px, 58%); }
.home .hero .eyebrow { color: #77a8ff; }
.home .site-header { border-color: #262b30; color: #fff; background: var(--dark); }
.home .site-header .brand { color: #fff; }
.home .site-header nav > a:not(.button) { color: #b9c0c6; }
.home .site-header nav > a:not(.button):hover { color: #fff; }
.home .site-header .button { border-color: #fff; color: var(--dark); background: #fff; }
.home .site-header .button:hover { background: #e8eaec; }

.hero-status {
  position: absolute;
  right: 24px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(9,12,14,.72);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 7.2vw, 104px);
  line-height: .92;
}

.lead {
  max-width: 650px;
  max-width: 590px;
  margin: 30px 0 34px;
  color: #d5dade;
  font-size: 20px;
  line-height: 1.55;
}

.account-note {
  margin: 19px 0 0;
  color: #aeb6bc;
  font-size: 13px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #20c987; flex: 0 0 auto; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 24px;
  border-bottom: 1px solid var(--line);
}

.trust-strip p { margin: 0; padding: 0 24px; border-right: 1px solid var(--line); }
.trust-strip p:first-child { padding-left: 0; }
.trust-strip p:last-child { padding-right: 0; border-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: 14px; }
.trust-strip span { margin-top: 2px; color: var(--muted); font-size: 12px; }

.workflow-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(430px, 1.2fr);
  gap: 88px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 108px 24px;
}

.workflow-heading h2, .contact-band h2 { margin: 0; font-size: 42px; line-height: 1.12; }
.workflow-heading > p:last-child { margin: 22px 0 0; color: var(--muted); }
.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-list li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.workflow-list li > span { color: var(--blue); font-size: 12px; font-weight: 750; }
.workflow-list h3 { margin: 0 0 5px; font-size: 18px; }
.workflow-list p { margin: 0; color: var(--muted); font-size: 14px; }

.plans-section {
  padding: 96px max(24px, calc((100vw - 1120px) / 2)) 88px;
  background: var(--soft);
}

.upgrade-heading {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px 64px;
}

.upgrade-heading h1 {
  max-width: 760px;
  margin: 0;
  font-size: 58px;
  line-height: 1.02;
}

.upgrade-heading > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.upgrade-plans { padding-top: 48px; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2 { max-width: 560px; margin: 0; font-size: 42px; line-height: 1.12; }
.section-heading > p { margin: 0; color: var(--muted); }

.plans-grid { border-top: 1px solid #cbd1d5; }

.plan-item {
  min-height: 152px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 80px 80px 135px 145px;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid #cbd1d5;
}

.plan-name { margin: 0; font-size: 20px; font-weight: 750; }
.plan-price { margin: 0; color: var(--ink); font-size: 20px; font-weight: 750; }
.plan-capacity strong, .plan-term strong { display: block; font-size: 22px; }
.plan-capacity span, .plan-term span, .plan-cost > span { color: var(--muted); font-size: 12px; }
.plan-detail, .plans-loading, .contact-unavailable { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.plan-description {
  max-width: 460px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  white-space: pre-line;
}
.whatsapp-button { min-width: 145px; background: var(--green); border-color: var(--green); }
.whatsapp-button:hover { background: #0f6947; }
.download-client[hidden] { display: none; }

.sales-contact {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.sales-contact[hidden] { display: none; }
.sales-contact a { color: var(--green); font-weight: 700; text-decoration: none; }

.contact-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  padding: 88px max(24px, calc((100vw - 1120px) / 2));
  color: #fff;
  background: var(--dark);
}

.contact-band h2 { max-width: 700px; }
.contact-band .eyebrow { color: #77a8ff; }
.contact-actions { display: flex; min-width: 230px; align-items: flex-start; flex-direction: column; gap: 18px; }
.contact-actions .text-link { color: #b9c0c6; }

.content-page {
  max-width: 1000px;
  min-height: calc(100vh - 145px);
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.page-heading {
  max-width: 760px;
  margin-bottom: 64px;
}

.page-heading h1 {
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1.1;
}

.page-heading > p:last-child { color: var(--muted); font-size: 19px; }

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

.help-list article {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr);
  gap: 48px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.help-list h2,
.detail-grid h2,
.support-band h2,
.legal-copy h2 {
  margin: 0;
  font-size: 19px;
}

.help-list p,
.detail-grid p,
.support-band p,
.legal-copy p {
  margin: 0;
  color: var(--muted);
}

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

.detail-grid article {
  min-height: 240px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-grid h2 { margin: 32px 0 10px; }

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 64px;
  padding: 32px;
  background: var(--soft);
  border-left: 4px solid var(--blue);
}

.support-band p { margin-top: 6px; }

.legal-page { max-width: 860px; }
.legal-copy { border-top: 1px solid var(--line); }
.legal-copy h2 { margin-top: 32px; }
.legal-copy p { margin-top: 8px; }

footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .site-header { height: auto; align-items: flex-start; padding-top: 18px; padding-bottom: 18px; }
  .site-header nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .site-header nav > a:not(.button) { display: none; }
  .hero { min-height: calc(100svh - 116px); background-position: 62% center; }
  .hero-inner { align-items: flex-end; padding: 56px 24px 76px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 54px; }
  .lead { max-width: 420px; margin: 22px 0 26px; font-size: 17px; }
  .actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .actions .button { width: 100%; }
  .hero-status { right: auto; bottom: 18px; left: 24px; }
  .trust-strip { grid-template-columns: 1fr 1fr; padding-top: 8px; padding-bottom: 8px; }
  .trust-strip p { min-height: 74px; display: flex; justify-content: center; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); }
  .trust-strip p:first-child { padding-left: 12px; }
  .trust-strip p:nth-child(2) { border-right: 0; }
  .trust-strip p:nth-child(3), .trust-strip p:nth-child(4) { border-bottom: 0; }
  .workflow-section { grid-template-columns: 1fr; gap: 42px; padding-top: 76px; padding-bottom: 76px; }
  .workflow-heading h2, .contact-band h2 { font-size: 34px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .section-heading h2 { font-size: 32px; }
  .plans-section { padding-top: 76px; }
  .upgrade-heading { padding-top: 64px; padding-bottom: 48px; }
  .upgrade-heading h1 { font-size: 42px; }
  .upgrade-plans { padding-top: 36px; }
  .plan-item { grid-template-columns: 1fr 1fr; gap: 18px; }
  .plan-main, .plan-cost, .plan-item .whatsapp-button, .plan-item .contact-unavailable { grid-column: 1 / -1; }
  .plan-capacity, .plan-term { padding-top: 10px; border-top: 1px solid #d4d9dc; }
  .whatsapp-button { width: 100%; }
  .sales-contact { flex-direction: column; gap: 6px; }
  .contact-band { align-items: flex-start; flex-direction: column; gap: 36px; padding-top: 72px; padding-bottom: 72px; }
  .page-heading h1 { font-size: 38px; }
  .help-list article, .detail-grid { grid-template-columns: 1fr; }
  .help-list article { gap: 12px; }
  .support-band { align-items: flex-start; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
  footer nav { gap: 16px; flex-wrap: wrap; }
}
