:root {
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #061b3a;
  --muted: #526784;
  --soft: #eef5ff;
  --line: #d7e4f5;
  --blue: #0153dd;
  --blue-dark: #003fbb;
  --white: #fff;
  --page-max: 1920px;
  --content-max: 1760px;
  --gutter: 3.9vw;
  --gap: clamp(16px, 1.25vw, 26px);
  --radius: clamp(16px, 1.08vw, 30px);
  --section-y: clamp(58px, 4vw, 112px);
  --header-h: clamp(46px, 2.75vw, 64px);
  --h1: clamp(58px, 4.7vw, 118px);
  --h2: clamp(34px, 2.35vw, 56px);
  --h3: clamp(24px, 1.55vw, 36px);
  --h4: clamp(18px, 1.12vw, 26px);
  --body: clamp(16px, 0.96vw, 22px);
  --small: clamp(12px, 0.74vw, 16px);
  --label: clamp(12px, 0.76vw, 16px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--soft);
  font-family: var(--font);
  font-size: var(--body);
  font-weight: 500;
  line-height: 1.5;
}

a {
  color: var(--blue);
}

a:hover,
a:focus {
  color: var(--blue-dark);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
  letter-spacing: 0;
}

h1 {
  font-size: var(--h1);
  line-height: 0.98;
  font-weight: 800;
}

h2,
.section-heading h2,
.getting-started h2 {
  font-size: var(--h2);
  line-height: 1.08;
  font-weight: 800;
}

h3,
.section-title {
  font-size: var(--h3);
  line-height: 1.16;
  font-weight: 800;
}

h4 {
  font-size: var(--h4);
  line-height: 1.2;
  font-weight: 800;
}

p {
  color: var(--muted);
}

.container {
  width: 100%;
  max-width: var(--content-max);
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.row {
  margin-right: calc(var(--gap) / -2);
  margin-left: calc(var(--gap) / -2);
}

[class*="col-"] {
  padding-right: calc(var(--gap) / 2);
  padding-left: calc(var(--gap) / 2);
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10000;
  padding: 0;
  background: rgba(238, 245, 255, 0.42);
  border-bottom: 1px solid rgba(180, 203, 238, 0.34);
  box-shadow: 0 8px 22px rgba(6, 27, 58, 0.026);
  backdrop-filter: blur(14px) saturate(1.12);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(132px, 15vw) minmax(0, 1fr) minmax(112px, 15vw);
  align-items: center;
  gap: var(--gap);
  min-height: var(--header-h);
}

.site-header__inner::before,
.site-header__inner::after,
.fh5co-project .row::before,
.fh5co-project .row::after,
.pricing-grid::before,
.pricing-grid::after,
.module-grid::before,
.module-grid::after {
  display: none;
  content: none;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 1.45vw, 32px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-nav a,
.language-toggle,
.login-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a {
  min-height: auto;
  padding: 0;
  color: var(--ink);
  font-size: var(--label);
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  color: var(--blue);
  background: transparent;
  outline: none;
}

.language-toggle,
.login-button {
  min-height: auto;
  color: var(--ink);
  font-size: var(--label);
  letter-spacing: 0;
}

.language-toggle {
  justify-self: start;
  gap: clamp(4px, 0.34vw, 7px);
  min-height: clamp(30px, 1.9vw, 42px);
  padding: 3px;
  border: 1px solid rgba(1, 83, 221, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 18px rgba(1, 83, 221, 0.06);
  cursor: pointer;
}

.language-toggle__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: clamp(24px, 1.38vw, 32px);
  padding: 0 clamp(7px, 0.54vw, 12px);
  border-radius: 999px;
}

.language-toggle__option--current {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 6px 14px rgba(1, 83, 221, 0.18);
}

.language-toggle__option--next {
  color: rgba(6, 27, 58, 0.58);
}

.login-button {
  justify-self: end;
  gap: 8px;
  min-height: clamp(30px, 1.9vw, 42px);
  padding: 0 clamp(12px, 0.82vw, 18px);
  border: 1px solid rgba(1, 83, 221, 0.16);
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(1, 83, 221, 0.16);
}

.login-button i {
  font-size: 1em;
}

.language-toggle:hover,
.language-toggle:focus,
.login-button:hover,
.login-button:focus {
  text-decoration: none;
  outline: none;
}

.login-button:hover,
.login-button:focus {
  color: #fff;
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.language-toggle__flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.language-toggle__next,
.language-toggle__divider {
  color: rgba(6, 27, 58, 0.5);
}

.language-toggle:hover .language-toggle__next,
.language-toggle:hover .language-toggle__divider,
.language-toggle:focus .language-toggle__next,
.language-toggle:focus .language-toggle__divider {
  color: rgba(1, 83, 221, 0.58);
}

.btn,
.btn.btn-primary,
.btn.btn-ghost {
  min-height: clamp(48px, 3.05vw, 74px);
  padding: 0 clamp(22px, 1.65vw, 42px);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--body);
  text-transform: none;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn.btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
  color: #fff;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.46);
}

.btn.btn-ghost:hover,
.btn.btn-ghost:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

#fh5co-home {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  max-width: var(--page-max);
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
  border-bottom-right-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

#fh5co-home .gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 45, 140, 0.96) 0%, rgba(0, 70, 180, 0.78) 43%, rgba(0, 120, 220, 0.32) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(1, 83, 221, 0.18) 100%);
}

#fh5co-home .container,
#fh5co-home .text-wrap,
#fh5co-home .text-inner {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}

#fh5co-home .text-inner {
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(22px, 2.1vw, 48px));
  padding-bottom: clamp(34px, 3.6vw, 82px);
}

