:root {
  --ink: #10182b;
  --ink-soft: #2c3851;
  --muted: #66738a;
  --muted-light: #8b97aa;
  --line: #dfe5ef;
  --line-strong: #cbd4e3;
  --paper: #f4f7fb;
  --card: #ffffff;
  --navy: #0c1526;
  --navy-2: #17243b;
  --blue: #3f5bf6;
  --blue-dark: #2f47d4;
  --blue-soft: #edf0ff;
  --cyan: #24c7b7;
  --cyan-soft: #e9faf7;
  --lime: #d5ff72;
  --orange: #ffb45a;
  --danger: #d84d5f;
  --success: #158566;
  --shadow-sm: 0 8px 24px rgba(25, 38, 68, .07);
  --shadow-md: 0 20px 54px rgba(25, 38, 68, .11);
  --shadow-lg: 0 32px 80px rgba(17, 29, 54, .18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 300px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 92% -10%, rgba(63, 91, 246, .12), transparent 30rem),
    radial-gradient(circle at 4% 36%, rgba(36, 199, 183, .08), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font: 14px/1.7 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .36;
  background-image:
    linear-gradient(rgba(16, 24, 43, .027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 43, .027) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(#000, transparent 76%);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(63, 91, 246, .38);
  outline-offset: 3px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(63, 91, 246, .1);
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  letter-spacing: -.025em;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.wrap {
  width: min(1240px, calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 78px;
  border-bottom: 1px solid rgba(210, 219, 232, .84);
  background: rgba(247, 249, 252, .88);
  backdrop-filter: blur(22px) saturate(130%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.07em;
}

.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 11px;
  background: var(--navy);
  color: var(--lime);
  box-shadow: 0 10px 25px rgba(12, 21, 38, .2);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  stroke-width: 2;
}

.brand-dot {
  color: var(--cyan);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: #6f7c91;
  font-size: 12px;
  font-weight: 650;
  transition: color .18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: var(--cyan);
  content: "";
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.orders-link,
.login-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #67758a;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: color .18s ease;
}

.orders-link:hover,
.login-link:hover {
  color: var(--blue);
}

.orders-link svg {
  width: 16px;
  height: 16px;
}

.count-badge {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: 10px/1 var(--mono);
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button svg {
  width: 16px;
  height: 16px;
}

.button:disabled {
  opacity: .58;
  cursor: wait;
  transform: none !important;
}

.button-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(63, 91, 246, .22);
}

.button-blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 17px 32px rgba(63, 91, 246, .28);
  transform: translateY(-2px);
}

.button-light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(24, 37, 65, .04);
}

.button-light:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.header-submit {
  min-height: 38px;
  padding: 8px 14px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  color: #65738a;
  font-size: 12px;
  font-weight: 700;
}

.text-button svg {
  width: 15px;
  height: 15px;
}

.text-button:hover,
.text-button.blue {
  color: var(--blue);
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #748198;
}

.icon-button:hover {
  background: #edf1f7;
  color: var(--blue);
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .78fr);
  gap: clamp(44px, 6vw, 82px);
  align-items: center;
  min-height: 640px;
  padding-top: 70px;
  padding-bottom: 74px;
}

.hero-copy {
  max-width: 670px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #68778f;
  font: 10px/1.4 var(--mono);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(36, 199, 183, .13);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 10px rgba(36, 199, 183, 0); }
}

.hero-copy h1 {
  max-width: 690px;
  margin: 21px 0 21px;
  font-size: clamp(46px, 5.8vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.072em;
}

.hero-copy h1 em {
  position: relative;
  z-index: 0;
  color: var(--blue);
  font-style: normal;
}

.hero-copy h1 em::after {
  position: absolute;
  right: 4%;
  bottom: 1px;
  left: 0;
  z-index: -1;
  height: 10px;
  border-radius: 99px;
  background: var(--lime);
  content: "";
  transform: rotate(-1.2deg);
}

.hero-copy p {
  max-width: 570px;
  color: #69778e;
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 29px;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #68758a;
  font-size: 12px;
  font-weight: 650;
}

.hero-text-link svg {
  width: 16px;
  height: 16px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 39px;
  color: #8591a4;
  font-size: 11px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof b {
  color: var(--ink);
  font: 11px var(--mono);
}

.hero-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(132, 154, 196, .18);
  border-radius: 24px;
  background: var(--navy);
  color: #eaf2ff;
  box-shadow: 0 34px 80px rgba(12, 21, 38, .25);
  transform: rotate(1.25deg);
}

.hero-console::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0, rgba(63, 91, 246, .48), transparent 40%),
    linear-gradient(140deg, #0c1526, #192844);
  content: "";
}

.hero-console::after {
  position: absolute;
  right: -40px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(213, 255, 114, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(213, 255, 114, .035), 0 0 0 76px rgba(213, 255, 114, .02);
  content: "";
}

.console-top,
.console-body,
.console-foot {
  position: relative;
  z-index: 1;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #9cadc8;
  font: 10px var(--mono);
}

.console-dots {
  display: flex;
  gap: 5px;
}

.console-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6f91;
}

.console-dots i:nth-child(2) { background: #ffbf69; }
.console-dots i:nth-child(3) { background: #6be6c0; }
.console-label { margin-left: auto; }
.console-live {
  color: var(--lime);
  font-weight: 700;
  letter-spacing: .12em;
}

.console-body {
  padding: 32px 28px 36px;
}

.console-line {
  display: grid;
  grid-template-columns: 30px 82px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font: 11px var(--mono);
}

.console-no { color: #63718a; }
.console-key { color: #7ce3cf; }
.console-value {
  overflow-wrap: anywhere;
  color: #edf4ff;
}

.console-divider {
  height: 1px;
  margin: 26px 0 24px;
  background: rgba(255, 255, 255, .1);
}

.console-status {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
}

.status-orb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(36, 199, 183, .1);
}

.console-status strong {
  margin-left: auto;
  color: var(--lime);
  font: 11px var(--mono);
}

.console-foot {
  display: flex;
  justify-content: space-between;
  padding: 13px 20px;
  background: rgba(5, 11, 21, .62);
  color: #8494ad;
  font: 10px var(--mono);
}

.service-section {
  padding-top: 12px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 396px;
  gap: 46px;
  align-items: start;
}

.service-catalog {
  min-width: 0;
}

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

.section-title-row h2 {
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -.045em;
}

.sub-count {
  display: inline-flex;
  align-items: center;
  height: 21px;
  margin-left: 8px;
  padding: 0 8px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  color: #8b97a9;
  font: 10px var(--mono);
  vertical-align: middle;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding: 16px 0 13px;
  border-bottom: 1px solid var(--line);
}

.filter-tabs,
.order-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar,
.order-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tabs button,
.order-tabs button {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 9px;
  color: #758399;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.filter-tabs button:hover,
.order-tabs button:hover {
  background: #eaf0f8;
  color: var(--ink);
}

.filter-tabs button.active,
.order-tabs button.active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 7px 16px rgba(12, 21, 38, .12);
}

.service-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}

.service-search > span {
  color: #91a0b4;
}

.service-search input {
  width: 100%;
  padding: 4px 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.service-list {
  display: grid;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 17px;
  align-items: center;
  min-width: 0;
  padding: 20px 16px 20px 3px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.service-row:hover {
  background: rgba(237, 242, 248, .8);
  transform: translateX(3px);
}

.service-row.selected {
  margin: 5px 0;
  border-bottom-color: transparent;
  border-radius: 15px;
  background: linear-gradient(90deg, var(--cyan-soft), rgba(233, 250, 247, .34));
}

.service-row.selected::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 99px;
  background: var(--cyan);
  content: "";
}

.service-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid #d8e0eb;
  border-radius: 13px;
  background: #fff;
  color: #52627a;
  font: 700 11px var(--mono);
  box-shadow: 0 6px 14px rgba(38, 58, 110, .04);
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

.service-row.selected .service-icon {
  margin-left: 8px;
  border-color: #abe5da;
  color: #008271;
}

.service-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.service-name:hover {
  color: var(--blue);
}

.service-summary {
  margin-top: 5px;
  color: #7b889c;
  font-size: 12px;
  line-height: 1.65;
}

.service-tail {
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-money {
  color: var(--ink);
  font: 800 21px var(--mono);
  letter-spacing: -.055em;
  white-space: nowrap;
}

.service-money small {
  margin-right: 2px;
  color: #8290a3;
  font: 11px var(--mono);
  letter-spacing: 0;
}

.service-select {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #dbe3ed;
  border-radius: 50%;
  background: #fff;
  color: #92a0b3;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.service-select:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.service-select svg {
  width: 15px;
  height: 15px;
}

.service-row.selected .service-select {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.request-panel {
  position: sticky;
  top: 98px;
  padding: 26px;
  border: 1px solid #dce5ef;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.request-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.request-heading h2 {
  font-size: 23px;
  font-weight: 850;
}

.tiny-square {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(36, 199, 183, .1);
}

.selected-service {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 21px;
  padding: 12px 13px;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: #f7f9fc;
}

.selected-service > span {
  color: var(--blue);
}

.selected-service svg {
  width: 18px;
  height: 18px;
}

.selected-service strong {
  flex: 1;
  color: var(--ink);
  font-size: 12px;
}

.selected-service button {
  color: #8190a5;
  font-size: 11px;
  font-weight: 650;
}

.field {
  margin-bottom: 15px;
}

.field > label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.field > label > span:not(.optional) {
  color: var(--blue);
}

.field .optional {
  margin-left: 2px;
  color: #9ba7b7;
  font-size: 11px;
  font-weight: 400;
}

.field input:not([type=file]),
.field textarea,
.field select,
.stack-form input,
.stack-form textarea,
.stack-form select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dbe3ed;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

.field textarea,
.stack-form textarea {
  min-height: 112px;
  resize: vertical;
}

.upload-field {
  margin-top: 18px;
}

.drop-zone {
  display: flex !important;
  min-height: 122px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px dashed #b8c6d9;
  border-radius: 13px;
  background: #fbfcfe;
  cursor: pointer;
  text-align: center;
}

.drop-zone:hover,
.drop-zone.dragging {
  border-color: var(--blue);
  background: #eff3ff;
}

.drop-zone .upload-icon {
  color: #7185a3;
}

.drop-zone svg {
  width: 22px;
  height: 22px;
}

.drop-zone strong {
  color: #5e6f89;
  font-size: 12px;
  font-weight: 700;
}

.drop-zone small {
  color: #93a0b1;
  font-size: 10px;
}

.drop-zone input[type=file] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-list {
  display: grid;
  gap: 7px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 9px;
  background: #f3f6fa;
  color: var(--ink-soft);
  font-size: 11px;
}

.file-list li > svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.file-list li span:first-of-type {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list li small {
  color: #8492a6;
}

.file-list li button {
  color: #8a98aa;
}

.file-list li button svg {
  width: 14px;
  height: 14px;
}

.form-error {
  margin: 10px 0;
  color: var(--danger);
  font-size: 11px;
  font-weight: 650;
}

.form-hint,
.form-footnote,
.small-text,
.muted-copy {
  color: #7a889d;
  font-size: 11px;
  line-height: 1.7;
}

.form-footnote {
  margin-top: 14px;
}

.request-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: #8492a6;
  font-size: 11px;
}

.request-price strong {
  color: var(--ink);
  font: 800 22px var(--mono);
}

.request-price strong span {
  margin-left: 3px;
  color: #8c99aa;
  font: 10px var(--mono);
}

.submit-request {
  width: 100%;
  margin-top: 2px;
}

.mobile-request {
  display: none;
}

.cases-section,
.faq-section {
  margin-top: 42px;
  padding-top: 68px;
  border-top: 1px solid var(--line);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-top: 22px;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 37, 65, .035);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.case-card:hover {
  border-color: #cbd7e7;
  box-shadow: 0 20px 42px rgba(24, 37, 65, .1);
  transform: translateY(-4px);
}

.case-art {
  position: relative;
  display: block;
  width: 100%;
  height: 190px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, #132039, #274b70);
  color: #eef6ff;
  text-align: left;
}

.case-art::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 18%, rgba(63, 91, 246, .55), transparent 38%),
    linear-gradient(145deg, #101a2f, #24496d);
  content: "";
}

.case-art::after {
  position: absolute;
  right: 18px;
  bottom: -22px;
  z-index: -1;
  color: rgba(213, 255, 114, .2);
  font: 105px var(--mono);
  content: "{ }";
}

.case-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(4, 10, 22, .28);
  font: 9px var(--mono);
}

.case-browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff718f;
}

.case-browser-bar i:nth-child(2) { background: #ffc264; }
.case-browser-bar i:nth-child(3) { background: #67e3be; }

.case-browser-bar span {
  margin-left: 6px;
  color: #9fb4cf;
}

.overflow-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 156px;
  padding: 15px 18px;
}

.mini-phone {
  display: grid;
  width: 94px;
  height: 112px;
  align-content: start;
  gap: 5px;
  padding: 12px 9px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
}

.mini-phone.broken {
  width: 132px;
  margin-left: -18px;
}

.mini-title,
.mini-field {
  height: 6px;
  border-radius: 99px;
  background: #cfd8e6;
}

.mini-title {
  width: 55%;
  background: #6e8099;
}

.mini-field.long { width: 126px; }

.mini-submit {
  width: 38px;
  height: 10px;
  border-radius: 4px;
  background: var(--blue);
}

.mini-label {
  margin-top: 1px;
  color: #6d7c92;
  font: 8px var(--mono);
}

.art-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--lime);
}

.art-arrow svg {
  width: 15px;
  height: 15px;
}

.duplicate-art {
  display: grid;
  align-content: center;
  gap: 8px;
  height: 156px;
  padding: 20px 22px;
}

.mini-order-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c4d3e7;
  font-size: 9px;
}

.mini-order-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.mini-order {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .09);
  font: 9px var(--mono);
}

