:root {
  --ink: #24282d;
  --muted: #69717b;
  --line: #dfe3e8;
  --soft-line: #e9ecef;
  --panel: #ffffff;
  --page: #f4f5f7;
  --accent: #252a31;
  --hover: #f8f9fa;
  --success: #2e7d57;
  --shadow: 0 3px 14px rgba(20, 29, 40, .06);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, img { max-width: 100%; }
.container { width: min(1080px, calc(100% - 36px)); margin: 0 auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-top { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 0; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-text { font-size: 22px; font-weight: 800; letter-spacing: .08em; color: #111; line-height: 1; }
.logo img { width: 58px; height: auto; display: block; }
.header-contact { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; text-align: right; }
.header-contact strong { color: var(--ink); font-weight: 650; }
.nav-bar { border-top: 1px solid #f1f2f4; }
.nav-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a, .nav-dropdown > button { padding: 20px 0; border: 0; background: none; color: #454b52; cursor: pointer; font-size: 14px; }
.main-nav a:hover, .main-nav a.active, .nav-dropdown > button:hover { color: #000; }
.nav-dropdown { position: relative; }
.nav-dropdown > button::after { content: "⌄"; margin-left: 6px; font-size: 12px; }
.dropdown-menu { display: none; position: absolute; z-index: 10; top: calc(100% - 7px); left: -18px; width: 210px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 26px rgba(20,29,40,.12); }
.dropdown-menu a { display: block; padding: 11px 12px; border-radius: 6px; }
.dropdown-menu a:hover { background: var(--hover); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu { display: block; }
.nav-email { color: #454b52; font-size: 14px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }
.page-main { padding: 42px 0 70px; }
.hero-title { margin: 0 0 8px; text-align: center; font-size: clamp(28px, 4vw, 38px); font-weight: 500; letter-spacing: -.02em; }
.hero-subtitle { max-width: 720px; margin: 0 auto 34px; text-align: center; color: var(--muted); font-size: 15px; }
.section-title { margin: 52px 0 28px; text-align: center; font-size: clamp(25px, 3vw, 33px); font-weight: 500; letter-spacing: -.02em; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.category-card { min-height: 142px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease; }
.category-card:hover { transform: translateY(-2px); border-color: #afb5bc; }
.category-card h2 { margin: 0 0 14px; font-size: 19px; font-weight: 500; }
.outline-button, .primary-button { min-width: 194px; min-height: 39px; padding: 9px 18px; display: inline-flex; justify-content: center; align-items: center; border-radius: 6px; font-size: 14px; transition: all .18s ease; }
.outline-button { border: 1px solid #555d68; color: #31363c; background: #fff; }
.outline-button:hover { color: #fff; background: #343a42; }
.primary-button { border: 1px solid #2d333a; color: #fff; background: #2d333a; }
.primary-button:hover { background: #161a1f; }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.help-card { min-height: 112px; padding: 20px 14px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center; color: #676f79; background: #fff; border: 1px solid #eceef1; border-radius: var(--radius); transition: color .18s ease, border-color .18s ease; }
.help-card:hover { color: #252a31; border-color: #c9ced4; }
.help-icon { width: 38px; height: 38px; color: #b5c0ca; }
.help-card span { font-size: 13px; }
.intro-panel { max-width: 900px; margin: 52px auto 0; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-panel h2 { margin: 0 0 10px; font-size: 23px; font-weight: 500; }
.intro-panel p { margin: 0; color: var(--muted); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.products-grid.four { grid-template-columns: repeat(4, 1fr); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-card-header { padding: 22px 22px 16px; border-bottom: 1px solid var(--soft-line); }
.product-card h2 { margin: 0 0 6px; font-size: 20px; font-weight: 550; }
.price { display: flex; align-items: baseline; gap: 5px; }
.price strong { font-size: 31px; font-weight: 600; }
.price span { color: var(--muted); font-size: 13px; }
.billing { margin-top: 3px; color: #858c95; font-size: 12px; }
.features { flex: 1; margin: 0; padding: 20px 22px 8px; list-style: none; }
.features li { position: relative; padding: 7px 0 7px 21px; color: #555d67; border-bottom: 1px solid #f1f2f3; font-size: 14px; }
.features li:last-child { border-bottom: 0; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.product-actions { padding: 18px 22px 22px; }
.product-actions .primary-button { width: 100%; }
.custom-box { max-width: 820px; margin: 0 auto; padding: 42px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.custom-box h2 { margin: 0 0 12px; font-size: 27px; font-weight: 500; }
.custom-box p { max-width: 620px; margin: 0 auto 24px; color: var(--muted); }
.resource-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.resource-row { display: grid; grid-template-columns: 1.2fr .8fr .9fr; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.resource-row h2 { margin: 0 0 3px; font-size: 19px; font-weight: 550; }
.resource-row p { margin: 0; color: var(--muted); font-size: 13px; }
.resource-price strong { display: block; font-size: 21px; font-weight: 600; }
.resource-price span { color: var(--muted); font-size: 12px; }
.content-box { max-width: 900px; margin: 0 auto; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.content-box h1 { margin-top: 0; font-size: 30px; font-weight: 550; }
.content-box h2 { margin-top: 32px; font-size: 20px; font-weight: 550; }
.content-box p, .content-box li { color: #555d67; }
.email-box { margin-top: 22px; padding: 15px; border: 1px solid var(--line); border-radius: 6px; background: #f8f9fa; word-break: break-word; }
.contact-card { max-width: 650px; margin: 0 auto; padding: 34px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card h2 { margin: 0 0 10px; font-size: 24px; font-weight: 550; }
.contact-card p { margin: 0 auto 20px; max-width: 520px; color: var(--muted); }
.contact-card .email-box { margin: 0 auto 20px; font-size: 18px; }
.contact-card .primary-button { margin-top: 4px; }
.site-footer { padding: 42px 0 22px; color: #b8bec5; background: #292e34; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.footer-logo { width: 120px; height: auto; opacity: .95; }
.site-footer h3 { margin: 0 0 12px; color: #fff; font-size: 14px; font-weight: 600; }
.site-footer p, .site-footer a { color: #b8bec5; font-size: 13px; }
.site-footer a { display: block; margin: 6px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8f979f; font-size: 12px; }
@media (max-width: 900px) {
  .products-grid.four { grid-template-columns: repeat(2, 1fr); }
  .category-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-row { grid-template-columns: 1fr 1fr; }
  .resource-row .primary-button { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .header-top { min-height: 72px; }
  .logo img { width: 48px; }
  .logo-text { font-size: 18px; letter-spacing: .07em; }
  .header-contact { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { min-height: 58px; position: relative; }
  .main-nav { display: none; position: absolute; z-index: 20; top: 58px; left: 0; right: 0; padding: 8px 18px 18px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,29,40,.1); }
  .main-nav.open { display: flex; }
  .main-nav a, .nav-dropdown > button { display: block; width: 100%; padding: 12px; text-align: left; }
  .dropdown-menu { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 4px 13px; }
  .nav-email { display: none; }
  .category-grid, .products-grid, .products-grid.four, .help-grid, .footer-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 126px; }
  .resource-row { grid-template-columns: 1fr; text-align: center; }
  .resource-row .primary-button { grid-column: auto; }
  .custom-box, .content-box, .page-main { padding-top: 32px; }
}