#fh5co-home .hero-copy {
  width: clamp(560px, 56vw, 1080px);
  max-width: none;
}

#fh5co-home .hero-kicker,
.feature-story__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: clamp(34px, 2.05vw, 50px);
  margin-bottom: clamp(16px, 1.55vw, 34px);
  padding: 0 clamp(13px, 1vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  font-size: var(--small);
  font-weight: 800;
}

#fh5co-home h1 {
  margin-bottom: clamp(18px, 1.8vw, 42px);
  color: #fff;
}

#fh5co-home h2 {
  width: min(100%, 980px);
  margin-bottom: clamp(24px, 2.45vw, 56px);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(26px, 1.9vw, 44px);
  line-height: 1.34;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 0.9vw, 22px);
  margin-bottom: clamp(24px, 2.45vw, 56px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1vw, 24px);
  width: min(100%, 960px);
}

.hero-stats div {
  min-height: clamp(92px, 6.4vw, 156px);
  padding: clamp(18px, 1.38vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: clamp(5px, 0.4vw, 10px);
  color: #fff;
  font-size: clamp(30px, 2.55vw, 62px);
  line-height: 1;
  font-weight: 800;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--small);
  font-weight: 800;
}

#fh5co-services,
#fh5co-explore,
#fh5co-pricing,
#fh5co-team,
#fh5co-footer {
  scroll-margin-top: calc(var(--header-h) + 18px);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

#fh5co-services,
#fh5co-team,
#fh5co-explore {
  background: var(--soft);
}

#fh5co-pricing,
#fh5co-footer {
  background: #fff;
}

.section-heading {
  padding-bottom: 2vw;
}

.section-heading h2 {
  margin-bottom: 0.75vw;
}

.section-heading h3 {
  width: min(100%, 980px);
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: var(--body);
  font-weight: 600;
}

.core-features,
.pricing-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 clamp(18px, 1.6vw, 34px) clamp(46px, 4.5vw, 96px) rgba(10, 42, 90, 0.08);
}

.core-features .grid2:first-child,
.pricing-story__media,
.getting-grid,
.project-grid,
.module-media {
  background-position: center;
  background-size: cover;
}

.core-features .grid2:first-child,
.core-features .core-f,
.pricing-story__copy,
.pricing-story__media {
  min-height: clamp(300px, 21vw, 520px);
}

