:root {
  --accent: #3b82f6;
  --link: #3466a8;
  --ink: #29303b;
  --muted: #767e8b;
  --line: #e5eaf0;
  font: 14px/1.6 Inter, system-ui, "Microsoft YaHei UI", "PingFang SC", sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(calc(100% - 40px), 880px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.header { min-height: 60px; }
.header nav, .footer nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 26px); color: var(--muted); font-size: 13px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 680; }
.brand img { border-radius: 9px; }
.current { color: var(--link); font-weight: 650; }
.header nav a:hover, .footer a:hover { color: var(--link); }
main { flex: 1; }
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(38px, 6vw, 64px) 44px;
  text-align: center;
  background: radial-gradient(ellipse 540px 280px at 50% 0, #ecf4ff, #fff 100%);
}
.water-surface {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .65;
  mask-image: linear-gradient(#000 0%, #0009 60%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .water-surface { display: none; }
}
.intro-logo { display: block; margin: 0 auto 20px; border-radius: 16px; }
.intro h1 { margin: 0; font-size: clamp(25px, 3.5vw, 32px); font-weight: 600; line-height: 1.3; letter-spacing: -.018em; }
.intro p { margin: 13px 0 0; color: var(--muted); font-size: 15px; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-weight: 600; }
.button:hover { background: #f6f8fb; }
.primary { color: #1a4279; border-color: #d2e3fc; background: #e8f1ff; }
.primary:hover { background: #dbeaff; }
.community-intro { padding-block: 12px 40px; text-align: center; }
.community-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.community-post { display: grid; align-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fafbfd; }
.community-post:hover { border-color: #b9d2f4; }
.photo-post { grid-row: span 2; background: #fff; }
.photo-post img { display: block; width: 100%; height: 220px; object-fit: cover; background: #f1f4f8; }
.post-copy { padding: 24px; }
.post-author { color: var(--muted); font-size: 12px; }
.community-post h3 { margin: 8px 0 14px; font-size: 16px; line-height: 1.6; font-weight: 600; }
.post-open { color: var(--link); font-size: 13px; }
.showcase { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.showcase-content { align-self: center; padding: clamp(22px, 5vw, 48px); text-align: center; }
h2 { margin: 0; font-size: 21px; font-weight: 600; }
.tool-options { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.tool-options button { border: 0; border-radius: 7px; padding: 7px 9px; background: #f5f7fa; color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; }
.tool-options button:hover, .tool-options button[aria-pressed="true"] { background: #e8f1ff; color: var(--link); }
.tool-options button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.showcase-content p { min-height: 3.2em; margin: 14px 0 10px; color: var(--muted); }
.section-link { color: var(--link); font-weight: 650; }
.section-link:hover { text-decoration: underline; }
.section-link span { margin-left: 4px; }
.tool-preview { display: grid; place-items: center; min-height: 365px; margin: 0; padding: 24px; background: #f3f7fe; }
.tool-preview img { display: block; width: min(100%, 152px); height: auto; border: 4px solid white; border-radius: 16px; box-shadow: 0 8px 19px #274d8019; }
.showcase { margin-bottom: 36px; }
.footer { min-height: 58px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer nav { font-size: inherit; }
.contact-page { padding-block: 52px 64px; text-align: left; }
.contact-page h1 { margin: 0 0 36px; font-size: 24px; font-weight: 600; }
.contact-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-section { min-width: 0; }
.contact-section + .contact-section { border-left: 1px solid var(--line); padding-left: 40px; }
.contact-section h2 { margin: 0 0 24px; font-size: 16px; }
.contact-list { margin: 0; }
.contact-row + .contact-row { margin-top: 28px; }
.contact-row dt { color: var(--muted); font-size: 13px; }
.contact-row dd { margin: 7px 0 0; font-size: 18px; line-height: 1.6; }
.contact-number { font-variant-numeric: tabular-nums; user-select: all; }
.contact-row a { color: var(--link); overflow-wrap: anywhere; }
.contact-row a:hover { text-decoration: underline; }
.download-dialog { width: min(360px, calc(100% - 40px)); padding: 28px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #fff; text-align: center; }
.download-dialog::backdrop { background: #17203355; }
.download-dialog h2 { font-size: 18px; }
.download-dialog p { margin: 12px 0 24px; color: var(--muted); }
.download-dialog .button { font: inherit; cursor: pointer; width: 100%; }
@media (max-width: 520px) {
  .header { min-height: 54px; gap: 10px; }
  .header nav { gap: 11px; }
  .contact-page { padding-block: 36px 48px; }
  .contact-sections { grid-template-columns: 1fr; gap: 32px; }
  .contact-section + .contact-section { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .intro { padding-bottom: 36px; }
  .intro p { font-size: 14px; }
  h2 { font-size: 19px; }
  .community-intro { padding-block: 8px 32px; }
  .community-posts { grid-template-columns: 1fr; gap: 12px; }
  .photo-post { grid-row: auto; }
  .post-copy { padding: 20px; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-content p { min-height: 0; }
  .tool-preview { min-height: 300px; padding: 17px; }
  .tool-preview img { width: 128px; }
  .showcase { margin-bottom: 22px; }
}
