:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --panel: #ffffff;
  --panel2: #eeece6;
  --line: #d9d7d0;
  --text: #171717;
  --muted: #62625e;
  --inkSoft: #464641;
  --accent: #35332f;
  --positive: #2f5946;
  --danger: #862e2c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.65 'Inter','Segoe UI','Noto Sans CJK SC','Microsoft YaHei',sans-serif;
}

button,input,select {
  font: inherit;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.siteSupportLauncher {
  position: fixed;
  z-index: 28;
  inset-inline-end: max(14px, env(safe-area-inset-right));
  inset-block-end: max(14px, env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100vw - 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--panel);
  box-shadow: 0 2px 12px #1716111a;
}

.siteSupportLauncher summary, .siteSupportLinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 6px 13px;
  font-size: .875rem;
  cursor: pointer;
}

.siteSupportLauncher summary {
  list-style: none;
  font-weight: 650;
}

.siteSupportLauncher summary::-webkit-details-marker { display: none; }
.siteSupportLauncher a:hover { background: var(--panel2); }
.siteSupportLauncher :is(summary, a):focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.siteSupportLauncher small { background: var(--accent); color: var(--panel); border-radius: 12px; padding: 0 6px; }
.siteSupportLinks { border-top: 1px solid var(--line); }

button {
  cursor: pointer;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.wrap {
  max-width: 1480px;
  margin: auto;
  padding: 0 38px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1800px;
  min-height: clamp(4.25rem, 5.4vw, 5.125rem);
  display: flex;
  align-items: center;
  column-gap: clamp(1.125rem, 2.3vw, 2.5rem);
  padding-inline: clamp(1.375rem, 3.4vw, 3.5rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #111;
  font: 700 clamp(1.4375rem, 2.15vw, 2rem)/1.12 'Segoe UI',sans-serif;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.brand img {
  width: clamp(2.75rem, 4.35vw, 4.125rem);
  height: auto;
  flex: none;
  object-fit: contain;
}

.navlist {
  display: flex;
  gap: clamp(.9rem, 2.4vw, 2.85rem);
  flex: 1;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.navlist a {
  font-size: clamp(.875rem, 1.1vw, 1rem);
  font-weight: 550;
  color: var(--text);
  padding-block: 1.25rem;
  position: relative;
}

.navlist a:hover, .navlist a.active {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.navlist a.active { text-decoration: none; }

.navlist a.active:after {
  content: '';
  height: 2px;
  bottom: .45rem;
  left: 0;
  right: 0;
  background: var(--accent);
  position: absolute;
}

.navact {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.5vw, 1.5rem);
  white-space: nowrap;
}

.navact .quiet {
  color: var(--text);
  font-size: .9375rem;
  overflow-wrap: anywhere;
}

.navact .btn {
  min-height: 2.75rem;
  border-radius: .65rem;
  padding-inline: clamp(.75rem, 1.25vw, 1.25rem);
  text-align: center;
}

.btn {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 4px;
  padding: 11px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: .18s;
}

.btn:hover:not(:disabled) {
  background: var(--panel2);
}

.primary {
  background: var(--text);
  border-color: var(--text);
  color: white;
}

.primary:hover:not(:disabled) {
  background: var(--accent);
}

.small {
  padding: 8px 14px;
  font-size: 13px;
}

.quiet {
  color: var(--muted);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--inkSoft);
  font-weight: 650;
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: center;
}

.eyebrow:before {
  content: '';
  height: 1px;
  width: 24px;
  background: var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  gap: clamp(1.75rem, 5vw, 5.75rem);
  align-items: center;
  padding-block: clamp(2.15rem, 3.6vw, 4rem) clamp(2.75rem, 4.6vw, 4.75rem);
}

.hero h1 {
  font-size: clamp(3.125rem, 6.2vw, 7rem);
  line-height: 1.035;
  font-weight: 790;
  letter-spacing: -.068em;
  overflow-wrap: anywhere;
  margin: 0 0 clamp(1.25rem, 2vw, 1.875rem);
}

.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 510px;
  line-height: 1.85;
  margin: 0 0 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subnote {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.section {
  padding: 54px 0;
}

.section.tight {
  padding: 35px 0;
}

.sectionHead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 25px;
}

.sectionHead h2 {
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -.65px;
  margin: 6px 0 0;
}

.sectionHead p {
  color: var(--muted);
  margin: 6px 0 0;
}

.pagehead {
  padding: 64px 0 35px;
  border-bottom: 1px solid var(--line);
}

.pagehead h1 {
  font-size: 44px;
  line-height: 1.22;
  letter-spacing: -1.1px;
  margin: 15px 0;
}

.pagehead p {
  font-size: 16px;
  color: var(--muted);
  max-width: 750px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 18px;
}

.g2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.g3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.g4 {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  min-width: 0;
}

.panel h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 12px 0 6px;
}

.panel p {
  color: var(--muted);
  margin: 8px 0 0;
}

.panel .kicker {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--inkSoft);
  text-transform: uppercase;
}

.panel .num {
  font: 600 35px/1.3 'Segoe UI',sans-serif;
  letter-spacing: -1px;
  margin: 9px 0;
}

.icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--inkSoft);
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 18px;
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
  white-space: nowrap;
}

