:root {
  --bg: #ffffff;
  --ink: #252525;
  --muted: #646464;
  --brand: #20aae2;
  --brand-dark: #155e9a;
  --dark: #2f2f2f;
  --line: #5e5e5e;
  --card-shadow: 0 18px 40px rgba(18, 48, 84, 0.08);
  --section-width: min(1120px, calc(100vw - 56px));
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-shell {
  overflow-x: clip;
}

.header-top,
.hero,
.section,
.ecosystem-strip__inner,
.footer-grid {
  width: var(--section-width);
  margin: 0 auto;
}

.site-header {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.88) 0%, rgba(15, 15, 15, 0.64) 34%, rgba(15, 15, 15, 0.18) 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)),
    url("./assets/design/yokihub%20assets/request%20demo%20image.png") center center / cover no-repeat;
}

.header-top {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.header-contact,
.header-main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
}

.header-contact__item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.header-main-nav {
  margin-left: auto;
  gap: 24px;
  font-size: 11px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.button--small {
  padding: 10px 22px;
  color: #ffffff;
  background: var(--brand);
  box-shadow: none;
}

.button--dark {
  color: #ffffff;
  background: #2f2f2f;
  box-shadow: none;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 34px 0 40px;
}

.hero__content {
  max-width: 468px;
}

.brand-image {
  width: 210px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 22px 0 24px;
  font-size: 14px;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 56px 0;
}

.section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.section-heading--left {
  text-align: left;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 2.9vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.58;
}

.section--features .section-heading h2,
.section--management .section-heading h2 {
  color: var(--brand-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 186px;
  padding: 20px 18px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.feature-card__icon-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.feature-card__icon-image--wide {
  width: 34px;
}

.feature-card h3,
.security-card h3,
.footer-column h3 {
  margin: 16px 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.feature-card p,
.security-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section--management {
  background: linear-gradient(180deg, #eef6ff, #fbfdff 75%);
}

.management-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 24px;
}

.management-visual {
  position: relative;
}

.management-screen {
  width: 100%;
}

.management-side {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.management-person {
  width: min(100%, 340px);
}

.management-copy {
  margin: 0;
}

.management-copy--left {
  margin-top: 10px;
  color: var(--brand-dark);
  font-size: 17px;
  line-height: 1.4;
}

.management-copy__art {
  display: inline-block;
  width: 138px;
  margin-left: 6px;
  vertical-align: baseline;
}

.management-copy--right {
  margin-top: 8px;
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ecosystem-strip {
  padding: 18px 0 14px;
  background: var(--dark);
  color: #ffffff;
}

.ecosystem-strip__inner {
  text-align: center;
}

.ecosystem-strip__inner p {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
}

.ecosystem-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.ecosystem-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.ecosystem-strip li img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ecosystem-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  gap: 28px;
  padding: 30px 24px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(16, 38, 66, 0.14);
}

.ecosystem-visual {
  position: relative;
}

.ecosystem-diagram-image {
  width: 100%;
}

.ecosystem-arrow {
  position: absolute;
  top: -4px;
  right: -64px;
  width: 220px;
  pointer-events: none;
}

.ecosystem-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.ecosystem-content h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(30px, 2.9vw, 38px);
  line-height: 1.2;
}

.ecosystem-content p {
  margin: 0;
  color: #3c3c3c;
  line-height: 1.6;
}

.section--testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 26px;
  margin-top: 22px;
  padding: 28px 34px;
  background:
    linear-gradient(180deg, rgba(47, 47, 47, 0.96), rgba(47, 47, 47, 0.96)),
    url("./assets/design/yokihub%20assets/black%20gradient.png") center / cover no-repeat;
  color: #ffffff;
}

.testimonial-content h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.7vw, 40px);
}

.testimonial-content ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.testimonial-content p {
  margin: 18px 0 0;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.testimonial-visual img {
  width: 230px;
  margin-left: auto;
}

.section--trust {
  background: linear-gradient(180deg, #f4f7fb, #ffffff 72%);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.trust-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.trust-list li img {
  width: 18px;
  margin-top: 4px;
}

.trust-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.trust-list span {
  display: block;
  color: var(--muted);
  line-height: 1.58;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.security-card {
  min-height: 290px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  box-shadow: var(--card-shadow);
  text-align: left;
}

.security-card--tall {
  min-height: 352px;
}

.security-card img {
  width: 120px;
  margin: 0 auto 18px;
}

.section--pricing {
  padding-bottom: 12px;
}

.pricing-spacer {
  height: 250px;
}

.section--faq {
  padding-top: 56px;
}

.faq-list {
  display: grid;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  background: url("./assets/design/yokihub%20assets/FAQ%20arrow%20down.png") center / contain no-repeat;
}

.faq-item.is-open .faq-toggle {
  background-image: url("./assets/design/yokihub%20assets/faq%20arrow%20up.png");
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  padding-bottom: 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 18px;
}

.site-footer {
  margin-top: 42px;
  padding: 30px 0 34px;
  background: var(--dark);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.72fr)) minmax(0, 1fr);
  gap: 30px;
}

.brand-image--footer {
  width: 176px;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-column p,
.footer-column a {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.footer-meta {
  margin-top: 18px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  margin-top: 4px;
  color: #ffffff;
}

.footer-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.footer-form input {
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  color: #333333;
  background: #ffffff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.footer-social span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer-social a {
  width: 24px;
  height: 24px;
}

.footer-social a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .feature-grid,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .management-layout,
  .ecosystem-card,
  .section--testimonial,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .management-side,
  .testimonial-visual img {
    margin-left: 0;
  }

  .ecosystem-arrow {
    right: -18px;
    width: 180px;
  }

  .management-side {
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  :root {
    --section-width: min(100vw - 32px, 100%);
  }

  .header-top {
    min-height: auto;
    padding: 10px 0 14px;
    flex-wrap: wrap;
  }

  .header-contact,
  .header-main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-main-nav {
    margin-left: 0;
  }

  .button--small {
    margin: 0 auto;
  }

  .feature-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 520px;
    padding-top: 20px;
  }

  .ecosystem-strip ul {
    gap: 12px;
    font-size: 13px;
  }

  .ecosystem-arrow {
    display: none;
  }

  .section--testimonial {
    padding: 26px 20px;
  }
}

@media (max-width: 620px) {
  .hero h1,
  .section-heading h2,
  .ecosystem-content h3,
  .testimonial-content h2 {
    font-size: 30px;
  }

  .hero {
    min-height: 470px;
    background-position: 68% center;
  }

  .brand-image {
    width: 170px;
  }

  .feature-card,
  .security-card {
    min-height: 0;
  }

  .faq-question {
    font-size: 15px;
  }

  .pricing-spacer {
    height: 160px;
  }
}
