:root {
  --ink: #050505;
  --muted: #4d4d55;
  --line: #dddddf;
  --nav: var(--nav-h, 74px);
  --lime: #dcff2f;
  --night: #070713;
  --blue: #2f7bff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
a,
input,
textarea { font: inherit; color: inherit; }

button { border: 0; background: transparent; cursor: pointer; }
a { text-decoration: none; }

.hero {
  min-height: calc(100vh - var(--nav));
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
  padding: clamp(72px, 8vw, 126px) clamp(34px, 6vw, 92px) clamp(70px, 8vw, 118px);
}

h1,
h2,
h3,
p { margin: 0; }

.hero h1 {
  max-width: 1120px;
  font-size: clamp(4.6rem, 7.45vw, 9.7rem);
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 520px;
  margin: 8px 0 34px;
  font-size: clamp(1.08rem, 1.35vw, 1.45rem);
  line-height: 1.38;
}

.pill {
  min-width: 148px;
  height: 45px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.pill.dark { color: #fff; background: #050505; }
.pill.light { background: #fff; color: #172322; }

.hero-lab {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(420px, 0.72fr) minmax(680px, 1.28fr);
  gap: clamp(54px, 7vw, 100px);
  align-items: end;
  padding: 80px 7vw 0 0;
  background:
    linear-gradient(90deg, #b9dcff 0 33.4%, #d9efff 33.5% 100%);
}

.collection-panel {
  width: min(620px, 100%);
  align-self: end;
  justify-self: start;
  margin-left: -14px;
  background: #fff;
  border: 9px solid rgba(255, 255, 255, 0.62);
  border-radius: 13px 13px 0 0;
  box-shadow: 0 22px 50px rgba(45, 88, 130, 0.14);
  overflow: hidden;
  transform: translateX(-10px);
}

.collection-head {
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555960;
  font-size: 1rem;
}

.collection-head b { color: #aaa; padding: 0 10px; }
.collection-panel h2 { padding: 0 28px 22px; font-size: 2rem; font-weight: 700; }

.outline-btn {
  height: 42px;
  padding: 0 24px;
  border: 2px solid #7c7c7c;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

.data-table {
  display: grid;
  grid-template-columns: 52px 1.45fr 1.22fr 0.62fr 0.72fr;
  border-top: 1px solid #e5e5e5;
}

.cell {
  min-height: 78px;
  padding: 18px;
  display: flex;
  align-items: center;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  font-size: 1rem;
}

.cell.head { min-height: 68px; background: #f4f4f4; color: #555960; font-weight: 500; }
.cell.index { color: #5d5d61; justify-content: center; padding: 0; }
.cell.title { font-weight: 650; }
.thumb { width: 57px; height: 37px; border-radius: 4px; object-fit: cover; }

.site-editor {
  width: min(100%, 1080px);
  align-self: end;
  margin-bottom: 0;
  background: #fff;
  box-shadow: 0 32px 74px rgba(45, 88, 130, 0.13);
}

.editor-top {
  height: 36px;
  display: grid;
  grid-template-columns: 32px 96px 1fr repeat(3, auto) 58px;
  align-items: center;
  gap: 18px;
  padding-left: 10px;
  color: #d6dbe5;
  background: #111722;
  font-size: 0.72rem;
}

.editor-logo {
  width: 18px;
  height: 18px;
  display: block;
  border: 4px solid #cbdcff;
}

.editor-top button {
  height: 36px;
  color: #fff;
  background: #2f7bff;
  font-size: 0.74rem;
}

.editor-body {
  min-height: 475px;
  display: grid;
  grid-template-columns: 44px 1fr;
}

.editor-body aside {
  padding-top: 12px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 20px;
  color: #72777f;
  border-right: 1px solid #eceef2;
}

.project-site {
  margin: 38px auto 0;
  width: 88%;
  min-height: 470px;
  padding: 22px 22px 32px;
  color: #d7d9dc;
  background: #333538;
  position: relative;
  overflow: hidden;
}

.project-site header,
.project-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: start;
  gap: 50px;
  border-bottom: 1px solid #4b4d51;
  padding-bottom: 20px;
}

.project-site header strong { font-size: 1.42rem; color: #fff; letter-spacing: -0.04em; }
.project-site nav { display: grid; gap: 6px; font-size: 0.72rem; color: #c0c2c4; }
.project-site nav b { color: #dfff28; }
.project-site small { font-size: 0.7rem; color: #c9c9c9; }

.project-toolbar {
  grid-template-columns: auto 1fr minmax(160px, 250px);
  gap: 28px;
  padding: 22px 0 10px;
  align-items: center;
}

.project-toolbar h3 { font-size: 1.62rem; font-weight: 400; color: #c7c9cc; }
.project-toolbar button { color: #c6c7c9; font-size: 0.72rem; font-weight: 700; margin-right: 9px; }
.project-toolbar button.active { color: #fff; }
.project-toolbar label { border-bottom: 1px solid #7a7c80; }
.project-toolbar input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 0.72rem; padding: 8px 0; }

.blue-select {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 166px;
  height: 22px;
  color: #fff;
  background: #2f7bff;
  font-size: 0.75rem;
  padding-left: 6px;
  z-index: 2;
}

.project-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  outline: 3px solid #2f7bff;
  outline-offset: 3px;
}

.project-card {
  min-width: 0;
  border-bottom: 1px solid #4b4d51;
  padding-bottom: 11px;
  opacity: 0;
  transform: translateY(10px);
  animation: cardIn 340ms ease forwards;
}

@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }

.project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.project-card strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 0.82rem;
}

.project-card span {
  color: #b6b8bb;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.steps-section {
  padding: clamp(88px, 11vw, 162px) clamp(32px, 5vw, 92px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.2vw, 48px);
  color: #fff;
  background:
    radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 12px 12px,
    #050747;
}

.steps-section article {
  min-height: 560px;
  padding: clamp(36px, 4vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #191b55;
  border-radius: 8px;
}

.steps-section h2 {
  max-width: 470px;
  font-size: clamp(3rem, 4vw, 5.2rem);
  line-height: 1.06;
  font-weight: 400;
}

.steps-section p {
  max-width: 480px;
  color: #ebebf6;
  font-size: 1.1rem;
  line-height: 1.45;
}

.dynamic-pages {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(580px, 1.12fr);
  min-height: 1200px;
  background: linear-gradient(90deg, #fff 0 42.8%, #f0c0a6 42.9% 100%);
}

.section-copy {
  padding: clamp(76px, 9vw, 145px) clamp(34px, 6vw, 94px);
}

.sticky-copy {
  position: sticky;
  top: var(--nav);
  height: calc(100vh - var(--nav));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-copy h2,
.headless-copy h2 {
  max-width: 780px;
  font-size: clamp(3.7rem, 5.3vw, 7rem);
  line-height: 1.08;
  font-weight: 400;
}

.section-copy p {
  max-width: 560px;
  margin: 44px 0 34px;
  font-size: 1.22rem;
  line-height: 1.42;
}

.section-copy a,
.code-section a,
.headless-copy a {
  display: inline-flex;
  margin-right: 32px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.page-stack {
  padding: 74px 5.8vw 96px clamp(42px, 4.4vw, 84px);
  display: grid;
  gap: 56px;
  align-content: start;
}

.url-pill {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
}

.museum-page {
  padding: 18px 28px 22px;
  border-radius: 8px;
  background: #f1f0ec;
  box-shadow: 0 18px 48px rgba(83, 41, 17, 0.12);
}

.museum-page header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
}

.museum-page header b {
  background: #dfff28;
  padding: 2px 10px;
  font-weight: 700;
}

.museum-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 0.92fr 1.45fr;
  gap: 16px;
}

.museum-grid img {
  width: 100%;
  height: 214px;
  object-fit: cover;
}

.museum-page h3 {
  margin: 22px 0 8px;
  font-size: 2.1rem;
  line-height: 1.03;
}

.museum-page p { font-size: 0.94rem; line-height: 1.2; }
.museum-bottom { display: flex; justify-content: space-between; margin-top: 30px; font-weight: 700; }

.presets-section {
  min-height: 1040px;
  padding: 72px clamp(34px, 4.45vw, 88px) 0;
  color: #fff;
  background: #000;
  scroll-margin-top: var(--nav-h);
  overflow: hidden;
}

.presets-section .section-copy {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(620px, 1fr) minmax(520px, 0.82fr);
  gap: clamp(80px, 9.2vw, 184px);
  align-items: start;
}

.presets-section .section-copy h2 {
  max-width: 900px;
  font-size: clamp(4rem, 4.15vw, 82px);
  line-height: 1.12;
}

.presets-section .section-copy p {
  max-width: 680px;
  margin-top: 10px;
  color: #e8e8e8;
}

.preset-stage {
  position: relative;
  min-height: 660px;
  margin-top: 138px;
  margin-left: calc(clamp(34px, 4.45vw, 88px) * -1);
  margin-right: calc(clamp(34px, 4.45vw, 88px) * -1);
  padding: 58px clamp(34px, 4.45vw, 88px) 54px;
  display: flex;
  gap: clamp(76px, 8vw, 160px);
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(34px, 4.45vw, 88px);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .52) rgba(255, 255, 255, .12);
}

.preset-stage::-webkit-scrollbar {
  height: 10px;
}

.preset-stage::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .12);
}

.preset-stage::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
}

.preset-stage .reveal,
.headless-section .reveal {
  opacity: 1;
  transform: none;
}

.preset-card,
.ai-builder {
  position: relative;
  border-radius: 8px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.preset-card span,
.ai-builder > span {
  position: absolute;
  top: -58px;
  left: 0;
  color: #d6d6d6;
  font-size: 1rem;
}

.preset-card {
  background: #777;
  border: 10px solid #797979;
  box-shadow: inset 0 0 0 2px #b7b7b7;
  overflow: visible;
}

.preset-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.portfolio {
  width: clamp(600px, 36.5vw, 730px);
  height: clamp(560px, 31vw, 620px);
}

.template > span {
  top: -58px;
  left: 0;
}

.template {
  width: clamp(940px, 47vw, 1160px);
  height: clamp(450px, 25vw, 510px);
  margin-top: 118px;
}

.ai-builder {
  width: clamp(430px, 24vw, 540px);
  margin-top: 236px;
  display: grid;
  gap: 18px;
}

.ai-prompt {
  min-height: 96px;
  padding: 20px 84px 20px 24px;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 6px;
  color: #202020;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.ai-prompt p {
  font-size: clamp(1.06rem, 1.1vw, 1.35rem);
  line-height: 1.28;
  font-weight: 300;
}

.ai-prompt b {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3d9cf5;
  font-size: 1.6rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.ai-exhibitions-image {
  width: 100%;
  display: block;
  border: 8px solid #797979;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 2px #b7b7b7;
}

.enterprise-cms {
  padding: 48px clamp(26px, 3vw, 58px);
  background: #e9f0f0;
}

.enterprise-card {
  min-height: 820px;
  padding: clamp(56px, 5vw, 90px);
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(620px, 1.22fr);
  align-items: center;
  gap: clamp(58px, 6vw, 92px);
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 12px 12px,
    #344f50;
}

.enterprise-card h2 {
  margin: 28px 0;
  font-size: clamp(3.3rem, 4.6vw, 6.1rem);
  line-height: 1.08;
  font-weight: 400;
}

.enterprise-card p { max-width: 580px; color: #ecf0ee; font-size: 1.12rem; line-height: 1.48; margin-bottom: 34px; }
.enterprise-card > div > a:not(.pill) { margin-left: 28px; text-decoration: underline; text-underline-offset: 5px; }

.properties-ui {
  width: min(920px, 100%);
  justify-self: end;
  display: grid;
  gap: 28px;
  align-content: center;
}

.properties-table-image {
  width: 100%;
  display: block;
  border-radius: 14px;
  filter: drop-shadow(0 20px 46px rgba(0, 0, 0, .18));
}

.property-sites {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.property-sites img {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
  object-position: center;
  border: 6px solid rgba(255,255,255,.35);
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  box-shadow: 0 16px 36px rgba(0,0,0,.16);
}

.code-section {
  min-height: 996px;
  padding: 38px clamp(34px, 6vw, 92px) 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  color: #f8f8f8;
  background: #181c24;
  scroll-margin-top: var(--nav-h);
}

.code-section h2 {
  font-size: clamp(3.6rem, 5.2vw, 7rem);
  line-height: 1.08;
  font-weight: 400;
}

.code-section p {
  max-width: 760px;
  margin: 8px 0 40px;
  font-size: 1.24rem;
  line-height: 1.42;
  color: #e6e8ec;
}

.code-section-copy {
  padding-top: 48px;
}

.code-section a {
  gap: 4px;
  color: #fff;
  text-decoration: none;
}

.code-section a span:first-child {
  border-bottom: 2px solid currentColor;
}

.code-section a .link-arrow {
  border-bottom: 0;
}

.capabilities-travel-image {
  display: block;
  width: 100%;
  height: auto;
}

.capabilities-code-editor {
  margin-top: 72px;
  max-width: 650px;
  border-radius: 9px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(52, 131, 255, .22), transparent 36%),
    #071f2e;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
}

.code-window-bar {
  height: 45px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #d7e5f3;
  background: rgba(6, 24, 38, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: .82rem;
}

.code-window-bar strong {
  color: #ffe66b;
  font-size: .76rem;
}

.code-window-bar span {
  font-weight: 650;
}

.code-window-bar button {
  margin-left: auto;
  color: #9cafbf;
  font-size: 1.2rem;
  line-height: 1;
}

.capabilities-code-card {
  margin-top: 0;
  min-height: 500px;
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.capabilities-travel-image {
  margin-top: 126px;
  max-width: 1120px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .12);
}

.code-card {
  margin-top: 120px;
  min-height: 500px;
  padding: 44px 54px;
  border-radius: 8px 8px 0 0;
  color: #b7d4e9;
  background:
    linear-gradient(180deg, rgba(21, 55, 78, 0.42), rgba(7, 30, 44, 0) 34%),
    #071f2e;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.1),
    0 24px 60px rgba(0, 0, 0, .18);
  font-size: 1rem;
  line-height: 1.65;
  overflow: hidden;
}

.code-card code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.code-card.numbered code {
  display: block;
  white-space: normal;
}
.tok-keyword { color: #c792ea; }
.tok-string { color: #ecc48d; }
.tok-comment { color: #7fa86a; }
.tok-function { color: #82aaff; }
.tok-variable { color: #addbff; }
.tok-number { color: #f78c6c; }

.code-card.numbered {
  padding: 84px clamp(28px, 5vw, 82px);
  font-size: clamp(.82rem, .86vw, 1rem);
  line-height: 1.72;
}

.code-line {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 22px;
}

.line-no {
  color: rgba(203, 221, 233, .5);
  text-align: right;
  user-select: none;
}

.line-code {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.capabilities-code-card.numbered {
  margin: 0;
  min-height: 460px;
  height: auto;
  padding: 18px 26px 20px;
  border-radius: 0;
  font-size: clamp(.74rem, .78vw, .88rem);
  line-height: 1.58;
}

.capabilities-code-card .code-line {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 18px;
  min-height: 1.58em;
}

.capabilities-code-card .line-code {
  white-space: pre;
  overflow-wrap: normal;
}

.hero h1,
.steps-section h2,
.section-copy h2,
.headless-copy h2,
.enterprise-card h2,
.code-section h2,
.final-cta h2 {
  font-weight: 300;
}

.permissions-section .section-copy h2 {
  font-weight: 200;
}

.typing-cursor {
  display: inline-block;
  width: 0.62em;
  height: 1.18em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: #d7f7ff;
  box-shadow: 0 0 16px rgba(130, 170, 255, .75);
  animation: cursorPulse 720ms steps(2, end) infinite;
}

@keyframes cursorPulse {
  0%,
  42% { opacity: 1; }
  43%,
  100% { opacity: .16; }
}

.travel-preview {
  margin-top: 134px;
  min-height: 630px;
  padding: 26px;
  color: #29313d;
  background: #dfe7f2;
  overflow: hidden;
}

.travel-preview header {
  margin: -26px -26px 72px;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  font-size: 0.78rem;
}

.travel-preview header strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.12rem;
}

.travel-preview header strong span {
  width: 32px;
  height: 9px;
  display: inline-block;
  border-radius: 100% 0 100% 0;
  background: #253244;
  transform: skewX(-20deg);
}

.travel-preview header b {
  padding: 8px 10px;
  border-radius: 999px;
  background: #ecf2fb;
  font-weight: 500;
}

.travel-preview h3 {
  max-width: 760px;
  font-size: clamp(2.55rem, 3.3vw, 4.25rem);
  line-height: 1.17;
  font-weight: 400;
}

.search-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr) 64px;
  gap: 10px;
}

.search-row span,
.search-row button {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: #fff;
}

.search-row button { justify-content: center; background: #5bff75; }
.destination-row { margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.destination-row article {
  min-height: 250px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.02)), url("../Images/business-hotel-luxe.png") center / cover;
  border-radius: 8px 8px 0 0;
  font-size: 1.7rem;
  line-height: 1.05;
}

.destination-row article small {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.destination-row .popular {
  justify-content: space-between;
  background: #243850;
}

.destination-row .popular strong {
  font-size: 1.7rem;
  font-weight: 400;
}

.destination-row .popular small {
  color: #dbe3ec;
  line-height: 1.7;
  font-size: 0.86rem;
}

.destination-row article:nth-child(2) { background-image: linear-gradient(to top, rgba(0,0,0,.52), rgba(0,0,0,.02)), url("../Images/maison-vale-hospitality-imagegen.png"); }
.destination-row article:nth-child(3) { background-image: linear-gradient(to top, rgba(0,0,0,.52), rgba(0,0,0,.02)), url("../Images/headless-dashboard-imagegen.png"); }
.destination-row article:nth-child(4) { background-image: linear-gradient(to top, rgba(0,0,0,.52), rgba(0,0,0,.02)), url("../Images/headless-booking-ski-imagegen.png"); }

.permissions-section {
  min-height: 900px;
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(620px, 1.1fr);
  background: linear-gradient(90deg, #fff 0 43.5%, #f2cbbd 43.6% 100%);
}

.permissions-section .section-copy h2 {
  max-width: 660px;
  font-size: clamp(3.25rem, 4.45vw, 5.85rem);
  line-height: 1.09;
  font-weight: 200;
}

.permission-art {
  padding: clamp(78px, 7vw, 118px) clamp(34px, 7vw, 104px) clamp(62px, 7vw, 90px) 0;
  display: grid;
  place-items: center end;
  background: linear-gradient(#d7d9ea, #f2cbbd);
}

.permissions-image {
  width: min(100%, 1040px);
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 62px rgba(74, 64, 92, .16));
}

.role-chip {
  justify-self: end;
  min-width: min(620px, 94%);
  min-height: 88px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  align-items: center;
  gap: 26px;
  border: 8px solid rgba(255,255,255,.5);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(79, 67, 97, .14);
}

.role-chip span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid var(--lime);
  background: radial-gradient(circle at 50% 34%, #d0a07e 0 18%, transparent 19%), radial-gradient(circle at 50% 42%, #232 0 31%, transparent 32%), #cbe1ff;
}

.role-chip small { color: #9a9ca3; font-weight: 400; }
.role-chip b,
.role-chip time { border-left: 1px solid #d6d6d6; padding-left: 28px; white-space: nowrap; }

.content-editor {
  justify-self: end;
  width: min(860px, 94%);
  min-height: 520px;
  display: grid;
  grid-template-columns: 176px 1fr;
  grid-template-rows: 44px 1fr;
  background: #fff;
  box-shadow: 0 25px 55px rgba(79, 67, 97, .16);
}

.content-editor header {
  grid-column: 1 / -1;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: #30313d;
}

.content-editor aside { background: #f5f5f6; padding: 52px 34px; display: grid; align-content: start; gap: 52px; }
.content-editor aside span { height: 34px; background: linear-gradient(#ddd 0 8px, transparent 8px 14px, #ddd 14px 22px, transparent 22px); }
.content-editor form { padding: 26px 40px; display: grid; gap: 18px; }
.content-editor h3 { font-size: 1.8rem; }
.content-editor label { display: grid; gap: 10px; font-weight: 700; color: #171b30; }
.content-editor label div { width: 260px; height: 145px; border-radius: 8px; background: url("../Images/business-hotel-luxe.png") center / cover; }
.content-editor input,
.content-editor textarea { width: 100%; border: 1px solid #d4e2ff; border-radius: 3px; padding: 13px; outline-color: #4d8dff; }
.content-editor textarea { min-height: 74px; resize: none; }

.headless-section {
  background: #fff;
  scroll-margin-top: var(--nav-h);
}

.headless-copy {
  padding: clamp(96px, 6.8vw, 124px) clamp(46px, 6vw, 96px) clamp(18px, 1.6vw, 28px);
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(420px, .8fr);
  gap: clamp(64px, 9vw, 160px);
  align-items: end;
}

.headless-copy h2 {
  max-width: 920px;
  font-size: clamp(3.75rem, 4vw, 4.55rem);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: 0;
}

.headless-copy p {
  max-width: 660px;
  margin: 4px 0 38px;
  font-size: clamp(1.08rem, 1.2vw, 1.28rem);
  line-height: 1.35;
}

.headless-copy .pill {
  min-width: 196px;
  height: 50px;
  text-decoration: none;
  margin-right: 28px;
}

.headless-copy a:not(.pill) {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.headless-grid {
  display: grid;
  grid-template-columns: minmax(520px, 46.5%) minmax(0, 53.5%);
  min-height: clamp(700px, 46vw, 820px);
  overflow: hidden;
}

.headless-code-editor {
  min-height: clamp(700px, 46vw, 820px);
  background:
    radial-gradient(circle at 84% 14%, rgba(54, 97, 124, .28), transparent 36%),
    #071f2e;
  overflow: hidden;
}

.headless-grid .code-card {
  margin: 0;
  min-height: calc(clamp(700px, 46vw, 820px) - 45px);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.headless-code-card.numbered {
  padding: clamp(220px, 12vw, 270px) clamp(58px, 6.4vw, 118px) 76px;
  font-size: clamp(1rem, 1.08vw, 1.18rem);
  line-height: 1.62;
}

.headless-code-card .code-line {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 28px;
  min-height: 1.58em;
}

.headless-code-card .line-no {
  color: rgba(190, 213, 229, .48);
}

.travel-table {
  min-height: clamp(700px, 46vw, 820px);
  padding: clamp(178px, 10vw, 214px) clamp(28px, 3vw, 54px) clamp(42px, 4vw, 72px);
  display: grid;
  place-items: start center;
  background: #b8dcff;
}

.travel-table img {
  width: min(100%, 1120px);
  height: auto;
  display: block;
  border-radius: 10px;
  filter: drop-shadow(0 26px 54px rgba(52, 105, 162, .18));
}

.tech-rail {
  min-height: 104px;
  padding: 0 clamp(34px, 6vw, 94px);
  display: grid;
  grid-template-columns: 1.8fr repeat(7, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  color: #fff;
  background: #505d6c;
  overflow: visible;
}

.tech-rail span {
  color: #f0f4f7;
  line-height: 1.35;
}

.tech-icon {
  width: 58px;
  height: 58px;
  justify-self: center;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(7, 18, 34, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: default;
  outline: none;
}

.tech-icon img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.tech-icon:hover,
.tech-icon:focus-visible {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 18px 36px rgba(7, 18, 34, 0.24);
}

.tech-icon::after {
  content: attr(data-tech);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  padding: 8px 11px;
  border-radius: 7px;
  color: #10131a;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 18, 34, 0.2);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.tech-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0;
  transform: translate(-50%, 6px) rotate(45deg);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.tech-icon:hover::after,
.tech-icon:hover::before,
.tech-icon:focus-visible::after,
.tech-icon:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.final-cta h2 {
  padding: 120px clamp(34px, 5vw, 90px) 170px;
  font-size: clamp(4.5rem, 7vw, 10rem);
  line-height: 1.05;
  font-weight: 400;
  background:
    radial-gradient(circle, rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 11px 11px,
    #fffff3;
}

.final-cta a {
  display: grid;
  grid-template-columns: 1fr 240px;
  min-height: 236px;
  background: #111;
}

.final-cta span {
  padding: 44px clamp(34px, 5vw, 90px);
  display: flex;
  align-items: center;
  color: #050505;
  background: var(--lime);
  font-size: clamp(4.3rem, 7vw, 9rem);
  line-height: 1;
}

.final-cta b {
  display: grid;
  place-items: center;
  color: #111;
  font-size: 4rem;
  font-weight: 400;
}

.final-cta b::before {
  content: "";
  position: absolute;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: #fff;
  z-index: 0;
}

.final-cta b { position: relative; }
.final-cta b { z-index: 1; }

.cms-footer {
  padding: 72px 5vw 64px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 70px;
  color: #e9e9e9;
  background: #111;
  border-top: 1px solid #222;
}

.cms-footer p { max-width: 270px; margin-top: 28px; color: #c3c3c3; line-height: 1.45; }
.cms-footer nav { display: grid; align-content: start; gap: 16px; }
.cms-footer strong { color: #fff; font-size: 0.82rem; margin-bottom: 14px; }
.cms-footer a { color: #d5d5d5; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.hero h1,
.steps-section h2,
.section-copy h2,
.headless-copy h2,
.enterprise-card h2,
.code-section h2,
.final-cta h2 {
  font-weight: 300;
}

.permissions-section .section-copy h2 {
  font-weight: 200;
}

@media (max-width: 1100px) {
  .hero-copy,
  .dynamic-pages,
  .permissions-section,
  .headless-copy,
  .headless-grid,
  .code-section,
  .enterprise-card,
  .presets-section .section-copy { grid-template-columns: 1fr; }
  .hero h1,
  .section-copy h2,
  .headless-copy h2,
  .code-section h2 { font-size: clamp(3.2rem, 12vw, 6rem); }
  .hero-lab { grid-template-columns: 1fr; padding: 40px 22px 0; }
  .collection-panel { margin-left: 0; justify-self: center; }
  .site-editor { width: 100%; }
  .steps-section { grid-template-columns: 1fr; }
  .steps-section article { min-height: 360px; }
  .sticky-copy { position: static; height: auto; }
  .page-stack { padding: 34px; }
  .preset-stage { min-height: auto; display: grid; gap: 74px; overflow-x: visible; }
  .preset-card,
  .ai-builder { position: relative; left: auto; right: auto; top: auto; width: 100%; min-width: 0; margin-top: 0; }
  .portfolio,
  .template { height: 440px; }
  .permission-art { padding: 50px 24px; }
  .tech-rail {
    grid-template-columns: repeat(4, minmax(72px, 1fr));
    padding-top: 26px;
    padding-bottom: 26px;
  }
  .tech-rail > span {
    grid-column: 1 / -1;
  }
  .cms-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero-copy {
    display: block;
    width: 100%;
    max-width: 100vw;
    padding: 48px 22px;
    overflow: hidden;
  }
  .hero h1 {
    width: min(100%, 340px);
    min-width: 0;
    max-width: 340px;
    font-size: 2.24rem;
    line-height: 1.16;
    overflow-wrap: break-word;
  }
  .hero-copy p {
    max-width: 340px;
    font-size: 0.98rem;
    overflow-wrap: break-word;
  }
  .hero-lab { min-height: auto; }
  .collection-panel {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
  }
  .data-table { min-width: 600px; }
  .site-editor {
    width: 100%;
    overflow-x: auto;
    transform: none;
    margin-bottom: 0;
  }
  .editor-body { min-width: 760px; }
  .steps-section { padding: 64px 22px; }
  .steps-section h2 { font-size: 2.7rem; }
  .section-copy { padding: 62px 22px; }
  .museum-grid,
  .project-grid,
  .property-sites,
  .destination-row,
  .search-row,
  .cms-footer { grid-template-columns: 1fr; }
  .role-chip { grid-template-columns: 44px 1fr; }
  .role-chip b,
  .role-chip time { border-left: 0; padding-left: 0; }
  .content-editor { grid-template-columns: 1fr; }
  .content-editor aside { display: none; }
  .tech-rail {
    grid-template-columns: repeat(3, minmax(70px, 1fr));
    gap: 18px 10px;
  }
  .tech-icon {
    width: 54px;
    height: 54px;
  }
  .final-cta a { grid-template-columns: 1fr 118px; min-height: 150px; }
  .final-cta span { font-size: 3rem; }
}

/* Shared generated BUGENCE brand mark. */
.brand-mark,
.bugence-logo::before,
.logo::before {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  display: inline-block !important;
  border-radius: 0 !important;
  background: url("../Images/bugence-logo-mark.png") center / cover no-repeat !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
  overflow: hidden !important;
}

.brand-mark::after,
.bugence-logo::after,
.logo::after {
  display: none !important;
  content: none !important;
}

.bugence-logo,
.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.bugence-logo::before,
.logo::before {
  content: "" !important;
}

/* Project-wide light heading and paragraph text */
:where(h1, h2, h3, h4, h5, h6, p) {
  font-weight: 300 !important;
}
