:root {
  color-scheme: dark;
  --ink: #0a0909;
  --panel: #12100f;
  --warm: #cfc6bb;
  --muted: #a9a098;
  --line: rgba(235, 225, 214, .19);
  --white: #f4efe8;
  --accent: #dfd0bd;
  --display: Georgia, "Songti SC", STSong, serif;
  --gutter: clamp(22px, 4vw, 72px);
  background: var(--ink);
  color: var(--white);
  font: 16px/1.6 Inter, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid #f4d6ae; outline-offset: 5px; }

.site-nav {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.9fr) auto;
  align-items: center;
  min-height: 74px;
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, #090808b3, transparent);
  gap: 20px;
}
.site-nav.compact { position: relative; background: var(--ink); border-block-end: 1px solid var(--line); }
.brand { display: block; width: fit-content; }
.brand img { display: block; width: 136px; max-width: 100%; height: auto; }
.site-nav nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 44px); color: var(--warm); font-size: 14px; }
.site-nav nav a:hover, .site-nav nav a[aria-current="page"] { color: var(--white); }
.nav-action, .button, .scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid #f4efe855;
  border-radius: 999px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.nav-action { padding: 7px 15px; background: #f4efe80d; font-size: 14px; white-space: nowrap; }
.nav-action:hover, .button-outline:hover, .scroll-cue:hover { border-color: var(--white); background: #ffffff14; }
.button { width: fit-content; padding: 10px 16px; font-size: 14px; }
.button-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-light:hover { background: #fff; }

.hero {
  position: relative;
  min-height: clamp(400px, 28.25vw, 650px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  padding: clamp(100px, 7vw, 165px) var(--gutter) 92px;
  border-block-end: 1px solid var(--line);
  background: #11100f;
}
.hero-media, .hero-media::after {
  position: absolute;
  inset: 0;
}
.hero-media {
  z-index: -1;
  inset-inline-start: 28%;
  background: url("assets/home-architecture-clean.jpg?v=20261129") center center / cover no-repeat;
}
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, #11100f, #11100f66 10%, transparent 29%), linear-gradient(180deg, #08070718, transparent 52%, #0a09091a);
}
.hero-copy { max-width: min(32rem, 42vw); }
.hero h1 { font-size: clamp(49px, 5.25vw, 106px); line-height: 1.07; letter-spacing: -.05em; }
.hero-lead {
  display: grid;
  grid-template-columns: clamp(28px, 5vw, 82px) auto;
  align-items: start;
  column-gap: 22px;
  width: fit-content;
  margin-block-start: clamp(18px, 2.1vw, 34px);
  color: var(--warm);
  font-size: clamp(13px, 1.05vw, 17px);
  letter-spacing: .06em;
}
.hero-lead::before { content: ""; margin-top: .75em; border-block-start: 1px solid #f4efe8a6; grid-row: span 2; }
.scroll-cue { position: absolute; inset-inline-start: var(--gutter); inset-block-end: 26px; width: 42px; height: 42px; font-size: 20px; }

.home-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.25fr) minmax(0, .75fr);
  max-width: 1800px;
  margin-inline: auto;
  min-height: 435px;
}
.family, .statement { padding: clamp(22px, 2.8vw, 50px) clamp(18px, 2.35vw, 39px); }
.family { padding-inline-start: var(--gutter); border-inline-end: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.section-heading h2, .feature-copy h2, .statement h2 { font-size: clamp(25px, 2.45vw, 46px); letter-spacing: -.02em; }
.text-link { flex: none; color: var(--warm); font-size: 13px; }
.text-link:hover, .card-link:hover { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.product-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-block-start: 28px; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid #f4efe82d;
  border-radius: 8px;
  background: #0f0d0c;
  transition: border-color .24s ease;
}
.product-card:hover { border-color: #f4efe88b; }
.card-visual { height: clamp(112px, 12.6vw, 220px); border-block-end: 1px solid #f4efe816; }
.card-visual-cloud {
  background: radial-gradient(ellipse 75% 93% at 19% 100%, #100f0e 83%, #51463a 90%, #b6a38b 93%, #e8d4bc 95%, #433b32 98%, transparent 100%),
              radial-gradient(ellipse at 99% 1%, #998773, #2c2722 41%, #141210 81%);
}
.card-visual-browser {
  background: linear-gradient(130deg, #0d0b0a 10%, #322a23 44%, #9e8b76 46%, #e1c9a9 47%, #776652 48%, #1d1814 51%, #0e0c0a 84%);
}
.card-body { flex: 1; display: flex; flex-direction: column; padding: 16px clamp(11px, 1.25vw, 22px); }
.card-body h3 { font-size: clamp(22px, 2vw, 32px); }
.card-body p, .feature-copy > p:not(.section-kicker), .statement p { color: var(--muted); font-size: 14px; }
.card-body p { margin: 8px 0 15px; }
.card-link { margin-top: auto; color: var(--warm); font-size: 13px; }

.featured {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 14px;
  padding: clamp(22px, 2.6vw, 51px) clamp(18px, 2vw, 37px);
  border: 1px solid #f4efe83d;
  border-radius: 8px;
  background: linear-gradient(155deg, #181411 4%, #3b332b 78%, #171411 100%);
}
.feature-copy { max-width: 61%; }
.feature-copy .section-kicker { margin: 0 0 14px; color: var(--accent); font-size: 12px; }
.feature-copy > p:not(.section-kicker) { color: var(--warm); margin-block: 18px 24px; }
.feature-media { z-index: -1; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #171412ea 0%, #171412bf 33%, #17141214 74%);
}
.feature-media span {
  position: absolute;
  inset: 14% 0 8% 45%;
  transform: rotate(-11deg) translateX(8%);
  border: 5px solid #131110;
  border-radius: 11px;
  background: url("assets/home-architecture-clean.jpg?v=20261129") 64% center / auto 100%;
  box-shadow: 0 16px 28px #080707ab, 0 0 0 1px #d7bda37a inset;
  opacity: .63;
}
.statement {
  position: relative;
  background: radial-gradient(ellipse at 100% 125%, #e2ccb482 0%, #856e4e40 27%, #11100e 57%);
  border-inline-start: 1px solid var(--line);
  overflow: hidden;
}
.statement p { margin-block-start: 20px; max-width: 20em; }
.statement::after {
  position: absolute;
  content: "";
  pointer-events: none;
  inset: auto -36% -15% 25%;
  width: 115%;
  aspect-ratio: 1.6;
  transform: rotate(-30deg);
  border: 1px solid #f2d8a57f;
  border-radius: 50%;
  box-shadow: 0 0 24px #cfa85e46;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 25px;
  padding: 25px var(--gutter);
  color: var(--muted);
  font-size: 13px;
  border-block-start: 1px solid var(--line);
}

.products-page, .detail-page, .support-page { min-height: calc(100vh - 152px); }
.products-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 24px;
  padding: clamp(58px, 8vw, 126px) var(--gutter) clamp(32px, 5vw, 78px);
  border-block-end: 1px solid var(--line);
  background: radial-gradient(ellipse at 80% 18%, #2e251e, #11100f 62%);
}
.section-kicker, .card-label { color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.products-intro .section-kicker { grid-column: 1 / -1; }
.products-intro h1, .detail-hero h1 { font-size: clamp(44px, 6.3vw, 96px); letter-spacing: -.04em; }
.products-intro > p:last-child { max-width: 24em; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.products-list, .support-list { padding: 0 var(--gutter) 54px; }
.product-row {
  display: grid;
  grid-template-columns: clamp(64px, 12vw, 140px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(13px, 4vw, 48px);
  padding: 28px 0;
  border-block-end: 1px solid var(--line);
}
.row-art { aspect-ratio: 1.3; border: 1px solid var(--line); border-radius: 6px; }
.row-copy h2 { margin-block: 4px 6px; font-size: clamp(28px, 4vw, 56px); }
.row-copy p:not(.card-label), .detail-grid > p { color: var(--muted); }
.row-arrow { color: var(--accent); font-size: 26px; }
.product-row:hover .row-arrow { color: var(--white); }
.detail-hero {
  display: flex;
  align-items: center;
  min-height: clamp(360px, 52vw, 620px);
  padding: clamp(52px, 8.6vw, 112px) var(--gutter);
  background: radial-gradient(ellipse at 80% -10%, #5c4b3b 0%, #231c16 42%, #0b0a09 78%);
}
.detail-hero-browser { background: radial-gradient(ellipse at 80% -10%, #55483c 0%, #25221f 43%, #0b0a09 78%); }
.detail-hero .section-kicker, .detail-grid .section-kicker { margin-block-end: 17px; }
.detail-hero p:not(.section-kicker) { max-width: 31em; margin-block: 20px 26px; color: var(--warm); }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: clamp(44px, 7vw, 88px) var(--gutter);
  border-block-start: 1px solid var(--line);
}
.detail-grid h2 { font-size: clamp(30px, 4vw, 57px); }
.detail-grid > p { max-width: 35em; }
.support-list { max-width: 900px; }
.support-list details { border-block-end: 1px solid var(--line); }
.support-list summary { padding-block: 24px; color: var(--white); font-size: clamp(16px, 2vw, 24px); cursor: pointer; }
.support-list details p { padding-block: 0 24px; color: var(--warm); }
.support-list details a { text-decoration: underline; text-underline-offset: .2em; }

.customer-page, .customer-plan {
  width: min(100%, 78rem);
  margin-inline: auto;
  padding: clamp(38px, 6vw, 92px) var(--gutter);
}
.customer-page [hidden], .customer-plan [hidden] { display: none; }
.customer-plan { padding-block-start: 0; scroll-margin-block-start: 20px; }
.customer-heading { display: grid; gap: 14px; margin-block-end: clamp(24px, 4vw, 48px); }
.customer-heading h1 { font-size: clamp(42px, 7vw, 80px); letter-spacing: -.04em; }
.customer-heading p, .customer-muted { color: var(--muted); }
.customer-card {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  background: var(--panel);
}
.customer-card h2 { font-size: clamp(25px, 3vw, 37px); }
.customer-card > h2 { margin-block-end: 16px; }
.customer-card h3 { margin-block-end: 6px; font-size: 22px; }
.customer-access { max-width: 33rem; }
.customer-form:not([hidden]) { display: grid; gap: 8px; }
.customer-form h2 { margin-block-end: 9px; }
.customer-form label { margin-block-start: 10px; color: var(--warm); }
.customer-form input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
}
.customer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.customer-form .customer-actions, .customer-plan .customer-actions { margin-block-start: 14px; }
.customer-page button, .customer-plan button { font-family: inherit; cursor: pointer; }
.customer-page button:disabled, .customer-plan button:disabled { cursor: wait; opacity: .65; }
.customer-page button:focus-visible, .customer-page input:focus-visible, .customer-plan button:focus-visible {
  outline: 2px solid #f4d6ae;
  outline-offset: 3px;
}
.customer-text-button {
  width: fit-content;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--warm);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.customer-feedback { margin-block-end: 14px; color: var(--accent); }
.customer-feedback:empty { margin: 0; }
.customer-plan .customer-feedback:not(:empty) { margin-block: 12px 0; }
.customer-summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-block-end: 14px; }
.customer-summary p { overflow-wrap: anywhere; }
.customer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 14px; }
.customer-columns .customer-card > a, .customer-columns .customer-card > button { display: inline-flex; margin-block-start: 12px; }
.customer-list { margin: 0; padding: 0; list-style: none; }
.customer-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding-block: 12px;
  border-block-end: 1px solid var(--line);
}
.customer-row-status { color: var(--accent); }
.customer-list small { grid-column: 1 / -1; color: var(--muted); overflow-wrap: anywhere; }

.reveal-ready { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }

@media (min-width: 1350px) {
  .home-editorial { min-height: 29vw; }
}
@media (max-width: 1000px) {
  .home-editorial { grid-template-columns: 1.1fr 1fr; }
  .statement { grid-column: 1 / -1; border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .statement::after { width: 38%; inset-inline-start: auto; inset-inline-end: -10%; inset-block-end: -65%; }
}
@media (max-width: 720px) {
  .site-nav { min-height: 90px; grid-template-columns: minmax(0, 1fr) auto; padding: 14px var(--gutter) 10px; gap: 5px 12px; }
  .site-nav nav { grid-column: 1 / -1; grid-row: 2; gap: 10px 23px; font-size: 13px; }
  .brand img { width: 117px; }
  .nav-action { min-height: 33px; padding: 4px 12px; font-size: 13px; }
  .hero { min-height: 495px; align-items: flex-end; padding-block: 140px 94px; }
  .hero-media { inset-inline-start: 0; background-position: 42% center; }
  .hero-media::after { background: linear-gradient(180deg, #0a0909a6, transparent 35%, #0a0909dc 70%, #0a0909), linear-gradient(90deg, #0a09094d, transparent 60%); }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(46px, 12vw, 69px); }
  .hero-lead { column-gap: 12px; }
  .home-editorial { grid-template-columns: 1fr; }
  .family, .statement { padding-inline: var(--gutter); }
  .family { border-inline-end: 0; }
  .featured { min-height: 308px; margin: 0 var(--gutter) 23px; }
  .featured h2 { font-size: clamp(28px, 7.5vw, 37px); }
  .feature-copy { max-width: 69%; }
  .products-intro, .detail-grid { grid-template-columns: 1fr; }
  .brand, .nav-action, .site-nav nav { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::after, *::before { transition: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}

.download-card { margin: 32px auto 0; max-width: 760px; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.04); }
.download-card h2 { margin: 0 0 10px; }
.download-card p { color: var(--warm); }
.download-card code { overflow-wrap: anywhere; }
.download-card a { display: inline-flex; margin-top: 14px; }
@media (max-width: 640px) { .download-card { margin-inline: 16px; padding: 22px; } }
