:root {
  --blue-900: #07083f;
  --blue-700: #124c81;
  --blue-200: #cfe9f3;
  --blue-100: #e9f7fb;
  --coral: #f36f5f;
  --coral-dark: #d85245;
  --cream: #fff7ec;
  --gold: #f4c965;
  --mint: #b9ded2;
  --ink: #171a2e;
  --muted: #667085;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 8, 63, 0.18);
  --radius-lg: 40px;
  --radius-md: 24px;
  --section-pad: clamp(72px, 9vw, 138px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

body.drawer-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px clamp(18px, 3vw, 42px);
  pointer-events: none;
}

.brand,
.nav-shell {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-900);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: clamp(62px, 8vw, 116px);
  height: clamp(62px, 8vw, 116px);
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-900);
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1;
  box-shadow: var(--shadow);
}

.brand-name {
  display: none;
}

.nav-shell {
  display: flex;
  gap: 10px;
  align-items: stretch;
  height: 52px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 15px;
  background: var(--white);
  color: var(--blue-900);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(7, 8, 63, 0.14);
  font-weight: 800;
}

.desktop-nav a {
  padding: 15px 13px;
  border-radius: 999px;
}

.desktop-nav a:hover {
  background: var(--blue-100);
}

.login-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 14px 0 rgba(7, 8, 63, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.login-button,
.button.primary {
  background: var(--coral);
  color: var(--white);
}

.button.secondary {
  background: var(--blue-900);
  color: var(--white);
}

.login-button:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 0 rgba(7, 8, 63, 0.1);
}

.menu-button {
  position: relative;
  width: 72px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-100);
  box-shadow: 0 12px 28px rgba(7, 8, 63, 0.14);
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  right: 21px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button span:nth-child(1) {
  top: 16px;
  width: 20px;
}

.menu-button span:nth-child(2) {
  top: 25px;
  width: 30px;
}

.menu-button span:nth-child(3) {
  top: 34px;
  width: 14px;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  width: 28px;
  transform: translateY(9px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  width: 28px;
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: min(100vw, 560px);
  padding: 148px 42px 42px;
  background: var(--blue-900);
  color: var(--blue-100);
  transform: translateX(112%);
  transition: transform 260ms ease;
  box-shadow: -32px 0 70px rgba(0, 0, 0, 0.24);
}

.mobile-drawer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -34px;
  width: 35px;
  height: 100%;
  background: var(--blue-900);
  border-radius: 60% 0 0 60%;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer nav {
  display: grid;
  gap: 22px;
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 900;
  text-align: right;
}

.theme-blue {
  background: var(--blue-900);
  color: var(--blue-100);
}

.theme-white {
  background: var(--white);
  color: var(--ink);
}

.theme-sky {
  background: var(--blue-200);
  color: var(--blue-900);
}

.theme-warm {
  background: var(--cream);
  color: var(--ink);
}

.theme-bright {
  background: #44c6ee;
  color: var(--blue-900);
}

.hero,
.section,
.footer {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 760px;
  padding: clamp(128px, 14vw, 188px) 0 var(--section-pad);
}

.section {
  padding: var(--section-pad) 0;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 52px;
  transform: translateY(-100%);
  background: currentColor;
  color: inherit;
  opacity: 0.12;
  clip-path: ellipse(58% 100% at 50% 100%);
}

.theme-white .wave,
.theme-warm .wave {
  opacity: 0.08;
}

.squiggle {
  position: absolute;
  border: 90px solid rgba(68, 198, 238, 0.5);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-22deg);
  pointer-events: none;
}

.squiggle.one {
  width: 720px;
  height: 460px;
  top: -110px;
  right: -180px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 94px);
}

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

.eyebrow {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 900;
  color: var(--gold);
}

.eyebrow.coral,
.coral {
  color: var(--coral-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-copy,
.split > *,
.impact-grid > *,
.tech-grid > *,
.works-grid > *,
.form-heading,
.resources-heading > * {
  min-width: 0;
  max-width: 100%;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(76px, 11vw, 150px);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 950;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 950;
}

h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 900;
}

.lead {
  margin-bottom: 34px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

.lead.small {
  max-width: 560px;
  font-size: 20px;
}

.hero-media {
  position: relative;
}

.hero-media::before,
.hero-media::after,
.works-media::before,
.works-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-lg);
}

.hero-media::before {
  background: var(--coral);
  transform: rotate(-7deg) translate(-18px, 16px);
}