.mini-order span:first-child { color: #9fb4cc; }
.mini-order span:nth-child(2) { flex: 1; }
.mini-order.duplicated {
  border-color: rgba(255, 113, 143, .42);
  background: rgba(255, 113, 143, .1);
}

.mini-order em {
  color: #ffb4c1;
  font-style: normal;
}

.query-art {
  display: grid;
  align-content: center;
  height: 156px;
  padding: 18px 20px;
}

.query-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
  color: #a9bad0;
  font-size: 8px;
}

.query-comparison {
  display: flex;
  align-items: center;
  gap: 9px;
}

.query-block {
  flex: 1;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
}

.query-block.correct {
  border-color: rgba(213, 255, 114, .38);
  background: rgba(213, 255, 114, .08);
}

.query-block small {
  display: block;
  color: #9eb1ca;
  font-size: 7px;
}

.query-block strong {
  color: #fff;
  font: 18px var(--mono);
}

.query-block.correct strong {
  color: var(--lime);
}

.query-result {
  margin-top: 10px;
  color: #a6b8cf;
  font: 8px var(--mono);
}

.case-caption {
  padding: 18px 19px 19px;
}

.case-caption > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
}

.case-caption h3 {
  margin-top: 7px;
  color: var(--ink);
  font-size: 16px;
}

