/* RedSun local overrides */

:root {
  --redsun-reveal-duration: 1.2s;
  --redsun-reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --redsun-reveal-delay: 1s;
}

html {
  scroll-behavior: auto;
}

/* Logo marquee fallback (in case IX2 is slow to init) */
.company-logo-holder .logo-track {
  display: flex;
  flex: none;
  width: max-content;
  animation: redsun-logo-marquee 45s linear infinite;
}

@keyframes redsun-logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Ensure hero content becomes visible in React SPA */
.animate-on-load-01,
.animate-on-load-02,
.animate-on-load-03,
.animate-on-load-04,
.animate-on-load-05,
.app-holder,
.navbar,
.home-grid-image,
.feature-image {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero heading — fit title on two lines across breakpoints */
.home-hero {
  max-width: min(780px, 100%);
}

.hero-title {
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.2;
}

@media screen and (min-width: 992px) {
  .home-hero {
    max-width: 780px;
  }

  .hero-title {
    font-size: 54px;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .hero-title {
    font-size: 46px;
  }
}

@media screen and (max-width: 767px) {
  .home-hero {
    max-width: 100%;
  }

  .hero-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 479px) {
  .hero-title {
    font-size: 30px;
  }
}

/* Corner badge on top-right of hero Early Access pill */
.hero-badge-block {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.hero-content .animate-on-load-01,
.hero-content .badge-wrapper {
  overflow: visible;
}

.hero-content .animate-on-load-01 {
  padding-top: 10px;
}

.hero-badge-corner {
  --hero-badge-accent: #ff4d6d;
  position: absolute;
  top: -28px;
  right: -44px;
  z-index: 2;
  display: inline-flex;
  align-items: stretch;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: #141414;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
  transform: rotate(4deg);
  transform-origin: center center;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.hero-badge-corner-shine {
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 214, 170, 0.55) 38%,
    rgba(255, 120, 180, 0.45) 68%,
    rgba(120, 210, 255, 0.5) 100%
  );
  opacity: 0.85;
  filter: blur(0.5px);
  transition: opacity 0.35s ease;
}

.hero-badge-corner-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border-left: 3px solid var(--hero-badge-accent);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f0ea 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 34px rgba(0, 0, 0, 0.38),
    0 4px 12px rgba(255, 255, 255, 0.08);
}

.hero-badge-corner-number {
  padding-left: 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #111111 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-badge-corner-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-right: 2px;
}

.hero-badge-corner-eyebrow {
  color: var(--hero-badge-accent);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-badge-corner-label {
  color: #2b2b2b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.hero-badge-corner-live {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero-badge-corner-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero-badge-accent);
}

.hero-badge-corner-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255, 77, 109, 0.35);
  animation: hero-badge-corner-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-badge-corner:hover {
  transform: rotate(0deg) translateY(-3px) scale(1.03);
}

.hero-badge-corner:hover .hero-badge-corner-shine {
  opacity: 1;
}

.hero-badge-corner:hover .hero-badge-corner-inner {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.42),
    0 8px 20px rgba(255, 255, 255, 0.12);
}

.hero-badge-corner:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

@keyframes hero-badge-corner-ping {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.45);
    opacity: 0;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@media screen and (max-width: 991px) {
  .hero-badge-block {
    display: block;
    width: 100%;
  }

  .hero-badge-corner {
    top: -18px;
    right: -8px;
    transform: rotate(3deg);
  }

  .hero-badge-corner-inner {
    gap: 8px;
    padding: 8px 12px 8px 10px;
  }

  .hero-badge-corner-number {
    font-size: 18px;
  }

  .hero-badge-corner-eyebrow {
    font-size: 8px;
  }

  .hero-badge-corner-label {
    font-size: 10px;
  }
}

/* Anchor scroll offset under fixed navbar */
#hero,
#features,
#use-cases,
#pricing {
  scroll-margin-top: 100px;
}

/* Hero content spacing — badge, title, copy, CTAs */
.hero-content {
  gap: 32px;
  padding-top: 30px;
}

.hero-content .home-hero {
  padding-bottom: 0;
}

.hero-content .hero-button-holder {
  margin-top: 0;
}

.hero-content .center-hero-paragraph-holder p {
  margin-top: 0;
  margin-bottom: 0;
}

.hero-content .center-hero-paragraph-holder p + p {
  margin-top: 14px;
}