.hero-media::after {
  background: var(--gold);
  transform: rotate(9deg) translate(20px, -12px);
}

.hero-media img,
.works-media img,
.image-band img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-media img {
  aspect-ratio: 0.72;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.intro-copy {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.8;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.service-grid article,
.metrics article,
.resource-card {
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 42px rgba(7, 8, 63, 0.1);
}

.service-grid article {
  padding: 30px;
}

.service-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--blue-100);
  font-weight: 900;
}

.service-grid p,
.steps p,
.resource-card p {
  color: var(--muted);
  line-height: 1.7;
}

.impact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 0.86fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
}

.metrics {
  display: grid;
  gap: 18px;
}

.metrics article {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
}

.metrics strong {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  color: var(--coral-dark);
}

.image-band {
  margin-top: 56px;
}

.image-band img {
  max-height: 520px;
}

.tech-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 0.92fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.phone-stack {
  position: relative;
  min-height: 530px;
}

.phone-card {
  position: absolute;
  inset: 0 auto auto 8%;
  width: min(330px, 82%);
  min-height: 500px;
  padding: 42px 26px;
  border: 12px solid #101455;
  border-radius: 44px;
  background: #f8fdff;
  color: var(--blue-900);
  box-shadow: var(--shadow);
}

.phone-bar {
  width: 84px;
  height: 8px;
  margin: 0 auto 34px;
  border-radius: 999px;
  background: #d6e4ee;
}

.phone-card h3 {
  margin-bottom: 24px;
}

.phone-card ul {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.phone-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--blue-100);
  font-weight: 800;
}

.phone-card li span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

.report-card {
  position: absolute;
  right: 4%;
  bottom: 58px;
  width: min(310px, 70%);
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--gold);
  color: var(--blue-900);
  box-shadow: var(--shadow);
}

.report-card strong {
  font-size: 26px;
}

.report-card p {
  margin: 10px 0 0;
  line-height: 1.55;
}

.tech-copy p {
  font-size: 21px;
  line-height: 1.75;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.check-list span {
  padding: 16px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  font-weight: 800;
}

.works-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.7fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.steps {
  display: grid;
  gap: 26px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 82px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 28px;
  font-weight: 950;
}

.works-media {
  position: relative;
}

.works-media::before {
  background: var(--mint);
  transform: rotate(8deg) translate(18px, -16px);
}

.works-media::after {
  background: var(--coral);
  transform: rotate(-7deg) translate(-20px, 20px);
}

.works-media img {
  aspect-ratio: 0.72;
}

.report-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 76px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--mint);
  color: var(--blue-900);
}

.report-cta h3 {
  max-width: 760px;
  margin-bottom: 0;
}

.form-heading {
  max-width: 940px;
  text-align: center;
}

.form-heading p {
  max-width: 720px;
  margin: 0 auto 44px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.75;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background: var(--blue-100);
}

label {
  display: grid;
  gap: 9px;
  font-weight: 900;
  color: var(--blue-900);
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  outline: 3px solid transparent;
}

input:focus,
select:focus,
textarea:focus {
  outline-color: rgba(243, 111, 95, 0.35);
}

.full {
  grid-column: 1 / -1;
}

.full-button {
  justify-self: start;
}

.resources-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.resources-heading h2 {
  margin: 0;
}

.resources-heading a {
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 6px;
}

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

.resource-card {
  overflow: hidden;
  background: var(--white);
  transition: transform 180ms ease;
}

.resource-card:hover {
  transform: translateY(-7px) rotate(-1deg);
}

.resource-card img,
.card-illustration {
  aspect-ratio: 1.5;
  object-fit: cover;
}

.resource-card > div:last-child {
  padding: 26px;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--blue-100);
  font-weight: 900;
}

