:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
  color: #111827;
  background: #f8fafc;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: linear-gradient(180deg, #fff 0, #f7f9fc 52%, #fff 100%); }
a { color: inherit; text-decoration: none; }

.site-header { width: min(1160px, calc(100% - 48px)); height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 5px 14px rgba(39, 93, 173, .12); }
.header-download { padding: 9px 15px; border: 1px solid #e3e7ed; border-radius: 11px; background: rgba(255,255,255,.75); color: #364152; font-size: 13px; font-weight: 600; transition: .18s ease; }
.header-download:hover { border-color: #cbd3df; background: #fff; }

main { width: min(1160px, calc(100% - 48px)); margin: auto; }
.hero { padding: 96px 0 0; text-align: center; }
h1 { margin: 0; color: #111827; font-size: clamp(52px, 6.4vw, 82px); line-height: 1.04; letter-spacing: -.06em; font-weight: 760; }
.intro { margin: 28px auto 0; color: #697586; font-size: 18px; line-height: 1.75; }
.actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.actions span { color: #98a1ae; font-size: 12px; }
.download { display: inline-flex; align-items: center; min-height: 48px; padding: 0 23px; border-radius: 13px; background: #1d2430; color: #fff; box-shadow: 0 10px 25px rgba(18, 26, 39, .16); font-size: 15px; font-weight: 650; transition: transform .18s ease, box-shadow .18s ease; }
.download:hover { transform: translateY(-2px); box-shadow: 0 15px 32px rgba(18, 26, 39, .22); }

.screenshot { position: relative; height: 710px; margin: 78px auto 0; overflow: hidden; border: 1px solid rgba(255,255,255,.85); border-radius: 32px 32px 0 0; background: linear-gradient(145deg, #dce9fa, #f2f5fa 50%, #e5edf8); box-shadow: 0 35px 90px rgba(43, 63, 91, .18), inset 0 1px rgba(255,255,255,.9); }
.screen-glow { position: absolute; inset: -40% 12% auto; height: 70%; border-radius: 50%; background: rgba(98, 160, 255, .25); filter: blur(90px); }
.screenshot img { position: relative; display: block; width: 610px; max-width: 72%; height: auto; margin: 48px auto 0; border: 1px solid rgba(255,255,255,.9); border-radius: 24px 0 0 24px; box-shadow: 0 30px 65px rgba(35, 52, 77, .24); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid #e7eaf0; border-radius: 0 0 24px 24px; box-shadow: 0 18px 45px rgba(44, 58, 78, .07); }
.features > div { min-height: 188px; padding: 34px 30px; text-align: left; }
.features > div + div { border-left: 1px solid #e7eaf0; }
.features span { color: #94a3b8; font: 600 11px/1 ui-monospace, SFMono-Regular, monospace; }
.features h2 { margin: 22px 0 10px; color: #1e293b; font-size: 18px; letter-spacing: -.025em; }
.features p { margin: 0; color: #778292; font-size: 14px; line-height: 1.7; }

footer { width: min(1160px, calc(100% - 48px)); margin: 72px auto 0; padding: 34px 0 42px; border-top: 1px solid #e6e9ee; display: flex; justify-content: space-between; align-items: center; color: #8a94a3; font-size: 12px; }
footer button { padding: 0; border: 0; background: none; color: #637083; font: 600 12px inherit; cursor: pointer; }
footer button:hover, footer a:hover { color: #111827; }

dialog { width: min(420px, calc(100% - 36px)); padding: 30px; border: 1px solid #fff; border-radius: 22px; background: rgba(250,251,252,.97); box-shadow: 0 28px 90px rgba(20,28,38,.35); text-align: center; }
dialog::backdrop { background: rgba(25,29,35,.45); backdrop-filter: blur(6px); }
dialog h2 { margin: 2px 0 8px; font-size: 22px; }
dialog p, dialog > a { color: #747b84; font-size: 14px; }
dialog img { display: block; width: 100%; max-height: 480px; margin: 20px auto; object-fit: contain; border-radius: 14px; }
.close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 9px; background: #e9ebee; color: #50565e; font-size: 20px; cursor: pointer; }

@media (max-width: 820px) {
  .hero { padding-top: 64px; }
  .intro br { display: none; }
  .screenshot { height: 620px; margin-top: 58px; }
  .screenshot img { width: 530px; max-width: 82%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features > div:nth-child(3) { border-left: 0; border-top: 1px solid #e7eaf0; }
  .features > div:nth-child(4) { border-top: 1px solid #e7eaf0; }
}
@media (max-width: 560px) {
  .site-header, main, footer { width: calc(100% - 30px); }
  .site-header { height: 68px; }
  h1 { font-size: 46px; }
  .intro { font-size: 16px; }
  .screenshot { height: 520px; border-radius: 22px 22px 0 0; }
  .screenshot img { width: 440px; max-width: 94%; margin-top: 28px; }
  .features { grid-template-columns: 1fr; }
  .features > div { min-height: 0; padding: 28px; }
  .features > div + div { border-left: 0; border-top: 1px solid #e7eaf0; }
  .features h2 { margin-top: 14px; }
  footer { flex-direction: column; align-items: center; gap: 13px; }
}
