:root {
  --ink: #081735;
  --ink-soft: #31466b;
  --muted: #667899;
  --blue: #1768e5;
  --blue-deep: #0d43ae;
  --aqua: #22bfd2;
  --violet: #7557e8;
  --line: #cfdaee;
  --paper: #ffffff;
  --wash: #f3f7ff;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(16, 55, 120, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8faff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.demo-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(250, 252, 255, 0.93);
  border-bottom: 1px solid rgba(190, 205, 231, 0.75);
  display: flex;
  height: 88px;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 84px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.demo-brand img { height: 46px; width: auto; }
.demo-header nav { align-items: center; display: flex; gap: 34px; }
.demo-header nav > a { color: #415474; font-size: 14px; font-weight: 700; }
.demo-header nav > a:hover { color: var(--blue); }
.demo-header .header-cta {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-radius: 999px;
  box-shadow: 0 13px 28px rgba(28, 98, 217, 0.23);
  color: #fff;
  padding: 14px 22px;
}

.demo-hero {
  align-items: center;
  background:
    radial-gradient(circle at 72% 18%, rgba(87, 144, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #f8fbff 0%, #edf4ff 58%, #f4f0ff 100%);
  display: grid;
  gap: clamp(48px, 6vw, 100px);
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  min-height: 700px;
  overflow: hidden;
  padding: 82px clamp(28px, 6vw, 104px) 92px;
  position: relative;
}
.demo-hero-copy { max-width: 670px; position: relative; z-index: 2; }
.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.demo-hero h1 {
  font-size: clamp(52px, 5.8vw, 92px);
  letter-spacing: -0.065em;
  line-height: 0.98;
  margin: 0;
  max-width: 770px;
}
.demo-hero-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.65;
  margin: 30px 0;
  max-width: 650px;
}
.hero-points { display: flex; flex-wrap: wrap; gap: 13px 21px; margin: 0 0 34px; }
.hero-points span { align-items: center; color: #405579; display: flex; font-size: 14px; font-weight: 700; gap: 9px; }
.hero-points i { background: var(--aqua); border-radius: 50%; box-shadow: 0 0 0 5px rgba(34, 191, 210, 0.1); height: 7px; width: 7px; }
.primary-pill, .secondary-pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  min-height: 56px;
  padding: 0 27px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.primary-pill {
  background: linear-gradient(120deg, #0d43ae, #1776e7);
  box-shadow: 0 16px 34px rgba(21, 91, 210, 0.25);
  color: #fff;
}
.primary-pill:hover, .secondary-pill:hover, .tour-button:hover { transform: translateY(-2px); }

.hero-orb { border-radius: 50%; filter: blur(1px); opacity: 0.65; position: absolute; }
.hero-orb-one { background: rgba(61, 207, 216, 0.22); bottom: -120px; height: 360px; left: 39%; width: 360px; }
.hero-orb-two { background: rgba(124, 94, 236, 0.13); height: 430px; right: -130px; top: -110px; width: 430px; }

.system-constellation {
  aspect-ratio: 1.1;
  margin: 0 auto;
  max-width: 720px;
  position: relative;
  width: 100%;
}
.system-core {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #c6d6ef;
  border-radius: 50%;
  box-shadow: 0 28px 80px rgba(38, 82, 151, 0.2), inset 0 0 0 10px rgba(232, 240, 253, 0.75);
  display: flex;
  flex-direction: column;
  height: 252px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 252px;
  z-index: 3;
}
.system-core img { height: 48px; margin-bottom: 11px; width: 48px; }
.system-core span, .system-core small { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: 0.25em; }
.system-core strong { font-size: 30px; letter-spacing: -0.045em; line-height: 1.2; }
.system-node {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid #c9d8ef;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(47, 78, 130, 0.13);
  display: flex;
  gap: 13px;
  padding: 14px 17px;
  position: absolute;
  z-index: 4;
}
.system-node > span {
  align-items: center;
  background: linear-gradient(145deg, #1557c5, #7a57e6);
  border-radius: 13px;
  color: #fff;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 43px;
  justify-content: center;
  width: 43px;
}
.system-node div { display: flex; flex-direction: column; gap: 3px; }
.system-node strong { font-size: 14px; }
.system-node small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.node-jewellink { left: 3%; top: 13%; }
.node-countretail { right: 0; top: 16%; }
.node-jewelhire { bottom: 6%; left: 50%; transform: translateX(-50%); }
.node-countretail > span { background: linear-gradient(145deg, #087e9f, #22bfd2); }
.node-jewelhire > span { background: linear-gradient(145deg, #6e4dd7, #997bf0); }
.constellation-line { background: #a9c2e7; height: 2px; left: 50%; position: absolute; top: 48%; transform-origin: left center; width: 32%; }
.constellation-line::after { background: var(--aqua); border-radius: 50%; content: ""; height: 8px; position: absolute; right: 0; top: -3px; width: 8px; }
.constellation-line-left { transform: rotate(-146deg); }
.constellation-line-right { transform: rotate(-33deg); }

.access-section { background: #fff; padding: 96px clamp(28px, 7vw, 120px); }
.access-intro { margin: 0 auto 42px; max-width: 900px; text-align: center; }
.access-intro h2, .section-heading h2, .final-cta h2 {
  font-size: clamp(38px, 4.2vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0;
}
.access-intro > p:last-child, .section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 23px auto 0;
  max-width: 780px;
}
.access-card, .welcome-card {
  background: linear-gradient(145deg, #fbfdff, #f2f6fd);
  border: 2px solid #cbdaf1;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 900px;
  padding: clamp(28px, 4vw, 54px);
}
.access-card label { color: #263d61; display: grid; font-size: 14px; font-weight: 800; gap: 10px; }
.field-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; margin-bottom: 20px; }
.access-card input {
  background: #fff;
  border: 1.5px solid #c4d3eb;
  border-radius: 16px;
  color: var(--ink);
  min-height: 60px;
  outline: none;
  padding: 0 18px;
  width: 100%;
}
.access-card input::placeholder { color: #9aa7bb; }
.access-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 104, 229, 0.1); }
.access-card input[aria-invalid="true"] { border-color: #d84c59; }
.honeypot { left: -9999px !important; opacity: 0 !important; position: absolute !important; }
.form-submit {
  align-items: center;
  background: linear-gradient(115deg, #0e43ad, #1476e7);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(16, 81, 194, 0.24);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-weight: 800;
  gap: 16px;
  justify-content: center;
  margin-top: 25px;
  min-height: 62px;
  padding: 0 26px;
  width: 100%;
}
.form-submit:disabled { cursor: wait; opacity: 0.65; }
.form-status { color: #bb3146; font-size: 14px; font-weight: 700; margin: 16px 0 0; min-height: 20px; text-align: center; }
.form-status[data-state="success"] { color: #097c69; }
.form-note { color: #7a8ba7; font-size: 12px; line-height: 1.6; margin: 9px auto 0; max-width: 630px; text-align: center; }
.welcome-card { align-items: center; display: flex; justify-content: space-between; }
.welcome-card[hidden] { display: none; }
.welcome-card h2 { font-size: clamp(36px, 4vw, 58px); letter-spacing: -0.05em; margin: 0; }
.welcome-card p:not(.eyebrow) { color: var(--muted); line-height: 1.6; margin: 15px 0 0; max-width: 620px; }

.products-section { background: var(--wash); padding: 104px clamp(24px, 5vw, 88px); }
.section-heading { margin: 0 auto 48px; max-width: 980px; text-align: center; }
.product-grid { display: grid; gap: 25px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; max-width: 1500px; }
.product-card {
  background: #fff;
  border: 2px solid #c5d4eb;
  border-radius: 29px;
  box-shadow: 0 17px 44px rgba(27, 68, 130, 0.1);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.product-card:hover { border-color: #7da9e9; box-shadow: 0 25px 54px rgba(27, 68, 130, 0.17); transform: translateY(-4px); }
.product-visual {
  align-items: center;
  background: linear-gradient(145deg, #e8f1ff, #f2efff);
  display: flex;
  height: clamp(250px, 24vw, 390px);
  justify-content: center;
  overflow: hidden;
  padding: 55px 25px 28px;
  position: relative;
}
.product-countretail .product-visual { background: linear-gradient(145deg, #e8fbfd, #eff7ff); }
.product-jewelhire .product-visual { background: linear-gradient(145deg, #f1ecff, #f7f4ff); }
.product-role {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  color: #24486f;
  font-size: 11px;
  font-weight: 900;
  left: 20px;
  letter-spacing: 0.14em;
  padding: 10px 14px;
  position: absolute;
  text-transform: uppercase;
  top: 18px;
  z-index: 2;
}
.product-visual > img { filter: drop-shadow(0 18px 20px rgba(24, 49, 98, 0.19)); max-height: 100%; object-fit: contain; width: 100%; }
.product-jewellink .product-visual > img { transform: scale(1.15); }
.product-countretail .product-visual > img { max-width: 92%; }
.product-copy { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.product-title-row { align-items: center; display: flex; gap: 13px; }
.product-title-row > span { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: 0.14em; }
.product-title-row h3 { font-size: clamp(23px, 2vw, 31px); letter-spacing: -0.04em; margin: 0; }
.product-copy > p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 18px 0; }
.product-copy ul { border-top: 1px solid #e3e9f3; display: grid; gap: 10px; list-style: none; margin: 0 0 25px; padding: 20px 0 0; }
.product-copy li { align-items: center; color: #4b5f7f; display: flex; font-size: 13px; font-weight: 700; gap: 9px; }
.product-copy li::before { color: var(--aqua); content: "✓"; font-weight: 900; }
.tour-button {
  align-items: center;
  background: linear-gradient(120deg, #0e43ad, #1677e6);
  border-radius: 999px;
  box-shadow: 0 12px 25px rgba(17, 83, 196, 0.2);
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: space-between;
  margin-top: auto;
  min-height: 54px;
  padding: 0 22px;
}
.tour-button[data-locked="true"] { background: #dce4f0; box-shadow: none; color: #70809a; cursor: pointer; }
.tour-access-note { color: #73839c; font-size: 13px; margin: 25px 0 0; text-align: center; }
body[data-access="granted"] .tour-access-note { display: none; }

.hire-window { background: #fff; border: 1px solid #cfd9ec; border-radius: 14px; box-shadow: 0 18px 28px rgba(30, 48, 93, 0.18); overflow: hidden; width: 96%; }
.hire-window-bar { align-items: center; background: #f8faff; border-bottom: 1px solid #e1e7f1; display: flex; gap: 5px; height: 27px; padding: 0 9px; }
.hire-window-bar i { background: #ef91a3; border-radius: 50%; height: 5px; width: 5px; }
.hire-window-bar i:nth-child(2) { background: #f4c56d; }
.hire-window-bar i:nth-child(3) { background: #6dd59b; }
.hire-window-bar span { color: #9aa5b6; font-size: 6px; margin-left: auto; margin-right: auto; }
.hire-window-body { display: grid; grid-template-columns: 46px 1fr; min-height: 182px; }
.hire-sidebar { align-items: center; background: #132d69; display: flex; flex-direction: column; gap: 13px; padding-top: 15px; }
.hire-sidebar b { color: #fff; font-size: 11px; }
.hire-sidebar span { background: rgba(255,255,255,.25); border-radius: 3px; height: 5px; width: 22px; }
.hire-content { padding: 14px; }
.hire-heading { align-items: center; display: flex; justify-content: space-between; }
.hire-heading div { display: flex; flex-direction: column; }
.hire-heading small { color: #8591a8; font-size: 6px; text-transform: uppercase; }
.hire-heading strong { font-size: 13px; }
.hire-heading button { background: #236fd0; border: 0; border-radius: 5px; color: #fff; font-size: 6px; padding: 6px 8px; }
.hire-stats { display: grid; gap: 5px; grid-template-columns: repeat(3, 1fr); margin: 13px 0; }
.hire-stats span { background: #f2f6fc; border: 1px solid #e2e8f2; border-radius: 7px; display: flex; flex-direction: column; gap: 3px; padding: 7px; }
.hire-stats small { color: #8a97aa; font-size: 6px; }
.hire-stats b { font-size: 11px; }
.hire-rows { display: grid; gap: 6px; }
.hire-rows > span { align-items: center; border: 1px solid #e1e7f1; border-radius: 7px; display: grid; gap: 5px; grid-template-columns: 23px 1fr auto; padding: 5px; }
.hire-rows i { align-items: center; background: #e4edff; border-radius: 50%; color: #2865bd; display: flex; font-size: 6px; font-style: normal; font-weight: 800; height: 23px; justify-content: center; }
.hire-rows b { font-size: 7px; }
.hire-rows em { color: #5c7f72; font-size: 5px; font-style: normal; }

.story-section { background: #fff; padding: 110px clamp(28px, 6vw, 100px); }
.story-heading { max-width: 1050px; }
.story-flow { align-items: stretch; display: grid; grid-template-columns: 1fr 58px 1fr 58px 1fr; margin: 58px auto 0; max-width: 1450px; }
.story-flow article { background: #f8faff; border: 1px solid #d9e2f1; border-radius: 25px; min-width: 0; padding: 30px; position: relative; }
.story-number { color: #b2c0d5; font-size: 11px; font-weight: 900; letter-spacing: 0.15em; position: absolute; right: 24px; top: 22px; }
.story-icon { align-items: center; background: linear-gradient(145deg, #1555bd, #7558e6); border-radius: 16px; color: #fff; display: flex; font-size: 14px; font-weight: 900; height: 52px; justify-content: center; margin-bottom: 28px; width: 52px; }
.story-flow article:nth-of-type(2) .story-icon { background: linear-gradient(145deg, #087b9d, #22bfd2); }
.story-flow article:nth-of-type(3) .story-icon { background: linear-gradient(145deg, #6b4bd0, #9a7bf0); }
.story-flow .eyebrow { font-size: 10px; margin-bottom: 10px; }
.story-flow h3 { font-size: 23px; letter-spacing: -0.035em; line-height: 1.25; margin: 0 0 13px; }
.story-flow article > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.story-connector { align-items: center; display: flex; justify-content: center; position: relative; }
.story-connector::before { background: #bfd0e8; content: ""; height: 1px; left: 0; position: absolute; right: 0; }
.story-connector span { align-items: center; background: #fff; border: 1px solid #bfd0e8; border-radius: 50%; color: var(--blue); display: flex; font-weight: 800; height: 30px; justify-content: center; position: relative; width: 30px; }
.story-result { align-items: center; background: linear-gradient(120deg, #0c2f72, #155eb9); border-radius: 24px; color: #fff; display: flex; gap: 18px; margin: 34px auto 0; max-width: 1450px; padding: 24px 28px; }
.story-result > span { align-items: center; background: rgba(255,255,255,.14); border-radius: 13px; display: flex; flex: 0 0 auto; height: 43px; justify-content: center; width: 43px; }
.story-result p { color: #dceaff; line-height: 1.55; margin: 0; }
.story-result strong { color: #fff; }

.final-cta { align-items: center; background: linear-gradient(135deg, #e8f2ff, #f0edff); display: flex; gap: 40px; justify-content: space-between; padding: 85px clamp(28px, 7vw, 120px); }
.final-cta > div:first-child { max-width: 830px; }
.final-cta > div:last-child { display: flex; flex: 0 0 auto; gap: 13px; }
.secondary-pill { background: rgba(255,255,255,.75); border: 1px solid #b9cae2; color: #17335f; }

footer { align-items: center; background: #061735; color: #b7c6df; display: grid; gap: 30px; grid-template-columns: auto 1fr auto; padding: 45px clamp(28px, 6vw, 100px); }
footer img { height: 38px; width: auto; }
footer p { font-size: 13px; margin: 0; text-align: center; }
footer div { display: flex; font-size: 13px; font-weight: 700; gap: 22px; }
footer a:hover { color: #fff; }

@media (max-width: 1100px) {
  .demo-hero { gap: 35px; grid-template-columns: 1fr 1fr; padding-left: 45px; padding-right: 45px; }
  .system-core { height: 200px; width: 200px; }
  .system-node { padding: 11px 12px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: 1 / -1; margin: 0 auto; max-width: calc(50% - 13px); width: 100%; }
  .story-flow { gap: 18px; grid-template-columns: repeat(3, 1fr); }
  .story-connector { display: none; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .demo-header { height: 70px; padding: 0 19px; }
  .demo-brand img { height: 37px; }
  .demo-header nav > a:not(.header-cta) { display: none; }
  .demo-header .header-cta { font-size: 12px; padding: 11px 15px; }
  .demo-hero { grid-template-columns: 1fr; min-height: auto; padding: 56px 22px 64px; }
  .demo-hero h1 { font-size: clamp(49px, 15vw, 70px); }
  .demo-hero-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.6; }
  .primary-pill, .secondary-pill { width: 100%; }
  .system-constellation { max-width: 510px; min-height: 440px; }
  .system-core { height: 178px; width: 178px; }
  .system-core img { height: 37px; width: 37px; }
  .system-core strong { font-size: 24px; }
  .node-jewellink { left: 0; top: 4%; }
  .node-countretail { right: 0; top: 9%; }
  .node-jewelhire { bottom: 2%; }
  .system-node > span { height: 36px; width: 36px; }
  .access-section, .products-section, .story-section { padding: 76px 18px; }
  .access-intro, .section-heading { text-align: left; }
  .access-intro > p:last-child, .section-heading > p:last-child { font-size: 16px; margin-left: 0; }
  .access-card, .welcome-card { border-radius: 24px; padding: 25px 20px; }
  .field-grid { grid-template-columns: 1fr; }
  .welcome-card { align-items: stretch; flex-direction: column; gap: 25px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card:last-child { grid-column: auto; max-width: none; }
  .product-visual { height: 310px; }
  .product-jewellink .product-visual > img { transform: scale(1.1); }
  .story-flow { grid-template-columns: 1fr; }
  .story-result { align-items: flex-start; }
  .final-cta { padding: 75px 20px; }
  .final-cta > div:last-child { flex-direction: column; width: 100%; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer div { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 430px) {
  .demo-hero { padding-top: 45px; }
  .hero-points { align-items: flex-start; flex-direction: column; }
  .system-constellation { min-height: 400px; }
  .system-node { gap: 8px; padding: 9px; }
  .system-node strong { font-size: 12px; }
  .system-node small { font-size: 8px; }
  .node-jewellink { left: -2%; }
  .node-countretail { right: -2%; }
  .product-visual { height: 255px; }
  .product-copy { padding: 24px 20px; }
  .hire-window-body { grid-template-columns: 38px 1fr; }
  .hire-content { padding: 10px; }
  .hire-rows > span { grid-template-columns: 21px 1fr; }
  .hire-rows em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
