:root {
  --bg-deep: #00373d;
  --card-bg: rgba(0, 57, 64, 0.74);
  --card-border: rgba(102, 202, 201, 0.32);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --mint: #adf3ea;
  --active: #7dece2;
  --icon-circle: #006f73;
  --footer-text: rgba(217, 250, 246, 0.78);
}

.footer-top.office-footer {
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.45fr);
  gap: clamp(48px, 10vw, 190px);
  align-items: start;
}

.office-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(48px, 10vw, 190px);
  row-gap: 8px;
  max-width: 1120px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(12px, 0.95vw, 16px);
  font-style: normal;
  font-weight: 300;
  line-height: 1.25;
}

.office-contact strong,
.office-contact .office-name {
  grid-column: 1 / -1;
}

.office-contact strong {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.office-contact .office-name {
  width: max-content;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.office-contact span {
  margin: 0;
}

@media (max-width: 760px) {
  .office-contact {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: #1d1d1d;
}

body {
  margin: 0;
  font-family: "Funnel Sans", "Segoe UI", sans-serif;
  color: var(--white);
  background: #1d1d1d;
}

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

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.admin-page {
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg-deep) url("/assets/admin-pa-background-jump.png") top center / 100% auto no-repeat;
}

.admin-page.referral-page {
  background-image: url("/assets/referral-background-jump.png");
}

.admin-page.registration-page {
  background-image: url("/assets/business-registration-background-jump.png");
}

.shell {
  width: min(1248px, calc(100% - 80px));
  margin: 0 auto;
}

.admin-hero {
  min-height: 794px;
}

.hero-shell {
  position: relative;
  min-height: 794px;
  padding-top: 67px;
}

.brand {
  display: inline-block;
}

.brand img {
  max-width: none;
}

.logo {
  width: 118px;
  height: 26px;
  object-fit: contain;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 620px) 376px;
  gap: 168px;
  align-items: start;
  margin-top: 184px;
}

.hero-copy h1 {
  max-width: 520px;
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: clamp(48px, 4.8vw, 72px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.052em;
}

.hero-copy p {
  max-width: 575px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.28;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.btn.primary {
  background: #42d4cc;
  color: #003036;
}

.btn.secondary {
  border: 1px solid rgba(173, 243, 234, 0.42);
  color: var(--mint);
}

.hero-media {
  width: 376px;
  height: 418px;
  overflow: hidden;
  border-radius: 20px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.referral-page .hero-media img {
  object-position: 50% 50%;
}

.registration-page .hero-media img {
  object-position: 50% 54%;
}

.pill-nav {
  position: absolute;
  left: 50%;
  bottom: 83px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 999px;
  background: var(--white);
  color: #05282d;
  transform: translateX(-50%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.pill-nav::before {
  content: "";
  width: 15px;
  height: 15px;
  margin: 0 3px 0 1px;
  background: url("/assets/nav-spark-vector.svg") center / contain no-repeat;
  flex: 0 0 auto;
}

.pill-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.pill-nav a.is-active {
  background: var(--active);
}

.support-section {
  padding: 120px 0 112px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 548px);
  justify-content: space-between;
  gap: 96px;
}

.support-copy h2,
.helps-section h2 {
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.support-copy p {
  max-width: 390px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.28;
}

.support-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.support-list li {
  position: relative;
  min-height: 44px;
  padding: 0 0 16px 25px;
  border-bottom: 1px solid rgba(173, 243, 234, 0.17);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
}

.support-list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 8px;
  height: 8px;
  background: #42d4cc;
}

.best-section {
  padding: 86px 0 108px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 27px;
  margin-bottom: 48px;
  border-radius: 999px;
  background: #006f73;
  color: #9df4ec;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.best-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 332px));
  justify-content: center;
  gap: 42px;
}

.best-card {
  min-height: 152px;
  padding: 24px 27px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: var(--card-bg);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
}

.card-icon img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.best-card h3 {
  max-width: 245px;
  margin-top: 20px;
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.helps-section {
  padding: 0 0 116px;
  text-align: center;
}

.helps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  gap: 130px;
  margin-top: 80px;
}

.help-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(173, 243, 234, 0.18);
  border-radius: 50%;
  color: rgba(173, 243, 234, 0.7);
  font-size: 10px;
}

.help-step h3 {
  margin-top: 28px;
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.help-step p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.25;
}

.packages-section {
  padding: 92px 0 100px;
  text-align: center;
}

.packages-heading {
  min-width: 178px;
  height: 29px;
  margin-bottom: 38px;
}

.package-tabs {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 80px;
}

.package-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 143px;
  height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(173, 243, 234, 0.38);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
}

.package-tab.is-active {
  border-color: transparent;
  background: #42d4cc;
  color: #003036;
}

.package-table-card {
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: rgba(0, 57, 64, 0.38);
  text-align: left;
}

.package-table {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 250px 250px;
}

.package-cell {
  min-height: 44px;
  padding: 14px 35px;
  border-bottom: 1px solid rgba(173, 243, 234, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.25;
}

.package-cell:nth-child(3n + 2),
.package-cell:nth-child(3n + 3) {
  border-left: 1px solid rgba(173, 243, 234, 0.16);
  text-align: center;
}

.package-cell.table-head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.14;
}

.package-cell.is-empty {
  border-bottom: 1px solid rgba(173, 243, 234, 0.16);
}

.package-cell.last-row {
  border-bottom: 0;
}

.mark {
  display: inline-flex;
  width: 12px;
  height: 12px;
  align-items: center;
  justify-content: center;
  color: #54f6ed;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.mark.no {
  color: #ff6858;
}

.package-note {
  color: rgba(191, 247, 238, 0.8);
  font-size: 10px;
}

.difference-section.registration-difference {
  padding: 30px 0 112px;
}

.difference-section .eyebrow {
  margin-bottom: 52px;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 315px));
  justify-content: center;
  gap: 26px 42px;
}

.difference-card {
  min-height: 173px;
  padding: 28px 31px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: var(--card-bg);
}

.difference-card h3 {
  max-width: 205px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.site-footer {
  padding: 92px 0 0;
  background: transparent;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 540px);
  justify-content: space-between;
  gap: 80px;
  min-height: 150px;
}

.footer-note {
  color: var(--footer-text);
  font-size: 12px;
  line-height: 1.32;
}

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

.footer-links div {
  display: grid;
  gap: 17px;
  color: var(--footer-text);
  font-size: 11px;
  line-height: 1;
}

.footer-links strong {
  color: var(--white);
  font-size: 11px;
  font-weight: 400;
}

.footer-mark {
  display: block;
  width: min(84vw, 1420px);
  height: auto;
  margin: 118px auto 0;
}

@media (max-width: 980px) {
  .shell {
    width: min(720px, calc(100% - 40px));
  }

  .admin-hero,
  .hero-shell {
    min-height: 760px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 90px;
  }

  .hero-media {
    width: min(376px, 100%);
  }

  .pill-nav {
    bottom: 45px;
    max-width: calc(100vw - 40px);
    overflow-x: auto;
  }

  .support-grid,
  .best-grid,
  .helps-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .registration-page .hero-layout {
    grid-template-columns: minmax(0, 1fr) 212px;
    gap: 46px;
    margin-top: 86px;
  }

  .registration-page.admin-page .admin-hero,
  .registration-page .hero-shell {
    min-height: 540px;
  }

  .registration-page .hero-media {
    width: 212px;
    height: 247px;
  }

  .registration-page .packages-section {
    padding-top: 62px;
  }

  .registration-page .package-table {
    grid-template-columns: minmax(0, 1fr) 150px 150px;
  }

  .registration-page .package-cell {
    padding: 13px 22px;
    font-size: 10px;
  }

  .registration-page .difference-grid {
    grid-template-columns: repeat(2, minmax(0, 315px));
  }

  .best-grid,
  .helps-grid {
    gap: 28px;
  }

  .footer-mark {
    width: min(88vw, 620px);
    margin-top: 80px;
  }
}

@media (max-width: 640px) {
  .admin-page {
    background-size: auto 1040px;
  }

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

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

  .pill-nav {
    left: 20px;
    right: 20px;
    transform: none;
  }

  .pill-nav a {
    padding: 0 13px;
  }

  .support-section {
    padding: 72px 0;
  }

  .registration-page .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 70px;
  }

  .registration-page .hero-media {
    width: min(376px, 100%);
    height: 300px;
  }

  .registration-page .package-table,
  .registration-page .difference-grid {
    grid-template-columns: 1fr;
  }

  .registration-page .package-cell:nth-child(3n + 2),
  .registration-page .package-cell:nth-child(3n + 3) {
    border-left: 0;
    text-align: left;
  }

  .registration-page .package-cell.table-head {
    justify-content: flex-start;
  }

  .package-tabs {
    width: 100%;
    flex-direction: column;
  }

  .package-tab {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
