:root {
  --k: #0e0e0f;
  --k2: #19191b;
  --iv: #f3f2ee;
  --o: #e8590c;
  --m: #a3a3a8;
  --ln: rgba(243, 242, 238, .15);
  --e: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark
}

* {
  box-sizing: border-box
}

html {
  background: var(--k);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px
}

body {
  margin: 0;
  background: var(--k);
  color: var(--iv);
  font: 400 19px/1.7 Inter, -apple-system, "Segoe UI", Arial, sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

h1,
h2,
h3,
p,
ul {
  margin: 0
}

ul {
  padding: 0;
  list-style: none
}

p {
  text-wrap: pretty
}

h1,
h2,
h3 {
  text-wrap: balance
}

.w {
  max-width: 1280px;
  margin: auto;
  padding: 0 clamp(20px, 5vw, 60px)
}

.o {
  color: var(--o)
}

.mc {
  font: 600 13px/1.5 Inter, Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m)
}

.mc b {
  color: #f26a1b
}

#pb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--o);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 100
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transition: background .4s, backdrop-filter .4s;
  background: #ffffff;
}

nav.s {
  background: rgba(14, 14, 15, .92);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--ln)
}

.ni {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px
}

.ni img {
  height: 48px;
  width: auto;
  max-width: min(220px, 34vw);
  object-fit: contain;
  display: block
}

.nl {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 15px
}

.nl a {
  color: #d2d0cb;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s
}

.nl a:hover {
  color: #fff
}

.nl a.on {
  color: #fff;
  border-color: var(--o)
}

.btn {
  display: inline-block;
  background: #d9500a;
  color: #fff;
  padding: 17px 30px;
  border-radius: 99px;
  font: 600 15px/1 Inter, Arial, sans-serif;
  border: 1px solid #d9500a;
  cursor: pointer;
  transition: background .3s, color .3s, transform .4s var(--e)
}

.btn:hover {
  background: var(--iv);
  color: var(--k);
  transform: scale(1.04)
}

.btn.g {
  background: 0;
  border-color: var(--ln);
  color: var(--iv)
}

.nl .btn {
  padding: 12px 20px;
  border-bottom: 1px solid #d9500a
}

#mb {
  display: none;
  background: 0;
  border: 1px solid var(--ln);
  color: var(--iv);
  padding: 10px 16px;
  border-radius: 99px;
  font: 600 13px Inter, Arial, sans-serif;
  position: relative;
  z-index: 90
}

#m {
  transition: opacity .35s
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 clamp(50px, 8vw, 100px);
  overflow: hidden
}

.hg {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 40px;
  align-items: end;
  width: 100%
}

h1 {
  font-size: clamp(42px, 8vw, 124px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1;
  margin: 22px 0 26px
}

.ln {
  display: block;
  overflow: hidden;
  padding: 0 0 .12em
}

.ln>span {
  display: block;
  animation: rise 1.3s var(--e) both;
  animation-delay: calc(.15s + var(--i)*.14s)
}

@keyframes rise {
  from {
    transform: translateY(110%) rotate(3deg)
  }
}

.hero .mc,
.hero .lead,
.hero .cta {
  animation: fi 1.4s var(--e) both
}

.hero .lead {
  animation-delay: .55s
}

.hero .cta {
  animation-delay: .7s
}

@keyframes fi {
  from {
    opacity: 0;
    transform: translateY(30px)
  }
}

.lead {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.6;
  color: #dcdad5;
  max-width: 36em
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px
}

.hv svg {
  width: 100%;
  height: auto;
  max-height: 62vh;
  display: block
}

.dr {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: dw 1.8s var(--e) forwards;
  animation-delay: calc(.6s + var(--i)*.06s)
}

@keyframes dw {
  to {
    stroke-dashoffset: 0
  }
}

.nd {
  fill: var(--o);
  opacity: 0;
  animation: fi 1s 2.4s forwards
}

.sec {
  padding: clamp(90px, 12vw, 180px) 0;
  position: relative
}

.iv {
  background: var(--iv);
  color: #141414;
  --o: #c4490a;
  --m: #4f545c;
  --ln: rgba(20, 20, 20, .16)
}

.iv .lead,
.iv p {
  color: #33373e
}

.iv .mc b {
  color: #c4490a
}

h2 {
  font-size: clamp(34px, 5.4vw, 80px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.04;
  margin: 18px 0 clamp(40px, 6vw, 76px);
  max-width: 18ch
}

h3 {
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin: 12px 0
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 18px
}

.cd {
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--ln);
  border-radius: 28px;
  background: var(--k2);
  display: block;
  transition: background .3s, border-color .3s
}

.iv .cd {
  background: #fff
}

a.cd:hover {
  border-color: var(--o)
}

.cd p {
  font-size: 18px;
  color: #cfcdc8
}

.iv .cd p {
  color: #33373e
}

.go {
  display: block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--o)
}

