@font-face {
  font-family: "Onest";
  src: url("../assets/fonts/onest-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --ink: #16181c;
  --muted: #7d8289;
  --pink: #e52387;
  --blue: #36a9dc;
  --lime: #a9cc43;
  --navy: #243b59;
  --form-blue: #d5f2fd;
  --container: 1290px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px;
  color: #fff; background: #111; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  padding: 12px 25px; border: 1px solid transparent; color: #fff;
  font-weight: 750; line-height: 1.2; cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.button--pink { border-color: var(--pink); border-radius: 9px; background: var(--pink); }
.button--pink:hover, .button--pink:focus-visible {
  color: var(--pink); background: transparent; transform: translateY(-2px);
}

.site-header { position: relative; z-index: 20; min-height: 108px; background: #080808; }
.header-inner {
  min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand img { width: 145px; }
.main-nav ul {
  display: flex; align-items: center; gap: clamp(28px, 4.2vw, 76px);
  margin: 0; padding: 0; list-style: none;
}
.main-nav a {
  position: relative; display: block; padding: 41px 0; color: #fff;
  font-size: 15px; font-weight: 700;
}
.main-nav a::after {
  position: absolute; right: 0; bottom: 29px; left: 0; height: 2px;
  background: var(--pink); content: ""; opacity: 0; transform: scaleX(.45);
  transition: opacity 180ms ease, transform 180ms ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--pink); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { opacity: 1; transform: scaleX(1); }
.header-cta { flex: 0 0 auto; font-size: 14px; }
.menu-toggle {
  display: none; width: 46px; height: 42px; padding: 9px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 6px;
  color: #fff; background: transparent; cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  display: block; height: 2px; margin: 5px 0; background: currentColor;
}

.page-hero {
  min-height: 377px; display: grid; place-items: center; padding: 24px;
  background: linear-gradient(rgba(0,0,0,.34),rgba(0,0,0,.34)),
    url("../assets/images/hero.webp") center/cover no-repeat;
}
.hero-panel {
  width: min(100%,1280px); min-height: 296px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 36px 24px;
  border: 2px solid var(--pink); border-radius: 17px;
  background: rgba(0,0,0,.64); text-align: center;
}
.hero-panel img { width: min(65vw,610px); }
.hero-panel p {
  margin: 22px 0 0; color: var(--pink); font-size: clamp(18px,2vw,25px);
  font-weight: 750; line-height: 1.25;
}

.attendance-intro { padding: 55px 0 36px; }
.intro-grid {
  display: grid; grid-template-columns: .92fr 1.08fr; align-items: center;
  gap: 70px; min-height: 350px; padding-inline: 65px;
}
.intro-copy h1 {
  position: relative; margin: 0 0 30px; width: fit-content;
  font-size: clamp(37px,4vw,54px); line-height: 1.08;
}
.intro-copy h1::after {
  position: absolute; right: 0; bottom: -9px; left: 0;
  height: 6px; background: var(--lime); content: "";
}
.intro-copy p { margin: 0; color: var(--muted); font-size: clamp(17px,1.7vw,22px); }
.dashboard-window {
  overflow: hidden; border-radius: 4px;
  box-shadow: 0 18px 38px rgba(25,37,54,.15);
}
.dashboard-window img { width: 100%; }

.pillars-section { padding: 18px 0 78px; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(5,minmax(0,1fr));
  align-items: start; gap: 38px;
}
.pillar { text-align: center; }
.pillar-icon {
  display: grid; width: 62px; height: 62px; place-items: center;
  margin: 0 auto 12px; color: #26292d; font-size: 36px; font-weight: 700;
}
.pillar h2 { margin: 0 0 10px; font-size: 17px; line-height: 1.3; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }

.timecloud-section { padding: 45px 0 88px; }
.timecloud-grid {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(420px,.9fr);
  align-items: center; gap: 78px;
}
.timecloud-copy h2 {
  margin: 0 0 29px; font-size: clamp(27px,3vw,37px); line-height: 1.2;
}
.timecloud-copy p { margin: 0 0 24px; font-size: 16px; }
.device-photo { margin: 0; overflow: hidden; }
.device-photo img { width: 100%; }

.details-section { padding: 0 0 90px; }
.details-grid {
  display: grid; grid-template-columns: minmax(340px,.75fr) minmax(0,1.25fr);
  align-items: center; gap: clamp(70px,10vw,150px);
}
.feature-panel {
  overflow: hidden; border-radius: 4px; background: #fff;
  box-shadow: 0 18px 40px rgba(27,39,55,.14);
}
.feature-panel > img { width: 100%; }
.feature-panel ul { margin: 0; padding: 30px 38px 38px; list-style: none; }
.feature-panel li {
  display: flex; align-items: center; gap: 17px; padding: 9px 0;
  font-size: clamp(18px,1.8vw,25px); line-height: 1.25;
}
.feature-panel li span {
  width: 32px; flex: 0 0 32px; color: var(--lime);
  font-size: 24px; font-weight: 800; text-align: center;
}
.details-copy article { margin-bottom: 25px; font-size: 16px; }
.details-copy article:last-child { margin-bottom: 0; }
.details-copy p { margin: 0; }
.details-copy ul { margin: 2px 0 0; padding: 0; list-style: none; }
.details-copy li::before { content: "– "; }

.mobile-app-section { padding: 10px 0 90px; }
.mobile-app-card {
  position: relative; min-height: 440px; display: grid;
  grid-template-columns: .9fr 1.1fr; align-items: center; gap: 42px;
  overflow: hidden; padding: 30px 65px; background: #fff;
}
.mobile-app-copy { position: relative; z-index: 2; max-width: 390px; margin-left: 170px; }
.mobile-app-copy h2 { margin: 0 0 20px; font-size: clamp(31px,3.2vw,43px); line-height: 1.13; }
.mobile-app-copy p { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.mobile-app-card > img { position: relative; z-index: 2; width: 100%; }
.app-decor { position: absolute; border-radius: 50%; }
.app-decor--navy { left: -52px; top: 80px; width: 255px; height: 255px; background: var(--navy); }
.app-decor--coral { top: -58px; left: 43%; width: 150px; height: 150px; background: #d75c5f; }
.app-decor--lime { right: 31%; bottom: -62px; width: 170px; height: 170px; background: var(--lime); }
.store-buttons { display: flex; gap: 12px; }
.store-buttons span {
  min-width: 96px; padding: 9px 15px; border-radius: 3px;
  background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15);
  font-size: 12px; text-align: center;
}
.store-buttons span:first-child { color: #fff; background: var(--navy); }

.quote-section {
  width: min(calc(100% - 48px),var(--container)); min-height: 830px;
  display: grid; grid-template-columns: 33.33% 66.67%; margin: 0 auto;
  overflow: hidden; border-radius: 15px 15px 0 0;
  box-shadow: 0 18px 40px rgba(26,37,52,.12);
}
.quote-image {
  display: flex; min-height: 830px; align-items: flex-end; padding: 40px; color: #fff;
  background: linear-gradient(180deg,rgba(13,25,48,.08),rgba(10,15,28,.85)),
    url("../assets/images/contact-building.webp") center/cover no-repeat;
}
.quote-image strong { font-size: 17px; }
.quote-image p { margin: 14px 0 0; }
.socials { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.socials a {
  display: grid; width: 40px; height: 40px; place-items: center;
  border-radius: 50%; color: #fff; background: #000;
  font-size: 12px; font-weight: 750; transition: background 180ms ease,transform 180ms ease;
}
.socials a:hover, .socials a:focus-visible { background: var(--pink); transform: translateY(-2px); }
.quote-content { padding: 62px 60px; background: var(--form-blue); }
.quote-content .eyebrow { margin: 0 0 15px; color: var(--pink); font-size: 15px; font-weight: 750; }
.quote-content h2 { margin: 0 0 12px; font-size: clamp(32px,3.1vw,42px); line-height: 1.2; }
.quote-content > p:not(.eyebrow) { margin: 0 0 68px; }
.quote-content--single-form { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.quote-content--single-form > p:not(.eyebrow) { max-width:620px; margin-bottom:30px; }
.quote-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 550; }
.form-field--full { grid-column: 1/-1; }
.form-field input, .form-field textarea {
  width: 100%; border: 1px solid var(--pink); border-radius: 10px;
  outline: 0; background: transparent; transition: background 160ms ease,box-shadow 160ms ease;
}
.form-field input { height: 49px; padding: 10px 13px; }
.form-field textarea { min-height: 170px; padding: 13px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus {
  background: rgba(255,255,255,.65); box-shadow: 0 0 0 3px rgba(229,35,135,.13);
}
.quote-form .button { grid-column: 1/-1; justify-self: start; min-width: 180px; }
.form-status { grid-column: 1/-1; min-height: 22px; margin: -8px 0 0; font-size: 13px; }

.site-footer {
  padding-top: 60px; color: #050505;
  background: linear-gradient(180deg,#39a9dc 0%,#8b72bc 45%,#e52387 100%);
}
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 44px 55px; border-radius: 15px; color: #fff; background: #050505;
}
.footer-cta h2 { margin: 0 0 8px; font-size: clamp(23px,2.4vw,29px); line-height: 1.2; }
.footer-cta p { margin: 0; color: rgba(255,255,255,.82); }
.footer-cta .button { min-width: 175px; }
.footer-grid {
  display: grid; grid-template-columns: 1.15fr 1fr .9fr 1.2fr;
  gap: 60px; padding-top: 92px; padding-bottom: 85px;
}
.footer-brand img { width: 255px; margin-bottom: 24px; }
.footer-brand p { max-width: 250px; }
.footer-column h3 { margin: 0 0 17px; font-size: 18px; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li { padding: 8px 0; }
.footer-column a:hover, .footer-column a:focus-visible { text-decoration: underline; }
.newsletter { display: flex; align-items: stretch; }
.newsletter input {
  min-width: 0; height: 58px; flex: 1 1 auto; padding: 12px 18px;
  border: 1px solid #fff; border-radius: 10px 0 0 10px; outline: 0;
  color: #fff; background: rgba(255,255,255,.08);
}
.newsletter input::placeholder { color: rgba(255,255,255,.74); }
.newsletter .button { min-height: 58px; border-radius: 0 10px 10px 0; }
.footer-socials { margin-top: 35px; }
.copyright {
  margin: 0; padding: 20px 24px; border-top: 1px solid rgba(0,0,0,.18);
  font-size: 13px; text-align: center;
}

body.js-ready .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 650ms ease,transform 650ms ease;
}
body.js-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width:1080px) {
  .header-cta { display: none; }
  .intro-grid { padding-inline: 32px; }
  .pillars-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mobile-app-copy { margin-left: 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width:820px) {
  .site-header,.header-inner { min-height: 84px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: 84px; right: 0; left: 0; display: none;
    padding: 12px 24px 24px; background: #080808;
    box-shadow: 0 16px 24px rgba(0,0,0,.3);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav a::after { display: none; }
  .page-hero { min-height: 330px; }
  .hero-panel { min-height: 250px; }
  .intro-grid,.timecloud-grid,.details-grid,.quote-section { grid-template-columns: 1fr; }
  .intro-copy { text-align: center; }
  .intro-copy h1 { margin-inline: auto; }
  .dashboard-window { width: min(100%,620px); margin-inline: auto; }
  .pillars-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .timecloud-grid,.details-grid { gap: 55px; }
  .device-photo,.feature-panel { width: min(100%,580px); margin-inline: auto; }
  .mobile-app-card { grid-template-columns: 1fr; padding: 55px 40px; }
  .mobile-app-copy { max-width: 480px; margin-left: 80px; }
  .mobile-app-card > img { width: min(100%,620px); margin-left: auto; }
  .quote-image { min-height: 530px; }
  .quote-section { min-height: 0; }
  .footer-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width:580px) {
  .container,.quote-section { width: min(calc(100% - 32px),var(--container)); }
  .brand img { width: 125px; }
  .page-hero { min-height: 285px; padding: 20px 16px; }
  .hero-panel { min-height: 228px; padding-inline: 14px; border-radius: 10px; }
  .hero-panel img { width: min(86vw,460px); }
  .attendance-intro { padding-top: 44px; }
  .intro-grid { gap: 42px; padding-inline: 0; }
  .intro-copy h1 { font-size: 34px; }
  .intro-copy p { font-size: 16px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 42px; }
  .pillar { max-width: 300px; margin-inline: auto; }
  .timecloud-section { padding-top: 20px; }
  .timecloud-copy h2 { font-size: 29px; }
  .details-grid { gap: 45px; }
  .feature-panel ul { padding-inline: 22px; }
  .feature-panel li { font-size: 18px; }
  .mobile-app-card { padding: 45px 20px 20px; }
  .mobile-app-copy { margin-left: 44px; }
  .mobile-app-copy h2 { font-size: 33px; }
  .app-decor--navy { left: -150px; width: 180px; height: 180px; }
  .app-decor--coral { left: 58%; width: 110px; height: 110px; }
  .app-decor--lime { right: -30px; width: 130px; height: 130px; }
  .quote-image { min-height: 460px; padding: 28px; }
  .quote-content { padding: 40px 24px; }
  .quote-content > p:not(.eyebrow) { margin-bottom: 38px; }
  .quote-form { grid-template-columns: 1fr; }
  .form-field--full,.quote-form .button,.form-status { grid-column: auto; }
  .footer-cta { padding: 32px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; padding-top: 62px; padding-bottom: 60px; }
  .newsletter { flex-direction: column; gap: 10px; }
  .newsletter input,.newsletter .button { border-radius: 8px; }
  .newsletter .button { align-self: flex-start; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; }
  body.js-ready .reveal { opacity: 1; transform: none; }
}