.status.ok {
  color: var(--positive);
  border-color: #aabdaf;
}

.status.pending {
  color: var(--inkSoft);
  border-color: var(--line);
}

.status:before {
  content: '';
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}

.banner {
  background: var(--panel2);
  border: 1px solid var(--line);
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 30px;
  border-radius: 8px;
}

.banner h2 {
  margin: 0 0 5px;
  font-size: 24px;
}

.banner p {
  color: var(--muted);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 10px;
}

.step {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 9px;
}

.step b {
  color: var(--inkSoft);
  font: 600 12px 'Segoe UI',sans-serif;
  letter-spacing: 1px;
}

.step h3 {
  font-size: 17px;
  margin: 9px 0 4px;
}

.step p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}

.link {
  font-size: 13px;
  color: var(--inkSoft);
}

.galleryCard {
  padding: 0;
  overflow: hidden;
}

.galleryCard img {
  width: 100%;
  aspect-ratio: 16/10;
}

.galleryCard>figcaption {
  padding: 18px;
}

.galleryCard h3 {
  margin: 0;
  font-size: 18px;
}

.galleryCard p {
  font-size: 13px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.filter {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 15px;
}

.filter.active {
  color: var(--text);
  background: var(--panel2);
  border-color: var(--accent);
}

.price {
  padding: 26px;
}

.price .big {
  font: 650 42px/1.3 'Segoe UI',sans-serif;
  letter-spacing: -1.5px;
  margin: 10px 0 2px;
}

.price .big small {
  font-size: 15px;
  letter-spacing: 0;
  color: var(--muted);
}

.price.featured {
  border-color: var(--accent);
  background: var(--panel);
}

.bullets {
  padding: 0;
  list-style: none;
  margin: 20px 0;
}

.bullets li {
  margin: 12px 0;
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.bullets li:before {
  content: '✓';
  color: var(--positive);
  font-weight: 700;
}

.fill {
  width: 100%;
}

.info {
  background: var(--panel2);
  border-left: 3px solid var(--line);
  padding: 13px 16px;
  color: var(--muted);
  font-size: 13px;
  border-radius: 0 7px 7px 0;
  margin-bottom: 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  background: var(--panel2);
}

.table td,.table th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

.table td {
  color: var(--text);
}

.table tr:last-child td {
  border-bottom: none;
}

.tablewrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
}

.formcard {
  max-width: 430px;
  width: 100%;
  padding: 34px;
  margin: auto;
}

.formcard h1 {
  font-size: 27px;
  margin: 0 0 5px;
}

.field {
  margin: 18px 0;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin: 0 0 8px;
}

.input {
  width: 100%;
  padding: 12px 13px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
}

.input::placeholder {
  color: var(--muted);
}

.input:focus {
  border-color: var(--accent);
}

.field .inline {
  display: flex;
  gap: 9px;
}

.formNote {
  color: var(--muted);
  font-size: 12px;
}

.auth {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  padding: 52px 38px;
  min-height: 610px;
  align-items: center;
}

.authvisual {
  height: 550px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel2);
}