.li {
  margin-top: 20px
}

.li li {
  padding: 11px 0 11px 28px;
  border-top: 1px solid var(--ln);
  position: relative;
  font-size: 17px;
  line-height: 1.55
}

.li li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--o)
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px 32px
}

.stat {
  padding: 30px 0;
  border-top: 1px solid var(--ln)
}

.stat {
  min-width: 0
}

.stat b {
  display: block;
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.05;
  color: var(--o);
  overflow-wrap: break-word;
  text-wrap: balance
}

.stat .mc {
  display: block;
  margin-top: 10px
}

.rail {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 24px;
  scrollbar-width: thin
}

.rail .cd {
  flex: 0 0 min(84vw, 390px);
  scroll-snap-align: start
}

.st {
  font-size: clamp(28px, 4.4vw, 64px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.22;
  max-width: 22em
}

.wd {
  color: rgba(243, 242, 238, .2);
  transition: color .5s
}

.iv .wd {
  color: rgba(20, 20, 20, .2)
}

.wd.on {
  color: var(--iv)
}

.iv .wd.on {
  color: #141414
}

.wd.k.on {
  color: var(--o)
}

.bm {
  overflow: hidden;
  white-space: nowrap;
  padding: 30px 0;
  border-top: 1px solid var(--ln);
  border-bottom: 1px solid var(--ln)
}

.bm span {
  display: inline-block;
  font-size: clamp(54px, 10vw, 150px);
  font-weight: 600;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--m);
  will-change: transform
}

.bm b {
  color: var(--o);
  -webkit-text-stroke: 0;
  margin: 0 .3em
}

.tl {
  position: relative;
  padding-left: clamp(70px, 10vw, 140px)
}

.tl:before {
  content: "";
  position: absolute;
  left: clamp(24px, 4vw, 50px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ln)
}

.tf {
  position: absolute;
  left: clamp(24px, 4vw, 50px);
  top: 0;
  width: 2px;
  height: 0;
  background: var(--o)
}

.ts {
  position: relative;
  padding: clamp(34px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--ln);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 60px)
}

.ts:before {
  content: "";
  position: absolute;
  left: calc(-1*clamp(70px, 10vw, 140px) + clamp(24px, 4vw, 50px) - 7px);
  top: clamp(44px, 6vw, 76px);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--k);
  border: 2px solid var(--ln);
  transition: .4s
}

.iv .ts:before {
  background: var(--iv)
}

.ts.on:before {
  background: var(--o);
  border-color: var(--o);
  box-shadow: 0 0 0 8px rgba(232, 89, 12, .2)
}

.ts .n {
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 2px var(--m);
  transition: .5s
}

.ts.on .n {
  color: var(--o);
  -webkit-text-stroke-color: var(--o)
}

.io div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--ln)
}

.tbl .tr {
  display: grid;
  grid-template-columns: minmax(210px, .8fr) 1.6fr 1.1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--ln)
}

.tr b {
  font-size: 23px;
  letter-spacing: -.02em
}

details {
  border-top: 1px solid var(--ln)
}

details:last-child {
  border-bottom: 1px solid var(--ln)
}

summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 62px 1fr 30px;
  gap: 12px;
  padding: 28px 0;
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.3
}

summary::-webkit-details-marker {
  display: none
}

summary:after {
  content: "+";
  color: var(--o);
  font-size: 1.4em;
  line-height: 1;
  justify-self: end;
  transition: transform .35s
}

details[open] summary:after {
  transform: rotate(45deg)
}

summary:hover {
  color: var(--o)
}

.dc {
  padding: 0 0 32px 74px;
  max-width: 62em;
  line-height: 1.8;
  animation: fi .6s var(--e)
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.chips span {
  padding: 12px 22px;
  border: 1px solid var(--ln);
  border-radius: 99px;
  font-weight: 600
}

.qt {
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.2;
  max-width: 22em;
  margin-bottom: 34px
}

form {
  display: grid;
  gap: 18px
}

label {
  display: grid;
  gap: 8px
}

input,
textarea,
select {
  font: 400 17px Inter, Arial, sans-serif;
  padding: 16px;
  border: 1px solid var(--ln);
  border-radius: 16px;
  background: var(--k2);
  color: var(--iv);
  width: 100%
}

textarea {
  min-height: 140px
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--o)
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 90px)
}

.big2 {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -.03em;
  display: block;
  border-bottom: 2px solid var(--o);
  padding: 6px 0;
  margin-bottom: 22px;
  overflow-wrap: anywhere
}

.cr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3.5vw, 44px);
  margin-top: 30px
}

.cr img {
  width: clamp(140px, 20vw, 220px);
  height: auto;
  border-radius: 12px;
  display: block
}

.cr p {
  flex: 1 1 280px;
  max-width: 30em;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: #424245
}

footer .fb {
  display: flex;
  gap: 14px;
  margin: 6px 0 18px
}

footer .fb img {
  height: 92px;
  width: auto;
  margin: 0;
  border-radius: 8px
}

footer {
  padding: 64px 0 80px;
  color: #b4b4b8;
  font-size: 16px;
  line-height: 2;
  border-top: 1px solid var(--ln)
}

footer img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 16px
}

footer #lf {
  width: 384px;
  height: auto;
  max-width: 100%;
  margin-bottom: 14px
}

footer .lc {
  font-size: clamp(17px, 1.7vw, 22px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.3;
  color: #6e6e73;
  margin: 0 0 22px
}

footer a {
  color: var(--iv)
}

.fg {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px
}

.a {
  will-change: transform, opacity
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--o);
  outline-offset: 4px
}

@media(max-width:900px) {

  nav.menu-open,
  nav:has(.nl.o) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fff !important
  }

  .nl {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 24px !important;
    gap: 16px !important;
    padding: 80px 24px 40px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 95 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-14px) !important;
    transition: opacity .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1), visibility .3s !important
  }

  .nl.o {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important
  }

  .nl a {
    color: #1d1d1f !important;
    padding: 8px 0 !important;
    font-weight: 600 !important;
    text-align: center !important;
    border-bottom: 2px solid transparent !important
  }

  .nl a:hover,
  .nl a.on {
    color: #0071e3 !important;
    border-color: #0071e3 !important
  }

  .nl .btn {
    margin-top: 10px !important;
    font-size: 17px !important;
    padding: 14px 34px !important;
    background: #0071e3 !important;
    color: #fff !important;
    border-radius: 999px !important;
    border-bottom: none !important
  }

  #mb {
    display: block !important;
    position: relative !important;
    z-index: 100 !important;
    background: #fff !important;
    border: 1px solid rgba(29, 29, 31, .2) !important;
    color: #1d1d1f !important;
    padding: 10px 18px !important;
    border-radius: 99px !important;
    font: 600 14px -apple-system, BlinkMacSystemFont, "SF Pro Text", Arial, sans-serif !important;
    cursor: pointer !important
  }

  .ni a:first-child {
    position: relative;
    z-index: 100
  }

  .hg,
  .two,
  .fg,
  .ts {
    grid-template-columns: 1fr
  }

  .hv {
    display: none
  }

  .tbl .tr {
    grid-template-columns: 1fr;
    gap: 6px
  }

  summary {
    grid-template-columns: 44px 1fr 26px
  }

  .dc {
    padding-left: 56px
  }
}

