:root {
  color-scheme: light;
  --bg: #f4f8fc;
  --ink: #071a38;
  --muted: #51627b;
  --line: #d8e1ee;
  --panel: #ffffff;
  --blue: #1167e8;
  --blue-dark: #082a5b;
  --green: #15803d;
  --amber: #f59e0b;
  --red: #dc2626;
  --shadow: 0 24px 70px rgba(7, 26, 56, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f9fcff 0, #eef5fd 420px, var(--bg) 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

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

.public-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(216, 225, 238, .9);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue-dark);
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
}

.brand-lockup span:last-child span {
  color: var(--blue);
}

.cloud-mark {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 28px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #1888ff, #075edc);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(17, 103, 232, .2);
}

.cloud-mark::before,
.cloud-mark::after {
  position: absolute;
  content: "";
  background: inherit;
  border-radius: 999px;
}

.cloud-mark::before {
  width: 20px;
  height: 20px;
  left: 7px;
  top: -8px;
}

.cloud-mark::after {
  width: 24px;
  height: 24px;
  right: 5px;
  top: -11px;
}

.public-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.public-nav nav a {
  min-height: 38px;
  padding: 9px 12px;
  color: #344054;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
}

.public-nav nav a:hover {
  background: #edf4ff;
  color: var(--blue);
}

.public-nav .nav-cta {
  background: var(--blue);
  color: #fff;
}

.public-nav .nav-cta:hover {
  background: var(--blue-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 20px;
  cursor: pointer;
}

.public-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(42px, 7vw, 86px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 6px 11px;
  color: #7a4a00;
  background: #fff4cf;
  border: 1px solid #ffd36a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.page-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.28;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 30px rgba(17, 103, 232, .2);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--blue-dark);
  color: #fff;
}

.button.secondary {
  background: #344054;
  box-shadow: none;
}

.button.light {
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.disabled,
.button[aria-disabled="true"] {
  background: #d7deea;
  color: #667085;
  box-shadow: none;
  cursor: not-allowed;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.proof-card {
  padding: 14px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
}

.proof-card span {
  color: var(--muted);
  font-size: 13px;
}

.showcase {
  position: relative;
  min-height: 560px;
}

.screen-frame {
  position: relative;
  overflow: hidden;
  border: 12px solid #101828;
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}

.screen-frame.main {
  aspect-ratio: 9 / 16;
  width: min(390px, 76vw);
  margin-left: auto;
}

.screen-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(7, 26, 56, .86);
  border-radius: 7px;
  font-weight: 800;
}

.floating-panel {
  position: absolute;
  left: 0;
  bottom: 34px;
  width: min(360px, 82%);
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.status-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: 48px 0;
}

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

.section-title h2,
.page-title h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.section-title p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.feature-card,
.guide-card,
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(7, 26, 56, .07);
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 18px;
}

.feature-card:nth-child(2n) .feature-icon {
  background: var(--green);
}

.feature-card:nth-child(3n) .feature-icon {
  background: var(--amber);
}

.feature-card h3,
.guide-card h3 {
  margin: 0 0 9px;
  font-size: 21px;
}

.feature-card p,
.guide-card p,
.muted {
  color: var(--muted);
  line-height: 1.45;
}

.need-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: 18px;
  align-items: stretch;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(8, 42, 91, .98), rgba(17, 103, 232, .92) 56%, rgba(21, 128, 61, .88)),
    var(--blue-dark);
  border-radius: 8px;
  color: #fff;
  box-shadow: var(--shadow);
}

.need-band .muted {
  color: rgba(255, 255, 255, .82);
}

.need-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.need-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  font-weight: 800;
}

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

.guide-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.guide-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #e8f2ff;
  color: var(--blue-dark);
  border-radius: 8px;
  font-size: 26px;
  font-weight: 900;
}

.placeholder-shot {
  min-height: 180px;
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #edf4ff);
  border: 1px dashed #aab8ce;
  border-radius: 8px;
  color: #475467;
}

.placeholder-shot strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 26px;
  align-items: start;
  padding: 46px 0;
}

.form-card {
  padding: 24px;
}

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

.form-grid p,
.form-card p {
  margin: 0;
}

.form-wide {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea,
button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(17, 103, 232, .74);
  box-shadow: 0 0 0 4px rgba(17, 103, 232, .12);
  outline: 0;
}