.authvisual img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: brightness(.6);
}

.authvisual > div {
  color: var(--panel);
  position: absolute;
  inset: auto 30px 30px;
}

.authvisual h2 {
  font-size: 34px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.authvisual p {
  color: #d3d6e2;
  margin: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.faq summary:after {
  content: '+';
  color: var(--inkSoft);
}

.faq details[open] summary:after {
  content: '−';
}

.faq p {
  color: var(--muted);
  margin: 12px 0 3px;
}

.supportHelp .panel { color: #22231f; background: #fbfaf7; border-color: #e6e1d7; }
.supportHelp .panel p { color: #57564e; }
.supportHelp .input { color: #22231f; background: #fff; border-color: #d8d3c8; }
.supportHelp .input::placeholder { color: #6c6a61; }
.supportHelp .row select { width: auto; }
.supportHelp details { border-color: #e4dfd5; }
.supportHelp #supportNotices h3 { margin-top: 22px; }
.supportHelp #supportLink { color: #fff; background: #232422; border-color: #232422; }

.footer {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding: 36px 0 26px;
  color: var(--muted);
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3,1fr);
  gap: 25px;
}

.footer h2 {
  color: var(--text);
  font-size: 13px;
  margin: 0 0 12px;
}

.footer a:not(.brand) {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin: 7px 0;
}

.footer a:hover,.link:hover {
  color: var(--text);
}

.footbottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 11px;
}

.prototypeTag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  background: var(--panel2);
  padding: 3px 8px;
  border-radius: 4px;
}

.checkout {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.checkout[hidden] {
  display: none;
}

#pricingCurrencyField {
  display: grid;
  gap: .35rem;
  max-width: 16rem;
  margin-block: 1rem;
}

.orderNotifications {
  margin-block-end: 1rem;
  overflow-wrap: anywhere;
}

.checkout .panel {
  width: min(420px,100%);
  box-shadow: 0 30px 100px #000a;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 8px;
  color: var(--panel);
  padding: 14px 18px;
  max-width: 320px;
  box-shadow: 0 8px 36px #0008;
}

.toast[hidden] {
  display: none;
}

.accountSide a {
  display: block;
  color: var(--muted);
  padding: 11px 12px;
  border-radius: 6px;
  margin: 4px 0;
}

.accountSide a.active {
  background: var(--panel2);
  color: var(--text);
}

.legal h3 {
  margin: 28px 0 8px;
}

.legal p {
  color: var(--muted);
}

.legal {
  max-width: 850px;
}

.mobileMenu {
  display: none;
}

.spacer {
  flex: 1;
}

.pill {
  font-size: 12px;
  color: var(--inkSoft);
}

.muted {
  color: var(--muted);
}

.sectionSmall {
  padding: 20px 0;
}

.plainList {
  padding-left: 20px;
  color: var(--muted);
}

.plainList li {
  margin: 8px 0;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.workflow .panel {
  color: var(--inkSoft);
}

.workflow h3 {
  margin: 10px 0 4px;
}

.workflow p {
  font-size: 13px;
}

.featurelink {
  display: block;
  margin-top: 16px;
}

.center {
  text-align: center;
}

.center .eyebrow {
  justify-content: center;
}

.center .eyebrow:before {
  display: none;
}

.downloadInfo {
  display: flex;
  flex-direction: column;
  gap: 13px;
  justify-content: center;
}

.narrow {
  max-width: 840px;
}

.empty {
  border: 1px dashed var(--line);
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  color: var(--muted);
}

@media(max-width:1020px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .g4 {
    grid-template-columns: repeat(2,1fr);
  }
  .auth {
    gap: 22px;
  }
}

@media(max-width:760px) {
  .split,.auth {
    grid-template-columns: 1fr;
  }
  .lede {
    font-size: 15px;
  }
  .section {
    padding: 36px 0;
  }
  .sectionHead {
    align-items: start;
  }
  .sectionHead h2 {
    font-size: 26px;
  }
  .pagehead {
    padding: 40px 0 25px;
  }
  .pagehead h1 {
    font-size: 32px;
  }
  .g3,.g4,.workflow {
    grid-template-columns: 1fr 1fr;
  }
  .g2 {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2,1fr);
  }
  .panel {
    padding: 17px;
  }
  .galleryCard {
    padding: 0;
  }
  .banner {
    flex-direction: column;
    align-items: start;
    padding: 22px;
  }
  .authvisual {
    height: 260px;
  }
  .authvisual h2 {
    font-size: 26px;
  }
  .auth {
    padding-top: 26px;
    min-height: 0;
  }
  .formcard {
    padding: 24px;
  }
  .footerGrid {
    grid-template-columns: 1fr 1fr;
  }
  .footbottom {
    flex-direction: column;
  }
  .price .big {
    font-size: 32px;
  }
  .workflow .panel p {
    font-size: 12px;
  }
}

.accountLayout {
  display: grid;
  grid-template-columns: minmax(160px,1fr) minmax(0,4fr);
}

@media(max-width:560px) {
  .g3,.workflow,.accountLayout {
    grid-template-columns: 1fr;
  }
  .accountSide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .accountSide h3 {
    grid-column: 1/-1;
  }
  .accountSide a {
    margin: 0;
    padding: 8px;
  }
  .formcard {
    padding: 20px;
  }
  .panel.price {
    padding: 24px;
  }
}

@media(max-width:380px) {
  .g3,.g4,.workflow {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
}

[hidden], .checkout:not([open]) {
  display: none !important;
}

.navlist, .field .inline > .input {
  min-width: 0;
}

.navlist a {
  flex: 0 0 auto;
}

main {
  min-height: 45vh;
}

main :is(h1, h2):focus {
  outline: none;
}

button:disabled {
  opacity: .64;
  cursor: not-allowed;
  transform: none;
}

.wideState {
  grid-column: 1 / -1;
}

.checkout {
  color: var(--text);
  width: min(460px, calc(100% - 32px));
  padding: 0;
  background: transparent;
  border: 0;
}

.checkout::backdrop {
  background: #000b;
}

.checkout .panel {
  width: 100%;
}

.tablewrap {
  max-width: 100%;
}

.accountLayout > * {
  min-width: 0;
}

.table td:nth-child(2) {
  overflow-wrap: anywhere;
}

.tablewrap table {
  min-width: 520px;
}

.signalError {
  color: var(--danger);
  overflow-wrap: anywhere;
}

.formcard .inline button {
  flex: 0 0 auto;
  max-width: 48%;
}

.formcard .field input[type="checkbox"] {
  accent-color: var(--accent);
}

@media (max-width: 760px) {
  .formcard {
    max-width: 100%;
  }

  .authvisual > div {
  color: var(--panel);
    inset: auto 20px 20px;
  }

  .tablewrap table {
    min-width: 470px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

.price h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.price .status {
  flex: none;
}

@media (max-width: 560px) {
  .tablewrap .ledgerTable, .ledgerTable tbody, .ledgerTable tr {
    display: block;
    min-width: 0;
  }

  .ledgerTable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }

  .ledgerTable tr + tr {
    border-top: 1px solid var(--line);
  }

  .ledgerTable td {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 12px;
    border-bottom: 0;
  }

  .ledgerTable td:first-child {
    padding-top: 14px;
  }

  .ledgerTable td:last-child {
    padding-bottom: 14px;
  }

  .ledgerTable td[data-label]::before {
    content: attr(data-label);
    color: var(--muted);
  }

  .ledgerTable td[colspan] {
    display: block;
  }

  .ledgerValue {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

.homePage {
  overflow-wrap: anywhere;
}

.homePage .wrap {
  max-width: 1800px;
  padding-inline: clamp(1.375rem, 3.4vw, 3.5rem);
}

.heroKicker {
  color: var(--inkSoft);
  margin: 0 0 clamp(.875rem, 1.55vw, 1.5rem);
  font-weight: 600;
  font-size: clamp(.9375rem, 1.35vw, 1.25rem);
}

.hero h1 > span { display: block; }

.hero:lang(en) h1 {
  font-size: clamp(2.75rem, 4.2vw, 5.25rem);
  letter-spacing: -.058em;
}

.heroCopy .lede {
  max-inline-size: 28em;
  margin-block-end: clamp(1.5rem, 2.5vw, 2.625rem);
  color: var(--inkSoft);
  font-size: clamp(1.0625rem, 1.45vw, 1.375rem);
  line-height: 1.75;
}

.heroCopy .actions {
  align-items: stretch;
  gap: .75rem;
}

.heroCopy .btn {
  min-height: clamp(3rem, 4.3vw, 4rem);
  max-width: 100%;
  border-radius: .75rem;
  padding: .625rem clamp(.875rem, 1.6vw, 1.625rem);
  font-size: clamp(.9375rem, 1.25vw, 1.125rem);
  text-align: center;
}

.heroCopy .primary { min-inline-size: min(100%, 10rem); }
.heroDownload { background: transparent; }
.heroDownload svg { flex: none; }

.heroPortfolioGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.referenceGallery, .websiteCaseGrid {
  display: grid;
}

.heroWork {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  margin: 0;
  aspect-ratio: 1.39;
  background: var(--panel2);
  border-radius: 12px;
  overflow: hidden;
}

.heroWorkMedia, .heroWork::after {
  position: absolute;
  inset: 0;
}

.heroWork::after {
  content: "";
  background: linear-gradient(to top, #140d06dd 0%, #140d069c 22%, transparent 62%);
  pointer-events: none;
}

.heroWorkMedia img, .referenceFrame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroWorkCaption {
  position: relative;
  z-index: 1;
  padding: clamp(.75rem, 1.8vw, 1.75rem);
  color: white;
  line-height: 1.25;
}

.heroWorkCaption strong, .heroWorkCaption small { display: block; }
.heroWorkCaption strong { font-size: clamp(1rem, 1.65vw, 1.5rem); }
.heroWorkCaption small {
  margin-top: .25rem;
  font-size: clamp(.75rem, 1.08vw, 1rem);
  color: #fff6eb;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .heroWorkMedia img { transition: transform 450ms cubic-bezier(.2, .65, .3, 1); }
  .heroWork:hover img { transform: scale(1.045); }
}

.referenceFrame {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: .6rem;
}

.portfolioCaption {
  margin: .65rem 0 0;
  color: var(--muted);
  text-align: end;
  font-size: .875rem;
}

.homePage > .section {
  padding-block: clamp(2.75rem, 4.1vw, 4.5rem);
}

.homePage .sectionHead h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
}

.homePage .link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: .3em;
}

.homePage .link:hover {
  text-decoration-color: currentColor;
}

.homeSection {
  border-top: 1px solid var(--line);
}

.homeWorkflow {
  background: var(--panel2);
}

.editorialSteps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.25rem);
  margin: 1.5rem 0 0;
}
.capabilityList { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.homeExplore {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

.homeExplore h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

.homeExplore p { color: var(--muted); }
.referenceGallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.875rem, 2vw, 1.75rem);
}
.referenceGallery .galleryCard { margin: 0; }
.referenceGallery figcaption { padding-block: .65rem; border-bottom: 1px solid var(--line); }
.referenceGallery figcaption p { margin: .3rem 0; color: var(--muted); }
.websiteCaseGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.875rem, 2vw, 1.75rem);
}
.websiteCase {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding-block-end: 1rem;
  overflow-wrap: anywhere;
}
.websiteCase h3 { margin: .75rem 0 .25rem; }
.websiteCase p { margin: .25rem 0; }
.websiteCase small {
  color: var(--muted);
}
.casePreview {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: var(--panel2);
}
.casePreview img, .casePreview video { width: 100%; height: 100%; min-width: 0; object-fit: contain; }
.casePreview audio { width: calc(100% - 1.25rem); min-width: 0; }
.casePreview p { margin: 1rem; }
.caseFilters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 12rem);
  gap: .75rem;
  margin-block: 1rem;
}
#moreCases { margin-block-start: 1.25rem; }
.editorialSteps div {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.editorialSteps dt { font-weight: 650; }
.editorialSteps dd {
  margin: .5rem 0 0;
  color: var(--muted);
}
.link:hover { text-decoration: underline; }
.small, .footer a:not(.brand), .step p, .workflow p {
  font-size: .875rem;
}
.authvisual .eyebrow { color: var(--panel); }
.siteLanguage {
  max-width: 8rem;
  min-height: 2.75rem;
  padding: .45rem .6rem;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: .65rem;
  font: inherit;
  font-size: .875rem;
}

@media (min-width: 1101px) and (max-height: 835px) {
  .heroGrid { padding-block: 2.1rem 2.35rem; }
  .heroWork { aspect-ratio: 1.48; }
}

@media (max-width: 1180px) {
  .nav {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .375rem .875rem;
    padding-block: .625rem .25rem;
  }
  .navlist {
    flex: 1 1 100%;
    min-width: 0;
    order: 3;
    justify-content: flex-start;
    gap: clamp(.65rem, 2.15vw, 1.5rem);
    padding-inline: .25rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .navlist a { padding-block: .75rem; }
  .navlist a.active:after { bottom: .2rem; }
}

@media (max-width: 820px) {
  .heroGrid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(3rem, 9vw, 5.25rem); }
  .hero:lang(en) h1 { font-size: clamp(2.75rem, 7.5vw, 4.5rem); }
  .capabilityList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav { justify-content: space-between; padding-inline: 16px; }
  .navlist a { font-size: .8125rem; }
  .homeExplore, .editorialSteps:not(.capabilityList) { grid-template-columns: minmax(0, 1fr); }
  .referenceGallery, .websiteCaseGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth .formcard { order: -1; }
  .auth .authvisual { height: min(65vw, 18rem); }
}
@media (max-width: 450px) {
  .nav .brand { gap: .375rem; font-size: 1.0625rem; }
  .nav .brand img { width: 31px; }
  .navlist { gap: .5rem; }
  .navact { max-width: 100%; gap: .45rem; white-space: normal; }
  .navact .btn { min-inline-size: 0; padding-inline: .45rem; font-size: .75rem; }
  .navact .quiet { font-size: .8125rem; max-inline-size: 5rem; }
  .siteLanguage { max-width: 5.125rem; padding-inline: .3rem; font-size: .8125rem; }
  .heroCopy .actions { gap: .625rem; }
  .heroCopy .primary { min-inline-size: 0; }
  .heroCopy .btn { font-size: .875rem; }
  .heroWork { aspect-ratio: 1.15; }
  .heroWorkCaption { padding: .625rem; }
  .heroWorkCaption small { margin-top: .16rem; }
  .websiteCaseGrid { grid-template-columns: minmax(0, 1fr); }
  .sectionHead { flex-wrap: wrap; }
}