.case-caption p {
  margin-top: 6px;
  color: #7b889d;
  font-size: 12px;
}

.case-caption a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
}

.case-caption a svg {
  width: 14px;
  height: 14px;
}

.faq-section > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.faq-section h2 {
  font-size: 27px;
  font-weight: 850;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 38px;
}

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary span {
  color: #92a0b1;
  transition: transform .18s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list p {
  margin-top: 9px;
  color: #7c899e;
  font-size: 12px;
}

.site-footer {
  margin-top: 76px;
  background: var(--navy);
  color: #dbe5f5;
}

.footer-inner {
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 22px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 850;
}

.footer-description,
.footer-links {
  color: #96a7c0;
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.footer-links button {
  color: inherit;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--lime);
}

.back-top {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-left: 8px;
  border: 1px solid #415171;
  border-radius: 9px;
  color: #b8c7df;
}

.back-top svg {
  width: 15px;
  height: 15px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 90;
  max-width: min(520px, calc(100% - 32px));
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 16px 38px rgba(12, 21, 38, .25);
  font-size: 12px;
  transform: translateX(-50%);
  animation: toast-in .2s ease-out;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
}

.secondary-view {
  padding-top: 55px;
  padding-bottom: 88px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 27px;
  color: #8492a6;
  font-size: 11px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  color: #a3afc0;
}

.secondary-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.secondary-heading h1 {
  margin: 7px 0 8px;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 900;
  letter-spacing: -.055em;
}

.secondary-heading p {
  color: #758298;
  font-size: 12px;
}

.ticket-heading {
  align-items: center;
}

.heading-actions,
.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.order-tabs {
  margin-bottom: 22px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .72);
}

