
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(32, 32, 37, 0.96);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.azure-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00a4ef 0%, #0078d4 55%, #005a9e 100%);
  box-shadow: 0 10px 24px rgba(0,120,212,.35);
}

.azure-mark::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 18px;
  height: 24px;
  background: #fff;
  clip-path: polygon(46% 0, 100% 100%, 68% 100%, 54% 72%, 31% 100%, 0 100%);
  opacity: .95;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text small {
  color: rgba(255,255,255,.72);
  font-size: .78rem;
}

.partner-plus {
  color: rgba(255,255,255,.48);
  font-weight: 800;
}

.w4-logo {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 9px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
}

.w4-logo span {
  color: #7cc8ff;
  font-weight: 700;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.82);
  font-size: .93rem;
  font-weight: 600;
}

.main-menu a:hover {
  color: #fff;
}

.menu-button {
  padding: 9px 13px;
  border-radius: 4px;
  color: #fff !important;
  background: var(--primary);
}

.hero-note {
  max-width: 660px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.76);
}

.tool-explanation,
.about-w4,
.about-person {
  padding: 64px 0;
  background: #fff;
}

.tool-explanation {
  border-top: 1px solid #e8edf4;
}

.explanation-grid,
.about-grid,
.person-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.tool-explanation .eyebrow,
.about-w4 .eyebrow,
.about-person .eyebrow {
  color: var(--primary-dark);
}

.tool-explanation p,
.about-w4 p,
.about-person p {
  color: var(--muted);
  font-size: 1.02rem;
}

.mini-steps {
  display: grid;
  gap: 14px;
}

.mini-steps article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid #d9e6f2;
  border-radius: 14px;
  background: #f7fbff;
}

.mini-steps strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
}

.about-w4 {
  background: #f3f7fb;
}

.team-image {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(16,36,62,.15);
}

.person-card {
  grid-template-columns: 170px 1fr;
  padding: 28px;
  border: 1px solid #dbe5ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(16,36,62,.08);
}

.person-photo {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #0078d4, #10243e);
  font-size: 2.4rem;
  font-weight: 900;
}

.person-note {
  font-size: .92rem !important;
}

.person-note code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #eef3f8;
}

:root {
  --bg: #f3f3f3;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #4f4f4f;
  --line: #d8d8d8;
  --primary: #0078d4;
  --primary-dark: #005a9e;
  --dark: #2c2c31;
  --dark-2: #202025;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-content,
.cta-box,
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero {
  min-height: 160px;
  padding: 28px 0 26px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgba(255,255,255,0.08), transparent 13rem),
    linear-gradient(180deg, var(--dark), var(--dark-2));
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(210px, 0.5fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 6px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.hero-copy {
  max-width: 680px;
  color: rgba(255,255,255,0.9);
  font-size: 1.18rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 700;
}

.button.primary {
  color: white;
  background: var(--primary);
  box-shadow: none;
}

.button.primary:hover { background: var(--primary-dark); }

.calculator-art {
  position: relative;
  min-height: 118px;
}

.calc {
  position: absolute;
  right: 64px;
  top: -2px;
  width: 178px;
  padding: 9px 10px 12px;
  border-radius: 8px 8px 18px 18px;
  background: #d8d8d8;
  box-shadow: inset 0 -10px 0 rgba(0,0,0,0.12);
  transform: rotate(1deg);
}

.calc-screen {
  padding: 6px 9px;
  border: 6px solid #b7b7b7;
  border-radius: 5px;
  background: #69c85a;
  color: #102910;
  font: 700 1.55rem/1 "Consolas", monospace;
  text-align: right;
  letter-spacing: 0.05em;
}

.calc-keys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 9px;
}

.calc-keys span,
.calc-keys i {
  height: 16px;
  border-radius: 4px;
  background: #171719;
}

.calc-keys span {
  display: grid;
  place-items: center;
  color: #f7c04a;
  background: #55575d;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
}

.calc-keys span:last-of-type {
  color: #fff;
  background: var(--primary);
}

.gear {
  position: absolute;
  border: 16px dashed #62656d;
  border-radius: 999px;
  opacity: 0.75;
}

.gear::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  background: var(--dark);
}