/* Tool workspace visual alignment only — content and tool behavior unchanged */
.tool-pane,
.tool-result,
.ifc-data-grid,
.table-scroll,
.ifc-table {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif
}

.tool-pane {
  background: #f5f5f7;
  border-color: rgba(29, 29, 31, .10);
  color: #1d1d1f
}

.tool-pane h3,
.tool-pane h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f;
  letter-spacing: -.025em
}

.tool-pane p,
.tool-pane label {
  color: #424245
}

.tool-pane input,
.tool-pane select {
  font-family: inherit;
  background: #fff;
  color: #1d1d1f;
  border-color: rgba(29, 29, 31, .18)
}

.tool-result {
  background: #fff;
  color: #424245;
  border: 1px solid rgba(29, 29, 31, .08)
}

.ifc-data-grid h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f
}

.ifc-table {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f
}

.ifc-table th {
  background: #f5f5f7;
  color: #1d1d1f
}

/* Local tool workspace */
.tool-tabs,
.tool-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 22px 0
}

.tool-tabs .btn,
.tool-toolbar .btn {
  font-size: 14px;
  padding: 10px 16px
}

.tool-tabs .btn.active {
  background: #06c;
  color: #fff;
  border-color: #06c
}

.tool-pane {
  background: #fff;
  border: 1px solid rgba(29, 29, 31, .1);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 38px);
  margin: 18px 0 28px;
  box-shadow: 0 3px 16px rgba(0, 0, 0, .035)
}

.tool-pane[hidden] {
  display: none !important
}

.tool-pane h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 12px
}

.tool-pane p {
  max-width: 900px;
  color: #424245;
  line-height: 1.65
}

.tool-pane label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #6e6e73;
  margin: 14px 0;
  max-width: 600px
}

.tool-pane input,
.tool-pane select {
  padding: 12px;
  max-width: 100%;
  font-size: 15px
}

.tool-result {
  padding: 14px 16px;
  background: #f5f5f7;
  border-radius: 14px;
  margin-top: 14px;
  color: #424245;
  overflow-wrap: anywhere
}

.tool-pre {
  white-space: pre;
  overflow: auto;
  max-height: 520px;
  background: #1d1d1f;
  color: #f5f5f7;
  padding: 18px;
  border-radius: 16px;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace
}

.tool-canvas {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 18px;
  border: 1px solid rgba(29, 29, 31, .12);
  border-radius: 16px;
  background: #fff
}

.file-button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  background: #06c;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 16px !important;
  cursor: pointer;
  margin: 0 !important
}

.file-button input {
  max-width: 230px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0
}

.ifc-viewport {
  position: relative;
  min-height: 360px;
  height: min(68vh, 760px);
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f7;
  border: 1px solid rgba(29, 29, 31, .14);
  isolation: isolate
}

.ifc-viewport:fullscreen {
  height: 100vh;
  min-height: 100vh;
  width: 100vw;
  border-radius: 0;
  border: 0;
  background: var(--ifc-bg, #f5f5f7)
}

.ifc-viewport canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain
}

.ifc-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  color: #424245;
  font-size: 13px;
  backdrop-filter: blur(16px);
  max-width: calc(100% - 36px);
  pointer-events: none
}

.ifc-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px
}

.ifc-data-grid h4 {
  font-size: 18px;
  margin: 12px 0
}

.table-scroll {
  overflow: auto;
  max-height: 360px;
  border: 1px solid rgba(29, 29, 31, .12);
  border-radius: 14px
}

.ifc-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  background: #fff
}

.ifc-table th,
.ifc-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top
}

.ifc-table th {
  position: sticky;
  top: 0;
  background: #f5f5f7
}

.ifc-viewport:fullscreen .ifc-overlay {
  font-size: 14px
}