.order-tabs button span {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font: 9px var(--mono);
}

.order-card {
  overflow: hidden;
  margin-bottom: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 37, 65, .04);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.order-card:hover {
  border-color: #c9d5e5;
  box-shadow: var(--shadow-sm);
}

.order-card-head {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 11px 17px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  color: #7e8b9f;
  font-size: 10px;
}

.order-card-head .mono {
  color: var(--ink);
  font-weight: 750;
}

.order-card-body {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.order-card-copy {
  min-width: 0;
}

.order-card-copy h3 {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-card-copy p {
  margin-top: 4px;
  color: #7b899d;
  font-size: 11px;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf1f6;
  color: #59677b;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.status-pending { background: #eef2ff; color: #3e54c6; }
.status-quoted { background: #fff3e2; color: #a85d00; }
.status-working { background: #e9f7f1; color: #147553; }
.status-review { background: #f3edff; color: #6942a6; }
.status-done { background: #e5f8ef; color: #146c4e; }
.status-closed { background: #eef1f4; color: #697589; }
.status.blue { background: var(--blue-soft); color: var(--blue); }

.empty-state,
.auth-empty {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px 22px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, .72);
  text-align: center;
}

.empty-state h2,
.auth-empty h2 {
  margin: 13px 0 8px;
  font-size: 22px;
}

.empty-state p,
.auth-empty p {
  max-width: 480px;
  margin-bottom: 20px;
  color: #758298;
  font-size: 12px;
}

.empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 17px;
  background: var(--blue-soft);
  color: var(--blue);
}

.empty-icon svg {
  width: 27px;
  height: 27px;
}

.empty-search {
  padding: 42px 20px;
  border-bottom: 1px solid var(--line);
  color: #748198;
  text-align: center;
}

.empty-search strong {
  color: var(--ink);
  font-size: 15px;
}

.empty-search p {
  margin-top: 5px;
  font-size: 11px;
}

.ticket-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--line);
}

.ticket-summary > div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px 18px;
  background: #fff;
}

.ticket-summary span:first-child {
  color: #8592a6;
  font-size: 10px;
}

.ticket-summary strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.delivery-main,
.delivery-side {
  min-width: 0;
}

.delivery-main {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.delivery-side {
  display: grid;
  gap: 14px;
}

.scope-block {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  background: #fbfcfe;
}

.scope-block:last-child {
  margin-bottom: 0;
}

.scope-block h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
}

.scope-block p,
.scope-block li,
.draft-details {
  color: #66748b;
  font-size: 12px;
  line-height: 1.8;
}

.scope-block ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-block ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scope-block ul li svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.scope-block ul li small {
  margin-left: auto;
  color: #8693a6;
}

.draft-details {
  padding: 14px 15px;
  border-radius: 11px;
  background: #fff;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.thread {
  display: grid;
  gap: 12px;
}

.message {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border-radius: 12px;
  background: #f4f7fb;
}

.avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
}

.avatar.customer {
  background: var(--blue-soft);
  color: var(--blue);
}

.message-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8390a4;
  font-size: 10px;
}

.message-head strong {
  color: var(--ink);
}

.message-body {
  margin-top: 5px;
  color: #55647a;
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.reply-form {
  margin-top: 18px;
}

.reply-form label {
  display: block;
  margin-bottom: 7px;
}

.reply-form textarea {
  width: 100%;
  min-height: 105px;
  padding: 12px;
  border: 1px solid #dbe3ed;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.reply-actions small {
  color: #8a97a9;
  font-size: 10px;
}

.side-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 37, 65, .04);
}

