:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, a { -webkit-tap-highlight-color: transparent; }

.home-page {
  --bg: #e3ebed;
  --surface: #f7faf9;
  --surface-dark: #17252a;
  --ink: #17252a;
  --muted: #5d6c70;
  --accent: #e14d33;
  --line: rgba(23, 37, 42, .15);
  background:
    radial-gradient(circle at 83% 8%, rgba(221, 86, 55, .18), transparent 25rem),
    linear-gradient(125deg, #edf4f4 0%, var(--bg) 46%, #d7e1e2 100%);
  color: var(--ink);
}

.product-page {
  --bg: #f5f0e6;
  --surface: #fffdf8;
  --surface-dark: #4b3621;
  --ink: #4b3621;
  --muted: #6d5d47;
  --accent: #9b4c00;
  --accent-deep: #8c4500;
  --line: rgba(75, 54, 33, .16);
  background:
    radial-gradient(circle at 80% 4%, rgba(217, 119, 6, .11), transparent 29rem),
    var(--bg);
  color: var(--ink);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1376px);
  min-height: 74px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.ip-brand { display: inline-flex; width: 116px; height: 48px; align-items: center; }

.ip-brand img, .brand-field img {
  width: 100%;
  filter: contrast(1.08);
}

picture { display: block; min-width: 0; }

.ip-brand picture, .brand-field picture, .home-tool-preview picture, .interface-frame picture { width: 100%; }
.ip-brand picture { flex: 0 0 100%; }

.nav-links { display: flex; align-items: stretch; gap: 30px; height: 74px; }

.nav-links > a, .product-menu > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: color .18s ease;
}

.nav-links a:hover, .nav-links .is-current { color: var(--ink); }

.product-menu { position: relative; display: flex; }

.product-popover {
  position: absolute;
  z-index: 20;
  top: 61px;
  left: 50%;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 20px 45px rgba(23, 37, 42, .13);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(12px);
}

.product-menu:hover .product-popover, .product-menu:focus-within .product-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.product-popover a { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 9px; border-radius: 10px; }

.product-popover a:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }

.product-popover picture { width: 38px; }
.product-popover img { width: 38px; border-radius: 9px; }

.product-popover span { display: grid; gap: 3px; }
.product-popover strong { font-size: 13px; }
.product-popover small { color: var(--muted); font-size: 11px; }
.product-popover b { color: var(--accent); font-size: 17px; }

.sale-link, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.sale-link { padding: 0 15px; color: var(--surface); background: var(--surface-dark); }

.sale-link:hover, .button:hover { transform: translateY(-2px); }
.sale-link:active, .button:active { transform: translateY(0); }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; color: var(--ink); font-size: 14px; font-weight: 700; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: 36px; right: 0; display: grid; width: 208px; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 20px 35px rgba(23, 37, 42, .16); }
.mobile-menu nav a { padding: 11px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 650; }
.mobile-menu nav a:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }

main { overflow: clip; }

.home-hero, .product-hero, .home-product, .contact-panel, .download-section, .features-section, .sale-panel, .product-contact, .site-footer {
  width: min(100% - 48px, 1376px);
  margin-right: auto;
  margin-left: auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(450px, 1.05fr);
  align-items: center;
  gap: clamp(30px, 5vw, 86px);
  padding: 52px 0 58px;
}

.kicker {
  margin: 0 0 17px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { letter-spacing: -.045em; }

h1 { max-width: 700px; margin-bottom: 25px; font-size: clamp(48px, 5.4vw, 78px); line-height: 1.04; font-weight: 780; }

h2 { max-width: 740px; margin-bottom: 0; font-size: clamp(34px, 3.8vw, 53px); line-height: 1.12; font-weight: 770; }

.hero-lead { max-width: 425px; margin-bottom: 31px; color: var(--muted); font-size: 17px; line-height: 1.85; }

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }

