:root {
  color-scheme: dark;
  --bg: #100e1a;
  --line: #373148;
  --ink: #faf8ff;
  --muted: #c9c2d7;
  --accent: #c9b9ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.shell { width: min(1152px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -120px; z-index: 2; background: var(--bg); padding: 12px; }
.skip:focus { top: 12px; }
.header, .footer, nav, .brand { display: flex; align-items: center; }
.header, .footer { justify-content: space-between; }
.header { min-height: 80px; border-bottom: 1px solid var(--line); gap: 12px; }
.brand { font-weight: 750; gap: 11px; white-space: nowrap; }
.brand img { border-radius: 12px; }
nav { gap: 28px; font-size: 14px; color: var(--muted); }
.nav-contact { border: 1px solid var(--line); border-radius: 50px; padding: 8px 15px; color: var(--ink); }
nav a:hover, .footer a:hover { color: var(--accent); }
.hero {
  display: grid;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
  min-height: 650px;
  padding: 64px 4%;
  background: radial-gradient(ellipse at 77% 48%, #312455 0%, transparent 64%);
}
.overline { color: var(--accent); font-size: 14px; letter-spacing: .18em; }
h1 { margin: 16px 0 24px; font-size: clamp(56px, 6.1vw, 88px); line-height: 1.12; letter-spacing: -.055em; }
h1 span { color: var(--accent); }
.intro { max-width: 380px; font-size: 17px; color: var(--muted); line-height: 1.85; }
.button, .email { display: inline-flex; align-items: center; gap: 16px; font-weight: 700; }
.button { margin-top: 30px; padding: 11px 20px; border-radius: 12px; background: var(--accent); color: #1b1233; }
.button:hover { background: #e3d9ff; }
.hero-visual {
  width: min(100%, 350px);
  margin-inline: auto;
  border: 1px solid #675881;
  border-radius: 29px;
  overflow: hidden;
  box-shadow: 0 24px 85px #0b0716ba;
}
.hero-visual img { width: 100%; height: auto; }
.features { padding-block: 52px 80px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -.03em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.feature { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #191624; }
.feature-copy { padding: 26px 24px 20px; }
h3 { font-size: 23px; margin-bottom: 7px; }
.feature p, .contact p { color: var(--muted); }
.feature img { width: 100%; height: auto; margin-top: auto; }
.formats { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 5px 9px; flex-wrap: wrap; color: var(--accent); font: 12px/1.5 system-ui, sans-serif; }
.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #1c172c;
}
.contact h2 { font-size: 30px; margin-bottom: 8px; }
.email { max-width: 100%; overflow-wrap: anywhere; color: var(--accent); }
.email:hover { text-decoration: underline; }
.footer { min-height: 100px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header { min-height: 68px; }
  nav { gap: 12px; }
  .nav-contact { padding: 6px 9px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 48px 4px 36px; gap: 36px; background-position: 0 130px; }
  h1 { font-size: clamp(48px, 12vw, 72px); margin: 13px 0 16px; }
  .hero-visual { width: min(86%, 350px); }
  .features { padding-block: 40px 54px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature img { width: min(100%, 400px); margin-inline: auto; }
  .contact { padding: 24px; }
}
@media (max-width: 360px) {
  .brand { gap: 6px; font-size: 14px; }
  .brand img { width: 30px; height: 30px; }
  nav { font-size: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