@media(max-width:720px) {
  .ifc-data-grid {
    grid-template-columns: 1fr
  }

  .tool-toolbar {
    align-items: stretch
  }

  .tool-toolbar>* {
    max-width: 100%
  }

  .ifc-viewport {
    height: 55vh;
    min-height: 300px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation-duration: .01s !important;
    animation-delay: 0s !important
  }

  .a {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important
  }
}

/* Apple-inspired visual refresh: system typography, restrained neutrals, and blue accents */
:root {
  --k: #fff;
  --k2: #f5f5f7;
  --iv: #f5f5f7;
  --o: #06c;
  --m: #6e6e73;
  --ln: rgba(29, 29, 31, .12);
  --e: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light
}

html,
body {
  background: #fff;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif
}

body {
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

.mc {
  font-family: inherit;
  color: #6e6e73;
  letter-spacing: .12em
}

.mc b {
  color: #06c
}

.o {
  color: #06c
}

nav.s {
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(29, 29, 31, .1);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px)
}

.nl a {
  color: #424245
}

.nl a:hover,
.nl a.on {
  color: #06c
}

.nl a.on {
  border-color: #06c
}

.btn {
  background: #0071e3;
  border-color: #0071e3;
  color: #fff;
  border-radius: 999px;
  padding: 16px 28px;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: -.01em
}

.btn:hover {
  background: #0077ed;
  border-color: #0077ed;
  color: #fff;
  transform: scale(1.025)
}

.btn.g {
  background: transparent;
  border-color: rgba(0, 102, 204, .5);
  color: #06c
}

.btn.g:hover {
  background: rgba(0, 102, 204, .06);
  color: #06c
}

.nl .btn {
  color: #fff;
  border-bottom: 1px solid #0071e3
}

#mb {
  border-color: rgba(29, 29, 31, .2);
  color: #1d1d1f;
  font-family: inherit
}

.hero {
  background: #fff
}

.lead {
  color: #424245
}

.hero .lead {
  color: #424245
}

h1,
h2,
h3,
.st,
.qt {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f;
  letter-spacing: -.045em
}

h1 {
  font-weight: 650
}

h2 {
  font-weight: 600
}

h3 {
  font-weight: 600
}

.sec {
  background: #fff;
  color: #1d1d1f
}

.iv {
  background: #f5f5f7;
  color: #1d1d1f;
  --o: #06c;
  --m: #6e6e73;
  --ln: rgba(29, 29, 31, .12)
}

.iv .lead,
.iv p {
  color: #424245
}

.iv .mc b {
  color: #06c
}

.cd {
  background: #f5f5f7;
  border-color: rgba(29, 29, 31, .08);
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .025)
}

.iv .cd {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .025)
}

.cd p,
.iv .cd p {
  color: #424245
}

a.cd:hover {
  border-color: rgba(0, 102, 204, .5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .07)
}

.go {
  color: #06c
}

.li li:before {
  background: #06c
}

.stat b {
  color: #06c
}

.wd {
  color: rgba(29, 29, 31, .2)
}

.wd.on {
  color: #1d1d1f
}

.iv .wd {
  color: rgba(29, 29, 31, .2)
}

.iv .wd.on {
  color: #1d1d1f
}

.wd.k.on {
  color: #06c
}

.bm span {
  -webkit-text-stroke-color: #86868b
}

.bm b {
  color: #06c
}

.tf {
  background: #06c
}

.ts:before {
  background: #fff
}

.iv .ts:before {
  background: #f5f5f7
}

.ts.on:before {
  background: #06c;
  border-color: #06c;
  box-shadow: 0 0 0 8px rgba(0, 102, 204, .12)
}

.ts.on .n {
  color: #06c;
  -webkit-text-stroke-color: #06c
}

.io div {
  border-color: var(--ln)
}

.tr b {
  color: #1d1d1f
}

details[open] summary:after,
summary:hover {
  color: #06c
}

summary:after {
  color: #06c
}