.gear-one {
  right: 238px;
  top: 5px;
  width: 42px;
  height: 42px;
}

.gear-two {
  right: 24px;
  top: 38px;
  width: 50px;
  height: 50px;
}

.login-bar {
  padding: 22px 0;
  background: #eee;
}

.notice {
  padding: 18px 28px;
  border: 1px solid #b7dced;
  border-radius: 5px;
  background: #d7effa;
  box-shadow: 0 5px 15px rgba(0,0,0,0.16);
  color: #333;
  text-align: center;
  font-size: 1.1rem;
}

.app-highlight {
  padding: 52px 0 62px;
  background: #fff;
}

.highlight-heading {
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}

.highlight-heading .eyebrow {
  color: var(--primary-dark);
}

.highlight-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.highlight-heading p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.app-frame {
  overflow: hidden;
  border: 1px solid #d5dce6;
  border-radius: 18px;
  background: #f5f7fb;
  box-shadow: 0 20px 48px rgba(16, 36, 62, 0.18);
}

.frame-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid #d5dce6;
  background: #ffffff;
}

.frame-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d8dce3;
}

.frame-toolbar span:first-child { background: #ff5f57; }
.frame-toolbar span:nth-child(2) { background: #ffbd2e; }
.frame-toolbar span:nth-child(3) { background: #28c840; }

.frame-toolbar strong {
  margin-left: 8px;
  color: #24364f;
  font-size: 0.9rem;
}

.app-frame iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
  background: #eef2f8;
}

.frame-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-top: 1px solid #d5dce6;
  background: #fff;
}

.frame-fallback p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 0 0 58px;
}

.section-heading {
  margin-bottom: 28px;
}

.tabs {
  display: flex;
  align-items: flex-end;
}

.tab {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  background: #ededed;
  color: #111;
  font-size: 0.9rem;
}

.tab.active {
  color: #fff;
  background: var(--primary);
}

.blue-strip {
  padding: 14px 22px;
  color: #fff;
  background: var(--primary);
  font-size: 0.95rem;
}

.search-box {
  margin: 22px;
  padding: 8px 10px;
  border: 1px solid #8f8f8f;
  background: #fff;
  color: #666;
  font-size: 0.9rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  padding: 0 22px;
}

.category-list {
  display: grid;
  align-self: start;
  background: #4c4c50;
}

.category-list span {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.92rem;
}

.category-list .selected {
  background: var(--primary);
}

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

.card {
  min-height: 118px;
  padding: 12px 12px 52px;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  position: relative;
}

.card h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.card p,
.steps,
.footer-content {
  color: var(--muted);
}

.card p {
  font-size: 0.92rem;
  line-height: 1.25;
}

.card a {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  color: var(--primary);
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}

.muted {
  padding: 58px 0;
  background: #fff;
}

.steps {
  display: grid;
  gap: 14px;
  min-width: min(420px, 100%);
  margin: 0;
  padding-left: 22px;
}

.cta-section {
  padding: 48px 0;
}

.cta-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

.site-footer {
  padding: 24px 0;
  color: #fff;
  background: #2c2c31;
}

.site-footer strong {
  color: #fff;
}

@media (max-width: 800px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .footer-content,
  .cta-box,
  .split {
    align-items: flex-start;
    flex-direction: column;
  }

  .container {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    padding-top: 28px;
  }

  .calculator-art {
    display: none;
  }

  .app-frame iframe {
    height: 560px;
  }

  .frame-fallback {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .cards {
    gap: 16px;
  }

  .tabs {
    overflow-x: auto;
  }

  .topbar-inner,
  .main-menu {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-menu {
    gap: 10px;
    padding-bottom: 16px;
  }

  .brand-lockup {
    flex-wrap: wrap;
    padding-top: 14px;
  }

  .explanation-grid,
  .about-grid,
  .person-card {
    grid-template-columns: 1fr;
  }

  .person-photo {
    width: 112px;
    height: 112px;
    font-size: 1.9rem;
  }
}