.card-illustration {
  position: relative;
  background: linear-gradient(135deg, #f8fdff, #b9ded2);
  overflow: hidden;
}

.card-illustration::before,
.card-illustration::after {
  content: "";
  position: absolute;
  border-radius: 30px;
  background: var(--coral);
}

.card-illustration.chart::before {
  width: 70%;
  height: 48%;
  left: 16%;
  bottom: 20%;
  background: repeating-linear-gradient(90deg, var(--blue-900) 0 18px, var(--coral) 18px 34px, var(--mint) 34px 52px);
  border-radius: 16px;
}

.card-illustration.chart::after {
  width: 96px;
  height: 96px;
  right: 12%;
  top: 18%;
  background: conic-gradient(var(--coral) 0 40%, var(--gold) 40% 72%, var(--blue-900) 72%);
}

.card-illustration.shield::before {
  width: 130px;
  height: 150px;
  left: 50%;
  top: 50%;
  background: var(--blue-900);
  clip-path: polygon(50% 0, 100% 20%, 88% 78%, 50% 100%, 12% 78%, 0 20%);
  transform: translate(-50%, -50%);
}

.card-illustration.shield::after {
  width: 62px;
  height: 62px;
  left: 50%;
  top: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.footer {
  padding: 90px 0 64px;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.footer-brand {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-900);
  font-size: 24px;
  font-weight: 950;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 32px;
  font-size: 20px;
  font-weight: 900;
}

.footer p {
  margin: 0;
  color: rgba(233, 247, 251, 0.74);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero-grid,
  .split,
  .impact-grid,
  .tech-grid,
  .works-grid,
  .service-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

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

  .hero-copy .button {
    margin: 0 auto;
  }

  .hero-media {
    width: min(440px, 86%);
    margin: 0 auto;
  }

  .tech-grid {
    gap: 10px;
  }

  .phone-stack {
    order: 2;
    min-height: 520px;
  }

  .works-media {
    width: min(460px, 88%);
    margin: 0 auto;
  }

  .report-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container,
  .contact-form {
    width: calc(100% - 32px);
    max-width: 1160px;
  }

  .site-header {
    padding: 16px;
  }

  .brand-mark {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .nav-shell {
    flex: 0 0 auto;
    height: 42px;
  }

  .login-button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .menu-button {
    flex: 0 0 50px;
    width: 50px;
    min-width: 50px;
  }

  .menu-button span {
    right: 14px;
  }

  .menu-button span:nth-child(1) {
    top: 12px;
  }

  .menu-button span:nth-child(2) {
    top: 20px;
    width: 24px;
  }

  .menu-button span:nth-child(3) {
    top: 28px;
  }

  .mobile-drawer {
    width: 100vw;
    padding: 116px 28px 32px;
  }

  h1 {
    font-size: clamp(58px, 19vw, 78px);
  }

  h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-bottom: 72px;
  }

  .lead,
  .tech-copy p,
  .form-heading p {
    font-size: 18px;
  }

  .check-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .steps li {
    padding-left: 0;
    padding-top: 72px;
  }

  .contact-form {
    padding: 24px;
  }
}

/* Brand refresh and market-validation experience */
.brand img {
  width: 194px;
  height: 50px;
}

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

.button.ghost {
  color: var(--blue-100);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  box-shadow: none;
}

.research-section {
  color: var(--ink);
  background: #f5f7fb;
}

.research-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}

.research-copy {
  position: sticky;
  top: 118px;
}

.research-copy h2 {
  font-size: clamp(42px, 5.7vw, 76px);
}

.research-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.research-points {
  display: grid;
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid #dfe4ee;
  border-radius: 8px;
  background: #dfe4ee;
}

.research-points span {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
}

.research-points small {
  color: var(--muted);
  font-size: 13px;
}

.research-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #dfe4ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(16, 19, 72, 0.09);
}

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

.price-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  border: 0;
}

.price-options legend {
  grid-column: 1 / -1;
  margin-bottom: 9px;
  color: var(--blue-900);
  font-weight: 900;
}

.price-options label {
  position: relative;
  display: block;
  cursor: pointer;
}

.price-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.price-options span {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 10px 6px;
  border: 1px solid #dfe4ee;
  border-radius: 6px;
  color: var(--blue-900);
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease;
}

.price-options small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.price-options input:checked + span {
  border-color: var(--coral);
  background: #fff1ee;
  box-shadow: inset 0 0 0 1px var(--coral);
}

.price-options input:focus-visible + span {
  outline: 3px solid rgba(243, 111, 95, 0.28);
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.consent-line input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--coral);
}

.research-form .button {
  justify-self: start;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.form-status.is-success {
  color: #14705a;
}

.form-status.is-error {
  color: #b64135;
}

.footer-brand {
  display: inline-flex;
  width: auto;
  height: auto;
  gap: 12px;
  border-radius: 0;
  color: #fff;
  background: transparent;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

@media (max-width: 980px) {
  .research-layout {
    grid-template-columns: 1fr;
  }

  .research-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 150px;
    height: 42px;
  }

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

  .research-form {
    padding: 20px;
  }

  .form-row,
  .price-options {
    grid-template-columns: 1fr 1fr;
  }
}