.chips span {
  border-color: rgba(29, 29, 31, .15);
  background: rgba(255, 255, 255, .55)
}

input,
textarea,
select {
  font-family: inherit;
  background: #fff;
  color: #1d1d1f;
  border: 1px solid rgba(29, 29, 31, .2);
  border-radius: 14px
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #06c
}

.big2 {
  border-color: #06c;
  color: #06c
}

footer {
  background: #f5f5f7;
  color: #6e6e73;
  border-color: rgba(29, 29, 31, .1)
}

footer a {
  color: #424245
}

footer a:hover {
  color: #06c
}

#pb {
  background: #06c
}

/* Local tool workspace */
.tool-tabs,
.tool-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 22px 0
}

.tool-tabs .btn,
.tool-toolbar .btn {
  font-size: 14px;
  padding: 10px 16px
}

.tool-tabs .btn.active {
  background: #06c;
  color: #fff;
  border-color: #06c
}

.tool-pane {
  background: #fff;
  border: 1px solid rgba(29, 29, 31, .1);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 38px);
  margin: 18px 0 28px;
  box-shadow: 0 3px 16px rgba(0, 0, 0, .035)
}

.tool-pane[hidden] {
  display: none !important
}

.tool-pane h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 12px
}

.tool-pane p {
  max-width: 900px;
  color: #424245;
  line-height: 1.65
}

.tool-pane label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #6e6e73;
  margin: 14px 0;
  max-width: 600px
}

.tool-pane input,
.tool-pane select {
  padding: 12px;
  max-width: 100%;
  font-size: 15px
}

.tool-result {
  padding: 14px 16px;
  background: #f5f5f7;
  border-radius: 14px;
  margin-top: 14px;
  color: #424245;
  overflow-wrap: anywhere
}

.tool-pre {
  white-space: pre;
  overflow: auto;
  max-height: 520px;
  background: #1d1d1f;
  color: #f5f5f7;
  padding: 18px;
  border-radius: 16px;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace
}

.tool-canvas {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 18px;
  border: 1px solid rgba(29, 29, 31, .12);
  border-radius: 16px;
  background: #fff
}

.file-button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  background: #06c;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 16px !important;
  cursor: pointer;
  margin: 0 !important
}

.file-button input {
  max-width: 230px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0
}

.ifc-viewport {
  position: relative;
  min-height: 360px;
  height: min(68vh, 760px);
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f7;
  border: 1px solid rgba(29, 29, 31, .14);
  isolation: isolate
}

.ifc-viewport:fullscreen {
  height: 100vh;
  min-height: 100vh;
  width: 100vw;
  border-radius: 0;
  border: 0;
  background: var(--ifc-bg, #f5f5f7)
}

.ifc-viewport canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain
}

.ifc-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  color: #424245;
  font-size: 13px;
  backdrop-filter: blur(16px);
  max-width: calc(100% - 36px);
  pointer-events: none
}

.ifc-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px
}

.ifc-data-grid h4 {
  font-size: 18px;
  margin: 12px 0
}

.table-scroll {
  overflow: auto;
  max-height: 360px;
  border: 1px solid rgba(29, 29, 31, .12);
  border-radius: 14px
}

.ifc-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  background: #fff
}

.ifc-table th,
.ifc-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top
}

.ifc-table th {
  position: sticky;
  top: 0;
  background: #f5f5f7
}

.ifc-viewport:fullscreen .ifc-overlay {
  font-size: 14px
}

@media(max-width:720px) {
  .ifc-data-grid {
    grid-template-columns: 1fr
  }

  .tool-toolbar {
    align-items: stretch
  }

  .tool-toolbar>* {
    max-width: 100%
  }

  .ifc-viewport {
    height: 55vh;
    min-height: 300px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important
  }
}

/* Readability refinements: logo scale, heading rhythm, and responsive text wrapping */
.ni {
  min-height: 82px;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 20px
}

.ni img {
  height: 48px;
  max-height: 52px
}

h1 {
  line-height: 1.08;
  letter-spacing: -.04em;
  overflow-wrap: normal;
  word-break: normal
}