.core-features .core-f,
.pricing-story__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 3vw, 72px);
}

.feature-story,
.pricing-story__copy {
  max-width: none;
}

.feature-story__eyebrow {
  border-color: rgba(1, 83, 221, 0.22);
  color: var(--blue);
  background: rgba(1, 83, 221, 0.06);
}

.feature-story h3,
.pricing-story__copy h3 {
  margin-bottom: clamp(14px, 1vw, 24px);
  color: var(--ink);
  font-size: var(--h2);
}

.feature-story p,
.pricing-story__copy p {
  margin-bottom: clamp(14px, 1vw, 24px);
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.5;
}

.feature-story p:last-child,
.pricing-story__copy p:last-child {
  margin-bottom: 0;
}

.fh5co-counters {
  padding-top: clamp(34px, 3vw, 72px);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  padding: clamp(18px, 1.5vw, 36px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.counter-grid__item {
  display: grid;
  min-height: clamp(110px, 7vw, 170px);
  place-items: center;
}

.fh5co-counter {
  display: block;
  color: var(--blue);
  font-size: clamp(36px, 3.25vw, 72px);
  line-height: 1;
  font-weight: 800;
}

.fh5co-counter-label {
  margin-top: clamp(8px, 0.75vw, 16px);
  color: var(--muted);
  font-size: var(--small);
  font-weight: 800;
}

.fh5co-project .row,
.pricing-grid,
.module-grid {
  display: flex;
  flex-wrap: wrap;
}

.module-grid {
  gap: var(--gap);
  margin-right: 0;
  margin-left: 0;
}

.fh5co-project .row {
  gap: var(--gap);
  margin-right: 0;
  margin-left: 0;
}

.fh5co-project .row > .col-md-12 {
  width: calc(50% - var(--gap) / 2);
  float: none;
  padding-right: 0;
  padding-left: 0;
}

.project-grid {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--blue);
  box-shadow: 0 clamp(18px, 1.4vw, 32px) clamp(42px, 3.6vw, 84px) rgba(10, 42, 90, 0.12);
}

.project-grid::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(2, 17, 45, 0.08) 0%, rgba(2, 17, 45, 0.72) 100%);
}

.project-grid .desc {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(18px, 1.65vw, 40px);
  text-align: left;
}

.project-grid .desc h3 {
  margin: 0;
}

.project-grid .desc h3 a {
  color: #fff;
  font-size: var(--h3);
  font-weight: 800;
  text-decoration: none;
}

.project-grid .desc span {
  display: block;
  margin-top: 0.15vw;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--small);
  font-weight: 800;
}

.project-grid .desc p {
  width: min(78%, 720px);
  margin: clamp(6px, 0.65vw, 14px) 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--small);
  font-weight: 700;
  line-height: 1.35;
}

.pricing-grid {
  align-items: stretch;
  row-gap: clamp(18px, 1.2vw, 28px);
}

.pricing-cards {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--gap);
  margin-right: 0;
  margin-left: 0;
}

.pricing-cards > [class*="col-"] {
  width: calc((100% - (var(--gap) * 2)) / 3);
  padding-right: 0;
  padding-left: 0;
  float: none;
}

.pricing-grid > [class*="col-"],
.module-grid > [class*="col-"] {
  float: none;
}

.module-grid > [class*="col-"] {
  width: calc(50% - clamp(16px, 1.25vw, 26px) / 2);
  padding-right: 0;
  padding-left: 0;
}