.hero-content .animate-on-load-04 {
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  #hero .hero-section.padding-top {
    padding-top: 100px;
  }

  .hero-content {
    gap: 24px;
    padding-top: 14px;
  }

  .hero-content .animate-on-load-01 {
    padding-top: 30px;
  }

  .hero-content .center-hero-paragraph-holder p + p {
    margin-top: 12px;
  }

  .hero-content .animate-on-load-04 {
    margin-top: 16px;
  }

  /* Hero text block — centered on mobile */
  #hero .hero-content {
    align-items: center;
  }

  #hero .hero-content .animate-on-load-01,
  #hero .hero-content .badge-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #hero .hero-badge-block {
    display: flex;
    justify-content: center;
    max-width: 100%;
  }

  #hero .ease-badge {
    width: auto;
    max-width: calc(100% - 1rem);
    font-size: 12px;
    grid-column-gap: 6px;
    padding: 1px 10px 1px 1px;
  }

  #hero .whats-new {
    padding: 6px 10px;
    font-size: 11px;
  }

  #hero .home-hero {
    text-align: center;
    width: 100%;
  }

  #hero .center-hero-paragraph-holder {
    text-align: center;
    width: 100%;
  }

  #hero .hero-button-holder {
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: 100%;
  }

  #hero .hero-button-holder .button-simple,
  #hero .hero-button-holder .button-glow {
    padding: 10px 14px;
  }
}

@media screen and (max-width: 479px) {
  #hero .ease-badge {
    font-size: 11px;
    padding: 1px 8px 1px 1px;
  }

  #hero .whats-new {
    padding: 5px 8px;
    font-size: 10px;
  }

  #hero .hero-button-holder {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: 100%;
  }

  #hero .hero-button-holder .button-simple,
  #hero .hero-button-holder .button-glow {
    padding: 8px 12px;
    width: auto;
  }
}

/* Hero visual stack — Webflow layout parity */
#hero .hero-section {
  overflow: hidden;
}

#hero .hero-section-center-holder {
  width: 100%;
}

#hero .animate-on-load-05 {
  width: 100%;
}

#hero .home-app-wrapper {
  width: 100%;
  max-width: 100%;
}

#hero .circle-wrapper {
  left: 0;
  right: 0;
  width: 100%;
}

#hero .app-image {
  display: block;
  width: 100%;
  height: auto;
}

#hero .hero-content {
  will-change: opacity, transform;
}

/* Sun rise — CSS keyframes synced with top-left rays */
.home-app-wrapper .circle-container {
  opacity: 0;
  transform: translate3d(0, 42vh, 0);
  will-change: transform, opacity;
}

.home-app-wrapper .red-glow,
.home-app-wrapper .white-glow {
  opacity: 0;
  filter: blur(20px);
  transform: translate3d(-248px, 95px, 0) scale3d(0.9, 0.9, 1) rotateZ(-26deg);
  will-change: transform, opacity, filter;
}

body.redsun-ready .home-app-wrapper .circle-container {
  animation: redsun-sun-rise var(--redsun-reveal-duration) var(--redsun-reveal-ease) var(--redsun-reveal-delay) forwards;
}

body.redsun-ready .home-app-wrapper .red-glow {
  animation: redsun-sun-red-glow var(--redsun-reveal-duration) var(--redsun-reveal-ease) var(--redsun-reveal-delay) forwards;
}

body.redsun-ready .home-app-wrapper .white-glow {
  animation: redsun-sun-white-glow var(--redsun-reveal-duration) var(--redsun-reveal-ease) var(--redsun-reveal-delay) forwards;
}