h1 .ln {
  overflow: visible;
  padding: 0 0 .12em
}

h1 .ln>span {
  padding-right: .04em
}

h2 {
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: break-word
}

h3 {
  line-height: 1.2;
  overflow-wrap: break-word
}

p,
.lead {
  overflow-wrap: break-word;
  word-break: normal
}

@media(max-width:900px) {
  .ni {
    min-height: 74px
  }

  .ni img {
    height: 44px;
    max-width: min(210px, 52vw)
  }

  .hg {
    gap: 24px
  }

  h1 {
    font-size: clamp(40px, 9vw, 76px);
    line-height: 1.08
  }

  h1 .ln {
    padding-bottom: .14em
  }

  h2 {
    font-size: clamp(32px, 7vw, 58px);
    line-height: 1.1
  }
}

@media(max-width:480px) {
  .ni img {
    height: 40px;
    max-width: 55vw
  }

  h1 {
    font-size: clamp(36px, 10vw, 48px);
    letter-spacing: -.035em
  }

  .hero {
    padding-top: 120px
  }

  .lead {
    font-size: 18px;
    line-height: 1.55
  }
}


/* Logo size increase: +30% across all logo placements */
.ni img {
  height: 62.4px;
  max-height: 67.6px;
  max-width: min(286px, 44.2vw)
}

@media(max-width:900px) {
  .ni img {
    height: 57.2px;
    max-height: 67.6px;
    max-width: min(273px, 67.6vw)
  }
}

@media(max-width:480px) {
  .ni img {
    height: 52px;
    max-height: 67.6px;
    max-width: 71.5vw
  }
}




#tool-workspace .tool-pane {
  margin-top: 24px
}

#tool-workspace .tool-pane[hidden] {
  display: none !important
}

#tool-workspace .tool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0
}

#tool-workspace .tool-tabs button {
  border-radius: 999px
}

#tool-workspace .tool-tabs button.active {
  background: #0071e3;
  color: #fff;
  border-color: #0071e3
}

#tool-workspace .tech-head {
  margin: 24px 0 18px
}

#tool-workspace .tech-head p,
#tool-workspace .note {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.65
}

#tool-workspace .tech-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(300px, 1.1fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid #d2d2d7;
  border-radius: 22px;
  background: #f5f5f7
}

#tool-workspace .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 14px
}

#tool-workspace .chips button,
#tool-workspace .tb2 button {
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1f;
  padding: 7px 11px;
  font: inherit;
  font-size: 12px;
  cursor: pointer
}

#tool-workspace .chips button.on {
  background: #0071e3;
  color: white;
  border-color: #0071e3
}

#tool-workspace .chips button small {
  opacity: .7
}

#tool-workspace label {
  display: block;
  font-size: 13px;
  color: #424245;
  margin: 12px 0 6px
}

#tool-workspace input:not([type=file]),
#tool-workspace select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  background: white;
  padding: 10px 12px;
  color: #1d1d1f;
  font: inherit;
  font-size: 14px
}

#tool-workspace input:focus,
#tool-workspace select:focus {
  outline: 2px solid #0071e3;
  outline-offset: 1px
}

#tool-workspace .lst {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  max-height: 240px;
  overflow: auto;
  margin: 10px 0 14px
}

#tool-workspace .lst button {
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  background: white;
  padding: 7px 9px;
  text-align: left;
  color: #1d1d1f;
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  cursor: pointer
}

#tool-workspace .lst button.on {
  border-color: #0071e3;
  background: #e8f3ff
}

#tool-workspace .tech-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

#tool-workspace .out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px
}

#tool-workspace .out>div {
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  background: white;
  padding: 12px;
  color: #6e6e73;
  font-size: 11px
}

#tool-workspace .out b {
  display: block;
  color: #1d1d1f;
  font-size: 20px;
  margin-top: 6px;
  font-weight: 650
}

#tool-workspace .shape-drawing {
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 16px;
  min-width: 0;
  padding: 8px
}

