:root {
  --logo-blue: #0057b8;
  --logo-green: #00a66f;
  --logo-purple: #7b2cff;
  --logo-pink: #ff3f8e;
  --logo-yellow: #ffc928;
  --brand: #00966c;
  --brand-dark: #007855;
  --ink: #141b24;
  --muted: #5f6874;
  --line: #dfe8e3;
  --soft: #f3f9f6;
  --surface: #ffffff;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.1);
  --shadow-soft: 0 10px 28px rgba(17, 24, 39, 0.07);
  font-family: "Roboto", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  font-family: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(112deg, rgba(0, 166, 111, 0.12) 0%, rgba(0, 166, 111, 0) 30%),
    linear-gradient(292deg, rgba(255, 201, 40, 0.17) 0%, rgba(255, 201, 40, 0) 38%),
    linear-gradient(180deg, #fbfdf9 0%, #edf7f2 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid rgba(223, 232, 227, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand-link,
.header-actions,
.site-nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand-link {
  width: fit-content;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  padding-bottom: 10px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.wordmark span {
  color: var(--logo-blue);
}

.wordmark strong {
  color: var(--logo-green);
}

.wordmark::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--logo-purple) 0 14%,
    var(--logo-pink) 14% 27%,
    var(--logo-yellow) 27% 43%,
    var(--logo-green) 43% 69%,
    var(--logo-blue) 69% 100%
  );
  transform: scaleX(0.74);
  transform-origin: left;
}

.site-nav {
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 13px;
  color: #44505a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-dark);
  background: #edf9f4;
  outline: none;
}

.header-actions {
  justify-content: end;
  gap: 10px;
  min-width: 0;
}

.solid-button,
.ghost-button {
  min-width: 0;
  min-height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.solid-button {
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--brand), #00ad74);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 150, 108, 0.22);
}

.ghost-button {
  border: 1px solid #cfe7df;
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-dark);
}

.solid-button:hover,
.ghost-button:hover,
.solid-button:focus-visible,
.ghost-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.solid-button:hover,
.solid-button:focus-visible {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  box-shadow: 0 16px 34px rgba(0, 120, 85, 0.26);
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: #edf9f4;
  border-color: #b8dfd3;
}

.large {
  min-height: 48px;
  padding: 0 22px;
}

.material-symbols-rounded {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Rounded";
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 24;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  min-height: min(760px, calc(100svh - 72px));
  display: grid;
  align-items: center;
  padding: 66px 0 52px;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 50px -60px 40px auto;
  width: min(520px, 48vw);
  background: url("/assets/Icon.png") center / contain no-repeat;
  opacity: 0.08;
  z-index: -2;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 18px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--logo-purple), var(--logo-pink), var(--logo-yellow), var(--logo-green), var(--logo-blue));
  opacity: 0.9;
  z-index: -1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  display: grid;
  gap: 20px;
}

.eyebrow {
  width: fit-content;
  border: 1px solid rgba(0, 166, 111, 0.2);
  border-radius: 999px;
  background: #edf9f4;
  color: var(--brand-dark);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(29px, 4.2vw, 46px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy p {
  margin: 0;
  max-width: 680px;
  color: #384653;
  font-size: 19px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-visual {
  position: absolute;
  right: 0;
  bottom: 112px;
  width: min(430px, 38vw);
  display: grid;
  gap: 12px;
  align-content: start;
  z-index: 1;
  pointer-events: none;
}

.visual-topline {
  width: min(390px, 100%);
  justify-self: center;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--logo-pink), var(--logo-yellow), var(--logo-green), var(--logo-blue));
}

.matching-card,
.mini-grid article,
.audience-card,
.process-grid article,
.feature-grid article,
.balance-panel {
  border: 1px solid rgba(223, 232, 227, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.main-match-card {
  width: min(390px, 100%);
  justify-self: center;
  padding: 18px;
}

.match-head,
.panel-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.match-head .material-symbols-rounded,
.panel-header .material-symbols-rounded {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: var(--logo-blue);
}

.match-head strong,
.panel-header strong,
.quota-card strong,
.quota-math strong {
  display: block;
  font-weight: 900;
}

.match-head small,
.panel-header small,
.quota-card span,
.quota-card small,
.quota-math span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

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

.score-list span {
  border-radius: 8px;
  background: var(--soft);
  padding: 10px;
  color: #34404b;
  font-size: 12px;
  font-weight: 800;
}

.score-list strong {
  display: block;
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1;
  margin-bottom: 4px;
}

.invite-strip {
  width: min(360px, calc(100% - 28px));
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  gap: 6px;
  align-items: center;
}

.invite-chip {
  min-height: 34px;
  border: 1px solid #dfe8e3;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: #fff;
  color: #46515c;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
}

.invite-chip.green {
  color: var(--brand-dark);
  border-color: #bde6d8;
  background: #edf9f4;
}

.invite-chip.blue {
  color: #054a9b;
  border-color: #c8daf0;
  background: #eef6ff;
}

.invite-line {
  height: 2px;
  border-radius: 999px;
  background: #ccd8d2;
}

.mini-grid {
  width: min(360px, calc(100% - 28px));
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-grid article {
  min-height: 124px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.mini-grid .material-symbols-rounded {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  background: var(--logo-purple);
}

.mini-grid article:nth-child(2) .material-symbols-rounded {
  background: var(--brand);
}

.mini-grid strong {
  font-size: 14px;
  line-height: 1.25;
}

.mini-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.audience-section,
.process-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

.audience-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 42px;
}

.audience-card {
  padding: 24px;
}

.audience-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  margin-bottom: 18px;
}

.audience-icon.blue {
  background: var(--logo-blue);
}

.audience-icon.green {
  background: var(--brand);
}

.audience-card h2,
.section-heading h2,
.balance-copy h2,
.cta-section h2 {
  margin: 0;
  letter-spacing: 0;
}

.audience-card h2 {
  font-size: 25px;
}

.audience-card p,
.section-heading p,
.process-grid p,
.balance-copy p,
.balance-list,
.feature-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.audience-card p {
  margin: 10px 0 0;
}

.section-block,
.balance-section,
.cta-section {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2,
.balance-copy h2,
.cta-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
}

.section-heading p,
.balance-copy p {
  margin: 0;
  font-size: 17px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article,
.feature-grid article {
  padding: 20px;
}

.process-grid article > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #edf9f4;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.process-grid h3,
.feature-grid h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.process-grid p,
.feature-grid p {
  margin: 0;
  font-size: 14px;
}

.balance-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 36px;
  align-items: center;
}

.balance-copy {
  display: grid;
  gap: 16px;
}

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

.balance-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #44505a;
  font-weight: 800;
}

.balance-list .material-symbols-rounded {
  color: var(--brand);
  font-size: 22px;
}

.balance-panel {
  padding: 22px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 248, 0.92)),
    #fff;
}

