/* Configure & Own — public homepage only. */
.home-page {
  --home-ink: #111319;
  --home-muted: #667085;
  --home-line: rgba(17, 19, 25, .10);
  --home-soft-line: rgba(17, 19, 25, .065);
  --home-surface: #ffffff;
  --home-wash: #f7f8fb;
  --home-accent: #315cff;
  background:
    radial-gradient(circle at 82% 8%, rgba(49, 92, 255, .075), transparent 29rem),
    linear-gradient(#fbfcfe 0, #f7f8fb 38rem, #f7f8fb 100%);
  color: var(--home-ink);
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(17, 19, 25, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 25, .022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 38rem);
  z-index: -1;
}

.home-header {
  border-bottom: 1px solid rgba(17, 19, 25, .075);
  background: rgba(251, 252, 254, .80);
}
.home-header .header-inner { min-height: 72px; }
.home-brand { gap: 11px; font-weight: 760; letter-spacing: -.025em; }
.home-brand-symbol {
  width: 29px;
  height: 29px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(17, 19, 25, .14);
  border-radius: 9px;
  background: rgba(255,255,255,.72);
}
.home-brand-symbol i { display: block; border-radius: 2px; background: var(--home-ink); }
.home-brand-symbol i:last-child { background: var(--home-accent); }
.home-nav { gap: 28px; }
.home-nav a { font-size: .9rem; font-weight: 620; color: #6c7280; }
.home-nav a:hover, .home-nav a:focus-visible { color: var(--home-ink); }

.home-hero { padding: 118px 0 104px; }
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}
.home-overline,
.home-section-label {
  margin: 0 0 19px;
  color: var(--home-accent);
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .115em;
}
.home-hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(3.5rem, 7.4vw, 6.65rem);
  line-height: .95;
  letter-spacing: -.073em;
  font-weight: 700;
}
.home-intro {
  max-width: 655px;
  margin: 30px 0 0;
  color: var(--home-muted);
  font-size: clamp(1.04rem, 1.5vw, 1.19rem);
  line-height: 1.72;
}
.home-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 34px; }
.home-page .button {
  min-height: 45px;
  padding: 0 20px;
  background: var(--home-ink);
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 700;
  box-shadow: none;
}
.home-page .button:hover { background: #292c34; transform: translateY(-1px); }
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--home-ink);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 680;
}
.home-text-link span { transition: transform .18s ease; }
.home-text-link:hover span { transform: translateX(3px); }
.home-format-line {
  margin-top: 43px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  color: #7a808d;
  font-size: .76rem;
  font-weight: 720;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.home-format-line i { width: 3px; height: 3px; border-radius: 50%; background: #b2b7c2; }

.home-hero-object { position: relative; }
.home-interface {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 25, .105);
  border-radius: 22px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 34px 90px rgba(23, 31, 56, .105), 0 1px 0 rgba(255,255,255,.92) inset;
}
.home-interface::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  top: -105px;
  border-radius: 50%;
  background: rgba(49, 92, 255, .065);
  filter: blur(2px);
}
.home-interface-top,
.home-interface-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 19px;
  border-bottom: 1px solid var(--home-soft-line);
  color: #30333a;
  font-size: .77rem;
  font-weight: 730;
}
.home-interface-state {
  padding: 5px 8px;
  border: 1px solid rgba(49, 92, 255, .16);
  border-radius: 999px;
  color: var(--home-accent);
  background: rgba(49, 92, 255, .045);
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.home-interface-body { display: grid; grid-template-columns: 154px 1fr; min-height: 323px; }
.home-control-column {
  padding: 20px 17px;
  border-right: 1px solid var(--home-soft-line);
  background: rgba(247,248,251,.62);
}
.home-control-label { display: block; margin: 0 0 7px; color: #8b919d; font-size: .62rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.home-control-label:not(:first-child) { margin-top: 22px; }
.home-segment { height: 25px; padding: 3px; display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; border-radius: 7px; background: #e9ecf2; }
.home-segment b { border-radius: 4px; background: transparent; }
.home-segment b:first-child { background: white; box-shadow: 0 1px 3px rgba(17,19,25,.10); }
.home-range { position: relative; height: 4px; margin: 13px 0 0; border-radius: 999px; background: #dfe3eb; }
.home-range::before { content: ""; position: absolute; inset: 0 34% 0 0; border-radius: inherit; background: #555b67; }
.home-range i { position: absolute; width: 12px; height: 12px; right: 31%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: white; border: 2px solid #555b67; }
.home-select-line { height: 28px; border: 1px solid #dfe3ea; border-radius: 7px; background: white; }
.home-select-line.short { width: 84%; }
.home-preview-window { position: relative; overflow: hidden; margin: 20px; border: 1px solid #e0e4eb; border-radius: 13px; background: linear-gradient(180deg,#fff,#fafbfc); }
.home-preview-bar { height: 24px; border-bottom: 1px solid #edf0f4; background: rgba(247,248,251,.7); }
.home-preview-lines { padding: 25px; display: grid; gap: 12px; }
.home-preview-lines i { display: block; height: 7px; border-radius: 999px; background: #e9ecf1; }
.home-preview-lines i:nth-child(2) { width: 82%; }
.home-preview-lines i:nth-child(3) { width: 69%; }
.home-preview-lines i:nth-child(4) { width: 92%; }
.home-preview-lines i:nth-child(5) { width: 57%; }
.home-preview-button { position: absolute; right: 18px; bottom: 18px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: #17191e; color: white; font-size: 1.08rem; box-shadow: 0 8px 18px rgba(17,19,25,.18); }
.home-interface-bottom { justify-content: center; gap: 10px; border-top: 1px solid var(--home-soft-line); border-bottom: 0; color: #747a86; font-weight: 620; }
.home-flow-arrow { color: #b0b5bf; }

.home-section { padding: 106px 0; border-top: 1px solid rgba(17,19,25,.065); }
.home-section-heading { max-width: 760px; margin-bottom: 42px; }
.home-section-heading.narrow { max-width: 620px; }
.home-section-heading h2,
.home-output-copy h2,
.home-end-inner h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 680;
}
.home-section-heading > p:last-child { max-width: 560px; margin: 17px 0 0; color: var(--home-muted); line-height: 1.7; }

.home-component-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.home-component-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(17,19,25,.09);
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-component-card:hover { transform: translateY(-2px); border-color: rgba(17,19,25,.15); box-shadow: 0 18px 50px rgba(17,19,25,.055); }
.home-component-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 27px 27px 0; }
.home-component-index { color: #a1a6b0; font-size: .67rem; font-weight: 800; letter-spacing: .08em; }
.home-component-top h3 { margin: 7px 0 0; font-size: 1.55rem; letter-spacing: -.035em; }
.home-circle-link { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(17,19,25,.11); border-radius: 50%; text-decoration: none; color: var(--home-ink); background: rgba(255,255,255,.74); transition: transform .18s ease, background .18s ease; }
.home-circle-link:hover { transform: rotate(8deg); background: white; }
.home-component-card > p { min-height: 51px; margin: 16px 27px 25px; color: var(--home-muted); line-height: 1.62; }
.home-component-demo { position: relative; height: 226px; margin: 0 27px; overflow: hidden; border: 1px solid #e2e5eb; border-radius: 14px; background: #fbfcfd; }
.demo-page-lines { padding: 29px; display: grid; gap: 13px; }
.demo-page-lines i { height: 8px; border-radius: 999px; background: #e9ecf1; }
.demo-page-lines i:nth-child(2) { width: 73%; }
.demo-page-lines i:nth-child(3) { width: 88%; }
.demo-page-lines i:nth-child(4) { width: 61%; }
.demo-page-lines i:nth-child(5) { width: 80%; }
.demo-backtop { position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #17191e; color: white; }
.demo-progress-track { position: absolute; inset: 0 0 auto; height: 4px; background: #eceff4; }
.demo-progress-track i { display: block; width: 64%; height: 100%; background: var(--home-accent); }
.home-component-footer { min-height: 69px; margin-top: 22px; padding: 0 27px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(17,19,25,.065); }
.home-component-footer span { color: #8a909c; font-size: .7rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.home-component-footer a { color: var(--home-ink); text-decoration: none; font-size: .88rem; font-weight: 700; }
.home-component-footer a::after { content: "  →"; color: #9da2ac; }

.home-process-section { background: rgba(255,255,255,.40); }
.home-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.home-process-step { min-width: 0; padding: 28px 27px 33px 0; }
.home-process-step + .home-process-step { padding-left: 27px; border-left: 1px solid var(--home-line); }
.home-process-step > span { display: block; margin-bottom: 47px; color: #a1a6b0; font-size: .67rem; font-weight: 800; letter-spacing: .08em; }
.home-process-step h3 { margin: 0 0 11px; font-size: 1.06rem; letter-spacing: -.015em; }
.home-process-step p { margin: 0; color: var(--home-muted); font-size: .9rem; line-height: 1.65; }

.home-output-section { background: #111319; color: white; border-top: 0; }
.home-output-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.78fr); gap: clamp(60px,9vw,130px); align-items: center; }
.home-output-copy .home-section-label { color: #8fa5ff; }
.home-output-copy h2 { color: white; }
.home-output-copy > p:not(.home-section-label) { max-width: 650px; margin: 24px 0 0; color: #aeb3be; line-height: 1.72; }
.home-output-facts { margin: 39px 0 0; }
.home-output-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.10); }
.home-output-facts > div:last-child { border-bottom: 1px solid rgba(255,255,255,.10); }
.home-output-facts dt { color: #7f8590; font-size: .77rem; }
.home-output-facts dd { margin: 0; color: #e9ebef; font-size: .87rem; }
.home-package { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #181b22; box-shadow: 0 32px 80px rgba(0,0,0,.26); }
.home-package-head { min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); color: #d8dbe1; font-size: .77rem; font-weight: 680; }
.home-package-head span:last-child { color: #7e8490; font-size: .66rem; letter-spacing: .07em; }
.home-package ul { list-style: none; padding: 12px 0; margin: 0; }
.home-package li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; min-height: 45px; padding: 0 18px; color: #c7cbd3; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .76rem; }
.home-package li:hover { background: rgba(255,255,255,.035); }
.file-icon { width: 28px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 6px; color: #8fa5ff; font-family: ui-sans-serif, system-ui, sans-serif; font-size: .58rem; font-weight: 800; }
.home-package-foot { min-height: 47px; padding: 0 18px; display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.08); color: #777e89; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }

.home-principles-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.home-principles-grid article { min-width: 0; padding: 24px; border: 1px solid rgba(17,19,25,.085); border-radius: 16px; background: rgba(255,255,255,.58); }
.home-principles-grid article > span { color: #a1a6b0; font-size: .65rem; font-weight: 800; }
.home-principles-grid h3 { margin: 34px 0 9px; font-size: 1.03rem; }
.home-principles-grid p { margin: 0; color: var(--home-muted); font-size: .88rem; line-height: 1.62; }

.home-end-section { padding: 82px 0 89px; border-top: 1px solid rgba(17,19,25,.065); }
.home-end-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.home-end-inner .home-section-label { margin-bottom: 12px; }
.home-end-inner h2 { font-size: clamp(2.4rem,5vw,4.9rem); }
.home-footer { padding-top: 0; }
.home-footer .footer-inner { color: #8a909b; font-size: .78rem; }

@media (max-width: 980px) {
  .home-hero { padding: 88px 0 80px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 62px; }
  .home-hero-object { max-width: 650px; }
  .home-component-grid { grid-template-columns: 1fr; }
  .home-process-grid { grid-template-columns: repeat(2,1fr); }
  .home-process-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--home-line); }
  .home-process-step:nth-child(4) { border-top: 1px solid var(--home-line); }
  .home-output-grid { grid-template-columns: 1fr; }
  .home-package { max-width: 620px; }
  .home-principles-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .home-page::before { background-size: 34px 34px; }
  .home-header .header-inner { min-height: 63px; }
  .home-nav a { display: none; }
  .home-hero { padding: 66px 0 60px; }
  .home-hero-grid { gap: 46px; }
  .home-hero h1 { font-size: clamp(3rem,15vw,4.55rem); }
  .home-intro { margin-top: 24px; }
  .home-format-line { margin-top: 34px; }
  .home-interface-body { grid-template-columns: 110px 1fr; min-height: 262px; }
  .home-control-column { padding: 15px 12px; }
  .home-control-label:not(:first-child) { margin-top: 16px; }
  .home-preview-window { margin: 13px; }
  .home-preview-lines { padding: 20px 16px; }
  .home-preview-button { width: 38px; height: 38px; right: 13px; bottom: 13px; }
  .home-interface-bottom { gap: 7px; font-size: .69rem; }

  .home-section { padding: 74px 0; }
  .home-section-heading { margin-bottom: 31px; }
  .home-section-heading h2,
  .home-output-copy h2 { font-size: clamp(2.2rem,11vw,3.35rem); }
  .home-component-top { padding: 22px 20px 0; }
  .home-component-card > p { min-height: auto; margin: 14px 20px 21px; }
  .home-component-demo { height: 190px; margin: 0 20px; }
  .home-component-footer { padding: 0 20px; }
  .home-component-footer span { display: none; }

  .home-process-grid { grid-template-columns: 1fr; }
  .home-process-step,
  .home-process-step + .home-process-step { padding: 23px 0 26px; border-left: 0; border-top: 1px solid var(--home-line); }
  .home-process-step:first-child { border-top: 0; }
  .home-process-step > span { margin-bottom: 23px; }

  .home-output-grid { gap: 46px; }
  .home-output-facts > div { grid-template-columns: 90px 1fr; gap: 14px; }
  .home-package li { font-size: .7rem; }

  .home-principles-grid { grid-template-columns: 1fr; }
  .home-principles-grid h3 { margin-top: 24px; }

  .home-end-section { padding: 66px 0 72px; }
  .home-end-inner { align-items: flex-start; flex-direction: column; gap: 27px; }
  .home-end-inner h2 { font-size: clamp(2.35rem,12vw,3.6rem); }
  .home-footer .footer-inner { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-component-card,
  .home-circle-link,
  .home-text-link span { transition: none !important; }
}

/* FAQ Library catalogue illustration */
.faq-demo { display:grid; grid-template-columns:86px 1fr; gap:12px; align-items:start; padding:18px; }
.demo-faq-tabs { display:grid; gap:7px; }
.demo-faq-tabs i { display:block; height:18px; border:1px solid rgba(17,19,25,.16); border-radius:4px; }
.demo-faq-tabs i:first-child { background:#171a21; border-color:#171a21; }
.demo-faq-list { display:grid; border:1px solid rgba(17,19,25,.13); border-radius:6px; overflow:hidden; background:#fff; }
.demo-faq-list span { display:block; height:29px; border-bottom:1px solid rgba(17,19,25,.11); position:relative; }
.demo-faq-list span:last-child { border-bottom:0; }
.demo-faq-list span::before { content:""; position:absolute; left:10px; right:34px; top:12px; height:4px; border-radius:9px; background:rgba(17,19,25,.18); }
.demo-faq-list span::after { content:"+"; position:absolute; right:10px; top:4px; font-size:15px; color:rgba(17,19,25,.46); }
@media (max-width:1180px) and (min-width:761px) { .home-component-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Vertical Timeline catalogue illustration */
.timeline-demo{padding:18px 22px;}
.demo-timeline-line{position:absolute;top:28px;bottom:28px;left:50%;width:2px;transform:translateX(-50%);background:#e2e6ed;border-radius:999px;overflow:hidden}
.demo-timeline-line i{display:block;width:100%;height:67%;background:#171a21}
.demo-timeline-node{position:absolute;left:50%;width:100%;height:42px;transform:translateX(-50%)}
.demo-timeline-node.n1{top:28px}.demo-timeline-node.n2{top:92px}.demo-timeline-node.n3{top:156px}
.demo-timeline-node b{position:absolute;left:50%;top:0;display:grid;place-items:center;width:34px;height:34px;transform:translateX(-50%);border:1px solid #ccd2dc;border-radius:50%;background:#fff;color:#171a21;font-size:10px;font-weight:800;z-index:2}
.demo-timeline-node.n2 b{width:12px;height:12px;top:11px;background:#171a21;border-color:#171a21}
.demo-timeline-node.n3 b{background:#171a21;border-color:#171a21;color:#fff}
.demo-timeline-node span{position:absolute;top:8px;width:34%;height:18px;border-radius:5px;background:#e9ecf1}
.demo-timeline-node.n1 span,.demo-timeline-node.n3 span{right:56%;}.demo-timeline-node.n2 span{left:56%}


/* Stats Counter catalogue illustration */
.stats-demo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px;}
.demo-stat{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(17,19,25,.10);border-radius:10px;background:#fff;text-align:center;padding:10px;}
.demo-stat b{font-size:1.28rem;letter-spacing:-.045em;color:#171a21;}
.demo-stat span{margin-top:5px;font-size:.66rem;color:#7c828d;}


/* Vertical Rail catalogue illustration */
.rail-demo{position:relative;display:flex;align-items:center;gap:20px;padding:18px 24px;}
.demo-rail{display:grid;gap:5px;padding:6px;border:1px solid rgba(17,19,25,.13);border-radius:10px;background:#fff;box-shadow:0 7px 18px rgba(17,19,25,.08)}
.demo-rail i{display:grid;place-items:center;width:31px;height:26px;border-radius:6px;background:#f1f3f7;color:#69707d;font-style:normal;font-size:.62rem;font-weight:750}
.demo-rail i.accent{background:#315efb;color:#fff}
.demo-rail-lines{flex:1;display:grid;gap:12px}
.demo-rail-lines span{height:5px;border-radius:999px;background:#e8ebf0}
.demo-rail-lines span:nth-child(2){width:82%}.demo-rail-lines span:nth-child(3){width:66%}.demo-rail-lines span:nth-child(4){width:74%}