.price-box {
  position: relative;
  height: 100%;
  min-height: clamp(360px, 26vw, 600px);
  padding: clamp(22px, 1.75vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 clamp(18px, 1.6vw, 34px) clamp(46px, 4.5vw, 96px) rgba(10, 42, 90, 0.08);
  text-align: center;
}

.price-box.popular {
  border: clamp(2px, 0.18vw, 4px) solid var(--blue);
}

.popular-text {
  position: absolute;
  top: clamp(-40px, -2.1vw, -28px);
  left: 50%;
  min-width: clamp(150px, 9vw, 220px);
  padding: clamp(7px, 0.55vw, 13px) clamp(12px, 1vw, 24px);
  border-radius: clamp(10px, 0.55vw, 14px);
  color: #fff;
  background: var(--blue);
  font-size: var(--small);
  font-weight: 800;
  transform: translateX(-50%);
}

.popular-text::after {
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid var(--blue);
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.pricing-plan {
  margin-bottom: clamp(14px, 1.25vw, 28px);
  color: var(--blue);
  font-size: var(--h4);
  font-weight: 800;
}

.price {
  margin-bottom: clamp(14px, 1.15vw, 26px);
  color: var(--ink);
  font-size: clamp(46px, 3.35vw, 72px);
  line-height: 1;
  font-weight: 800;
}

.price .currency {
  top: -0.8em;
  font-size: 0.34em;
}

.price small {
  font-size: 0.22em;
}

.price-box hr {
  margin: clamp(18px, 1.45vw, 32px) 0;
  border-color: var(--line);
}

.pricing-info {
  margin: 0 0 clamp(18px, 1.75vw, 38px);
  padding: 0;
  list-style: none;
}

.pricing-info li {
  margin-bottom: clamp(6px, 0.5vw, 12px);
  color: var(--muted);
  font-size: var(--body);
  font-weight: 700;
}

.pricing-story {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-top: clamp(28px, 2.2vw, 48px);
}

.pricing-story__copy {
  order: 1;
  align-items: flex-start;
  max-width: none;
  padding: clamp(28px, 2.6vw, 56px);
}

.pricing-story__visual {
  order: 2;
  min-width: 0;
}

.pricing-story__media {
  height: 100%;
  min-height: clamp(300px, 21vw, 520px);
}

.module-grid {
  row-gap: var(--gap);
}

.module-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 clamp(16px, 1.3vw, 32px) clamp(40px, 3.4vw, 80px) rgba(10, 42, 90, 0.08);
}

.module-media {
  aspect-ratio: 16 / 10;
}

.module-card h3 {
  margin: clamp(14px, 1.1vw, 26px) clamp(14px, 1.1vw, 26px) clamp(4px, 0.25vw, 7px);
}

.module-card .position {
  display: block;
  margin: 0 clamp(14px, 1.1vw, 26px) clamp(10px, 0.75vw, 18px);
  color: var(--blue);
  font-size: var(--small);
  font-weight: 800;
}

.module-card p {
  margin: 0 clamp(14px, 1.1vw, 26px) clamp(16px, 1.25vw, 30px);
  font-size: var(--small);
  font-weight: 600;
}

.getting-started {
  background: var(--soft);
}

.getting-grid {
  position: relative;
  display: grid;
  min-height: clamp(190px, 18vw, 360px);
  overflow: hidden;
  color: #fff;
  place-items: center;
}

.getting-grid::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 45, 140, 0.9), rgba(1, 83, 221, 0.52));
}

.getting-grid .desc {
  position: relative;
  z-index: 1;
  width: min(100%, 840px);
  padding: var(--gutter);
}

.getting-grid h2,
.getting-grid p {
  color: #fff;
}

#fh5co-footer {
  padding: 0;
}

.footer-about {
  padding: var(--section-y) 0;
  background: #fff;
}

.footer-about__card {
  width: min(100%, 1180px);
  padding: clamp(30px, 3vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1.4vw 4vw rgba(10, 42, 90, 0.08);
}

.footer-about__card h3 {
  margin-bottom: 1vw;
  color: var(--ink);
  font-size: var(--h2);
}

.footer-about__card p {
  width: min(72vw, 1280px);
  margin: 0;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.5;
}

.footer-strip {
  border-top: 1px solid var(--line);
  background: rgba(247, 251, 255, 0.54);
  backdrop-filter: blur(12px);
}

.footer-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  min-height: clamp(46px, 3vw, 68px);
  color: var(--muted);
  font-size: var(--small);
  font-weight: 700;
}

.footer-strip nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.3vw, 28px);
}