@keyframes redsun-sun-rise {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes redsun-sun-red-glow {
  to {
    opacity: 0.4;
    filter: blur(0px);
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateZ(0deg);
  }
}

@keyframes redsun-sun-white-glow {
  to {
    opacity: 1;
    filter: blur(0px);
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateZ(0deg);
  }
}

.hero-section > .light-wrapper {
  z-index: 1;
  pointer-events: none;
}

.redsun-rays-holder {
  grid-column-gap: 70px;
  opacity: 0.41;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  top: -217px;
  left: -129px;
  transform: rotate(-30deg);
}

.redsun-ray {
  opacity: 0;
  filter: blur(18px);
  background-image: linear-gradient(#fff 5%, #cfcfcf00 67%);
  width: 180px;
  height: 0;
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform, opacity, height;
}

.redsun-ray-left {
  filter: blur(9px);
  width: 110px;
  left: 442.5px;
  position: relative;
}

.redsun-ray-middle {
  filter: blur(18px);
}

.redsun-ray-right {
  filter: blur(16px);
  width: 110px;
  right: 400px;
  position: relative;
}

body.redsun-ready .redsun-ray-middle {
  animation: redsun-light-middle var(--redsun-reveal-duration) var(--redsun-reveal-ease) var(--redsun-reveal-delay) forwards;
}

body.redsun-ready .redsun-ray-left {
  animation: redsun-light-left var(--redsun-reveal-duration) var(--redsun-reveal-ease) var(--redsun-reveal-delay) forwards;
}

body.redsun-ready .redsun-ray-right {
  animation: redsun-light-right var(--redsun-reveal-duration) var(--redsun-reveal-ease) var(--redsun-reveal-delay) forwards;
}

@keyframes redsun-light-middle {
  to {
    height: 820px;
    opacity: 0.53;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-left {
  to {
    height: 750px;
    opacity: 0.37;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-right {
  to {
    height: 650px;
    opacity: 0.47;
    transform: scaleY(1);
  }
}

@media screen and (max-width: 991px) {
  .redsun-rays-holder {
    top: -165px;
    left: -95px;
    grid-column-gap: 52px;
    transform: rotate(-30deg) scale(0.82);
    transform-origin: top center;
  }

  .redsun-ray-left {
    left: 360px;
  }

  .redsun-ray-right {
    right: 320px;
  }

  body.redsun-ready .redsun-ray-middle {
    animation-name: redsun-light-middle-tablet;
  }

  body.redsun-ready .redsun-ray-left {
    animation-name: redsun-light-left-tablet;
  }

  body.redsun-ready .redsun-ray-right {
    animation-name: redsun-light-right-tablet;
  }

  .home-app-wrapper .circle-container {
    transform: translate3d(0, 34vh, 0);
  }

  .home-app-wrapper .red-glow,
  .home-app-wrapper .white-glow {
    transform: translate3d(-180px, 72px, 0) scale3d(0.9, 0.9, 1) rotateZ(-26deg);
  }
}

@media screen and (max-width: 767px) {
  .redsun-rays-holder {
    top: -125px;
    left: -58px;
    grid-column-gap: 36px;
    transform: rotate(-28deg) scale(0.68);
    transform-origin: top center;
  }

  .redsun-ray-left {
    left: 250px;
    width: 90px;
  }

  .redsun-ray-middle {
    width: 140px;
  }

  .redsun-ray-right {
    right: 220px;
    width: 90px;
  }

  body.redsun-ready .redsun-ray-middle {
    animation-name: redsun-light-middle-mobile;
  }

  body.redsun-ready .redsun-ray-left {
    animation-name: redsun-light-left-mobile;
  }

  body.redsun-ready .redsun-ray-right {
    animation-name: redsun-light-right-mobile;
  }

  .home-app-wrapper .circle-container {
    transform: translate3d(0, 28vh, 0);
  }

  .home-app-wrapper .red-glow,
  .home-app-wrapper .white-glow {
    transform: translate3d(-120px, 52px, 0) scale3d(0.88, 0.88, 1) rotateZ(-22deg);
  }
}

@media screen and (max-width: 479px) {
  .redsun-rays-holder {
    top: -92px;
    left: -36px;
    grid-column-gap: 24px;
    transform: rotate(-26deg) scale(0.52);
    transform-origin: top center;
  }

  .redsun-ray-left {
    left: 170px;
    width: 72px;
  }

  .redsun-ray-middle {
    width: 110px;
  }

  .redsun-ray-right {
    right: 150px;
    width: 72px;
  }

  body.redsun-ready .redsun-ray-middle {
    animation-name: redsun-light-middle-small;
  }

  body.redsun-ready .redsun-ray-left {
    animation-name: redsun-light-left-small;
  }

  body.redsun-ready .redsun-ray-right {
    animation-name: redsun-light-right-small;
  }

  .home-app-wrapper .circle-container {
    transform: translate3d(0, 22vh, 0);
  }
}

@keyframes redsun-light-middle-tablet {
  to {
    height: 640px;
    opacity: 0.5;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-left-tablet {
  to {
    height: 580px;
    opacity: 0.35;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-right-tablet {
  to {
    height: 500px;
    opacity: 0.44;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-middle-mobile {
  to {
    height: 520px;
    opacity: 0.48;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-left-mobile {
  to {
    height: 470px;
    opacity: 0.34;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-right-mobile {
  to {
    height: 410px;
    opacity: 0.42;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-middle-small {
  to {
    height: 400px;
    opacity: 0.45;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-left-small {
  to {
    height: 360px;
    opacity: 0.32;
    transform: scaleY(1);
  }
}

@keyframes redsun-light-right-small {
  to {
    height: 320px;
    opacity: 0.4;
    transform: scaleY(1);
  }
}

/* Hero CTA buttons — pill shape (matches navbar) */
.hero-button-holder .button-simple,
.hero-button-holder .button-glow {
  border-radius: 999px;
  padding: 10px 22px;
}

/* Features section header */
.features-section-header {
  margin-bottom: 48px;
}

.features-section-header .section-title.xl {
  margin-bottom: 3px;
}

.features-section-header .section-title .title {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background-image: linear-gradient(90deg, #ffffff 0%, #9ca3af 100%);
}

.features-section-header .section-paragraph p {
  margin: 0;
  color: #9ca3af;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

@media screen and (max-width: 991px) {
  .features-section-header .section-title .title {
    font-size: 36px;
    line-height: 1.2;
  }

  .features-section-header .section-paragraph p {
    font-size: 16px;
  }
}

.section-paddings {
  padding-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .section-paddings {
    padding-bottom: 0;
  }
}

@media screen and (min-width: 768px) {
  .new-features-grid.tq-layout-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

/* Feature blocks — match image column size in both rows */
.new-features-grid {
  align-items: stretch;
}

.new-features-grid .feature-grid-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.new-features-grid .feature-grid-image-holder {
  aspect-ratio: 1151 / 1367;
  width: 100%;
  align-self: stretch;
}

.new-features-grid .feature-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media screen and (max-width: 767px) {
  .new-features-grid .feature-grid-image-holder {
    aspect-ratio: 1151 / 1367;
    max-width: 100%;
  }

  /* Top 2 feature blocks — image first, centered copy on mobile */
  .feature-block.feature-block--mobile-centered {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
  }

  .feature-block--mobile-image-first .feature-grid-image-holder {
    order: 1;
  }

  .feature-block--mobile-image-first .feature-grid-content {
    order: 2;
  }

  .feature-block--mobile-centered .feature-grid-content {
    align-items: center;
    width: 100%;
  }

  .feature-block--mobile-centered .feature-grid-content-holder {
    align-items: center !important;
    text-align: center !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-block--mobile-centered .feature-grid-title {
    text-align: center;
    width: 100%;
  }

  .feature-block--mobile-centered .feature-grid-content-holder p {
    text-align: center;
  }

  .feature-block--mobile-centered .section-tag-2 {
    align-self: center;
  }

  .feature-block--mobile-centered .button-simple {
    align-self: center;
  }

  .feature-block--mobile-centered .checked-list-holder {
    justify-content: center;
    width: 100%;
    padding-left: 20px;
  }

  .feature-block--mobile-centered .list {
    width: fit-content;
    max-width: 100%;
  }
}

/* Blog use-case cards — equal height */
.blog-grid-3x .blog-grid-twos-item {
  display: flex;
  height: 100%;
}

.blog-grid-3x .blog-item {
  height: 100%;
}

.blog-grid-3x .blog-item-holder {
  height: 420px;
}

.blog-grid-3x .blog-grid-2x-image {
  height: 100%;
}

.blog-grid-3x .blog-text-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 132px;
}

.blog-grid-3x .blog-grid-2x-title {
  line-height: 1.25;
}

/* Use-case cards — text slides up from below on hover (Webflow a-32 / a-33) */
@media screen and (min-width: 992px) {
  .blog-grid-3x .blog-text-content {
    transform: translate3d(0, 120%, 0);
    transition: transform 0.6s ease;
  }

  .blog-grid-3x .blog-item:hover .blog-text-content {
    transform: translate3d(0, 0, 0);
  }

  .blog-grid-3x .blog-grid-2x-image {
    transition: transform 0.6s ease;
  }

  .blog-grid-3x .blog-item:hover .blog-grid-2x-image {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@media screen and (max-width: 991px) {
  .blog-grid-3x .blog-item-holder {
    height: 360px;
  }

  .blog-grid-3x .blog-text-content {
    min-height: 120px;
  }
}

/* CTA section — space above capture block */
.cta-wrapper {
  padding-top: 60px;
}

.cta-form-holder {
  align-items: center;
  text-align: center;
}

.cta-form-holder .cta-heading-holder {
  align-items: center;
  text-align: center;
  width: 100%;
}

.cta-form-holder .cta-heading-wrapper,
.cta-form-holder .cta-heading {
  text-align: center;
}

.cta-form-holder .cta-paragraph-holder {
  align-items: center;
  text-align: center;
}

.cta-form-holder .cta-paragraph-holder p {
  text-align: center;
}

.cta-form-holder .cta-button-holder {
  align-self: center;
}

.cta-button-holder {
  width: 100%;
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-button-holder .button-glow {
  border-radius: 999px;
  padding: 10px 22px;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .cta-wrapper {
    padding-top: 44px;
  }
}

/* Feature mini cards — 3-column row below feature blocks */
.new-features-holder {
  row-gap: 48px;
  padding-top: 24px;
}

.feature-mini-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  margin-top: 110px;
  margin-bottom: 0;
}

.feature-mini-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 32px;
  border: 1px solid var(--color--elements-stroke);
  border-radius: 24px;
  background-color: var(--color--elements-bg);
  box-shadow: inset 0 -9px 24px 0 var(--color--inner-shadow-color);
  transition: border-color 0.425s;
}

.feature-mini-card:hover {
  border-color: var(--color--brand-color);
}

.feature-mini-card-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #e060241a;
  color: var(--color--brand-color);
}

.feature-mini-card-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.feature-mini-card-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.feature-mini-card-text {
  margin: 0;
  color: #9e9e9e;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

@media screen and (max-width: 991px) {
  .bento-grid-header {
    gap: 14px;
    padding-top: 64px;
    padding-bottom: 40px;
  }

  .bento-grid-header .fade-in-on-scroll {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    will-change: opacity, transform;
  }

  .bento-grid-title {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
  }

  .bento-grid-lead-wrap {
    max-width: 520px;
  }

  .bento-grid-lead {
    margin: 0;
    color: #9e9e9e;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
  }

  .feature-mini-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 0;
  }

  .new-features-holder {
    row-gap: 32px;
    padding-top: 20px;
  }

  .feature-mini-card {
    padding: 28px;
  }
}

@media screen and (min-width: 992px) {
  .bento-grid-header {
    gap: 16px;
    padding-top: 88px;
    padding-bottom: 56px;
  }

  .bento-grid-header .fade-in-on-scroll {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    will-change: opacity, transform;
  }

  .bento-grid-title {
    margin: 0;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
  }

  .bento-grid-lead-wrap {
    max-width: 620px;
  }

  .bento-grid-lead {
    margin: 0;
    color: #9e9e9e;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
  }

  .home-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 360px 340px;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
  }

  .home-grid-box-wrapper.bento-balance,
  .home-grid-box-wrapper.bento-users,
  .home-grid-box-wrapper.bento-create,
  .home-grid-box-wrapper.bento-sessions {
    height: 100%;
  }

  .home-grid-box-wrapper .home-grid-box {
    height: 100%;
  }

  .home-grid-box-wrapper.bento-balance {
    grid-column: 1;
    grid-row: 1;
  }

  .home-grid-box-wrapper.bento-users {
    grid-column: 2;
    grid-row: 1;
  }

  .home-grid-box-wrapper.bento-create {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .bento-create .home-grid-content-text-normal {
    margin-bottom: 70px;
  }

  .home-grid-box-wrapper.bento-sessions {
    grid-column: 1 / span 2;
    grid-row: 2;
  }
}

/* Bento grid — one card per row, equal height on mobile */
@media screen and (max-width: 767px) {
  #readmore .home-grid.tq-layout-grid {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 20px;
    grid-template-columns: 1fr !important;
  }

  #readmore .home-grid-box-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 310px;
    height: 310px;
    flex: 0 0 auto;
  }

  #readmore .home-grid-box-wrapper .home-grid-box {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #readmore .home-grid-content-verctial,
  #readmore .home-grid-content {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #readmore .home-grid-content-text-normal,
  #readmore .home-grid-content-text {
    flex: 0 0 auto;
  }

  #readmore .home-grid-image-holder {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
  }

  #readmore .home-grid-image {
    width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
  }

  #readmore .bento-create .home-grid-content-text-normal {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 479px) {
  #readmore .home-grid.tq-layout-grid {
    gap: 12px;
  }

  #readmore .home-grid-box-wrapper {
    min-height: 280px;
    height: 280px;
  }
}

/* Cursor-following orange glow */
.cursor-light-holder {
  transition: opacity 0.5s ease;
  will-change: transform, opacity;
}

/* TraceIQ wordmark — Trace (white) + IQ (brand orange) */
.brand-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-logo-trace {
  color: #fff;
}

.brand-logo-iq {
  color: var(--color--brand-color);
}

.brand-logo--nav {
  font-size: 26px;
  font-weight: 600;
}

.brand-logo-link {
  width: auto;
  text-decoration: none;
}

.brand-logo--footer {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Desktop navbar: floating pill (AXIOM-style) | logo | links | Login + Book a Demo */
.fixed-nav {
  padding: 20px 28px 0;
}

.nav-menu-mobile-cta {
  display: none;
}

@media screen and (min-width: 992px) {
  .fixed-nav .navbar {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    position: static;
  }

  .fixed-nav .container.navbar-container {
    border: none;
    border-bottom: none;
    max-width: 1280px;
    padding: 0;
  }

  .navbar-holder > .navbar-container {
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background-color: rgba(12, 12, 14, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 10px 10px 10px 28px;
  }

  .navbar-holder > .navbar-container > .brand-holder {
    flex: none;
  }

  .navbar-holder > .navbar-container > .nav-menus {
    flex: 1;
    justify-content: center;
    min-width: 0;
    gap: 0;
  }

  .navbar-holder > .navbar-container > .menu-cart-holder {
    flex: none;
    gap: 12px;
  }

  .navbar .nav-links {
    gap: 36px;
  }

  .navbar .nav-link {
    border-bottom: none;
    color: rgba(255, 255, 255, 0.48);
    font-size: 14px;
    font-weight: 400;
    height: auto;
    transition: color 0.25s ease;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link.is-current {
    color: #fff;
    font-weight: 600;
  }

  .navbar .nav-menu-toggle {
    display: none;
  }

  .navbar .nav-menu-button-holder {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .navbar .nav-menu-mobile-cta {
    display: none !important;
  }

  .navbar .nav-btn-login {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-color: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-family: var(--pragraph-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.25s ease, background-color 0.25s ease;
  }

  .navbar .nav-btn-login:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background-color: rgba(255, 255, 255, 0.04);
  }

  .navbar .button-glow {
    border-radius: 999px;
    padding: 10px 22px;
    white-space: nowrap;
  }
}

@media screen and (max-width: 991px) {
  .fixed-nav {
    padding: 0;
  }

  .fixed-nav .navbar {
    width: 100%;
    padding: 0;
    align-items: stretch;
    background-color: rgba(12, 12, 14, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .fixed-nav .container.navbar-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 30px;
    border: none;
    border-bottom: none;
  }

  .navbar .nav-btn-login {
    display: none;
  }

  .navbar-holder > .navbar-container {
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }

  .navbar-holder > .navbar-container > .brand-holder {
    width: auto;
    flex: none;
  }

  .navbar-holder > .navbar-container > .nav-menus {
    display: none;
  }

  .navbar-holder > .navbar-container > .menu-cart-holder {
    margin-left: auto;
    flex: none;
  }

  .nav-menu-mobile-cta {
    display: none;
  }

  .navbar .nav-menu-toggle {
    float: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    padding: 10px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    line-height: 1;
    transition: border-color 0.25s ease, background-color 0.35s ease;
  }

  .navbar .nav-menu-toggle--open {
    border-color: var(--color--brand-color);
    background-color: var(--color--elements-bg);
    border-radius: 5px;
  }

  .navbar.nav-mobile-open .navbar-holder > .navbar-container {
    flex-wrap: wrap;
  }

  .navbar.nav-mobile-open .container.navbar-container {
    padding-bottom: 16px;
  }

  .navbar.nav-mobile-open .nav-menus {
    display: flex;
    flex-basis: 100%;
    order: 3;
    width: 100%;
    padding-top: 12px;
  }

  .navbar.nav-mobile-open .nav-menu {
    display: block !important;
    float: none;
    width: 100%;
  }

  .navbar.nav-mobile-open .nav-menu-link-holder {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px 16px 16px;
  }

  .navbar.nav-mobile-open .nav-menu-mobile-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-shrink: 0;
    padding-top: 16px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar.nav-mobile-open .nav-menu-mobile-cta .button-glow {
    width: 100%;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
  }
}

/* Setup CTA — sun section after email CTA */
.setup-cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  background-color: var(--color--page-color);
}

.setup-cta-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 620px;
  position: relative;
}

.setup-cta-sun-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 24px;
  will-change: transform, opacity;
}

.setup-cta-sun-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(860px, 115vw);
  height: min(860px, 115vw);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.setup-cta-sun-glow::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle closest-side,
    rgba(246, 111, 20, 0.55) 0%,
    rgba(246, 111, 20, 0.28) 38%,
    rgba(246, 111, 20, 0.08) 58%,
    rgba(6, 9, 16, 0) 72%
  );
}

.setup-cta-sun-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 68%;
  transform: translate(-50%, -50%);
}

.setup-cta-sun-image {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 88%;
  opacity: 0.7;
  filter: blur(8px);
  transform: translate(-50%, -52%);
}

.setup-cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
}

.setup-cta-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.setup-cta-highlight {
  margin: 0 0 28px;
  color: var(--color--brand-color);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.setup-cta-description {
  margin: 0 0 36px;
  color: #9e9e9e;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.setup-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.setup-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.setup-cta-button-secondary {
  border: 1px solid var(--color--elements-stroke);
  background-color: var(--color--elements-bg);
  color: #fff;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.setup-cta-button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background-color: rgba(255, 255, 255, 0.04);
}

.setup-cta-footnote {
  margin: 0;
  color: #6f6f6f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

@media screen and (max-width: 991px) {
  .setup-cta-section {
    padding: 72px 0 88px;
  }

  .setup-cta-stage {
    min-height: 520px;
  }

  .setup-cta-sun-group {
    padding: 48px 20px;
  }

  .setup-cta-title {
    font-size: 38px;
  }

  .setup-cta-highlight {
    margin-bottom: 22px;
    font-size: 32px;
  }

  .setup-cta-description {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .setup-cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .setup-cta-button {
    justify-content: center;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .setup-cta-section {
    padding: 44px 0;
  }

  .setup-cta-stage {
    min-height: 420px;
  }

  .setup-cta-sun-group {
    padding: 36px 16px;
  }

  .setup-cta-title {
    font-size: 26px;
    line-height: 1.2;
  }

  .setup-cta-highlight {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .setup-cta-description {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
  }

  .setup-cta-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
    max-width: none;
    gap: 10px;
  }

  .setup-cta-button {
    width: auto;
    padding: 10px 15px;
    font-size: 12px;
  }

  .setup-cta-footnote {
    font-size: 12px;
  }

  .site-footer {
    padding-top: 44px;
  }

  .site-footer-main {
    gap: 28px;
    padding-bottom: 28px;
  }
}

/* Site footer */
.site-footer {
  padding: 72px 0 0;
  background-color: var(--color--page-color);
}

.site-footer-main {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 56px;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 320px;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-footer-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color--brand-color);
  flex-shrink: 0;
}

.site-footer-tagline {
  margin: 0;
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, auto));
  gap: 56px;
  margin-left: auto;
}

.site-footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer-column-title {
  color: #5f5f5f;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer-link {
  color: #b8b8b8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-link:hover {
  color: #fff;
}

.site-footer-bottom {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #1f1f1f;
  padding: 28px 0 32px;
}

.site-footer-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.04);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%);
}

.site-footer-bottom-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer-copyright,
.site-footer-note {
  margin: 0;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

@media screen and (min-width: 992px) {
  .site-footer-main {
    gap: 120px;
  }

  .site-footer-nav {
    gap: 80px;
    padding-right: 8px;
  }
}

@media screen and (max-width: 991px) {
  .site-footer {
    padding-top: 56px;
  }

  .site-footer-main {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 40px;
  }

  .site-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
    width: 100%;
    margin-left: 0;
    padding-right: 0;
  }

  .site-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-watermark {
    font-size: clamp(88px, 24vw, 140px);
  }
}

/* Pricing section — space above */
#pricing.section {
  padding-top: 60px;
}

.pricing-section-header {
  margin-bottom: 0;
}

.pricing-section-header .section-paragraph p {
  margin: 0;
  color: #9ca3af;
  font-size: 17px;
  line-height: 1.55;
}

@media screen and (max-width: 767px) {
  #pricing.section {
    padding-top: 44px;
  }

  .pricing-section-header .section-paragraph p {
    font-size: 16px;
  }
}

/* Early access pricing card — matches reference screenshot */
.pricing-early-access-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pricing-early-access-wrap .pricing-list-item {
  width: 100%;
  max-width: 420px;
}

.pricing-holder.pricing-early-access-card {
  overflow: hidden;
  border: 1px solid var(--color--brand-color);
  border-radius: 16px;
  background-color: #101010;
  box-shadow: none;
}

.pricing-early-access-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 32px 28px;
  background-color: #101010;
  text-align: center;
}

.pricing-early-access-badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: var(--color--brand-color);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.pricing-early-access-price {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-early-access-subtitle {
  margin: 8px 0 0;
  color: #888;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
}

.pricing-early-access-divider {
  height: 1px;
  background-color: #2a2a2a;
}

.pricing-early-access-body.list-holder {
  padding: 26px 32px 32px;
}

.pricing-early-access-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: #101010;
}

.pricing-early-access-features {
  width: 100%;
  margin-bottom: 22px;
  text-align: left;
}

.pricing-early-access-label {
  margin-bottom: 16px;
  color: #666;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-early-access-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.pricing-early-access-list .list-item {
  align-items: center;
  gap: 10px;
}

.pricing-early-access-list .check-icon-holder {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  border-radius: 4px;
}

.pricing-early-access-list .check-icon {
  width: 11px;
}

.pricing-early-access-list .check-item-text {
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.pricing-early-access-highlight {
  margin: 0 0 22px;
  color: #888;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.pricing-early-access-cta {
  width: 100%;
  margin-bottom: 14px;
}

.pricing-early-access-cta .button-glow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-early-access-note {
  margin: 0;
  color: #555;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

@media screen and (max-width: 479px) {
  .pricing-early-access-wrap .pricing-list-item {
    max-width: 100%;
  }

  .pricing-early-access-top,
  .pricing-early-access-body.list-holder {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pricing-early-access-price {
    font-size: 40px;
  }

  .pricing-early-access-list .check-item-text {
    font-size: 12px;
  }
}

/* Contact page — Cal.com booking embed */
.contact-page {
  min-height: 100vh;
  padding-top: 50px;
  background-color: var(--color--page-color);
}

.contact-section {
  padding: 40px 0 80px;
}

.contact-header {
  margin-bottom: 48px;
  text-align: center;
}

.contact-title {
  max-width: 700px;
  margin: 0 auto;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #ffffff 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  max-width: 520px;
  margin: 16px auto 0;
  color: #9ca3af;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.contact-embed-wrap {
  position: relative;
  max-width: 1100px;
  min-height: 700px;
  margin: 0 auto;
}

.contact-embed-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background-color: var(--color--elements-bg);
}

.contact-embed-loader-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color--brand-color);
  border-radius: 50%;
  animation: contact-embed-spin 0.8s linear infinite;
}

.contact-embed-loader-text {
  margin: 0;
  color: #888;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

@keyframes contact-embed-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-cal-iframe {
  display: block;
  width: 100%;
  height: 800px;
  min-height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background-color: var(--color--elements-bg);
  opacity: 1;
  transition: opacity 0.35s ease;
}

.contact-cal-iframe--loading {
  opacity: 0;
}

@media screen and (max-width: 767px) {
  .contact-page {
    padding-top: 96px;
  }

  .contact-section {
    padding: 24px 0 64px;
  }

  .contact-header {
    margin-bottom: 32px;
  }

  .contact-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .contact-subtitle {
    font-size: 16px;
  }

  .contact-cal-iframe {
    height: 700px;
    min-height: 600px;
  }
}

/* Legal document pages — Privacy Policy / Terms of Service */
.legal-page {
  min-height: 100vh;
  padding-top: 50px;
  background-color: var(--color--page-color);
}

.legal-section {
  padding: 40px 0 96px;
}

.legal-header {
  max-width: 760px;
  margin: 0 auto 40px;
}

.legal-title {
  margin: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #ffffff 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.legal-document {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background-color: var(--color--elements-bg);
}

.legal-prose {
  color: #c4c4c4;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.legal-prose > *:first-child {
  margin-top: 0;
}

.legal-prose > *:last-child {
  margin-bottom: 0;
}

.legal-prose p,
.legal-prose ul,
.legal-prose ol,
.legal-prose blockquote,
.legal-prose table {
  margin: 0 0 1.1em;
}

.legal-prose h2 {
  margin: 2em 0 0.75em;
  color: #fff;
  font-size: 1.35em;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.legal-prose h3 {
  margin: 1.6em 0 0.6em;
  color: #f3f3f3;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.35;
}

.legal-prose strong {
  color: #f0f0f0;
  font-weight: 600;
}

.legal-prose a {
  color: var(--color--brand-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-prose a:hover {
  opacity: 0.85;
}

.legal-prose ul,
.legal-prose ol {
  padding-left: 1.35em;
}

.legal-prose li {
  margin: 0.35em 0;
}

.legal-prose li::marker {
  color: #888;
}

.legal-prose hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-prose blockquote {
  margin-left: 0;
  padding: 12px 16px;
  border-left: 3px solid rgba(255, 255, 255, 0.15);
  color: #9ca3af;
  font-style: italic;
}

.legal-prose code {
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #e8e8e8;
  font-size: 0.92em;
}

.legal-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.legal-prose th,
.legal-prose td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.legal-prose th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
}

.legal-prose em {
  color: #9ca3af;
}

@media screen and (max-width: 767px) {
  .legal-page {
    padding-top: 96px;
  }

  .legal-section {
    padding: 24px 0 64px;
  }

  .legal-header {
    margin-bottom: 28px;
  }

  .legal-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .legal-document {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .legal-prose {
    font-size: 14px;
  }

  .legal-prose h2 {
    font-size: 1.2em;
  }
}