.side-box h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
}

.side-box p {
  color: #748198;
  font-size: 11px;
  line-height: 1.75;
}

.side-box .button {
  width: 100%;
  margin-top: 14px;
}

.share-button.text-button {
  margin-top: 11px;
}

.detail-dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  margin: 0;
  color: #758298;
  font-size: 11px;
}

.detail-dl dt {
  min-width: 0;
}

.detail-dl dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}

.aside-price {
  color: var(--blue) !important;
  font: 800 17px var(--mono) !important;
}

.share-box {
  overflow-wrap: anywhere;
  padding: 10px 11px;
  border: 1px dashed #b9c7d9;
  border-radius: 10px;
  background: #f9fbfd;
  color: #627289;
  font: 10px/1.6 var(--mono);
}

.mono {
  font-family: var(--mono);
  font-size: .92em;
}

.ticket-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-soft), var(--cyan-soft));
}

.banner-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
}

.banner-icon svg {
  width: 20px;
  height: 20px;
}

.ticket-banner > div {
  flex: 1;
}

.ticket-banner h2 {
  font-size: 16px;
}

.ticket-banner p {
  margin-top: 3px;
  color: #728098;
  font-size: 10px;
}

.ticket-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.ticket-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #8c98aa;
  font-size: 9px;
  text-align: center;
}