.footer-strip a {
  font-weight: 800;
  text-decoration: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  padding: clamp(18px, 2.6vw, 54px);
  opacity: 0;
  pointer-events: none;
  place-items: center;
  transition: none;
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 39, 122, 0.78), rgba(1, 83, 221, 0.46)),
    rgba(6, 27, 58, 0.36);
  backdrop-filter: blur(18px) saturate(1.08);
}

.auth-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  width: min(100%, 1120px);
  min-height: min(720px, calc(100svh - 52px));
  overflow: hidden;
  border: 1px solid rgba(214, 228, 249, 0.78);
  border-radius: clamp(24px, 2vw, 38px);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 34, 112, 0.34);
  transform: none;
  transition: none;
}

.auth-modal.is-open .auth-modal__dialog {
  transform: none;
}

.auth-modal__close {
  position: absolute;
  top: clamp(16px, 1.2vw, 24px);
  right: clamp(16px, 1.2vw, 24px);
  z-index: 4;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(1, 83, 221, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-size: 28px;
  line-height: 1;
}

.auth-modal__media {
  position: relative;
  min-height: 100%;
  background-image:
    linear-gradient(90deg, rgba(0, 46, 140, 0.34), rgba(0, 157, 231, 0.08)),
    url("../images/sharkplan-style/hero.jpg");
  background-position: 60% center;
  background-size: cover;
}

.auth-modal__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 43, 130, 0.26), rgba(255, 255, 255, 0.12));
}

.auth-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4.2vw, 78px);
  background: #fff;
}

.auth-card__eyebrow {
  align-self: flex-start;
  margin-bottom: clamp(12px, 1vw, 20px);
  padding: 8px 14px;
  border: 1px solid rgba(1, 83, 221, 0.17);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(1, 83, 221, 0.08);
  font-size: var(--small);
  font-weight: 800;
}

.auth-card h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(34px, 2.55vw, 52px);
  line-height: 1.02;
}

.auth-card p {
  margin-bottom: clamp(20px, 2vw, 34px);
  color: var(--muted);
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.36;
}

.auth-card__field {
  margin-bottom: 16px;
}

.auth-card__field--name {
  display: none;
}

.auth-modal[data-mode="register"] .auth-card__field--name,
.auth-modal[data-mode="register"] .auth-card__terms {
  display: block;
}

.auth-card label,
.auth-card__terms {
  color: var(--ink);
  font-size: var(--small);
  font-weight: 800;
}