.button { padding: 0 18px; }
.button-ink { color: #f5faf9; background: var(--surface-dark); }
.button-amber { color: #fff8ec; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }

.button-cta {
  min-height: 62px;
  padding: 0 34px;
  border-radius: 14px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .01em;
  background: linear-gradient(135deg, #e02f22, #b81410);
  box-shadow: 0 14px 30px rgba(190, 25, 20, .34);
}

.button-cta:hover { background: linear-gradient(135deg, #ee3a2b, #c91613); box-shadow: 0 18px 36px rgba(190, 25, 20, .42); }
.button-cta span { font-size: 21px; }

.text-link { border-bottom: 1px solid currentColor; padding-bottom: 3px; color: var(--ink); font-size: 14px; font-weight: 750; }
.text-link:hover { color: var(--accent); }

.home-hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 22%, rgba(229, 87, 54, .94) 0 3%, transparent 3.3%),
    linear-gradient(145deg, #f6faf9 8%, #c8d8da 55%, #94aeb2 100%);
}

.home-hero-visual::before, .home-hero-visual::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(23, 37, 42, .14);
  border-radius: 50%;
}

.home-hero-visual::before { width: 720px; height: 720px; top: -446px; left: -210px; }
.home-hero-visual::after { width: 500px; height: 500px; right: -274px; bottom: -240px; }

.brand-field { position: absolute; top: 12%; left: 10%; width: min(55%, 325px); }

.home-tool-preview {
  position: absolute;
  right: 9%;
  bottom: 18px;
  width: min(42%, 250px);
  overflow: hidden;
  border: 8px solid rgba(255, 253, 248, .76);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 28px 48px rgba(23, 37, 42, .23);
  transform: rotate(4deg);
}

.home-tool-preview img { width: 100%; }

.visual-note { position: absolute; bottom: 30px; left: 10%; max-width: 210px; margin: 0; color: #1c3035; font-size: 14px; font-weight: 700; line-height: 1.55; }

.home-product { padding: 110px 0 98px; }

.section-heading > p:not(.kicker) { max-width: 440px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.product-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  min-height: 230px;
  padding: 34px clamp(25px, 4vw, 62px);
  margin-top: 47px;
  border: 1px solid rgba(23, 37, 42, .27);
  border-radius: 18px;
  color: #f4faf9;
  background:
    radial-gradient(circle at 90% 8%, rgba(225, 77, 51, .95) 0 3px, transparent 4px),
    linear-gradient(135deg, #24353a, #101d21);
  box-shadow: 0 22px 48px rgba(23, 37, 42, .15);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-entry:hover { box-shadow: 0 30px 56px rgba(23, 37, 42, .23); transform: translateY(-4px); }

.entry-copy { display: flex; align-items: center; gap: 27px; }
.entry-copy picture { flex: 0 0 76px; width: 76px; }
.tool-logo { width: 76px; flex: none; border-radius: 17px; }
.entry-label { margin-bottom: 10px; color: #ef725c; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.entry-copy h3 { margin-bottom: 11px; font-size: clamp(26px, 3vw, 39px); line-height: 1.08; font-weight: 750; }
.entry-copy p:not(.entry-label) { max-width: 500px; margin-bottom: 0; color: rgba(244, 250, 249, .73); font-size: 15px; line-height: 1.75; }
.entry-action { display: inline-flex; gap: 11px; align-items: center; font-size: 14px; font-weight: 750; white-space: nowrap; }
.entry-action b { color: #ef725c; font-size: 22px; }

.in-progress { margin: 25px 0 0; color: var(--muted); font-size: 14px; text-align: right; }

.contact-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 62px clamp(25px, 4vw, 62px);
  margin-bottom: 110px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  border: 1px solid var(--line);
}

.contact-panel h2 { font-size: clamp(30px, 3.4vw, 46px); }
.contact-panel > p { margin: 0; color: var(--muted); font-size: 16px; }
.contact-panel strong, .product-contact strong { color: var(--ink); }

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(390px, .78fr);
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  padding: 58px 0 76px;
}

.tool-title-row { display: flex; align-items: flex-start; gap: 19px; margin-bottom: 23px; }
.tool-title-row picture { flex: 0 0 82px; width: 82px; margin-top: 3px; }
.tool-title-row img { width: 100%; border-radius: 18px; }
.tool-title-row h1 { margin: 0; font-size: clamp(50px, 5.2vw, 76px); }
.product-hero-copy .hero-lead { margin-bottom: 31px; }

.interface-frame {
  justify-self: center;
  width: min(100%, 420px);
  padding: 9px;
  border: 1px solid rgba(75, 54, 33, .14);
  border-radius: 25px;
  background: rgba(255, 253, 248, .75);
  box-shadow: 0 28px 62px rgba(98, 61, 27, .15);
}

.interface-frame img { width: 100%; border-radius: 17px; }

.download-section { padding: 102px 0 110px; }

.download-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 42px; }

.download-choice {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.download-choice > span:first-child { margin-bottom: 28px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.download-choice h3 { margin-bottom: 10px; font-size: 24px; line-height: 1.12; font-weight: 760; }
.download-choice p { margin-bottom: 6px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.download-choice-reqs { margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; line-height: 1.65; }
.download-choice-reqs li + li { margin-top: 2px; }
.download-choice-link, .download-choice-status { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; font-size: 14px; font-weight: 800; }
.download-choice-status { color: var(--muted); }
.download-choice-link {
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  color: #fff8ec;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.download-choice-link:hover { color: #fff8ec; transform: translateY(-2px); }
.download-choice-link:active { transform: translateY(0); }
.download-choice b { font-size: 17px; }

.features-section { padding: 102px 0 110px; border-top: 1px solid var(--line); }

.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-top: 47px; }

.feature-card {
  grid-column: span 2;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.feature-card span { display: block; margin-bottom: 44px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.feature-card h3 { margin-bottom: 10px; font-size: 24px; line-height: 1.12; font-weight: 760; }
.feature-card p { max-width: 345px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-major { grid-column: span 3; background: linear-gradient(135deg, #fffdf8, #f1dfc6); }
.feature-logo-card { position: relative; grid-column: span 3; overflow: hidden; background: #f3e7d5; }
.feature-logo-card picture { position: absolute; right: 25px; bottom: 23px; width: 98px; }
.feature-logo-card img { width: 100%; border-radius: 21px; opacity: .94; }
.feature-warm { background: linear-gradient(130deg, var(--accent), var(--accent-deep)); border-color: var(--accent-deep); }
.feature-warm span, .feature-warm p { color: #fff8ec; }
.feature-warm h3 { color: #fff8ec; }

.sale-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 56px clamp(25px, 5vw, 68px);
  margin-bottom: 18px;
  border-radius: 20px;
  color: #fff8ec;
  background: var(--surface-dark);
}

.sale-panel h2 { margin-bottom: 12px; font-size: clamp(29px, 3.5vw, 47px); }
.sale-panel p { max-width: 510px; margin-bottom: 0; color: rgba(255, 248, 236, .72); font-size: 15px; line-height: 1.7; }

.product-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 35px 0 93px; }
.product-contact p { margin: 0; color: var(--muted); font-size: 15px; }
.product-contact a { color: var(--accent-deep); font-size: 14px; font-weight: 800; }
.product-contact a:hover { color: var(--accent); }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 30px 0 42px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: var(--muted); font-size: 12px; }
.site-footer p:nth-child(2) { text-align: center; }
.site-footer p:last-child { text-align: right; }

a:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 4px; border-radius: 5px; }

@media (max-width: 900px) {
  .home-hero, .product-hero { grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr); gap: 32px; }
  .home-hero-visual { min-height: 430px; }
  .home-tool-preview { width: min(53%, 250px); }
  .download-choice { padding: 22px; }
  .entry-copy { gap: 20px; }
}

@media (max-width: 720px) {
  .site-header, .home-hero, .product-hero, .home-product, .contact-panel, .download-section, .features-section, .sale-panel, .product-contact, .site-footer { width: min(100% - 34px, 640px); }
  .site-header { min-height: 67px; }
  .ip-brand { width: 98px; height: 40px; }
  .nav-links, .sale-link { display: none; }
  .mobile-menu { display: block; }
  .home-hero, .product-hero { grid-template-columns: 1fr; min-height: 0; padding: 58px 0 74px; }
  .home-hero { gap: 45px; }
  h1 { font-size: clamp(43px, 12vw, 61px); }
  .home-hero-visual { min-height: 430px; }
  .home-product, .download-section, .features-section { padding: 78px 0; }
  .product-entry { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding: 28px; }
  .entry-copy { align-items: flex-start; flex-direction: column; }
  .entry-action { align-self: flex-end; }
  .in-progress { text-align: left; }
  .contact-panel, .sale-panel { align-items: flex-start; flex-direction: column; gap: 25px; margin-bottom: 76px; }
  .contact-panel { padding: 36px 28px; }
  .product-hero { gap: 40px; }
  .tool-title-row picture { flex-basis: 68px; width: 68px; }
  .tool-title-row img { border-radius: 15px; }
  .interface-frame { width: min(100%, 390px); }
  .download-choices { grid-template-columns: 1fr; }
  .download-choice { min-height: 0; }
  .download-choice > span:first-child { margin-bottom: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-major, .feature-logo-card { grid-column: auto; min-height: 185px; }
  .feature-card span { margin-bottom: 28px; }
  .feature-logo-card picture { width: 80px; }
  .product-contact { align-items: flex-start; flex-direction: column; padding: 32px 0 72px; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 34px; }
  .site-footer p:nth-child(2), .site-footer p:last-child { text-align: left; }
}

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