.ticket-timeline li:not(:last-child)::after {
  position: absolute;
  top: 10px;
  left: calc(50% + 14px);
  width: calc(100% - 28px);
  height: 1px;
  background: #dbe3ed;
  content: "";
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid #d5deea;
  border-radius: 50%;
  background: #fff;
  font: 9px var(--mono);
}

.ticket-timeline .done {
  color: var(--success);
}

.ticket-timeline .done .timeline-marker {
  border-color: #bce6d8;
  background: #e9f8f2;
}

.ticket-timeline .current {
  color: var(--blue);
  font-weight: 700;
}

.ticket-timeline .current .timeline-marker {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.ticket-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 17px;
  padding: 5px;
  border-radius: 11px;
  background: #f2f5f9;
}

.ticket-tabs button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  color: #748198;
  font-size: 11px;
  font-weight: 700;
}

.ticket-tabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(24, 37, 65, .08);
}

.delivery-panel h3 {
  margin: 22px 0 10px;
  font-size: 15px;
}

.delivery-panel h3:first-child {
  margin-top: 0;
}

.file-change {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.file-change > svg {
  width: 17px;
  height: 17px;
  color: var(--blue);
}

.change-desc {
  color: #8492a6;
  font-size: 10px;
}

.diff-block {
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  background: #0d1728;
  color: #d8e3f2;
}

.diff-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #93a7c0;
  font: 9px var(--mono);
}

.diff-block pre {
  display: grid;
  max-width: 100%;
  margin: 0;
  padding: 13px;
  overflow: auto;
  font: 10px/1.75 var(--mono);
}

.diff-line {
  white-space: pre;
}

.diff-line.removed {
  color: #ff9caa;
  background: rgba(255, 99, 126, .08);
}

.diff-line.added {
  color: #8ce4c8;
  background: rgba(60, 200, 156, .08);
}

.verification-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.verification-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #65738a;
  font-size: 11px;
}

.verification-list svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--success);
}

.version-file {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fbfd;
}

.version-file > span {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
}

.version-file > span svg {
  width: 19px;
  height: 19px;
}

.version-file > div {
  flex: 1;
  min-width: 0;
}

.version-file h4 {
  font-size: 13px;
}

.version-file p {
  margin-top: 3px;
  color: #7d899c;
  font-size: 10px;
}

.detail-bottom {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: #f8fafc;
  color: #748198;
  font-size: 11px;
}

.detail-bottom strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
}

.service-detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}

.service-detail-columns h3 {
  margin-bottom: 10px;
  font-size: 14px;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 16px;
  color: #65738a;
  font-size: 11px;
}

