:root {
  --page-bg: #ffffff;
  --text-primary: #111111;
  --text-white: #ffffff;
  --text-muted: #828282;
  --border-soft: rgba(255, 255, 255, 0.16);
  --surface-dark: #050505;
  --surface-dark-end: #5a5a5a;
  --accent-dark: #a04c3b;
  --accent-light: #e5b7a0;
  --accent-deep: #8e5544;
  --footer-bg: #0b0b0b;
  --header-gradient: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--page-bg);
}

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

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

.container {
  width: min(100% - 48px, 1260px);
  margin: 0 auto;
}

.site-header {
  padding: 1rem 0;
  border-bottom: 0;
}

.site-header--dark {
  background: var(--header-gradient);
}

.header-inner,
.site-nav {
  display: flex;
  gap: 1rem;
}

.header-inner {
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.site-nav {
  flex-wrap: wrap;
}

.site-logo {
  font-weight: 700;
  text-decoration: none;
}

.site-main {
  padding: 3rem 0;
}


.homepage {
  background: linear-gradient(180deg, #000000 0%, #090909 54%, #595959 100%);
  color: var(--text-white);
}

.hero-header {
  position: relative;
  z-index: 2;
  padding: 0;
  border-bottom: 0;
  background: var(--header-gradient);
}

.hero-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--border-soft);
  pointer-events: none;
}

.hero-header .header-inner {
  gap: 0;
  min-height: 60px;
  flex-wrap: nowrap;
}

.site-logo--hero {
  display: flex;
  align-items: center;
  padding-right: 32px;
  min-height: 60px;
  border-right: 1px solid var(--border-soft);
}


.site-logo__image {
  display: block;
  width: 157px;
  height: 32px;
}

.hero-header .site-nav {
  align-items: center;
  gap: 12px;
  margin-left: 18px;
}

.hero-header .site-nav a,
.nav-link-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 6px;
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.08);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    opacity 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.hero-header .site-nav a:hover,
.nav-link-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 24px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.button-small {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 6px;
}

.button-primary {
  color: var(--text-white);
  border: 0;
  background: linear-gradient(44.8deg, var(--accent-light) 0%, var(--accent-deep) 49.486%);
  box-shadow: inset 0 0 0 1px var(--border-soft);
}

.button-primary:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
  transform: translateY(-1px);
}

.button-ghost {
  color: var(--text-white);
  border-color: var(--text-white);
  background: transparent;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 618px) minmax(0, 642px);
  align-items: end;
  gap: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 618px;
  min-height: 521px;
  padding: 0;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 60px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

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

.hero-visual {
  position: relative;
  align-self: end;
  width: 642px;
  height: 521px;
  margin-left: auto;
  overflow: hidden;
}

.hero-visual__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0) 20.31%, rgba(0, 0, 0, 0) 70%, #000000 100%);
  z-index: 2;
  pointer-events: none;
}