.panel-header .material-symbols-rounded {
  background: var(--logo-purple);
}

.quota-card {
  margin: 22px 0 14px;
  border: 1px solid #d7eee6;
  border-radius: 8px;
  background: #edf9f4;
  padding: 16px;
}

.quota-card strong {
  color: var(--brand-dark);
  font-size: 30px;
  margin: 3px 0;
}

.quota-math {
  display: grid;
  gap: 10px;
}

.quota-math div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #e1eae5;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.quota-math strong {
  color: var(--logo-blue);
  font-size: 23px;
}

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

.feature-grid .material-symbols-rounded {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
}

.feature-grid .pink {
  background: var(--logo-pink);
}

.feature-grid .yellow {
  background: var(--logo-yellow);
  color: #503d00;
}

.feature-grid .purple {
  background: var(--logo-purple);
}

.cta-section {
  margin: 28px 0 72px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid #d9e8e1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(237, 249, 244, 0.88), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.cta-section > div {
  display: grid;
  gap: 12px;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  border-top: 1px solid #dfe8e3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #59636e;
  font-size: 14px;
  font-weight: 800;
}

.site-footer a {
  color: var(--brand-dark);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

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

  .hero-copy {
    width: min(720px, 100%);
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
    width: min(100%, 620px);
    min-height: 340px;
    margin-top: 36px;
  }

  .visual-topline {
    width: 100%;
  }

  .audience-section,
  .balance-section {
    grid-template-columns: 1fr;
  }

  .balance-panel {
    max-width: 620px;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 12px 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-actions {
    justify-content: stretch;
    gap: 8px;
    width: 100%;
  }

  .header-actions .ghost-button,
  .header-actions .solid-button {
    flex: 1 1 0;
    padding: 0 12px;
    font-size: 15px;
  }

  main,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero-section {
    padding: 42px 0 50px;
  }

  .hero-section::before {
    width: 340px;
    inset: 80px -130px auto auto;
    height: 340px;
  }

  .hero-section::after {
    bottom: 28px;
  }

  .hero-copy h1 {
    width: min(100%, calc(100vw - 24px));
    max-width: 340px;
    font-size: 24px;
    line-height: 1.04;
  }

  .hero-copy p {
    width: min(100%, calc(100vw - 24px));
    max-width: 340px;
    font-size: 16px;
  }

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

  .hero-visual {
    display: none;
  }

  .main-match-card,
  .invite-strip,
  .mini-grid {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .visual-topline {
    top: -12px;
    left: 0;
  }

  .invite-strip {
    margin: 12px 0;
    grid-template-columns: 1fr;
  }

  .invite-line {
    display: none;
  }

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

  .section-block,
  .balance-section,
  .cta-section {
    padding: 50px 0;
  }

  .section-heading h2,
  .balance-copy h2,
  .cta-section h2 {
    font-size: 31px;
  }

  .cta-section {
    margin-bottom: 44px;
    padding: 24px;
    grid-template-columns: 1fr;
  }

  .cta-section .solid-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .wordmark {
    font-size: 22px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero-copy h1 {
    font-size: 20px;
  }

  .score-list,
  .quota-math div {
    grid-template-columns: 1fr;
  }
}