.detail-list li::before {
  position: absolute;
  top: .66em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.dialog-kicker {
  margin-bottom: 10px;
  color: var(--blue);
  font: 9px var(--mono);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-heading h2 {
  font-size: 25px;
}

.dialog-heading p {
  max-width: 510px;
  margin-top: 7px;
  color: #748198;
  font-size: 12px;
}

.dialog-price {
  flex: 0 0 auto;
  color: var(--blue);
  font: 800 26px var(--mono);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dialog-content-copy h3 {
  margin: 20px 0 7px;
  font-size: 14px;
}

.dialog-content-copy p {
  color: #67758b;
  font-size: 12px;
}

.case-live-frame {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: #f8fafc;
}

.live-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #dfe6ef;
  color: #748198;
  font-size: 10px;
}

.segmented {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border-radius: 8px;
  background: #e9eef5;
}

.segmented button {
  padding: 5px 9px;
  border-radius: 6px;
  color: #758399;
  font-size: 9px;
}

.segmented button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 7px rgba(24, 37, 65, .08);
}

.live-stage {
  min-height: 250px;
  background: #fff;
}

.live-stage iframe {
  display: block;
  width: 100%;
  height: 270px;
  border: 0;
}

.case-test-ui {
  padding: 24px;
}

.test-result {
  margin-top: 17px;
  padding: 13px;
  border-radius: 10px;
  background: #f3f6fa;
  color: #637188;
  font-size: 11px;
}

.test-result strong {
  color: var(--blue);
  font: 800 24px var(--mono);
}

.case-explanation {
  margin-top: 16px;
  color: #67758b;
  font-size: 12px;
}

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

.sample-table th,
.sample-table td {
  padding: 9px;
  border-bottom: 1px solid #e4e9f1;
  text-align: left;
}

.sample-table th {
  color: #77849a;
  font-weight: 700;
  background: #f7f9fc;
}

.query-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 13px;
  border-radius: 10px;
  background: #eef2ff;
  color: #65738a;
  font-size: 11px;
}

.query-total strong {
  color: var(--blue);
  font: 800 21px var(--mono);
}

.payment-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 15px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: #68768c;
  font-size: 12px;
}

.payment-summary strong {
  color: var(--blue);
  font: 800 25px var(--mono);
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.payment-methods button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: #69778c;
  font-size: 12px;
  font-weight: 700;
}

.payment-methods button.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63, 91, 246, .08);
  color: var(--ink);
}

.payment-dot {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  background: #22b93b;
  color: #fff;
  font-size: 10px;
}

.payment-dot.alipay {
  background: #1677ff;
}

.login-tabs {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 14px;
  padding: 3px;
  border-radius: 9px;
  background: #eef2f7;
}

.login-tabs button {
  padding: 6px 13px;
  border-radius: 7px;
  color: #78869b;
  font-size: 11px;
  font-weight: 700;
}

.login-tabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 7px rgba(24, 37, 65, .08);
}

.login-form > .button[type=submit] {
  width: 100%;
  margin-top: 3px;
}

.account-summary {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0 23px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.account-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--lime);
  font: 800 18px var(--mono);
}

.account-summary h2 {
  font-size: 18px;
}

.account-summary p {
  margin-top: 3px;
  color: #738096;
  font-size: 11px;
}