.app-preview {
  position: relative;
  z-index: 3;
  margin-top: 0;
  margin-bottom: -82px;
  width: min(100%, 1417px);
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.app-preview__image {
  display: block;
  width: 100%;
  height: auto;
}

.roles-section {
  background: #ffffff;
  color: #000000;
  padding: 120px 0;
}

.roles-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.roles-section__intro {
  width: min(100%, 832px);
  text-align: center;
}

.roles-section__eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.roles-section__intro h2 {
  margin: 0 0 16px;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
}

.roles-section__description {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.roles-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.role-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.role-card__icon-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.role-card__icon {
  width: 143px;
  height: 143px;
  display: block;
}

.role-card__divider {
  width: 100%;
  height: 1px;
  background: #cecece;
}

.role-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.role-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.workflow-section {
  background: #ffffff;
  color: #000000;
  padding: 120px 0;
}

.features-section {
  position: relative;
  background: #f2f2f2;
  color: #000000;
  padding: 120px 0;
}

.features-section__cap {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 40px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 0, transparent 0 27px, #f2f2f2 28px);
}

.features-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.features-section__intro {
  width: min(100%, 832px);
  text-align: center;
}

.features-section__eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.features-section__intro h2 {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
}

.features-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  background: #ffffff;
  grid-column: span 2;
}

.feature-card--large {
  min-height: 536px;
  grid-column: span 3;
}

.feature-card__media {
  flex: 1 1 auto;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #ffffff 100%),
    linear-gradient(45deg, #f4f4f4 25%, transparent 25%, transparent 75%, #f4f4f4 75%, #f4f4f4),
    linear-gradient(45deg, #f4f4f4 25%, #ffffff 25%, #ffffff 75%, #f4f4f4 75%, #f4f4f4);
  background-position: 0 0, 0 0, 20px 20px;
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

.feature-card__media--image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
}

.feature-card__image {
  display: block;
  margin: 0 auto;
  width: min(100%, 400px);
  max-width: 400px;
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
}

.feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.feature-card__body--centered {
  align-items: center;
  justify-content: center;
  padding: 0 40px 40px;
  text-align: center;
}

.feature-card__body--centered h3,
.feature-card__body--centered p {
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
  text-align: center;
}

.feature-card__body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.feature-card__body p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.button-outline-dark {
  min-height: 48px;
  padding: 16px 24px;
  color: #000000;
  border: 1px solid #000000;
  background: transparent;
  border-radius: 6px;
}

.button-outline-dark:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.workflow-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.workflow-section__intro {
  width: min(100%, 832px);
  text-align: center;
}

.workflow-section__eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.workflow-section__intro h2 {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
}

.workflow-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 618px;
  gap: 64px;
  align-items: start;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding: 40px 0;
}

.workflow-step {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  opacity: 0.72;
  cursor: pointer;
  transition: opacity 260ms ease;
}

.workflow-step.is-active {
  opacity: 1;
}

.workflow-step__index {
  color: #6c727f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.workflow-step__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workflow-step__content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.workflow-step__content p {
  margin: 0;
  max-width: 100%;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition:
    max-height 360ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

.workflow-step.is-active .workflow-step__content p {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

.workflow-step__divider {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 0;
  background: #cecece;
  overflow: hidden;
}

.workflow-step__progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.workflow-step:focus-visible {
  outline: none;
  opacity: 1;
}

.workflow-step:focus-visible .workflow-step__content h3 {
  text-decoration: underline;
}

.workflow-visual,
.workflow-placeholder {
  width: 100%;
  height: 500px;
}

.workflow-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.workflow-visual__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.workflow-placeholder {
  background:
    linear-gradient(45deg, #f4f4f4 25%, transparent 25%, transparent 75%, #f4f4f4 75%, #f4f4f4),
    linear-gradient(45deg, #f4f4f4 25%, #ffffff 25%, #ffffff 75%, #f4f4f4 75%, #f4f4f4);
  background-position: 0 0, 26px 26px;
  background-size: 52px 52px;
}

.people-section {
  background: #ffffff;
  color: #000000;
  padding-top: 120px;
}

.people-section__intro {
  width: min(100%, 832px);
  text-align: center;
}

.people-section__eyebrow,
.book-section__eyebrow,
.people-section__label {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.people-section__intro h2,
.book-section__intro h2 {
  margin: 0 0 16px;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
}

.people-section__description,
.book-section__description {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.people-section__panel {
  margin-top: 64px;
  background: #f2f2f2;
  overflow: hidden;
}

.people-section__grid {
  display: grid;
  grid-template-columns: 630px minmax(0, 1fr);
  height: 640px;
  overflow: hidden;
}

.people-section__portrait-wrap {
  position: relative;
  height: 640px;
}

.people-section__portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.people-section__symbol {
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 96px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.people-section__symbol-image {
  display: block;
  width: 40px;
  height: 96px;
  transform: rotate(180deg) scaleX(-1);
}

.people-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  height: 640px;
  padding: 48px;
}

.people-section__content-head h3 {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
}

.people-section__bio {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.book-section {
  background: #ffffff;
  color: #000000;
  padding: 120px 0;
}

.book-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.book-section__intro {
  width: min(100%, 832px);
  text-align: center;
}

.book-section__image-wrap {
  width: 100%;
}

.book-section__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ========= SITE FOOTER ========= */

.site-footer {
  background: #000000;
  color: var(--text-white);
  border: 0;
  padding: 0;
  margin-top: 0;
}

/* CTA band */
.footer-cta {
  overflow: hidden;
}

.footer-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 725px) minmax(0, 511px);
  gap: 24px;
  align-items: stretch;
}

.footer-cta__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 64px 0;
}

.footer-cta__heading {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.footer-cta__actions {
  display: flex;
  gap: 12px;
}

.footer-cta__image-wrap {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.footer-cta__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  max-width: none;
}

.footer-cta__image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, #000000 0%, rgba(0,0,0,0) 20.31%, rgba(0,0,0,0) 70%, #000000 100%);
}

/* Footer main (logo + columns) */
.footer-main {
  padding: 0;
}

.footer-main__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 64px 0;
}

.footer-logo {
  display: block;
  flex-shrink: 0;
}

.footer-logo img {
  display: block;
  width: 157px;
  height: 32px;
}

.footer-columns {
  display: flex;
  gap: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 190px;
}

.footer-col:first-child {
  width: 297px;
}

.footer-col__heading {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.footer-address {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.footer-col__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col__links li {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.02em;
}

.footer-col__links a {
  color: var(--text-muted);
  transition: color 220ms ease;
}

.footer-col__links a:hover {
  color: var(--text-white);
}

/* Footer bottom (rule + copyright) */
.footer-bottom {
  padding-bottom: 24px;
}

.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-copyright {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.6);
}

html.nav-open,
body.nav-open {
  overflow: hidden;
}

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  color: var(--text-white);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 3;
}

.nav-toggle__icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
}

.nav-toggle__line {
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transform-origin: 50% 50%;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    top 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle__line--top {
  top: 5px;
}

.nav-toggle__line--middle {
  top: 11px;
}

.nav-toggle__line--bottom {
  top: 17px;
}

.hero-header.menu-is-open .nav-toggle__line--top {
  top: 11px;
  transform: rotate(45deg);
}

.hero-header.menu-is-open .nav-toggle__line--middle {
  opacity: 0;
  transform: scaleX(0.7);
}

.hero-header.menu-is-open .nav-toggle__line--bottom {
  top: 11px;
  transform: rotate(-45deg);
}

/* ── Scroll reveal ── */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-animated .hero-copy h1 {
  animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

.hero-animated .hero-copy p {
  animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both;
}

.hero-animated .hero-copy .hero-actions {
  animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 460ms both;
}

.hero-animated .hero-visual {
  animation: fade-in 1200ms ease 0ms both;
}

.hero-animated .app-preview {
  animation: fade-in 1000ms ease 300ms both;
}

.hero-animated .pricing-hero__copy h1 {
  animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

.hero-animated .pricing-hero__copy p {
  animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both;
}

.hero-animated .pricing-card-wrap {
  animation: fade-in 1000ms ease 300ms both;
}

[data-reveal],
[data-reveal-children] > * {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed,
[data-reveal-children].is-revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* CLS prevention — reserve header space before JS injects it */
#header-mount { min-height: 60px; }


/* ── Hero entrance animations — gate on JS class to avoid LCP penalty ── */
.hero-animated .product-hero__copy h1 { animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both; }
.hero-animated .product-hero__copy p { animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both; }
.hero-animated .product-hero__actions { animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 460ms both; }
.hero-animated .ku-book-hero__copy h1 { animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both; }
.hero-animated .ku-book-hero__copy p { animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both; }
.hero-animated .contact-hero__copy h1 { animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both; }
.hero-animated .contact-hero__copy p { animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both; }
.hero-animated .contact-card-wrap { animation: fade-in 1000ms ease 300ms both; }
.hero-animated .legal-hero__title { animation: reveal-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1,
  .hero-copy p,
  .hero-copy .hero-actions,
  .hero-visual,
  .app-preview,
  .pricing-hero__copy h1,
  .pricing-hero__copy p,
  .pricing-card-wrap,
  .product-hero__copy h1,
  .product-hero__copy p,
  .product-hero__actions,
  .ku-book-hero__copy h1,
  .ku-book-hero__copy p,
  .legal-hero__title,
  .contact-hero__copy h1,
  .contact-hero__copy p,
  .contact-card-wrap {
    animation: none;
  }

  [data-reveal],
  [data-reveal-children] > * {
    transform: none;
    transition-duration: 200ms;
  }
}

/* ========= PRICING PAGE ========= */

.pricing-page .site-header--dark {
  background: var(--header-gradient);
}

/* ========= PRODUCT PAGE ========= */

.product-page .site-header--dark {
  background: var(--header-gradient);
}

.product-hero {
  margin-top: -61px;
  position: relative;
  background: linear-gradient(180deg, #000000 0%, #090909 72%, #5a5a5a 100%);
  color: var(--text-white);
  overflow: hidden;
}

.product-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.product-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.product-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 56%, #000000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.18) 50%, rgba(0, 0, 0, 0.56) 100%);
}

.product-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: calc(120px + 61px);
  padding-bottom: 120px;
}

.product-hero__copy h1 {
  margin: 0;
  max-width: 1080px;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 60px;
  letter-spacing: -0.02em;}

.product-hero__copy p {
  margin: 0;
  max-width: 832px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;}

.product-hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;}

.product-feature-section {
  background: #ffffff;
  color: #000000;
  padding: 120px 0;
}

.product-feature-section--secondary {
  background: #f2f2f2;
}

.product-feature-section__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.product-feature-section__intro {
  width: min(100%, 832px);
  margin: 0 auto;
  text-align: center;
}

.product-feature-section__intro h2 {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
}

/* ========= KU BOOK PAGE ========= */

.ku-book-page .site-header--dark {
  background: var(--header-gradient);
}

.ku-book-hero {
  margin-top: -61px;
  position: relative;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
}

.ku-book-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ku-book-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.ku-book-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, #000000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.ku-book-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: calc(120px + 61px);
  padding-bottom: 120px;
}

.ku-book-hero__copy h1 {
  margin: 0;
  max-width: 980px;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 60px;
  letter-spacing: -0.02em;
}

.ku-book-hero__copy p {
  margin: 0;
  max-width: 832px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ku-book-section__cta {
  align-self: center;
  margin-top: -24px;
}

.product-feature-section__grid {
  display: grid;
  gap: 64px;
  align-items: start;
}

.product-feature-section__grid--media-right {
  grid-template-columns: minmax(0, 1fr) 618px;
}

.product-feature-section__grid--media-left {
  grid-template-columns: 618px minmax(0, 1fr);
}

.product-feature-section__steps {
  width: 100%;
  max-width: 578px;
  padding: 0;
}

.product-feature-section__visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.product-feature-section__image {
  width: 100%;
  height: auto;
  display: block;
}

.product-feature-section--secondary .workflow-placeholder {
  background:
    linear-gradient(45deg, #ececec 25%, transparent 25%, transparent 75%, #ececec 75%, #ececec),
    linear-gradient(45deg, #ececec 25%, #ffffff 25%, #ffffff 75%, #ececec 75%, #ececec);
  background-position: 0 0, 26px 26px;
  background-size: 52px 52px;
}

.pricing-hero {
  margin-top: -61px;
  position: relative;
  background: linear-gradient(180deg, #000000 0%, #090909 72%, #5a5a5a 100%);
  color: var(--text-white);
  overflow: hidden;
}

.pricing-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pricing-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  max-width: none;
}

.pricing-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, #000000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.pricing-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: calc(120px + 61px);
  padding-bottom: 40px;
}

.pricing-hero__copy h1 {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 60px;
  letter-spacing: -0.02em;
}

.pricing-hero__copy p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Pricing card wrap — container below hero copy */
.pricing-card-wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 90px;
}

/* Banner floated right, aligned above annual column */
.pricing-banner-row {
  display: flex;
  justify-content: flex-end;
}

.pricing-banner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 300px;
  padding: 10px 32px;
  background: #0066ff;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Mobile-only banner inside card — hidden on desktop */
.pricing-banner--in-card {
  display: none;
}

/* Main card */
.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px 300px 300px;
  background: #ffffff;
  color: #000000;
}

/* Features column */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
}

.pricing-features__heading {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 38px;
  letter-spacing: -0.02em;
  color: #000000;
}

.pricing-features__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features__item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #000000;
}

.pricing-features__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.pricing-features__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #000000;
  text-decoration: underline;
}

/* Vertical divider between features and plan columns */
.pricing-card__divider {
  width: 1px;
  background: #cecece;
  align-self: stretch;
}

/* Plan columns */
.pricing-plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  align-self: stretch;
}

.pricing-plan--annual {
  background: rgba(0, 102, 255, 0.08);
}

.pricing-plan__name {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 38px;
  letter-spacing: -0.02em;
  color: #000000;
}

.pricing-plan__bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-plan__price {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.pricing-plan__amount {
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
  color: #000000;
  white-space: nowrap;
}

.pricing-plan__period {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #000000;
  padding-bottom: 6px;
  white-space: nowrap;
}

.pricing-plan__cta {
  width: 100%;
  justify-content: center;
  min-height: 52px;
}

/* ========= CONTACT PAGE ========= */

.contact-hero {
  margin-top: -61px;
  position: relative;
  background: linear-gradient(180deg, #000000 0%, #090909 72%, #5a5a5a 100%);
  color: var(--text-white);
  overflow: hidden;
  padding-bottom: 60px;
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  max-width: none;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 52%, #000000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.contact-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: calc(120px + 61px);
  padding-bottom: 40px;
}

.contact-hero__copy h1 {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 60px;
  letter-spacing: -0.02em;}

.contact-hero__copy p {
  margin: 0;
  max-width: 832px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;}

.contact-card-wrap {
  position: relative;
  z-index: 1;}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 511px minmax(0, 1fr);
  align-items: stretch;
}

.contact-card__lead {
  background: #f2f2f2;
  padding: 32px;
}

.contact-card__lead p {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 38px;
  letter-spacing: -0.02em;
  color: #000000;
}

.contact-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 32px 32px 32px 64px;
  background: #ffffff;
  color: #000000;
}

.contact-card__detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.contact-card__value {
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 38px;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  color: #000000;
}

.contact-card__meta {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #000000;
}

.contact-card__symbol {
  position: absolute;
  top: 50%;
  left: 511px;
  width: 40px;
  height: 96px;
  transform: translateY(-50%);
  z-index: 2;
}

.contact-card__symbol-image {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(180deg);
}

.contact-demo {
  background: #f2f2f2;
  color: #000000;
  padding: 120px 0 0;
}

.contact-demo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contact-demo__intro {
  width: min(100%, 832px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.contact-demo__eyebrow,
.company-details__eyebrow {
  margin: 0;
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.contact-demo__intro h2,
.company-details__intro h2 {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
  color: #000000;
}

.contact-demo__intro p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-demo__preview {
  margin: 0;
  width: 100%;
  max-width: 1260px;
  animation: none;
}

.company-details {
  background: #ffffff;
  color: #000000;
  padding: 120px 0;
}

.company-details__grid {
  display: grid;
  grid-template-columns: 617px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.company-details__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-details__content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.company-details__table {
  display: flex;
  flex-direction: column;
}

.company-details__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #cecece;
}

.company-details__label,
.company-details__value,
.company-details__note {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #000000;
}

.company-details__label {
  font-weight: 600;
  line-height: 1.2;
}

.company-details__value,
.company-details__note {
  font-weight: 500;
  line-height: 1.5;
}

/* ========= 404 PAGE ========= */

.not-found-page {
  background: #000000;
  color: #ffffff;
}

.not-found-page .site-header--dark {
  background: var(--header-gradient);
}

.not-found-main {
  min-height: calc(100vh - 61px);
  background: #000000;
}

.not-found-hero {
  min-height: calc(100vh - 61px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
}

.not-found-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 120px 0;
}

.not-found-hero__eyebrow {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent-light);
}

.not-found-hero h1 {
  margin: 0;
  width: min(100%, 860px);
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 60px;
  letter-spacing: -0.02em;
}

.not-found-hero__description {
  margin: 0;
  width: min(100%, 540px);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* ========= LEGAL PAGE ========= */

.legal-page .site-header--dark {
  background: var(--header-gradient);
}

.legal-hero {
  margin-top: -61px;
  position: relative;
  background: #000000;
  color: var(--text-white);
  overflow: hidden;
}

.legal-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.legal-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.legal-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 54%, #000000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.legal-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 265px;
  padding-top: calc(120px + 61px);
  padding-bottom: 80px;
}

.legal-hero__title {
  margin: 0;
  width: min(100%, 832px);
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 60px;
  letter-spacing: -0.02em;}

.legal-content {
  background: #ffffff;
  color: #000000;
  padding: 120px 0;
}

.legal-content__inner {
  width: min(100%, 832px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.legal-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-meta {
  color: #5a5a5a;
}

.legal-block h2,
.legal-block h3,
.legal-block h4,
.legal-block h5,
.legal-block h6 {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #000000;
}

.legal-block h2 {
  font-size: 48px;
  line-height: 50px;
}

.legal-block h3 {
  font-size: 46px;
  line-height: 46px;
}

.legal-block h4 {
  font-size: 44px;
  line-height: 44px;
}

.legal-block h5 {
  font-size: 36px;
  line-height: 38px;
}

.legal-block h6 {
  font-size: 30px;
  line-height: 36px;
}

.legal-page--terms .legal-block h2 {
  font-size: 30px;
  line-height: 36px;
}

.legal-page--terms .legal-block h3 {
  font-size: 30px;
  line-height: 36px;
}

.legal-page--terms .legal-block h4 {
  font-size: 30px;
  line-height: 36px;
}

.legal-page--terms .legal-block h5 {
  font-size: 30px;
  line-height: 36px;
}

.legal-page--terms .legal-block h6 {
  font-size: 30px;
  line-height: 36px;
}

.legal-block ol {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-block ul {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-block li,
.legal-block p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000000;
}

.legal-block a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.legal-link-nowrap {
  white-space: nowrap;
}


/* ========= FAQ SECTION ========= */

.faq-section {
  background: #ffffff;
  color: #000000;
  padding: 120px 0;
}

.faq-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.faq-section__heading {
  margin: 0;
  font-family: "zahrah", "Times New Roman", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -0.02em;
  text-align: center;
}

.faq-list {
  width: min(100%, 832px);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px 0;
}

.faq-divider {
  width: 100%;
  height: 1px;
  background: #cecece;
}

.faq-item {
  display: flex;
  flex-direction: column;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #000000;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: "montserrat", system-ui, sans-serif;
}

.faq-question:focus-visible {
  outline: 2px solid #0066ff;
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon__minus,
.faq-icon__plus {
  position: absolute;
  width: 24px;
  height: 24px;
  display: block;
  transition: opacity 220ms ease;
}

/* Closed state: show plus, hide minus */
.faq-icon__minus { opacity: 0; }
.faq-icon__plus  { opacity: 1; }

/* Open state: show minus, hide plus */
.faq-item.is-open .faq-icon__minus { opacity: 1; }
.faq-item.is-open .faq-icon__plus  { opacity: 0; }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 380ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
}

.faq-answer p {
  margin: 0;
  padding-bottom: 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

@media (max-width: 1100px) {
  .hero-header .header-inner {
    min-height: 60px;
    padding: 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
  }

  .site-logo--hero {
    min-height: 60px;
    padding-right: 16px;
  }

  /* Hide nav links — actions stay in header bar on tablet */
  .hero-header .site-nav {
    display: none;
  }

  .nav-actions {
    display: flex;
    margin-left: auto;
    gap: 8px;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
    margin-left: 12px;
  }

  /* Full-viewport overlay */
  .hero-header.menu-is-open {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 200;
    overflow: hidden;
  }

  /* Reposition ::after divider from viewport-bottom to below the 60px logo bar */
  .hero-header.menu-is-open::after {
    top: 59px;
    bottom: auto;
  }

  /* Nav links: vertically centered */
  .hero-header.menu-is-open .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    margin-left: 0;
    bottom: 132px;
    transform: none;
    padding: 0 32px;
    background: transparent;
    border: none;
    gap: 12px;
    z-index: 1;
    text-align: center;
  }

  .hero-header.menu-is-open .site-nav.is-open a {
    font-family: "zahrah", "Times New Roman", serif;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -0.02em;
    font-weight: 400;
    color: #fff;
    padding: 4px 0;
    border-radius: 0;
    background: transparent;
    min-height: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    animation: reveal-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-header.menu-is-open .site-nav.is-open a:nth-child(1) { animation-delay: 80ms; }
  .hero-header.menu-is-open .site-nav.is-open a:nth-child(2) { animation-delay: 160ms; }
  .hero-header.menu-is-open .site-nav.is-open a:nth-child(3) { animation-delay: 240ms; }

  .hero-header.menu-is-open .site-nav.is-open a:hover {
    background: transparent;
    opacity: 0.72;
    transform: translateY(0);
  }

  /* Actions: anchored to bottom */
  .hero-header.menu-is-open .nav-actions.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    padding: 0 32px 40px;
    background: transparent;
    border: none;
    gap: 12px;
    z-index: 1;
  }

  .hero-header.menu-is-open .nav-actions.is-open .nav-link-secondary,
  .hero-header.menu-is-open .nav-actions.is-open .button-small {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    opacity: 0;
    transform: translateY(24px);
    animation: reveal-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-header.menu-is-open .nav-actions.is-open .nav-link-secondary { animation-delay: 320ms; }
  .hero-header.menu-is-open .nav-actions.is-open .button-small { animation-delay: 400ms; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .hero-layout {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero-copy {
    display: block;
    max-width: none;
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 0;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .container.hero-layout {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .hero-visual {
    width: 100%;
    margin-left: 0;
    min-height: 460px;
    height: 460px;
  }

  .hero-visual__image {
    object-position: center center;
  }

  .hero-visual::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 55%, #000000 100%);
  }

  .app-preview {
    margin-top: 0;
    margin-bottom: -56px;
    height: clamp(340px, calc(340px + (500 - 340) * ((100vw - 375px) / (1100 - 375))), 500px);
    overflow: hidden;
  }

  .app-preview__image {
    width: auto;
    max-width: none;
    height: 100%;
  }

  .roles-section {
    padding: 176px 0 104px;
  }

  .roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-section {
    padding: 104px 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card,
  .feature-card--large {
    min-height: 460px;
    grid-column: span 1;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .workflow-steps {
    min-height: auto;
    padding: 0;
  }

  .workflow-placeholder {
    max-width: 618px;
    justify-self: center;
  }

  .people-section__grid {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .people-section__portrait-wrap {
    height: 520px;
  }

  .people-section__symbol {
    display: none;
  }

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

  .footer-cta__image-wrap {
    order: -1;
    height: 280px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .footer-cta__image {
    object-position: center center;
  }

  .footer-cta__image-fade {
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 55%, #000000 100%);
  }

  /* Pricing — tablet */
  .pricing-hero {
    background: #000000;
  }

  .pricing-hero__bg {
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    height: 400px;
  }

  .pricing-hero__bg-image {
    object-position: 50% 72%;
  }

  .pricing-hero__overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.12) 54%, #000000 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.18) 50%, rgba(0, 0, 0, 0.52) 100%);
  }

  .pricing-hero__copy h1 {
    font-size: 44px;
    line-height: 44px;
  }

  .pricing-card-wrap {
    padding-bottom: 16px;
  }

  .pricing-banner-row {
    display: none;
  }

  .pricing-banner--in-card {
    display: flex;
    width: 100%;
    justify-content: flex-start;
  }

  .pricing-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .pricing-banner--in-card { order: 1; }
  .pricing-plan--annual     { order: 2; }
  .pricing-plan--quarterly  { order: 3; }
  .pricing-card__divider    { order: 4; width: 100%; height: 1px; }
  .pricing-features         { order: 5; }

  .contact-hero {
    background: #000000;
    padding-bottom: 48px;
  }

  .contact-hero__bg {
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    height: 400px;
  }

  .contact-hero__bg-image {
    object-position: 50% 56%;
  }

  .contact-hero__copy {
    padding-top: calc(120px + 61px);
    padding-bottom: 32px;
    align-items: flex-start;
    text-align: left;
  }

  .contact-hero__copy h1 {
    font-size: 44px;
    line-height: 44px;
    text-align: left;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card__lead {
    padding: 24px;
  }

  .contact-card__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
  }

  .contact-card__symbol {
    display: none;
  }

  .contact-demo {
    padding: 104px 0 0;
  }

  .product-hero {
    background: #000000;
  }

  .ku-book-hero {
    background: #000000;
  }

  .ku-book-hero__bg {
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    height: 400px;
  }

  .ku-book-hero__bg-image {
    object-position: 50% 50%;
  }

  .ku-book-hero__copy {
    padding-top: calc(120px + 61px);
    padding-bottom: 48px;
  }

  .ku-book-hero__copy h1 {
    font-size: 44px;
    line-height: 44px;
  }

  .product-hero__bg {
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    height: 400px;
  }

  .product-hero__bg-image {
    object-position: 50% 56%;
  }

  .product-hero__copy {
    padding-top: calc(120px + 61px);
    padding-bottom: 48px;
  }

  .product-hero__copy h1 {
    font-size: 44px;
    line-height: 44px;
  }

  .product-feature-section {
    padding: 104px 0;
  }

  .product-feature-section__inner {
    gap: 48px;
  }

  .product-feature-section__intro h2 {
    font-size: 40px;
    line-height: 40px;
  }

  .product-feature-section__grid,
  .product-feature-section__grid--media-right,
  .product-feature-section__grid--media-left {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-feature-section__visual {
    order: 1;
    min-height: 400px;
  }

  .product-feature-section__steps {
    order: 2;
    max-width: none;
  }

  .company-details {
    padding: 104px 0;
  }

  .company-details__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-section {
    padding: 88px 0;
  }

  .faq-section__heading {
    font-size: 40px;
    line-height: 40px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 32px, 1260px);
  }

  .legal-hero__copy {
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    min-height: 220px;
    padding-top: calc(112px + 61px);
    padding-bottom: 48px;
  }

  .legal-hero__title {
    width: 100%;
    font-size: 44px;
    line-height: 44px;
    letter-spacing: -0.02em;
    text-align: left;
  }

  .legal-content {
    padding: 60px 0 88px;
  }

  .legal-content__inner {
    gap: 40px;
  }

  /* ── Header mobile ── */
  .site-logo--hero {
    border-right: 1px solid var(--border-soft);
    padding-right: 16px;
  }

  .site-logo__image {
    width: 142px;
    height: auto;
  }

  /* Hide actions from header bar on mobile — they appear only in overlay */
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  /* Mobile overlay: tighter sizing */
  .hero-header.menu-is-open .site-nav.is-open {
    padding: 0 16px;
    bottom: 124px;
  }

  .hero-header.menu-is-open .site-nav.is-open a {
    font-size: 40px;
    line-height: 40px;
    padding: 4px 0;
  }

  .hero-header.menu-is-open .nav-actions.is-open {
    padding: 0 16px 32px;
  }

  /* ── Hero mobile: image first ── */
  .hero-section {
    padding: 0;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
  }

  .hero-layout {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero-copy {
    padding: 32px 16px;
    box-sizing: border-box;
  }

  /* Force hero container to truly full-width — .container.hero-layout has higher
     specificity (0,2,0) than .container alone (0,1,0) so this wins */
  .container.hero-layout {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .hero-visual {
    order: -1;
    border-radius: 0;
    width: 100%;
    height: 340px;
    min-height: 340px;
    margin-left: 0;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 44px;
    letter-spacing: -0.02em;
  }

  .hero-copy p {
    line-height: 1.22;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    height: 340px;
    min-height: 340px;
    border-radius: 0;
  }

  .app-preview {
    margin-top: 0;
    margin-bottom: -28px;
    height: 340px;
    overflow: hidden;
  }

  .app-preview__image {
    width: auto;
    max-width: none;
    height: 100%;
  }

  /* Contact page preview: stretch to right viewport edge, flush with section bottom */
  .contact-demo__preview {
    align-self: flex-start;
    width: calc(100vw - 16px);
    max-width: none;
    margin-bottom: 0;
  }

  .roles-section {
    padding: 144px 0 88px;
  }

  .roles-section__inner {
    gap: 48px;
  }

  .roles-section__eyebrow {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .roles-section__intro h2 {
    font-size: 40px;
    line-height: 40px;
  }

  .roles-section__description {
    line-height: 1.3;
  }

  .roles-section__inner {
    gap: 40px;
  }

  .roles-section .container {
    width: 100%;
    padding: 0;
    overflow: visible;
  }

  .roles-section__intro {
    padding: 0 16px;
  }

  .roles-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-left: 16px;
    scrollbar-width: none;
    cursor: grab;
  }

  /* Fix for padding-right being ignored in scroll containers */
  .roles-grid::after {
    content: '';
    display: block;
    min-width: 16px;
    flex-shrink: 0;
  }

  .roles-grid::-webkit-scrollbar {
    display: none;
  }

  .roles-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }

  .role-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

  .features-section {
    padding: 88px 0;
  }

  .features-section__inner {
    gap: 48px;
  }

  .features-section__cap {
    width: 72px;
    height: 28px;
  }

  .features-section__eyebrow {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .features-section__intro h2 {
    font-size: 40px;
    line-height: 40px;
  }

  .people-section {
    padding-top: 88px;
  }

  .people-section__eyebrow,
  .book-section__eyebrow,
  .people-section__label {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .people-section__intro h2,
  .book-section__intro h2,
  .people-section__content-head h3 {
    font-size: 40px;
    line-height: 40px;
  }

  .people-section__panel {
    margin-top: 48px;
  }

  .people-section__panel {
    overflow: visible;
  }

  .people-section__portrait-wrap {
    height: 360px;
  }

  .people-section__content {
    height: auto;
    gap: 24px;
    padding: 32px 16px 48px;
  }

  .people-section__bio {
    line-height: 1.5;
  }

  .book-section {
    padding: 88px 0;
  }

  .book-section__inner {
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card--large {
    min-height: 420px;
  }

  .feature-card__media {
    background-position: 0 0, 0 0, 18px 18px;
    background-size: 100% 100%, 36px 36px, 36px 36px;
  }

  .button-outline-dark {
    width: 100%;
    justify-content: center;
  }

  .workflow-section {
    padding: 88px 0;
  }

  .workflow-section__inner {
    gap: 48px;
  }

  .workflow-section__eyebrow {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .workflow-section__intro h2 {
    font-size: 40px;
    line-height: 40px;
  }

  .workflow-grid {
    gap: 32px;
  }

  .workflow-step {
    gap: 18px;
  }

  .workflow-step__content {
    gap: 12px;
  }

  .workflow-step__content p {
    line-height: 1.3;
  }

  .workflow-step__divider {
    margin: 0;
  }

  .workflow-visual,
  .workflow-placeholder {
    height: 320px;
  }

  .workflow-placeholder {
    background-position: 0 0, 18px 18px;
    background-size: 36px 36px;
  }

  .role-card {
    gap: 14px;
  }

  .role-card__icon {
    width: 128px;
    height: 128px;
  }

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

  .footer-cta__image-wrap {
    min-height: 220px;
    height: 280px;
    order: -1;
  }

  .footer-cta__copy {
    padding: 40px 0;
  }

  .footer-cta__actions {
    flex-direction: column;
  }

  .footer-cta__actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-cta__heading {
    font-size: 32px;
    line-height: 36px;
  }

  .footer-main__inner {
    flex-direction: column;
    gap: 48px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 32px;
  }

  .footer-col,
  .footer-col:first-child {
    width: 100%;
  }

  /* Pricing — mobile */
  .pricing-hero {
    background: #000000;
  }

  .pricing-hero__bg {
    height: 400px;
  }

  .pricing-hero__bg-image {
    object-position: 50% 76%;
  }

  .pricing-hero__overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.14) 50%, #000000 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.22) 50%, rgba(0, 0, 0, 0.58) 100%);
  }

  .pricing-hero__copy {
    align-items: flex-start;
    text-align: left;
    padding-top: calc(80px + 61px);
    padding-bottom: 30px;
  }

  .pricing-hero__copy h1 {
    font-size: 44px;
    line-height: 44px;
  }

  .pricing-card-wrap {
    padding-bottom: 16px;
  }

  /* Hide desktop banner row on mobile */
  .pricing-banner-row {
    display: none;
  }

  /* Show in-card banner on mobile */
  .pricing-banner--in-card {
    display: flex;
    width: 100%;
    justify-content: flex-start;
  }

  /* Stack to single column: banner, annual (highlighted), quarterly, divider, features */
  .pricing-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  /* Reorder: in-card banner is first child, annual second, quarterly third, divider fourth, features fifth */
  .pricing-banner--in-card { order: 1; }
  .pricing-plan--annual     { order: 2; }
  .pricing-plan--quarterly  { order: 3; }
  .pricing-card__divider    { order: 4; width: 100%; height: 1px; }
  .pricing-features         { order: 5; }

  .pricing-plan__name {
    font-size: 28px;
    line-height: 28px;
  }

  .pricing-plan__amount {
    font-size: 40px;
    line-height: 40px;
  }

  .pricing-features__heading {
    font-size: 28px;
    line-height: 28px;
  }

  .contact-hero {
    background: #000000;
    padding-bottom: 32px;
  }

  .contact-hero__bg {
    height: 320px;
  }

  .contact-hero__bg-image {
    object-position: 50% 58%;
  }

  .contact-hero__copy {
    padding-top: calc(80px + 61px);
    padding-bottom: 24px;
    align-items: flex-start;
    text-align: left;
  }

  .contact-hero__copy h1 {
    font-size: 44px;
    line-height: 44px;
    text-align: left;
  }

  .contact-hero__copy p {
    line-height: 1.22;
    text-align: left;
  }

  .contact-card__lead {
    padding: 20px 24px;
  }

  .contact-card__lead p,
  .contact-card__value {
    font-size: 28px;
    line-height: 28px;
  }

  .contact-card__details {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .contact-demo {
    padding: 88px 0 0;
  }

  .product-hero {
    background: #000000;
  }

  .ku-book-hero {
    background: #000000;
  }

  .ku-book-hero__bg {
    height: 320px;
  }

  .ku-book-hero__bg-image {
    object-position: 50% 50%;
  }

  .ku-book-hero__copy {
    align-items: flex-start;
    text-align: left;
    padding-top: calc(80px + 61px);
    padding-bottom: 32px;
  }

  .ku-book-hero__copy h1 {
    font-size: 44px;
    line-height: 44px;
  }

  .ku-book-hero__copy p {
    line-height: 1.22;
  }

  .product-hero__bg {
    height: 320px;
  }

  .product-hero__bg-image {
    object-position: 50% 58%;
  }

  .product-hero__copy {
    align-items: flex-start;
    text-align: left;
    padding-top: calc(80px + 61px);
    padding-bottom: 32px;
  }

  .product-hero__copy h1 {
    font-size: 44px;
    line-height: 44px;
  }

  .product-hero__copy p {
    line-height: 1.22;
  }

  .product-hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .product-hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  .product-feature-section {
    padding: 88px 0;
  }

  .product-feature-section__inner {
    gap: 40px;
  }

  .product-feature-section__intro h2 {
    font-size: 40px;
    line-height: 40px;
  }

  .product-feature-section__grid,
  .product-feature-section__grid--media-right,
  .product-feature-section__grid--media-left {
    gap: 32px;
  }

  .product-feature-section__visual {
    min-height: 320px;
  }

  .contact-demo__intro h2,
  .company-details__intro h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .company-details {
    padding: 88px 0;
  }

  .company-details__content {
    gap: 40px;
  }

  .company-details__row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .faq-section {
    padding: 60px 0;
  }

  .faq-section__inner {
    gap: 32px;
  }

  .faq-section__heading {
    font-size: 40px;
    line-height: 40px;
  }

  .faq-list {
    padding: 40px 0;
  }

  .not-found-main,
  .not-found-hero {
    min-height: calc(100vh - 60px);
  }

  .not-found-hero__inner {
    padding: 104px 0 80px;
  }

  .not-found-hero h1 {
    font-size: 44px;
    line-height: 44px;
  }
}