.auth-card__control {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(238, 245, 255, 0.56);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-card__control:focus-within {
  border-color: rgba(1, 83, 221, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(1, 83, 221, 0.1);
}

.auth-card__control i {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 22px;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font: 800 var(--body)/1 var(--font);
}

.auth-card input::placeholder {
  color: rgba(82, 103, 132, 0.58);
}

.auth-card__eye {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--blue);
  background: transparent;
}

.auth-card__terms {
  display: none;
  margin: 4px 0 16px;
  color: var(--muted);
  line-height: 1.25;
}

.auth-card__terms input {
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  vertical-align: -3px;
  accent-color: var(--blue);
}

.auth-card__error {
  min-height: 20px;
  margin-bottom: 12px;
  color: #c12b2b;
  font-size: var(--small);
  font-weight: 800;
}

.auth-card__submit {
  min-height: 60px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(1, 83, 221, 0.2);
  font: 800 var(--body)/1 var(--font);
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.auth-card__submit:hover,
.auth-card__submit:focus {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.auth-card__submit:disabled {
  opacity: 0.66;
  transform: none;
}

.auth-card__switch {
  align-self: center;
  margin-top: 18px;
  border: 0;
  color: var(--blue);
  background: transparent;
  font: 800 var(--small)/1.2 var(--font);
}

body.auth-modal-open {
  overflow: hidden;
}

.to-animate,
.to-animate-2,
.to-animate-3 {
  opacity: 1;
}

@media (max-width: 991px) {
  .core-features,
  .pricing-story {
    grid-template-columns: 1fr;
  }

  .core-features .grid2:first-child,
  .pricing-story__media {
    min-height: 280px;
  }

  .pricing-grid {
    display: block;
  }

  .price-box {
    min-height: 0;
    margin-bottom: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 22px;
    --section-y: 32px;
    --radius: 16px;
    --header-h: 42px;
    --h1: clamp(46px, 13.2vw, 58px);
    --h2: 28px;
    --h3: 22px;
    --h4: 18px;
    --body: 16px;
    --small: 13px;
    --label: 12px;
  }

  .site-header {
    padding: 0;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 10px;
    min-height: var(--header-h);
  }

  .site-nav {
    display: none;
  }

  .language-toggle,
  .login-button {
    min-height: 32px;
    font-size: var(--label);
  }

  .language-toggle {
    gap: 4px;
    padding: 3px;
  }

  .language-toggle__option {
    min-height: 24px;
    padding: 0 7px;
    gap: 4px;
  }

  .login-button {
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    gap: 6px;
  }

  #fh5co-home {
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
    background-position: 60% center;
  }

  #fh5co-home .gradient {
    background: linear-gradient(180deg, rgba(0, 60, 170, 0.92) 0%, rgba(1, 83, 221, 0.72) 52%, rgba(0, 157, 231, 0.34) 100%);
  }

  #fh5co-home .text-inner {
    align-items: center;
    padding-top: calc(var(--header-h) + 18px);
    padding-bottom: 18px;
  }

  #fh5co-home .hero-copy,
  #fh5co-home h2,
  .hero-stats,
  .getting-grid .desc,
  .section-heading h3,
  #fh5co-footer p {
    width: 100%;
  }

  #fh5co-home .hero-kicker {
    max-width: 100%;
    min-height: 34px;
    margin-bottom: 16px;
    padding: 7px 12px;
    font-size: 14px;
  }

  #fh5co-home h1 {
    margin-bottom: 16px;
  }

  #fh5co-home h2 {
    margin-bottom: 22px;
    font-size: 21px;
    line-height: 1.35;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 22px;
  }

  .btn,
  .btn.btn-primary,
  .btn.btn-ghost {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 15px;
    font-size: 15px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats div {
    min-height: 82px;
    padding: 12px;
  }

  .hero-stats strong {
    font-size: 25px;
  }

  .hero-stats span {
    font-size: 11px;
    line-height: 1.2;
  }

  .section-heading {
    padding-bottom: 18px;
  }

  .section-heading h3 {
    font-size: 16px;
  }

  .core-features .grid2:first-child,
  .pricing-story__media {
    min-height: 220px;
  }

  .core-features .core-f,
  .pricing-story__copy {
    min-height: 0;
    padding: 22px;
  }

  .feature-story h3,
  .pricing-story__copy h3 {
    font-size: 26px;
  }

  .feature-story p,
  .pricing-story__copy p {
    font-size: 15px;
    line-height: 1.43;
  }

  .counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
  }

  .counter-grid__item {
    min-height: 96px;
  }

  .fh5co-counter {
    font-size: 34px;
  }

  .fh5co-counter-label {
    margin-top: 8px;
    font-size: 12px;
  }

  .fh5co-project .row {
    gap: 10px;
    margin-right: 0;
    margin-left: 0;
  }

  .fh5co-project .row > .col-md-12 {
    width: calc(50% - 5px);
    padding-right: 0;
    padding-left: 0;
  }

  .project-grid {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .project-grid .desc {
    padding: 10px;
  }

  .project-grid .desc h3 a {
    font-size: 16px;
  }

  .project-grid .desc span,
  .project-grid .desc p {
    font-size: 10px;
    line-height: 1.22;
  }

  .project-grid .desc p {
    width: 100%;
    margin-top: 5px;
  }

  .pricing-cards {
    flex-wrap: nowrap;
    gap: 8px;
    margin-right: 0;
    margin-left: 0;
  }

  .pricing-cards > [class*="col-"] {
    width: calc((100% - 16px) / 3);
    padding-right: 0;
    padding-left: 0;
  }

  .pricing-cards .price-box {
    min-height: 0;
    padding: 14px 8px 12px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(10, 42, 90, 0.08);
  }

  .pricing-cards .popular-text {
    top: -24px;
    min-width: 92px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 10px;
  }

  .pricing-cards .popular-text::after {
    bottom: -7px;
    border-top-width: 7px;
    border-right-width: 7px;
    border-left-width: 7px;
  }

  .pricing-cards .pricing-plan {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .pricing-cards .price {
    margin-bottom: 8px;
    font-size: 31px;
  }

  .pricing-cards .price-box p {
    margin-bottom: 9px;
    font-size: 10px;
    line-height: 1.25;
  }

  .pricing-cards .price-box hr {
    margin: 10px 0;
  }

  .pricing-cards .pricing-info {
    margin-bottom: 12px;
  }

  .pricing-cards .pricing-info li {
    margin-bottom: 4px;
    font-size: 10px;
    line-height: 1.2;
  }

  .pricing-cards .btn {
    min-height: 34px;
    padding: 0 9px;
    border-radius: 11px;
    font-size: 11px;
  }

  .module-grid {
    gap: 10px;
    margin-right: 0;
    margin-left: 0;
  }

  .module-grid > [class*="col-"] {
    width: calc(50% - 5px);
    padding-right: 0;
    padding-left: 0;
  }

  .module-card {
    height: 100%;
    margin-bottom: 0;
    border-radius: 12px;
  }

  .module-media {
    aspect-ratio: 16 / 9;
  }

  .module-card h3 {
    margin: 10px 10px 3px;
    font-size: 16px;
    line-height: 1.08;
  }

  .module-card .position,
  .module-card p {
    margin-right: 10px;
    margin-left: 10px;
    font-size: 10px;
    line-height: 1.22;
  }

  .module-card p {
    display: none;
  }

  .getting-grid {
    min-height: 180px;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-right: 0;
    margin-left: 0;
    padding-bottom: 28px;
  }

  .footer-main > [class*="col-"] {
    width: auto;
    padding: 0;
  }

  #fh5co-footer .section-title {
    margin-bottom: 10px;
    font-size: 24px;
  }

  #fh5co-footer p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.38;
  }

  .footer-strip__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    min-height: 54px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .footer-about {
    padding: 34px 0;
  }

  .footer-about__card {
    padding: 22px;
    border-radius: 16px;
  }

  .footer-about__card h3 {
    margin-bottom: 10px;
    font-size: 28px;
  }

  .footer-about__card p {
    width: 100%;
    font-size: 15px;
    line-height: 1.43;
  }

  .footer-strip nav {
    gap: 12px;
  }

  .auth-modal {
    padding: 12px;
    align-items: center;
  }

  .auth-modal__backdrop {
    background:
      linear-gradient(180deg, rgba(0, 40, 132, 0.78), rgba(0, 130, 230, 0.52)),
      rgba(4, 20, 52, 0.42);
    backdrop-filter: blur(14px) saturate(1.04);
  }

  .auth-modal__dialog {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 430px;
    min-height: auto;
    max-height: calc(100svh - 24px);
    overflow-y: auto;
    border-radius: 24px;
    background: #fff;
  }

  .auth-modal__media {
    display: none;
  }

  .auth-modal__close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    color: var(--blue);
    border-color: rgba(1, 83, 221, 0.14);
    background: rgba(238, 245, 255, 0.92);
  }

  .auth-card {
    position: relative;
    z-index: 1;
    padding: 28px 22px 24px;
    background: #fff;
  }

  .auth-card h2 {
    font-size: 30px;
  }

  .auth-card p {
    font-size: 15px;
  }

  .auth-card__control {
    min-height: 54px;
    border-radius: 16px;
  }

}

@media (max-width: 380px) {
  :root {
    --gutter: 18px;
  }

  #fh5co-home h2 {
    font-size: 19px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 130px;
  }
}