.account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.modal {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.modal::backdrop {
  background: rgba(10, 18, 33, .56);
  backdrop-filter: blur(7px);
}

.modal-inner {
  position: relative;
  width: min(680px, calc(100vw - 30px));
  max-height: calc(100vh - 38px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(219, 228, 240, .8);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.modal.wide .modal-inner {
  width: min(940px, calc(100vw - 30px));
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.modal #dialog-title {
  padding-right: 30px;
}

.review-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  font-size: 12px;
}

.review-grid dt { color: #8592a5; }
.review-grid dd { margin: 0; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(36, 58, 94, .04);
}

.tabs {
  display: flex;
  gap: 22px;
  margin: 18px 0;
  border-bottom: 1px solid var(--line);
}

.tab {
  padding: 0 0 11px;
  border-bottom: 2px solid transparent;
  color: #8290a4;
}

.tab.active {
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 700;
}

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

.detail-block h3 {
  margin-bottom: 9px;
  font-size: 14px;
}

.detail-block p,
.detail-block li {
  color: #718096;
  font-size: 12px;
}

.delivery-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.delivery-item small {
  display: block;
  color: #8b98a9;
  font-size: 10px;
}

.quote-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px;
  border: 1px solid #dbe5ef;
  border-radius: 15px;
  background: linear-gradient(135deg, #eef2ff, #e8faf4);
}

.quote-box strong {
  color: var(--blue);
  font: 800 29px var(--mono);
}

@media (max-width: 1040px) {
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: 0;
  }

  .hero-console {
    width: 100%;
    max-width: 720px;
    justify-self: center;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .request-panel {
    position: static;
  }

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

  .delivery-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 800px) {
  html {
    scroll-padding-top: 116px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .site-header {
    height: auto;
    min-height: 70px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 12px 0 9px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    height: 34px;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
  }

  .main-nav a {
    height: 34px;
  }

  .header-actions {
    gap: 9px;
  }

  .orders-link {
    font-size: 0;
  }

  .orders-link svg {
    width: 18px;
    height: 18px;
  }

  .orders-link .count-badge {
    font-size: 10px;
  }

  .login-link {
    display: inline-flex;
    max-width: 60px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-submit {
    padding: 7px 10px;
    font-size: 10px;
  }

  .header-submit [data-icon] {
    display: none;
  }

  .hero-intro {
    padding-top: 44px;
    padding-bottom: 54px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 11vw, 62px);
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-console {
    transform: none;
  }

  .service-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 17px 7px;
  }

  .service-tail {
    grid-column: 2;
    justify-content: space-between;
  }

  .service-row.selected .service-icon {
    margin-left: 0;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .secondary-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ticket-summary {
    grid-template-columns: 1fr 1fr;
  }

  .order-card-body {
    grid-template-columns: 43px minmax(0, 1fr);
  }

  .order-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .delivery-side {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-wrap: wrap;
    padding: 23px 0 84px;
  }

  .footer-links {
    width: 100%;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .mobile-request {
    position: fixed;
    right: 15px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 15px;
    z-index: 45;
    display: flex;
    min-height: 51px;
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(12, 21, 38, .28);
    transition: opacity .2s ease, transform .2s ease;
  }

  .mobile-request.is-away {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 26px));
  }

  .mobile-request .mobile-price {
    margin-left: auto;
    color: var(--lime);
    font: 11px var(--mono);
  }

  .toast {
    bottom: 82px;
  }

  .modal-inner {
    max-height: calc(100vh - 24px);
    padding: 23px 19px;
    border-radius: 17px;
  }

  .service-detail-columns {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .dialog-heading {
    flex-direction: column;
    gap: 9px;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions .button {
    width: 100%;
  }

  .case-test-ui {
    padding: 16px;
  }

  .account-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-submit {
    display: none;
  }

  .login-link {
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-kicker {
    font-size: 9px;
  }

  .hero-copy h1 {
    margin-top: 17px;
    font-size: 43px;
    line-height: 1.12;
    letter-spacing: -.06em;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-text-link {
    justify-content: center;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .console-body {
    padding: 21px 15px 24px;
  }

  .console-line {
    grid-template-columns: 22px 58px minmax(0, 1fr);
    gap: 7px;
    font-size: 9px;
  }

  .console-top,
  .console-foot {
    padding: 11px 13px;
  }

  .console-foot {
    font-size: 8px;
  }

  .section-title-row h2,
  .faq-section h2 {
    font-size: 23px;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-tabs {
    width: 100%;
  }

  .service-name {
    font-size: 15px;
  }

  .request-panel {
    padding: 19px;
    border-radius: 17px;
  }

  .drop-zone {
    min-height: 105px;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-section > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .secondary-view {
    padding-top: 34px;
  }

  .secondary-heading h1 {
    font-size: 31px;
  }

  .heading-actions {
    width: 100%;
  }

  .heading-actions .button {
    flex: 1;
  }

  .order-card-head {
    grid-template-columns: 1fr auto;
    gap: 5px 10px;
  }

  .order-card-head > span:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .order-card-head > .status {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .order-card-body {
    align-items: start;
    padding: 15px;
  }

  .order-actions .button {
    width: 100%;
  }

  .ticket-summary {
    grid-template-columns: 1fr;
  }

  .delivery-main {
    padding: 16px;
  }

  .scope-block {
    padding: 15px;
  }

  .reply-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reply-actions .button {
    width: 100%;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .ticket-timeline li {
    font-size: 8px;
  }

  .version-file {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .version-file .button {
    width: 100%;
  }

  .live-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

  .case-art {
    height: 180px;
  }

  .overflow-art {
    height: 146px;
    gap: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .service-row:hover,
  .case-card:hover,
  .button:hover {
    transform: none;
  }
}