.alert {
  margin-bottom: 16px;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.alert-error {
  border-color: #fecaca;
  background: #fff1f2;
}

.alert-success {
  border-color: #bbf7d0;
  background: #ecfdf3;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.guide-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
  max-width: 900px;
}

.guide-mode-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-height: 118px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(17, 103, 232, .18);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(7, 26, 56, .08);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.guide-mode-card::after {
  position: absolute;
  right: 18px;
  top: 18px;
  content: "\f061";
  color: rgba(17, 103, 232, .55);
  font-family: "Font Awesome 6 Free";
  font-size: 15px;
  font-weight: 900;
}

.guide-mode-card:hover {
  border-color: rgba(17, 103, 232, .46);
  box-shadow: 0 24px 58px rgba(7, 26, 56, .13);
  transform: translateY(-2px);
}

.guide-mode-card strong,
.guide-mode-card small {
  display: block;
}

.guide-mode-card strong {
  margin-bottom: 5px;
  padding-right: 22px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.1;
}

.guide-mode-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.guide-mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #e8f2ff, #dbeafe);
  border-radius: 14px;
  color: var(--blue-dark);
  font-size: 25px;
}

.guide-mode-card-dark {
  background: linear-gradient(135deg, #0b2d64, #1167e8);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
}

.guide-mode-card-dark::after {
  color: rgba(255, 255, 255, .78);
}

.guide-mode-card-dark strong,
.guide-mode-card-dark small {
  color: #fff;
}

.guide-mode-card-dark small {
  color: rgba(255, 255, 255, .82);
}

.guide-mode-card-dark .guide-mode-icon {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.guide-module-section {
  scroll-margin-top: 90px;
}

.guide-section-title {
  align-items: end;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cloudmonitor-guide {
  display: grid;
  gap: 24px;
}

.cloudmonitor-hero {
  margin-bottom: 0;
}

.cloudmonitor-intro-grid,
.cloudmonitor-two-col,
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cloudmonitor-two-col,
.shortcut-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
  line-height: 1.42;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: .1em;
  content: "\f00c";
  color: var(--green);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.cloudmonitor-install {
  display: grid;
  gap: 18px;
}

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

.install-steps div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.install-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #e8f2ff;
  color: var(--blue-dark);
  border-radius: 8px;
  font-weight: 900;
}

.install-steps strong {
  font-size: 14px;
  line-height: 1.25;
}

.code-example {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.code-example span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.code-example code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
}

.shortcut-card,
.tips-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(7, 26, 56, .07);
}

.shortcut-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 7px 11px;
  background: #082a5b;
  color: #fff;
  border-radius: 7px;
  font-family: Consolas, Monaco, monospace;
  font-weight: 900;
}

.shortcut-card h2,
.tips-card h2 {
  margin: 0 0 10px;
}

.shortcut-card p,
.tips-card p {
  color: var(--muted);
  line-height: 1.45;
}

.shortcut-card ul,
.tips-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.42;
}

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

.remote-actions-grid div {
  min-height: 142px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.remote-actions-grid i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  background: #e8f2ff;
  border-radius: 10px;
  color: var(--blue-dark);
  font-size: 17px;
}

.remote-actions-grid div:nth-child(2) i {
  background: #f1f5f9;
  color: #475467;
}

.remote-actions-grid div:nth-child(4) i,
.remote-actions-grid div:nth-child(5) i {
  background: #fff1f2;
  color: #b42318;
}

.remote-actions-grid div:nth-child(6) i {
  background: #ecfdf3;
  color: #087443;
}

.remote-actions-grid strong,
.remote-actions-grid span {
  display: block;
}

.remote-actions-grid strong {
  margin-bottom: 4px;
  color: var(--blue-dark);
}

.remote-actions-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.notice-card,
.closing-note {
  margin-top: 16px;
  padding: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #7c2d12;
}

.notice-card strong,
.closing-note strong {
  display: block;
  margin-bottom: 6px;
  color: #9a3412;
}

.notice-card p,
.closing-note p {
  margin: 0;
  line-height: 1.45;
}

.tips-card {
  background: linear-gradient(135deg, #ffffff, #edf4ff);
}

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

.faq-grid details {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.faq-grid summary {
  padding: 13px 14px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-grid p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.45;
}

.closing-note {
  margin-top: 0;
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #14532d;
}

.closing-note strong {
  color: #166534;
}

.public-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 0;
  padding: 24px 0 30px;
  color: #667085;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.public-footer a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .public-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-nav.has-toggle {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .public-nav.has-toggle .nav-toggle {
    display: inline-flex;
  }

  .public-nav.has-toggle nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .public-nav.has-toggle nav.is-open {
    display: flex;
  }

  .public-nav.has-toggle nav a,
  .public-nav.has-toggle nav .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero,
  .need-band,
  .form-layout,
  .guide-mode-grid,
  .guide-grid,
  .cloudmonitor-intro-grid,
  .cloudmonitor-two-col,
  .shortcut-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .install-steps,
  .remote-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase {
    min-height: auto;
  }

  .screen-frame.main {
    margin: 0 auto;
  }

  .floating-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

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

@media (max-width: 620px) {
  .hero-proof,
  .form-grid,
  .guide-card,
  .install-steps,
  .remote-actions-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .guide-mode-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}
