@font-face {
  font-family: "Meflow Serif";
  src: url("/assets/heading.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #172c3e;
  --muted: #536771;
  --paper: #f8faf7;
  --white: #fff;
  --line: #dce7df;
  --mint: #b6efdb;
  --green: #21684f;
  --navy: #142b3e;
  --body-font: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --title-font: "Meflow Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid #167656; outline-offset: 5px; }
[id] { scroll-margin-top: 30px; }

.wrap { width: min(calc(100% - 64px), 1184px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 25px; font-weight: 750; letter-spacing: -.055em; }
.brand img { border-radius: 10px; }
.main-nav { display: flex; gap: 33px; margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 600; }
.main-nav a:hover, .text-link:hover, .footer-inner a:hover { color: var(--green); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color .18s, border-color .18s, transform .18s;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 43px; padding-inline: 15px; border-color: #cbdad0; background: #f0f6ef; }
.button-small:hover { background: #e3f1e8; border-color: #a9c8b5; }
.button-primary { min-height: 58px; padding-inline: 22px; background: var(--navy); color: #f6fffb; }
.button-primary:hover { background: #214c4a; }
.button-primary .download-icon { color: var(--mint); }
.download-icon { position: relative; display: inline-block; width: 15px; height: 16px; border-bottom: 1.7px solid currentColor; }
.download-icon::before { content: ""; position: absolute; top: 0; left: 7px; height: 10px; border-left: 1.7px solid currentColor; }
.download-icon::after { content: ""; position: absolute; top: 4px; left: 4px; width: 7px; height: 7px; border-right: 1.7px solid; border-bottom: 1.7px solid; transform: rotate(45deg); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 650; }
.text-link span, .footer-inner a span { font-size: 16px; color: var(--green); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 46px;
  padding-block: 72px 83px;
}
.hero-copy { padding-block: 18px; }
.platform { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; background: #e9f4eb; border: 1px solid #d6e8dc; border-radius: 7px; color: #355c4a; font-size: 13px; font-weight: 650; }
.platform-dot { width: 7px; height: 7px; border-radius: 50%; background: #358c6d; }
h1, .section-intro h2, .privacy h2 { font-family: var(--title-font); font-weight: 720; }
h1 { margin-top: 23px; font-size: clamp(45px, 4.8vw, 70px); line-height: 1.13; letter-spacing: -.065em; }
h1 > span { display: block; margin-top: 4px; color: var(--green); }
.hero-description { max-width: 390px; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero-actions { margin-top: 29px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.version-note { margin-top: 15px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.version-note span { margin-inline: 3px; }

.hero-visual {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 57px 27px 42px;
  min-height: 468px;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #d1e4db;
  border-radius: 29px;
  background: #dfefe7;
  background-image: linear-gradient(145deg, #edf8ef 10%, #cfe8de 85%);
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#52796b19 1px, transparent 1px), linear-gradient(90deg, #52796b19 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(144deg, #000 10%, #0008 65%, transparent 98%);
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid #5b968755;
  border-radius: 50%;
  bottom: -42%;
  right: -25%;
  box-shadow: 0 0 0 39px #fff3, 0 0 0 40px #5b968735, 0 0 0 80px #fff3, 0 0 0 81px #5b968724;
}
.hero-visual figcaption { position: relative; justify-self: end; margin-top: 15px; color: #476458; font-size: 11px; }
.workspace {
  min-width: 0;
  border: 1px solid #bacacf;
  border-radius: 15px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 44px #25424b20, 0 3px 10px #25424b18;
  font-size: 11px;
}
.workspace-titlebar { display: flex; min-height: 43px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e6ebec; padding-inline: 13px; background: #fbfcfc; }
.window-brand { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.window-brand img { border-radius: 5px; }
.window-controls { display: flex; align-items: center; gap: 13px; color: #778790; }
.window-controls i { display: block; width: 9px; height: 8px; }
.window-controls i:nth-child(1) { border-bottom: 1px solid; width: 8px; }
.window-controls i:nth-child(2) { border: 1px solid; }
.window-controls i:nth-child(3) { background: linear-gradient(45deg, transparent 45%, currentColor 48% 54%, transparent 57%), linear-gradient(-45deg, transparent 45%, currentColor 48% 54%, transparent 57%); }
.workspace-body { display: grid; grid-template-columns: 43px minmax(0, .85fr) minmax(0, 1.45fr); min-height: 304px; }
.workspace-rail { display: flex; flex-direction: column; align-items: center; gap: 9px; padding-top: 16px; background: #173044; color: #b6d3d4; }
.rail-item { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 7px; }
.rail-item.active { background: #31525a; color: #aaf1d6; }
.workspace-sessions { min-width: 0; padding: 15px 9px; border-right: 1px solid #e5ebeb; background: #f5f8f8; }
.session-heading { margin: 0 4px 10px; font-size: 14px; font-weight: 750; }
.search-field { display: flex; align-items: center; gap: 7px; overflow: hidden; margin: 0 3px 11px; padding: 7px; border: 1px solid #e0e7e7; border-radius: 6px; background: #fff; color: #5e7379; white-space: nowrap; }
.mini-search { position: relative; display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; }
.mini-search::after { position: absolute; content: ""; top: 6px; left: 6px; width: 4px; border-top: 1px solid; transform: rotate(45deg); transform-origin: left; }
.session { display: flex; align-items: center; gap: 7px; padding: 8px 5px; border-radius: 7px; }
.session.active { background: #dfefea; }
.session > span:last-child, .file-text { min-width: 0; }
.session b, .session small, .file-text b, .file-text small, .chat-heading b, .chat-heading small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session small, .file-text small, .chat-heading small { margin-top: 2px; color: #576c75; font-size: 9px; }
.avatar { display: grid; flex: 0 0 auto; width: 26px; height: 26px; place-items: center; border-radius: 7px; color: #295c4a; font-weight: 750; }
.avatar-mint { background: #c7ebd9; }
.avatar-blue { background: #dae6f6; color: #395877; }
.avatar-sand { background: #f2e5d7; color: #6c4f37; }
.avatar-lilac { background: #ece5f3; color: #625074; }
.workspace-chat { min-width: 0; }
.chat-heading { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-bottom: 1px solid #edf0f0; }
.chat-heading b { font-size: 13px; }
.chat-content { display: grid; align-content: start; justify-items: start; gap: 12px; padding: 13px 15px; }
.chat-date { justify-self: center; color: #687a82; font-size: 9px; }
.chat-bubble { max-width: 90%; padding: 9px 10px; border-radius: 3px 9px 9px; background: #edf2f3; }
.chat-reply { justify-self: end; border-radius: 9px 3px 9px 9px; background: #dff4e9; }
.chat-file { display: flex; align-items: center; gap: 8px; width: min(100%, 185px); padding: 8px; border: 1px solid #dfe8e6; border-radius: 8px; background: #fbfdfc; }
.file-icon { display: grid; flex: 0 0 29px; height: 32px; place-items: center; border-radius: 5px; background: #f7e5df; color: #903b36; font-size: 8px; font-weight: 750; }
.chat-footnote { display: flex; align-items: center; gap: 6px; color: #416b59; font-size: 9px; }
.chat-footnote > span { height: 5px; width: 5px; border-radius: 50%; background: #53a080; }

.mini-chat, .mini-folder, .mini-chart { position: relative; display: inline-block; width: 16px; height: 14px; }
.mini-chat { border: 1.5px solid currentColor; border-radius: 4px; }
.mini-chat::after { content: ""; position: absolute; left: 3px; bottom: -4px; height: 6px; border-left: 1.5px solid; transform: rotate(32deg); }
.mini-folder { height: 11px; border: 1.5px solid; border-radius: 2px; }
.mini-folder::before { content: ""; position: absolute; top: -5px; left: -1.5px; width: 8px; height: 5px; border: 1.5px solid; border-bottom: 0; border-radius: 2px 3px 0 0; }
.mini-chart { border-left: 1.5px solid; border-bottom: 1.5px solid; border-radius: 0 0 0 2px; }
.mini-chart::after { content: ""; position: absolute; bottom: 2px; left: 3px; width: 2px; height: 4px; background: currentColor; box-shadow: 4px 0 currentColor, 4px -3px currentColor, 8px 0 currentColor, 8px -3px currentColor, 8px -6px currentColor; }

.section { margin-bottom: 68px; }
.features { padding-top: 48px; border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1fr .65fr; gap: 30px; align-items: end; margin-bottom: 28px; }
.section-intro h2, .privacy h2 { font-size: clamp(35px, 4vw, 54px); line-height: 1.16; letter-spacing: -.05em; }
.section-intro p, .privacy p { max-width: 350px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.section-intro p { padding-bottom: 4px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { padding: 26px 25px 29px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.feature-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 10px; }
.feature-icon-mint { background: #dff3e8; color: #21684f; }
.feature-icon-sand { background: #f4e9da; color: #765232; }
.feature-icon-blue { background: #e3edf6; color: #285981; }
.feature-icon > span { transform: scale(1.17); }
.feature-card h3 { margin-top: 20px; font-size: 20px; font-weight: 750; letter-spacing: -.035em; }
.feature-card p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.privacy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr minmax(0, .78fr);
  align-items: center;
  gap: 40px;
  padding: 49px 56px;
  border-radius: 25px;
  background: var(--navy);
  color: #f7fbf9;
}
.privacy::before { content: ""; position: absolute; z-index: -1; height: 390px; width: 390px; right: -112px; top: -157px; border: 1px solid #8aceb45e; border-radius: 50%; box-shadow: 0 0 0 37px #b4f0d708, 0 0 0 38px #8aceb42c, 0 0 0 77px #b4f0d708, 0 0 0 78px #8aceb421; }
.privacy p { margin-top: 17px; color: #c0d3d5; }
.privacy-list { display: grid; gap: 11px; }
.privacy-list > div { padding: 16px 18px; border: 1px solid #41606a; border-radius: 12px; background: #284557; }
.privacy-list dt { color: #b1eed6; font-size: 14px; font-weight: 700; }
.privacy-list dd { margin-top: 5px; color: #e1eff0; font-size: 13px; line-height: 1.6; }

.download { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 42px; }
.download-info, .download-actions { display: flex; align-items: center; gap: 17px; }
.download-info img { border-radius: 14px; }
.download h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 750; letter-spacing: -.06em; }
.download p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner a { display: inline-flex; gap: 7px; align-items: center; }

@media (max-width: 1050px) {
  .hero { gap: 26px; }
  .hero-visual { padding-inline: 16px; min-height: 420px; }
  .workspace-body { grid-template-columns: 36px minmax(0, .76fr) minmax(0, 1.24fr); }
  .hero-actions { gap: 14px; }
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 31px; padding-block: 48px 62px; }
  .hero-copy { padding-block: 0; }
  .hero-visual { padding: 40px 30px 29px; min-height: unset; }
  .workspace-body { grid-template-columns: 40px minmax(0, .8fr) minmax(0, 1.2fr); }
  h1 { font-size: clamp(45px, 8.4vw, 63px); }
  .hero-description { max-width: 470px; }
  .privacy { padding: 39px 31px; gap: 22px; }
  .feature-card { padding: 21px 18px 23px; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; justify-content: space-between; gap: 10px; }
  .brand { font-size: 23px; gap: 8px; }
  .brand img { width: 33px; height: 33px; }
  .main-nav { display: none; }
  .button-small { min-height: 39px; padding-inline: 10px; font-size: 13px; }
  .hero { gap: 24px; padding-block: 35px 47px; }
  .hero-description { font-size: 15px; }
  .hero-actions { margin-top: 23px; gap: 16px; }
  .button-primary { min-height: 53px; padding-inline: 15px; }
  .hero-visual { border-radius: 19px; padding: 24px 12px 16px; }
  .workspace { border-radius: 10px; font-size: 10px; }
  .workspace-titlebar { min-height: 35px; }
  .workspace-body { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); min-height: 243px; }
  .workspace-rail { display: none; }
  .workspace-sessions { padding: 11px 5px; }
  .chat-heading, .chat-content { padding-inline: 8px; }
  .chat-content { gap: 9px; }
  .chat-bubble { padding: 6px; max-width: 100%; }
  .chat-heading .avatar { width: 23px; height: 23px; }
  .hero-visual figcaption { margin-top: 9px; }
  .section { margin-bottom: 44px; }
  .features { padding-top: 34px; }
  .section-intro { grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
  .feature-grid { grid-template-columns: 1fr; gap: 11px; }
  .feature-card { padding: 20px; }
  .feature-card h3 { margin-top: 12px; }
  .privacy { grid-template-columns: 1fr; padding: 28px 21px; border-radius: 19px; }
  .privacy-list > div { padding: 13px 14px; }
  .download { align-items: flex-start; flex-direction: column; gap: 17px; }
  .download-info { gap: 12px; }
  .download-info img { width: 48px; height: 48px; }
  .download-actions { flex-wrap: wrap; gap: 15px; }
  .footer-inner { min-height: 57px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
