@font-face{font-family:'Geologica';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/geologica-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Geologica';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/geologica-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Geologica';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/geologica-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geologica';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/geologica-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ---------- Drimzo site ---------- */
:root {
  --bg: #1C1C1E;
  --bg2: #232326;
  --surface: #2C2C2E;
  --line: rgba(255, 255, 255, .09);
  --text: #F5F5F7;
  --dim: #A1A1A6;
  --blue: #1491FF;
  --violet: #845AF5;
  --red: #FF453A;
  --head: 'Geologica', 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --body: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--head); margin: 0; }
p { margin: 0; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 60px; padding: 0 max(20px, calc((100% - 1128px) / 2));
  background: rgba(28, 28, 30, .78); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 var(--head); letter-spacing: -.01em; }
.logo { width: 28px; height: 28px; }
.top nav { display: flex; gap: 24px; margin-right: auto; }
.top nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--text); }

.langs { position: relative; }
.langs summary {
  display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none;
  color: var(--dim); font-size: 15px; padding: 6px 8px; border-radius: 8px;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: var(--text); background: rgba(255, 255, 255, .06); }
.langs summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.langs ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.langs a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.langs a:hover { background: rgba(255, 255, 255, .07); }
.langs a[aria-current] { color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  background: #fff; color: #1C1C1E; text-decoration: none;
  font: 600 16px/1 var(--body); white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #E8E8ED; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn.ghost { background: rgba(255, 255, 255, .12); color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, .18); }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }

/* ---------- hero: the page is a capture in progress ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  padding: 88px 16px 64px;
}
.desk {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 18% 20%, rgba(20, 145, 255, .38), transparent 70%),
    radial-gradient(55% 65% at 85% 75%, rgba(132, 90, 245, .36), transparent 70%),
    #26262A;
}
.desk .w {
  position: absolute; border-radius: 12px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: inset 0 28px 0 rgba(255, 255, 255, .04);
}
.desk .w1 { left: 4%; top: 10%; width: 34%; height: 46%; }
.desk .w2 { left: 30%; top: 38%; width: 42%; height: 52%; }
.desk .w3 { right: 5%; top: 6%; width: 28%; height: 36%; }
.desk .w4 { right: 12%; bottom: 8%; width: 22%; height: 30%; }

.cap {
  position: relative; z-index: 1;
  width: min(1040px, 100%);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 76px);
  text-align: center;
}
.sel {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 2px solid #fff;
  box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .64);
  animation: drag .95s cubic-bezier(.2, .75, .15, 1) .2s both;
}
@keyframes drag { from { inset: 0 100% 100% 0; } to { inset: 0; } }
.sel .h { position: absolute; width: 12px; height: 12px; margin: -7px 0 0 -7px; background: #fff; border-radius: 3px; animation: fade .3s ease 1s both; }
.h0 { left: 0; top: 0; } .h1 { left: 50%; top: 0; } .h2 { left: 100%; top: 0; }
.h3 { left: 0; top: 50%; } .h4 { left: 100%; top: 50%; }
.h5 { left: 0; top: 100%; } .h6 { left: 50%; top: 100%; } .h7 { left: 100%; top: 100%; }
.size {
  position: absolute; left: -2px; top: -30px;
  font: 500 13px/1 var(--body); color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums;
}
.cap-body { animation: fade .6s ease .75s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

h1 {
  font-weight: 600; font-size: clamp(38px, 6.2vw, 74px); line-height: 1.04; letter-spacing: -.028em;
  max-width: 15ch; margin: 0 auto; text-wrap: balance;
}
.lead { margin: 24px auto 0; max-width: 58ch; font-size: clamp(17px, 1.6vw, 19px); color: #D1D1D6; text-wrap: pretty; }
.pills { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.meta { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 20px; color: var(--dim); font-size: 14px; }

/* ---------- editor demo ---------- */
.demo { max-width: 1080px; margin: 8px auto 0; padding: 0 20px; }
.win {
  display: grid; grid-template-columns: 60px 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
}
.side { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; border-right: 1px solid var(--line); }
.eb { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }
.eb.on { background: var(--blue); }
.ti { width: 21px; height: 21px; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eb.ok .ti { stroke: #30D158; stroke-width: 2.4; }
.eb.no .ti { stroke: var(--red); stroke-width: 2.2; }
.side .sep { width: 24px; height: 1px; background: var(--line); margin: 6px 0; }
.canvas { padding: 16px; background: var(--bg2); }
.canvas svg { width: 100%; height: auto; border-radius: 8px; }

/* ---------- sections ---------- */
.sec { max-width: 1128px; margin: 0 auto; padding: 120px 24px 0; }
h2 { font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.022em; max-width: 22ch; text-wrap: balance; }
.sub { margin-top: 14px; color: var(--dim); max-width: 60ch; }
h3 { font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; counter-reset: s; }
.steps .num {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%;
  background: var(--red); color: #fff; font: 700 17px/1 var(--head);
}
.steps p { margin-top: 8px; color: var(--dim); }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; margin-top: 48px; }
.tools li { display: flex; gap: 16px; align-items: flex-start; }
.tb { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.tb .ti { width: 22px; height: 22px; }
.tools h3 { font-size: 17px; }
.tools p { margin-top: 4px; color: var(--dim); font-size: 15.5px; line-height: 1.5; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row .txt p { margin-top: 18px; color: var(--dim); max-width: 52ch; }
.row.flip .txt { order: 2; }
.pic { display: grid; place-items: center; min-height: 340px; padding: 32px; border-radius: 22px; background: var(--bg2); border: 1px solid var(--line); }
.art { width: 100%; max-width: 380px; height: auto; }

.tr-card {
  width: min(330px, 100%); padding: 26px 24px; border-radius: 12px; background: #F4F5F7; color: #1C1C1E;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6);
  display: flex; flex-direction: column; gap: 12px;
}
.tr-line.src { font-size: 15px; color: #8E8E93; text-decoration: line-through; text-decoration-color: rgba(142, 142, 147, .7); }
.tr-line.dst { align-self: flex-start; font: 600 21px/1.3 var(--body); padding: 2px 8px; margin-left: -8px; border-radius: 6px; background: rgba(20, 145, 255, .14); }
.tr-bar { display: block; height: 9px; border-radius: 5px; background: #D5D8DD; }
.tr-bar.short { width: 62%; }

.bt-art { width: min(380px, 100%); padding: 38px; border-radius: 18px; background: linear-gradient(135deg, #1491FF, #845AF5 60%, #E25BB5); }
.bt-shot { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 12px; background: #fff; box-shadow: 0 24px 40px -12px rgba(20, 10, 60, .55); }
.bt-shot i { display: block; border-radius: 5px; background: #D5D8DD; height: 9px; }
.bt-shot .bt-head { height: 14px; width: 48%; background: #3A3A3D; }
.bt-shot .w1 { width: 92%; } .bt-shot .w2 { width: 74%; } .bt-shot .w3 { width: 60%; }
.bt-shot .bt-box { height: 64px; border-radius: 8px; background: #E9EBEE; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 36px; }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--dim); }
.specs dd { text-align: right; font-weight: 500; }

.faq { margin-top: 28px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none; font: 500 18px/1.4 var(--body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq details p { padding: 0 0 24px; color: var(--dim); max-width: 68ch; }

.end { padding: 140px 20px 120px; }
.end-frame {
  max-width: 780px; margin: 0 auto; padding: 64px 32px; text-align: center;
  border: 2px solid rgba(255, 255, 255, .85);
  background:
    linear-gradient(#fff 0 0) 0 0 / 12px 12px no-repeat,
    linear-gradient(#fff 0 0) 100% 0 / 12px 12px no-repeat,
    linear-gradient(#fff 0 0) 0 100% / 12px 12px no-repeat,
    linear-gradient(#fff 0 0) 100% 100% / 12px 12px no-repeat;
  background-origin: border-box;
}
.end h2 { margin: 0 auto; }
.end p { margin: 16px 0 30px; color: var(--dim); }

.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px;
  padding: 36px max(24px, calc((100% - 1128px) / 2)); border-top: 1px solid var(--line);
  color: var(--dim); font-size: 14px;
}
.foot .brand { color: var(--text); font-size: 16px; }
.foot .logo { width: 22px; height: 22px; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-langs a { text-decoration: none; }
.foot-langs a:hover, .foot-langs a[aria-current] { color: var(--text); }
.copy { margin-left: auto; }

/* ---------- language suggestion ---------- */
.banner {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); font-size: 15px;
}
.banner[hidden] { display: none; }
.banner a { color: var(--blue); font-weight: 600; text-decoration: none; white-space: nowrap; }
.banner button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--dim); font-size: 18px; cursor: pointer; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.nf-box { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.nf h1 { font-size: 96px; }
.nf p { color: var(--dim); }

/* ---------- Chinese: no negative tracking ---------- */
.l-zh h1, .l-zh h2, .l-zh h3 { letter-spacing: 0; }
.l-zh h1 { max-width: 12em; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .top nav { display: none; }
  .langs { margin-left: auto; }
  .steps, .tools { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 32px; }
  .row.flip .txt { order: 0; }
  .specs { grid-template-columns: 1fr; }
  .sec { padding-top: 88px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top { gap: 12px; padding: 0 16px; }
  .brand span { display: none; }
  .hero { padding: 72px 16px 48px; }
  .pills .btn { width: 100%; }
  .win { grid-template-columns: 1fr; }
  .side { flex-direction: row; justify-content: flex-start; overflow: hidden; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .sep { width: 1px; height: 24px; margin: 0 4px; }
  .canvas { padding: 8px; }
  .demo { padding: 0 16px; }
  .steps, .tools { grid-template-columns: 1fr; gap: 28px; }
  .sec { padding: 72px 16px 0; }
  .pic { min-height: 0; padding: 24px 16px; }
  .end { padding: 96px 16px 80px; }
  .end-frame { padding: 48px 20px; }
  .end .btn { width: 100%; }
  .copy { margin-left: 0; }
  .banner { border-radius: 16px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sel, .sel .h, .cap-body { animation: none; }
  .btn { transition: none; }
}
