:root {
  color-scheme: light;
  --ink: #152034;
  --muted: #5d6b81;
  --line: rgba(31, 52, 81, 0.16);
  --paper: #f7fafc;
  --white: #ffffff;
  --blue: #2f7dd1;
  --deep-blue: #174f8f;
  --green: #187a68;
  --gold: #a66f12;
  --shadow: 0 22px 60px rgba(26, 43, 68, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(247, 250, 252, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 24px rgba(31, 88, 142, 0.25);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span,
.nav a,
.topbar-cta {
  font-size: 0.9rem;
}

.brand-copy span {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: #314258;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.topbar-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.topbar-cta,
.primary-action {
  border: 1px solid #0d5ca8;
  background: linear-gradient(#3d91e4, #1c68bd);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 12px 26px rgba(28, 104, 189, 0.28);
  color: #fff;
}

.secondary-action {
  border: 1px solid rgba(18, 41, 70, 0.22);
  background: rgba(255, 255, 255, 0.68);
  color: #1d334f;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.74fr);
  gap: 5vw;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 54px 5vw 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.95), transparent 30%),
    radial-gradient(circle at 72% 18%, rgba(170, 218, 255, 0.72), transparent 24%),
    linear-gradient(180deg, #c6e3f8 0%, #f9fbff 56%, #eef4f8 100%);
}

.sky-layer {
  position: absolute;
  inset: 0;
  opacity: 0.78;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 72%, rgba(255, 255, 255, 0.92) 0 9%, transparent 22%),
    radial-gradient(ellipse at 42% 84%, rgba(255, 255, 255, 0.9) 0 12%, transparent 28%),
    radial-gradient(ellipse at 86% 75%, rgba(255, 255, 255, 0.84) 0 10%, transparent 25%);
}

.hero-content,
.home-screen {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 3.2rem;
  line-height: 1.04;
}

h2 {
  margin-bottom: 14px;
  font-size: 2rem;
  line-height: 1.14;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 28px;
  color: #314258;
  font-size: 1.12rem;
}

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

.home-screen {
  justify-self: center;
  width: min(100%, 510px);
  padding: 20px 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(28, 74, 128, 0.22), rgba(255, 255, 255, 0.18)),
    rgba(18, 58, 101, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-strip {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(20, 40, 68, 0.5);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 20px 18px;
}

.app-icon-button {
  display: grid;
  grid-template-rows: 76px auto;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(21, 32, 52, 0.62);
  cursor: pointer;
}

.app-icon-button img {
  width: 76px;
  height: 76px;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 22px rgba(16, 36, 64, 0.36);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-icon-button span {
  width: 100%;
  overflow: hidden;
  font-size: 0.86rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-icon-button:hover img,
.app-icon-button:focus-visible img,
.app-icon-button.is-active img {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 18px 28px rgba(16, 36, 64, 0.42);
}

.app-icon-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 6px;
  border-radius: 8px;
}

.selected-app-band,
.local-band,
.business-band,
.industry-band,
.portfolio-band,
.estimate-band {
  scroll-margin-top: 86px;
  padding: 72px 5vw;
}

.selected-app-band {
  background: linear-gradient(180deg, #f9fbff, #edf3f8);
}

.local-band {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  gap: 48px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(230, 242, 247, 0.92)),
    #eef7f8;
}

.local-copy {
  max-width: 740px;
}

.local-copy p {
  color: #36475e;
  font-size: 1.05rem;
}

.local-points {
  display: grid;
  gap: 12px;
}

.local-points div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 28px rgba(28, 45, 68, 0.08);
}

.local-points strong,
.local-points span {
  display: block;
}

.local-points strong {
  margin-bottom: 5px;
  color: var(--ink);
}

.local-points span {
  color: var(--muted);
}

.selected-app {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
  gap: 52px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.device-frame {
  width: min(100%, 330px);
  justify-self: center;
  padding: 12px;
  border: 1px solid rgba(14, 32, 54, 0.2);
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 28px 58px rgba(18, 31, 52, 0.28);
}

.device-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
}

.device-frame.is-wide {
  width: min(100%, 560px);
}

.device-frame.is-wide img {
  aspect-ratio: 16 / 10;
}

.selected-copy {
  max-width: 650px;
}

.selected-copy p {
  color: #36475e;
  font-size: 1.05rem;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 22px;
}

.proof-list span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #283b52;
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link {
  color: var(--deep-blue);
  font-weight: 800;
  text-decoration: none;
}

.business-band {
  background: #fff;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
}

.capability-grid,
.industry-grid,
.portfolio-list {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  gap: 16px;
}

.capability-grid,
.industry-grid {
  grid-template-columns: repeat(3, 1fr);
}

.capability-grid article,
.industry-grid article,
.portfolio-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(28, 45, 68, 0.08);
}

.capability-grid article,
.industry-grid article {
  padding: 24px;
}

.capability-grid p,
.industry-grid p,
.portfolio-list p,
.estimate-band p {
  color: var(--muted);
}

.industry-band {
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.92), transparent 22%),
    linear-gradient(180deg, #f8fbfd, #eef6f2);
}

.secondary-highlight {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 22px;
  border: 1px solid rgba(24, 122, 104, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(24, 80, 78, 0.1);
}

.secondary-highlight img {
  width: 76px;
  height: 76px;
  border-radius: 22%;
  object-fit: cover;
}

.secondary-highlight h3 {
  margin-bottom: 6px;
}

.secondary-highlight p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.portfolio-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 250, 0.94)),
    #f0f7fa;
}

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

.portfolio-list article {
  padding: 18px;
}

.portfolio-list img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 22%;
  object-fit: cover;
}

.estimate-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 203, 113, 0.24), transparent 28%),
    linear-gradient(135deg, #173a62, #1c6a8d 54%, #1d7768);
  color: #fff;
}

.estimate-band > div {
  max-width: 720px;
}

.estimate-band .eyebrow,
.estimate-band p {
  color: rgba(255, 255, 255, 0.82);
}

.estimate-band .primary-action {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(7, 24, 40, 0.22);
  color: #173a62;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 5vw;
  background: #10243a;
  color: rgba(255, 255, 255, 0.78);
}

.footer a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .hero-shell,
  .local-band,
  .selected-app {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding-top: 44px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-copy,
  h1 {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .selected-copy {
    margin: 0 auto;
    text-align: center;
  }

  .proof-list {
    justify-content: center;
  }

  .capability-grid,
  .industry-grid,
  .portfolio-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .estimate-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: static;
    gap: 14px;
  }

  .brand {
    width: 100%;
  }

  .topbar-cta {
    width: 100%;
  }

  .nav {
    gap: 16px;
  }

  .hero-shell {
    min-height: auto;
    padding: 36px 18px 56px;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .home-screen {
    padding: 16px 14px 18px;
  }

  .app-grid {
    grid-template-columns: repeat(3, minmax(68px, 1fr));
    gap: 18px 12px;
  }

  .app-icon-button {
    grid-template-rows: 66px auto;
  }

  .app-icon-button img {
    width: 66px;
    height: 66px;
  }

  .secondary-highlight {
    grid-template-columns: 1fr;
  }

  .selected-app-band,
  .local-band,
  .business-band,
  .industry-band,
  .portfolio-band,
  .estimate-band {
    padding: 54px 18px;
  }

  .selected-app {
    gap: 34px;
  }

  .capability-grid,
  .industry-grid,
  .portfolio-list {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