#tool-workspace #svg {
  width: 100%;
  height: auto;
  min-height: 260px;
  display: block
}

#tool-workspace .cap2 {
  font-size: 12px;
  color: #6e6e73;
  line-height: 1.5
}

#tool-workspace .lg {
  font-size: 12px;
  color: #424245
}

#tool-workspace #ptitle {
  margin: 30px 0 12px;
  font-size: clamp(22px, 3vw, 32px)
}

#tool-workspace .pr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px
}

#tool-workspace .pr>div {
  position: relative;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  font-size: 12px;
  color: #6e6e73
}

#tool-workspace .pr b {
  display: block;
  color: #1d1d1f;
  font-size: 17px;
  margin: 5px 0
}

#tool-workspace .pr i {
  font-style: normal;
  color: #0071e3
}

#tool-workspace .pr em {
  display: block;
  font-size: 10px;
  font-style: normal;
  margin-top: 4px
}

#tool-workspace .drop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  border: 1px dashed #a1a1a6;
  border-radius: 18px;
  background: #f5f5f7;
  padding: 20px;
  margin: 18px 0
}

#tool-workspace .drop b {
  font-size: 16px
}

#tool-workspace .file-pill {
  cursor: pointer
}

#tool-workspace .vw {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 12px;
  margin-top: 14px
}

#tool-workspace .viewer-main,
#tool-workspace .side {
  min-width: 0;
  border: 1px solid #d2d2d7;
  border-radius: 16px;
  background: #fff;
  overflow: hidden
}

#tool-workspace #vc {
  display: block;
  width: 100%;
  height: 520px;
  background: #fff
}

#tool-workspace .tb2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-top: 1px solid #e5e5ea
}

#tool-workspace .side {
  padding: 12px
}

#tool-workspace .side .chips {
  gap: 5px
}

#tool-workspace .kv {
  font-size: 12px;
  line-height: 1.45;
  max-height: 430px;
  overflow: auto
}

#tool-workspace .kv>div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0f0f2;
  padding: 8px 0
}

#tool-workspace .kv span:first-child {
  color: #6e6e73
}

#tool-workspace #vp {
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 380px;
  overflow: auto;
  color: #424245
}

#tool-workspace .tool-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 14px 0
}

#tool-workspace .tool-toolbar label {
  margin: 0
}

#tool-workspace .tool-toolbar input[type=file] {
  display: block;
  max-width: 230px;
  font-size: 12px
}

#tool-workspace .ifc-viewport {
  position: relative;
  min-height: 420px;
  height: min(68vh, 700px);
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  overflow: hidden
}

#tool-workspace .ifc-viewport:fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border: 0;
  border-radius: 0
}

#tool-workspace #ifcCanvas {
  display: block;
  width: 100%;
  height: 100%
}

#tool-workspace .ifc-overlay {
  position: absolute;
  left: 16px;
  bottom: 14px;
  border: 1px solid #d2d2d7;
  background: rgba(255, 255, 255, .9);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  color: #424245;
  pointer-events: none
}

#tool-workspace .ifc-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px
}

#tool-workspace .ifc-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px
}

#tool-workspace .ifc-table th,
#tool-workspace .ifc-table td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #e5e5ea;
  overflow-wrap: anywhere
}

#tool-workspace .ifc-table th {
  color: #6e6e73;
  font-weight: 600
}

#tool-workspace .table-scroll {
  max-height: 320px;
  overflow: auto
}

#tool-workspace .tool-result {
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  background: #f5f5f7;
  padding: 12px;
  font-size: 13px;
  line-height: 1.5
}

@media(max-width:760px) {

  #tool-workspace .tech-grid,
  #tool-workspace .vw,
  #tool-workspace .ifc-data-grid {
    grid-template-columns: 1fr
  }

  #tool-workspace #vc {
    height: 360px
  }

  #tool-workspace .pr {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  #tool-workspace .ifc-viewport {
    height: 55vh;
    min-height: 320px
  }

  #tool-workspace .tech-grid {
    padding: 12px
  }
}