:root {
  --ink: #14211b;
  --muted: #66736c;
  --paper: #f7f7f2;
  --white: #fff;
  --green: #baf46d;
  --green-dark: #79bd29;
  --line: #dfe4dc;
  --dark: #101914;
  --soft: #edf0e9;
  --shadow: 0 24px 70px rgba(20, 33, 27, .09);
}

* { box-sizing: border-box; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247, 247, 242, .92); border-bottom: 1px solid rgba(20,33,27,.08); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--dark); background: var(--green); border: 1px solid var(--dark); border-radius: 11px; font-size: 17px; font-weight: 900; }
.main-nav { margin: 0 auto; display: flex; align-items: center; gap: 27px; font-size: 14px; font-weight: 600; }
.main-nav a { position: relative; padding: 29px 0; color: #58635d; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 20px; height: 2px; background: var(--green-dark); transition: .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { left: 0; right: 0; }
.mobile-order-nav { display: none; }
.nav-actions { display: flex; gap: 9px; }
.btn { min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-weight: 750; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.46); border-color: #c8cec8; }
.btn-dark { color: var(--white); background: var(--dark); }
.btn-primary { color: var(--dark); background: var(--green); border-color: var(--dark); box-shadow: 0 7px 0 var(--dark); }
.btn-primary:hover { background: #c8ff84; box-shadow: 0 4px 0 var(--dark); }
.btn-block { width: 100%; }
.menu-toggle { display: none; min-width: 58px; height: 42px; padding: 0 12px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-size: 12px; font-weight: 800; }

.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--white); }
.hero { border-bottom: 1px solid #26332c; }
.hero::before { display: none; }
.hero-grid { min-height: 620px; padding-block: 84px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); align-items: center; gap: 92px; position: relative; }
.eyebrow { margin: 0 0 16px; display: flex; align-items: center; gap: 9px; color: #66716b; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; }
.eyebrow span { width: 24px; height: 2px; background: var(--green-dark); }
.hero .eyebrow { color: #bdc5c0; }
.hero-copy h1 { max-width: 720px; margin: 0; font-size: clamp(46px, 5.35vw, 74px); line-height: 1.06; letter-spacing: -3.2px; }
.hero-copy h1 em { color: var(--green); font-style: normal; }
.hero-desc { max-width: 570px; margin: 30px 0 32px; color: #b9c3bd; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 750; }
.text-link { padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.hero-stats { margin-top: 58px; display: flex; gap: 0; }
.hero-stats div { min-width: 135px; padding: 0 24px; border-right: 1px solid #334139; }
.hero-stats div:first-child { padding-left: 0; }
.hero-stats div:last-child { border-right: 0; }
.hero-stats div { display: flex; flex-direction: column; gap: 5px; }
.hero-stats strong { font-size: 22px; }
.hero-stats span { color: #8e9992; font-size: 12px; }
.login-card { padding: 34px; color: var(--ink); background: var(--white); border: 1px solid rgba(255,255,255,.8); border-radius: 20px; box-shadow: 12px 12px 0 var(--green), 0 28px 70px rgba(0,0,0,.2); }
.login-head { margin-bottom: 24px; display: flex; align-items: center; gap: 13px; }
.login-icon { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--green); border: 1px solid var(--ink); border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.login-head h2 { margin: 0 0 4px; font-size: 22px; }
.login-head p { margin: 0; color: var(--muted); font-size: 12px; }
.login-card > label { display: block; margin: 15px 0 7px; font-size: 13px; font-weight: 700; }
.login-card input, dialog input { width: 100%; height: 50px; padding: 0 15px; color: var(--ink); background: #f7f8f5; border: 1px solid #d7ddd6; border-radius: 10px; outline: none; }
.login-card input:focus, dialog input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184,243,107,.35); }
.form-row { margin: 13px 0 18px; display: flex; align-items: center; justify-content: space-between; }
.check { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.check input { width: 14px; height: 14px; }
.link-button { padding: 0; color: #445049; background: transparent; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; }
.form-foot, .form-message { margin: 15px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.form-message { min-height: 16px; color: #32750f; }
.login-state { display: grid; gap: 15px; padding-top: 8px; }
.login-card [hidden] { display: none !important; }
.login-state[hidden] { display: none; }
.login-state > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.login-state > strong { overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.login-state > .link-button { justify-self: center; margin-top: 4px; }

.section { padding: 112px 0; }
.section-heading { margin-bottom: 42px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .faq-intro h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -1.8px; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 14px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, .92fr); align-items: stretch; gap: 24px; background: transparent; }
.platform-panel, .quick-order { padding: 34px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.platform-panel { background: var(--white); }
.panel-title { margin-bottom: 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.panel-title > span { font-size: 22px; font-weight: 850; letter-spacing: -.7px; }
.panel-title small { color: var(--muted); font-size: 11px; }
.platform-list { display: grid; gap: 10px; }
.platform-item { width: 100%; min-height: 74px; padding: 12px 15px; display: grid; grid-template-columns: 48px 1fr 46px; align-items: center; gap: 15px; color: var(--ink); background: #f8f9f5; border: 1px solid transparent; border-radius: 13px; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.platform-item:hover { transform: translateX(3px); border-color: #c8d0c7; background: var(--white); }
.platform-item.active { background: #f0fbdc; border-color: #9bd34f; box-shadow: inset 4px 0 0 #83c331; }
.platform-item img { width: 44px; height: 44px; padding: 10px; border-radius: 10px; }
.platform-item > span { display: flex; flex-direction: column; gap: 5px; }
.platform-item strong { font-size: 15px; }
.platform-item small { color: var(--muted); font-size: 11px; }
.platform-item b { min-width: 42px; height: 26px; display: grid; place-items: center; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 750; }
.platform-item.active b { color: #315f0f; background: var(--green); border-color: #9ad44c; }
.instagram img { background: #f7d8e9; }
.tiktok img { background: #c8f5ee; }
.facebook img { background: #d9e6ff; }
.x img { background: #e6e6e6; }
.youtube img { background: #ffdddd; }
.quick-order { background: #eef1e9; border-color: #d5dcd2; }
.order-title { margin-bottom: 21px; }
.order-fields { display: grid; grid-template-columns: 138px 1fr; align-items: center; gap: 12px 15px; }
.order-fields label { margin-top: 0; color: #47534c; font-size: 12px; font-weight: 750; }
.order-fields label { grid-column: span 1; }
.order-fields .select-wrap, .order-fields input { grid-column: span 1; }
.select-wrap { position: relative; }
.select-wrap::after { display: none; }
.order-fields select, .order-fields input { width: 100%; height: 50px; padding: 0 13px; color: var(--ink); background: var(--white); border: 1px solid #cfd6ce; border-radius: 10px; outline: none; }
.order-fields input { padding-right: 13px; }
.order-fields select:focus, .order-fields input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184,243,107,.35); }
.order-summary { margin: 24px 0 18px; padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--white); border: 1px solid #d3dad1; border-radius: 12px; }
.order-summary > div { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.order-summary span { color: var(--muted); font-size: 11px; }
.order-summary #order-summary-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.order-price { flex: 0 0 auto; color: #dc2525; font-size: 29px; line-height: 1; font-weight: 900; letter-spacing: -1px; }
.order-submit { justify-content: space-between; padding-inline: 18px; }
.order-submit span { font-size: 18px; }
.order-submit.submitted { background: #dfe5da; box-shadow: none; cursor: default; }
.order-message { min-height: 17px; margin: 11px 0 0; color: #32750f; text-align: center; font-size: 12px; }

.faq-section { background: var(--white); border-block: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.faq-intro > p:not(.eyebrow) { max-width: 330px; margin: 22px 0 34px; color: var(--muted); line-height: 1.8; }
.accordion { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; padding: 25px 4px; display: grid; grid-template-columns: 46px 1fr 54px; align-items: center; color: var(--ink); background: transparent; border: 0; text-align: left; cursor: pointer; font-size: 16px; font-weight: 750; }
.faq-item button span { color: #98a09b; font-size: 11px; }
.faq-item button b { color: var(--muted); font-size: 10px; font-weight: 700; text-align: right; }
.faq-item.open { background: #fafbf8; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer p { overflow: hidden; margin: 0 46px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { margin-bottom: 22px; }

.knowledge { background: #ecefe8; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-grid article { min-height: 285px; padding: 27px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid #d8ded6; border-radius: 16px; box-shadow: 0 14px 38px rgba(20,33,27,.05); transition: transform .25s, box-shadow .25s; }
.article-grid article:hover { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(20,33,27,.1); }
.article-no { align-self: end; color: #d1d8d1; font-size: 52px; font-weight: 850; letter-spacing: -3px; }
.article-grid p { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.article-grid h3 { margin: 0 0 24px; font-size: 19px; line-height: 1.55; }
.article-grid a { width: max-content; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 800; }

.footer { padding: 82px 0 26px; color: #e7ece8; background: var(--dark); border-top: 7px solid var(--green); }
.footer-top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; padding-bottom: 60px; }
.footer-brand { color: var(--white); }
.footer-top > div > p { color: #88928c; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links h3 { margin: 0 0 7px; color: var(--white); font-size: 13px; }
.footer-links a, .footer-links p { margin: 0; color: #89948d; font-size: 12px; }
.footer-button { padding: 0; color: #89948d; background: transparent; border: 0; cursor: pointer; font-size: 12px; }
.footer-button:hover { color: var(--green); }
.footer-links a:hover { color: var(--green); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; color: #68716c; border-top: 1px solid #29312d; font-size: 11px; }
.footer-bottom div { display: flex; gap: 24px; }

dialog { width: min(430px, calc(100% - 32px)); padding: 36px; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: 20px; box-shadow: 10px 10px 0 var(--green); }
dialog::backdrop { background: rgba(10,16,13,.72); backdrop-filter: blur(5px); }
dialog h2 { margin: 0 0 10px; font-size: 30px; }
dialog > p:not(.eyebrow) { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
dialog form { display: grid; gap: 14px; }
.dialog-close { position: absolute; top: 15px; right: 16px; height: 30px; padding: 0 11px; color: var(--muted); background: #eff1ed; border: 0; border-radius: 999px; cursor: pointer; font-size: 10px; font-weight: 750; }
.checkout-dialog { width: min(540px, calc(100% - 32px)); }
.query-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 30px); padding: 28px 34px 24px; }
.query-dialog h2 { margin-bottom: 6px; font-size: 28px; }
.query-dialog > p:not(.eyebrow) { margin-bottom: 16px; line-height: 1.5; }
.query-dialog .dialog-form { gap: 10px; }
.query-dialog .dialog-message { margin-top: 7px; }
.checkout-dialog > p:not(.eyebrow) { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.checkout-dialog > p strong { flex: 0 0 auto; color: #dc2525; font-size: 24px; font-weight: 900; }
.checkout-options { display: grid; gap: 12px; }
.checkout-option { width: 100%; min-height: 82px; padding: 15px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; color: var(--ink); background: #f7f8f4; border: 1px solid var(--line); border-radius: 13px; text-align: left; cursor: pointer; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.checkout-option:hover { transform: translateY(-2px); background: var(--white); border-color: #9da99f; box-shadow: 0 12px 28px rgba(20,33,27,.09); }
.member-option { background: #f1fbdc; border-color: #afd86f; }
.option-number { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--dark); border-radius: 10px; font-size: 14px; font-weight: 900; }
.option-copy { display: flex; flex-direction: column; gap: 5px; }
.option-copy strong { font-size: 15px; }
.option-copy small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.option-tag { padding: 6px 9px; color: #35650f; background: var(--green); border: 1px solid #9ed451; border-radius: 999px; font-size: 10px; font-weight: 850; }
.guest-option .option-tag { color: var(--muted); background: var(--white); border-color: var(--line); }
.dialog-form { display: grid; gap: 12px; }
.dialog-form input { width: 100%; }
.dialog-message { min-height: 18px; margin: 12px 0 0; color: #32750f; font-size: 12px; text-align: center; }
.dialog-message.error { color: #b42318; }
.result-grid { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 18px; background: #f3f5ef; border-radius: 12px; }
.result-grid > span { color: var(--muted); font-size: 12px; }
.result-grid > strong { overflow-wrap: anywhere; }
.query-code { color: #315f0f; font-size: 20px; letter-spacing: 2px; }
.result-amount { color: #dc2525; font-size: 22px; }
.result-note { color: var(--muted); font-size: 12px; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.member-balance { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.member-balance span { padding: 15px; color: var(--muted); background: #f3f5ef; border-radius: 11px; font-size: 11px; }
.member-balance strong { display: block; margin-top: 5px; color: var(--ink); font-size: 22px; }
.recharge-box { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.recharge-box > strong { display: block; margin-bottom: 10px; font-size: 13px; }
.row-input { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.query-result { margin-top: 12px; overflow: hidden; background: #f3f5ef; border: 1px solid #e5e9df; border-radius: 12px; font-size: 13px; }
.query-result-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 14px; background: #e9eee4; border-bottom: 1px solid #dfe5d9; }
.query-result-head span { color: var(--muted); font-size: 11px; }
.query-result-head strong { color: var(--ink); font-size: 15px; letter-spacing: .2px; }
.query-result-grid { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0; margin: 0; padding: 4px 14px 7px; }
.query-result-grid dt, .query-result-grid dd { min-width: 0; margin: 0; padding: 5px 0; border-bottom: 1px solid #e2e7dc; line-height: 1.5; }
.query-result-grid dt { color: var(--muted); font-size: 12px; }
.query-result-grid dd { color: var(--ink); font-weight: 650; }
.query-result-grid dt:last-of-type, .query-result-grid dd:last-of-type { border-bottom: 0; }
.query-order-link { display: block; overflow: hidden; color: #315f0f; text-decoration: underline; text-decoration-color: #9fbd88; text-underline-offset: 3px; text-overflow: ellipsis; white-space: nowrap; }
.query-order-link:hover { color: #1f4707; }

:focus-visible { outline: 3px solid rgba(121,189,41,.45); outline-offset: 3px; }

@media (max-width: 1050px) {
  .main-nav { gap: 16px; }
  .order-layout { grid-template-columns: 1fr 1fr; gap: 18px; }
  .platform-panel, .quick-order { padding: 26px; }
  .hero-grid { gap: 50px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 30px, 1200px); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; top: 68px; left: 15px; right: 15px; display: none; padding: 10px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 42px rgba(22,33,29,.14); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav a::after { display: none; }
  .nav-actions { display: none; }
  .hero-grid { padding-block: 66px; grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(40px, 10vw, 64px); }
  .login-card { max-width: 560px; }
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-grid article { min-height: 215px; }
  .footer-top { grid-template-columns: 1fr; gap: 46px; }
  .order-layout { grid-template-columns: 1fr; }
  .platform-panel { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .section { padding: 78px 0; }
  .brand { font-size: 17px; }
  .hero-grid { min-height: auto; padding-block: 50px; }
  .hero-copy h1 { letter-spacing: -2px; }
  .hero-desc { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-stats { margin-top: 42px; gap: 23px; }
  .hero-stats strong { font-size: 18px; }
  .login-card { padding: 26px 22px; border-radius: 16px; box-shadow: 7px 7px 0 var(--green); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .platform-panel, .quick-order { padding: 23px 18px; border-radius: 16px; }
  .panel-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .platform-item { min-height: 68px; padding-inline: 11px; }
  .order-fields { grid-template-columns: 1fr; gap: 7px; }
  .order-fields label, .order-fields .select-wrap, .order-fields input { grid-column: 1; }
  .order-summary { align-items: flex-start; flex-direction: column; }
  .order-price { font-size: 30px; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 15px; }
  .checkout-dialog { padding: 29px 20px; }
  .checkout-dialog > p:not(.eyebrow) { align-items: flex-start; flex-direction: column; gap: 8px; }
  .checkout-option { grid-template-columns: 34px 1fr; }
  .option-number { width: 34px; height: 34px; }
  .option-tag { grid-column: 2; width: max-content; }
  .dialog-actions, .member-balance { grid-template-columns: 1fr; }
  .row-input { grid-template-columns: 1fr; }
}

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

/* Home page refinement — aligned with the user-center visual system. */
.home-page {
  --home-bg: #f3f5f0;
  --home-surface: #fff;
  --home-line: #dfe4de;
  --home-line-soft: #e9ede8;
  --home-muted: #6f7a74;
  --home-radius: 12px;
  --home-shadow: 0 3px 14px rgba(20, 33, 27, .045);
  color: var(--ink);
  background: var(--home-bg);
  font-size: 14px;
  line-height: 1.5;
}

.home-page .site-header {
  background: rgba(249, 250, 247, .94);
  border-bottom-color: var(--home-line);
  box-shadow: 0 1px 5px rgba(20, 33, 27, .025);
}

.home-page .nav-wrap { min-height: 66px; gap: 24px; }
.home-page .brand { gap: 9px; font-size: 18px; }
.home-page .brand-mark { width: 33px; height: 33px; border-radius: 9px; font-size: 16px; }
.home-page .main-nav { gap: 24px; }
.home-page .main-nav a { padding: 23px 0; }
.home-page .main-nav a::after { bottom: 14px; }
.home-page .nav-actions { gap: 8px; }

.home-page .btn {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.home-page .btn:hover { transform: none; }
.home-page .btn-primary,
.home-page .btn-primary:hover { box-shadow: none; }
.home-page .nav-actions .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }

.home-page .hero-grid {
  min-height: 500px;
  padding-block: 56px;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 56px;
}

.home-page .eyebrow { margin-bottom: 11px; font-size: 12px; letter-spacing: 1.15px; }
.home-page .hero-copy h1 { max-width: 650px; font-size: clamp(40px, 4.65vw, 58px); line-height: 1.08; letter-spacing: -2.2px; }
.home-page .hero-desc { max-width: 560px; margin: 20px 0 24px; font-size: 14px; line-height: 1.75; }
.home-page .hero-actions { gap: 20px; }
.home-page .hero-stats { margin-top: 34px; }
.home-page .hero-stats div { min-width: 118px; padding: 0 18px; gap: 3px; }
.home-page .hero-stats strong { font-size: 20px; }
.home-page .hero-stats span { font-size: 12px; }

.home-page .login-card {
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

.home-page .login-head { margin-bottom: 17px; gap: 11px; }
.home-page .login-head h2 { font-size: 19px; }
.home-page .login-head p { font-size: 12px; }
.home-page .login-card > label { margin: 11px 0 5px; font-size: 14px; font-weight: 600; }
.home-page .login-card input,
.home-page dialog input { height: 42px; padding: 0 12px; background: #fff; border-color: #d5dbd4; border-radius: 8px; font-size: 14px; }
.home-page .form-row { margin: 10px 0 14px; }
.home-page .login-state { gap: 12px; }
.home-page .login-state > strong { font-size: 16px; }

.home-page .section { padding: 68px 0; }
.home-page .section-heading { margin-bottom: 24px; gap: 18px; }
.home-page .section-heading h2,
.home-page .faq-intro h2 { font-size: clamp(28px, 3.1vw, 36px); letter-spacing: -1px; }
.home-page .section-heading > p { font-size: 13px; }

.home-page .order-layout {
  grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr);
  gap: 14px;
}

.home-page .order-layout > * { min-width: 0; }
.home-page .platform-panel,
.home-page .quick-order {
  padding: 20px;
  border-color: var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}

.home-page .quick-order {
  container-type: inline-size;
  padding: 22px 24px;
  background: var(--home-surface);
}
.home-page .platform-panel {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf6 100%);
  border-color: #d9e0d9;
  box-shadow: 0 8px 26px rgba(20, 33, 27, .075);
}
.home-page .platform-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #79bd29 0%, #baf46d 58%, rgba(186, 244, 109, 0) 100%);
}
.home-page .panel-title { margin-bottom: 16px; gap: 14px; }
.home-page .panel-title > span { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.home-page .panel-title small { font-size: 12px; }
.home-page .platform-panel .panel-title > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home-page .platform-panel .panel-title > span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--green);
  border: 1px solid #6caa21;
  border-radius: 3px;
  box-shadow: 0 0 0 3px rgba(186, 244, 109, .18);
}
.home-page .platform-panel .panel-title small {
  padding: 5px 9px;
  color: #68746d;
  background: #f3f6f1;
  border: 1px solid #e0e6df;
  border-radius: 999px;
  white-space: nowrap;
}
.home-page .platform-list { gap: 8px; }

.home-page .platform-item {
  position: relative;
  min-height: 62px;
  padding: 9px 11px;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  gap: 11px;
  background: rgba(255, 255, 255, .84);
  border-color: #e0e6df;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 33, 27, .025);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-page .platform-item:hover {
  z-index: 1;
  transform: translateY(-1px);
  background: #fff;
  border-color: #bfc9c1;
  box-shadow: 0 6px 16px rgba(20, 33, 27, .075);
}
.home-page .platform-item.active {
  background: linear-gradient(90deg, #effbdc 0%, #f7fceb 100%);
  border-color: #acd86f;
  box-shadow: inset 4px 0 0 #83c331, 0 5px 14px rgba(74, 122, 28, .1);
}
.home-page .platform-item img {
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid rgba(20, 33, 27, .045);
  border-radius: 9px;
}
.home-page .platform-item > span { min-width: 0; gap: 3px; }
.home-page .platform-item strong { font-size: 14px; letter-spacing: -.1px; }
.home-page .platform-item.active strong { color: #315f0f; }
.home-page .platform-item small { overflow: hidden; color: #758079; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.home-page .platform-item b {
  width: 30px;
  min-width: 30px;
  height: 30px;
  justify-self: end;
  color: transparent;
  background: #fff;
  border: 2px solid #c8d1ca;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(20, 33, 27, .04);
  font-size: 0;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.home-page .platform-item:hover b { border-color: #99aa9d; }
.home-page .platform-item b::before { content: ""; }
.home-page .platform-item.active b {
  color: #173807;
  background: var(--green);
  border-color: #6faa24;
  box-shadow: 0 0 0 3px rgba(186, 244, 109, .28), 0 4px 10px rgba(78, 130, 26, .22);
  transform: scale(1.04);
}
.home-page .platform-item.active b::before {
  content: "✓";
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.home-page .order-fields {
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 14px 13px;
}

.home-page .order-fields > * { min-width: 0; }
.home-page .order-fields label { color: #4e5a53; font-size: 14px; font-weight: 600; }
.home-page .order-fields select,
.home-page .order-fields input { height: 42px; padding: 0 12px; border-color: #d5dbd4; border-radius: 8px; font-size: 14px; }
.home-page .order-fields select { background: #fbfcfa; }
.home-page .order-fields select:hover,
.home-page .order-fields input:hover { border-color: #bec7bd; }
.home-page .order-fields input:focus::placeholder,
.home-page .login-card input:focus::placeholder,
.home-page dialog input:focus::placeholder { color: transparent; }

.home-page .order-choice-grid {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.home-page .category-choice-grid { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.home-page .quantity-choice-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.home-page .order-choice-card {
  min-width: 0;
  min-height: 42px;
  padding: 7px 9px;
  overflow: hidden;
  color: #4f5b54;
  background: #fbfcfa;
  border: 1px solid #d5dbd4;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.home-page .order-choice-card:hover:not(:disabled) {
  color: var(--ink);
  background: #f5f9ef;
  border-color: #b9ce9e;
}

.home-page .order-choice-card.is-active,
.home-page .order-choice-card[aria-checked="true"],
.home-page .order-choice-card[aria-pressed="true"] {
  color: #315f0f;
  background: #eef9df;
  border-color: #a8d267;
  box-shadow: inset 0 0 0 1px rgba(121, 189, 41, .15);
}

.home-page .order-choice-card:disabled {
  color: #9aa39d;
  background: #f3f5f2;
  border-color: #e2e6e1;
  cursor: not-allowed;
  opacity: .72;
}

.home-page .order-choice-placeholder {
  grid-column: 1 / -1;
  min-height: 42px;
  padding: 10px 12px;
  display: grid;
  place-items: center;
  color: var(--home-muted);
  background: #f7f9f6;
  border: 1px dashed #d5dbd4;
  border-radius: 8px;
  font-size: 12px;
}

.home-page .quantity-choice-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.home-page .quantity-choice-grid .custom-quantity-input {
  min-width: 0;
  margin: 0;
  padding-inline: 7px;
  background: #fff;
  text-align: center;
}

.home-page .quantity-choice-grid .custom-quantity-input.is-active {
  color: #315f0f;
  background: #fff;
  border-color: #a8d267;
  box-shadow: inset 0 0 0 1px rgba(121, 189, 41, .15);
}

.home-page .order-summary {
  margin: 16px 0 13px;
  padding: 12px 14px;
  gap: 14px;
  background: #f7f9f5;
  border-color: #dce2da;
  border-radius: 9px;
}

.home-page .order-summary > div { min-width: 0; gap: 3px; }
.home-page .order-summary span { font-size: 12px; }
.home-page .order-summary #order-summary-text { font-size: 14px; }
.home-page .order-summary #order-unit-price { color: var(--home-muted); font-size: 12px; font-weight: 600; }
.home-page .order-price { font-size: 24px; letter-spacing: -.5px; }
.home-page .order-submit {
  min-height: 42px;
  padding: 0 16px;
  justify-content: center;
  border-radius: 8px;
  box-shadow: none;
  font-size: 14px;
}
.home-page .order-submit:hover { transform: none; box-shadow: none; }
.home-page .order-submit:disabled { cursor: not-allowed; box-shadow: none; opacity: .55; transform: none; }
.home-page .order-message { min-height: 15px; margin-top: 8px; }
.home-page .order-message.error { color: #b42318; }

/* Make the homepage checkout the visual focus without changing user-center forms. */
.home-page .quick-order {
  color: #f4f7f5;
  background: linear-gradient(145deg, #101914 0%, #17241c 100%);
  border-color: #2c3c32;
  box-shadow: 0 12px 32px rgba(10, 20, 14, .18);
}
.home-page .quick-order .panel-title > span { color: #fff; }
.home-page .quick-order .panel-title small { color: #aab6ae; }
.home-page .quick-order .order-fields label { color: #d5ded8; }
.home-page .quick-order .order-fields select,
.home-page .quick-order .order-fields input {
  color: var(--ink);
  background: #fff;
  border-color: #cbd4cd;
}
.home-page .quick-order .order-fields select:hover,
.home-page .quick-order .order-fields input:hover { border-color: #baf46d; }
.home-page .quick-order .order-choice-card {
  color: #29382f;
  background: #f7faf6;
  border-color: #cad4cc;
  touch-action: manipulation;
  transition: none;
}
.home-page .quick-order .order-choice-card:active:not(:disabled) {
  color: #18320b;
  background: var(--green);
  border-color: #92ce43;
  box-shadow: inset 0 0 0 1px rgba(54, 105, 12, .12);
}
.home-page .quick-order .order-choice-card:hover:not(:disabled) {
  color: #18320b;
  background: #f0fbdf;
  border-color: #baf46d;
}
.home-page .quick-order .order-choice-card.is-active,
.home-page .quick-order .order-choice-card[aria-checked="true"],
.home-page .quick-order .order-choice-card[aria-pressed="true"] {
  color: #18320b;
  background: var(--green);
  border-color: #92ce43;
  box-shadow: inset 0 0 0 1px rgba(54, 105, 12, .12);
}
.home-page .quick-order .order-choice-card:disabled {
  color: #839087;
  background: #e7ebe7;
  border-color: #d6ddd7;
  opacity: .72;
}
.home-page .quick-order .order-choice-placeholder {
  color: #b7c2ba;
  background: rgba(255, 255, 255, .05);
  border-color: #526158;
}
.home-page .quick-order .quantity-choice-grid .custom-quantity-input.is-active {
  color: #18320b;
  background: #f4ffe5;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(186, 244, 109, .18);
}
.home-page .quick-order .order-summary {
  color: #f4f7f5;
  background: #1c2a21;
  border-color: #3a4b40;
}
.home-page .quick-order .order-summary span,
.home-page .quick-order .order-summary #order-unit-price { color: #aebbb2; }
.home-page .quick-order .order-summary #order-summary-text { color: #fff; }
.home-page .quick-order .order-price { color: #ff5c5c; }
.home-page .quick-order .order-submit {
  color: #101914;
  background: var(--green);
  border-color: #8ac83b;
}
.home-page .quick-order .order-submit:hover { background: #c9ff83; }
.home-page .quick-order .order-message { color: #baf46d; }
.home-page .quick-order .order-message.error { color: #ff8d8d; }

@container (max-width: 520px) {
  .home-page .category-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .quantity-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .quantity-choice-grid .custom-quantity-input { grid-column: span 2; }
  .home-page .order-summary { align-items: stretch; flex-direction: column; gap: 9px; }
  .home-page .order-summary > div { width: 100%; max-width: 100%; }
  .home-page .order-summary #order-summary-text {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

.home-page .home-info-section {
  padding: 68px 0;
  background: var(--home-bg);
  border-block: 1px solid var(--home-line);
}

.home-page .home-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.home-page .home-info-panel,
.home-page .home-info-panel.knowledge,
.home-page .home-info-panel.faq-section {
  min-width: 0;
  padding: 22px 24px;
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}

.home-page .info-panel-heading {
  margin-bottom: 8px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.home-page .info-panel-heading .eyebrow { margin-bottom: 7px; }
.home-page .info-panel-heading h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.7px; }
.home-page .info-panel-heading .text-link { flex: 0 0 auto; font-size: 12px; }
.home-page .info-panel-description { margin: 0 0 10px; color: var(--home-muted); font-size: 13px; line-height: 1.65; }

.home-page .home-info-panel .accordion { border-top-color: var(--home-line); }
.home-page .faq-item button { padding: 16px 4px; grid-template-columns: 36px minmax(0, 1fr) 42px; font-size: 14px; }
.home-page .faq-answer p { margin-inline: 36px; font-size: 13px; line-height: 1.7; }
.home-page .faq-item.open .faq-answer p { margin-bottom: 15px; }

.home-page .latest-article-list { border-top: 1px solid var(--home-line); }
.home-page .latest-article-item { border-bottom: 1px solid var(--home-line); }
.home-page .latest-article-item:last-child { border-bottom: 0; }

.home-page .latest-article-item a {
  position: relative;
  min-height: 67px;
  padding: 10px 34px 10px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transition: color .18s ease, background .18s ease;
}

.home-page .latest-article-item a:hover { color: #315f0f; background: #f8faf5; }
.home-page .latest-article-meta { display: flex; align-items: center; gap: 7px; color: var(--home-muted); font-size: 12px; }
.home-page .latest-article-meta time { white-space: nowrap; }
.home-page .latest-article-item strong {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-page .latest-article-arrow {
  position: absolute;
  top: 50%;
  right: 6px;
  color: #89938d;
  font-size: 18px;
  transform: translateY(-50%);
  transition: color .18s ease, transform .18s ease;
}
.home-page .latest-article-item a:hover .latest-article-arrow { color: #315f0f; transform: translate(3px, -50%); }
.home-page .latest-article-empty {
  min-height: 332px;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  color: var(--home-muted);
  background: #fafbf8;
  font-size: 13px;
  text-align: center;
}
.home-page .latest-article-list:has(.latest-article-item) + noscript { display: none; }

.home-page .footer { padding: 52px 0 18px; border-top-width: 4px; }
.home-page .footer-top { grid-template-columns: 1fr 1.5fr; gap: 60px; padding-bottom: 36px; }
.home-page .footer-links { gap: 24px; }
.home-page .footer-links h3 { font-size: 14px; }
.home-page .footer-links a,
.home-page .footer-links p,
.home-page .footer-button { font-size: 12px; }
.home-page .footer-bottom { padding-top: 17px; font-size: 12px; }

.home-page dialog {
  padding: 28px;
  border-color: var(--home-line);
  border-radius: 14px;
  box-shadow: 0 18px 52px rgba(10, 16, 13, .2);
}
.home-page dialog h2 { font-size: 24px; }
.home-page dialog > p:not(.eyebrow) { margin-bottom: 18px; font-size: 14px; line-height: 1.65; }
.home-page .dialog-close { top: 13px; right: 13px; border-radius: 7px; }
.home-page .result-grid { padding: 15px; border-radius: 9px; }
.home-page #result-actions { grid-template-columns: 1fr; }
.home-page [hidden] { display: none !important; }

@media (max-width: 1050px) {
  .home-page .nav-wrap { gap: 18px; }
  .home-page .main-nav { gap: 16px; }
  .home-page .hero-grid { gap: 36px; }
  .home-page .order-layout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .home-page .nav-wrap { min-height: 60px; }
  .home-page .menu-toggle { display: block; margin-left: auto; }
  .home-page .main-nav {
    position: absolute;
    top: 60px;
    right: 15px;
    left: 15px;
    display: none;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--home-line);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(22, 33, 29, .12);
  }
  .home-page .main-nav.open { display: flex; }
  .home-page .main-nav a { padding: 12px; }
  .home-page .main-nav a::after { display: none; }
  .home-page .nav-actions { display: none; }
}

@media (max-width: 820px) {
  .home-page .nav-wrap { min-height: 60px; }
  .home-page .main-nav { top: 60px; gap: 0; }
  .home-page .main-nav a { padding: 12px; }
  .home-page .hero-grid { min-height: auto; padding-block: 42px; grid-template-columns: 1fr; gap: 32px; }
  .home-page .hero-copy h1 { font-size: clamp(36px, 9vw, 50px); }
  .home-page .login-card { max-width: 560px; }
  .home-page .section { padding: 56px 0; }
  .home-page .order-layout { grid-template-columns: 1fr; }
  .home-page .order-fields { grid-template-columns: 1fr; gap: 6px; }
  .home-page .order-fields label,
  .home-page .order-fields .select-wrap,
  .home-page .order-fields input,
  .home-page .order-fields .order-choice-grid,
  .home-page .order-fields .quantity-choice-field { grid-column: 1; }
  .home-page .category-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .order-summary { align-items: stretch; flex-direction: column; }
  .home-page .order-summary > div { width: 100%; max-width: 100%; }
  .home-page .home-info-grid { grid-template-columns: 1fr; }
  .home-page .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .home-page .section { padding: 48px 0; }
  .home-page .hero-grid { padding-block: 36px; }
  .home-page .hero-copy h1 { font-size: 34px; letter-spacing: -1.25px; }
  .home-page .hero-desc { margin-block: 16px 20px; }
  .home-page .hero-stats { margin-top: 30px; gap: 0; }
  .home-page .hero-stats div { min-width: 0; padding-inline: 12px; }
  .home-page .login-card { padding: 20px; border-radius: 12px; box-shadow: 0 7px 22px rgba(0, 0, 0, .13); }
  .home-page .section-heading { margin-bottom: 20px; }
  .home-page .platform-panel,
  .home-page .quick-order { padding: 18px; border-radius: 12px; }
  .home-page .panel-title { align-items: baseline; flex-direction: row; gap: 12px; }
  .home-page .order-fields { grid-template-columns: 1fr; gap: 6px; }
  .home-page .order-fields label,
  .home-page .order-fields .select-wrap,
  .home-page .order-fields input,
  .home-page .order-fields .order-choice-grid,
  .home-page .order-fields .quantity-choice-field { grid-column: 1; }
  .home-page .category-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .quantity-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .quantity-choice-grid .custom-quantity-input { grid-column: 1 / -1; }
  .home-page .order-summary { gap: 9px; }
  .home-page .order-summary > div { width: 100%; max-width: 100%; }
  .home-page .order-summary #order-summary-text { display: block; max-width: 100%; }
  .home-page .home-info-section { padding: 48px 0; }
  .home-page .home-info-panel,
  .home-page .home-info-panel.knowledge,
  .home-page .home-info-panel.faq-section { padding: 18px; }
  .home-page .info-panel-heading h2 { font-size: 22px; }
  .home-page .faq-item button { grid-template-columns: 32px minmax(0, 1fr) 38px; padding-block: 15px; }
  .home-page .faq-answer p { margin-inline: 32px; }
  .home-page .latest-article-item a { min-height: 64px; padding-left: 2px; }
  .home-page .latest-article-empty { min-height: 220px; }
  .home-page .footer { padding-top: 42px; }
  .home-page dialog { padding: 25px 20px; }
}

/* Mobile refinement: compact vertical rhythm, safe tap targets and iOS form sizing. */
@media (max-width: 600px) {
  .home-page .container { width: min(calc(100% - 24px), 1200px); }
  .home-page .site-header { background: rgba(255, 255, 252, .96); backdrop-filter: blur(14px); }
  .home-page .nav-wrap { min-height: 58px; gap: 12px; }
  .home-page .brand { flex-shrink: 0; gap: 8px; font-size: 17px; }
  .home-page .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; }
  .home-page .menu-toggle { min-width: 54px; height: 42px; border-radius: 9px; }
  .home-page .main-nav {
    top: 58px;
    right: 12px;
    left: 12px;
    max-height: calc(100dvh - 70px);
    padding: 7px 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .home-page .main-nav a {
    min-height: 44px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #edf0ec;
  }
  .home-page .main-nav a:last-child { border-bottom: 0; }
  .home-page .main-nav .platform-nav-link { display: none; }
  .home-page .main-nav .mobile-order-nav { display: flex; }
  .home-page #services,
  .home-page #instagram,
  .home-page #tiktok,
  .home-page #facebook,
  .home-page #x,
  .home-page #youtube,
  .home-page #faq,
  .home-page #knowledge { scroll-margin-top: 70px; }

  .home-page .hero-grid { padding-block: 30px 28px; gap: 18px; }
  .home-page .hero-copy .eyebrow { margin-bottom: 10px; font-size: 11px; letter-spacing: .9px; }
  .home-page .hero-copy h1 { font-size: clamp(32px, 9vw, 36px); line-height: 1.1; letter-spacing: -1.2px; }
  .home-page .hero-desc { margin-block: 15px 18px; font-size: 14px; line-height: 1.72; }
  .home-page .hero-actions { align-items: center; flex-direction: row; flex-wrap: wrap; gap: 8px 12px; }
  .home-page .hero-actions .btn { min-height: 42px; padding-inline: 17px; border-radius: 9px; }
  .home-page .hero-actions .text-link { min-height: 42px; display: inline-flex; align-items: center; }
  .home-page .hero-stats { width: 100%; margin-top: 24px; }
  .home-page .hero-stats div { min-width: 0; padding-inline: 9px; flex: 1 1 0; align-items: center; text-align: center; }
  .home-page .hero-stats strong { font-size: 18px; }
  .home-page .hero-stats span { font-size: 12px; }

  .home-page .login-card { width: 100%; padding: 14px 16px; }
  .home-page .login-head { margin-bottom: 10px; }
  .home-page .login-head p { display: none; }
  .home-page .login-icon { height: 25px; padding-inline: 9px; }
  .home-page .login-head h2 { font-size: 18px; }
  .home-page .login-card > label { margin: 7px 0 3px; }
  .home-page .login-card input,
  .home-page dialog input,
  .home-page .order-fields select,
  .home-page .order-fields input { height: 44px; font-size: 16px; }
  .home-page .check input { width: 16px; height: 16px; padding: 0; }
  .home-page .form-row { margin: 8px 0 10px; }
  .home-page .form-message:empty { display: none; }
  .home-page .form-foot { margin-top: 10px; }
  .home-page .login-state {
    padding-top: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 10px;
  }
  .home-page .login-state > span { grid-column: 1; grid-row: 1; font-size: 11px; }
  .home-page .login-state > strong {
    grid-column: 1;
    grid-row: 2;
    font-size: 16px;
  }
  .home-page .login-state > .btn {
    width: auto;
    min-height: 40px;
    padding-inline: 13px;
    grid-column: 2;
    grid-row: 1 / 3;
    border-radius: 8px;
    box-shadow: none;
    font-size: 13px;
  }
  .home-page .login-state > .link-button {
    margin: 0;
    grid-column: 2;
    grid-row: 3;
    justify-self: center;
    font-size: 11px;
  }

  .home-page .section { padding: 40px 0; }
  .home-page .services { padding: 20px 0 40px; }
  .home-page .services .section-heading,
  .home-page .services .platform-panel { display: none; }
  .home-page .services .order-layout { display: block; }
  .home-page .services .quick-order { width: 100%; }
  .home-page .section-heading { margin-bottom: 18px; gap: 8px; }
  .home-page .section-heading h2 { font-size: 28px; }
  .home-page .section-heading > p { line-height: 1.6; }
  .home-page .order-layout { gap: 12px; }
  .home-page .platform-panel,
  .home-page .quick-order { padding: 16px; }
  .home-page .panel-title { margin-bottom: 14px; }
  .home-page .platform-panel .panel-title small {
    max-width: 58%;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
  }
  .home-page .platform-list { gap: 7px; }
  .home-page .platform-item {
    min-height: 60px;
    padding: 8px 10px;
    grid-template-columns: 40px minmax(0, 1fr) 32px;
    gap: 9px;
  }
  .home-page .platform-item img { width: 36px; height: 36px; padding: 8px; }
  .home-page .platform-item b { width: 28px; min-width: 28px; height: 28px; border-radius: 8px; }
  .home-page .platform-item.active b::before { font-size: 17px; }

  .home-page .order-fields { gap: 7px; }
  .home-page .order-fields label:not(:first-child) { margin-top: 4px; }
  .home-page .order-choice-card { min-height: 44px; }
  .home-page .quantity-choice-grid .custom-quantity-input { height: 44px; }
  .home-page .order-summary { margin: 14px 0 12px; padding: 12px; }
  .home-page .order-summary #order-summary-text { font-size: 14px; line-height: 1.45; }
  .home-page .order-price { font-size: 24px; }
  .home-page .order-submit { min-height: 44px; }
  .home-page .order-message { margin-top: 7px; line-height: 1.5; }

  .home-page .home-info-section { padding: 40px 0; }
  .home-page .home-info-grid { gap: 12px; }
  .home-page .home-info-panel,
  .home-page .home-info-panel.knowledge,
  .home-page .home-info-panel.faq-section { padding: 16px; }
  .home-page .info-panel-heading { margin-bottom: 7px; gap: 10px; }
  .home-page .info-panel-heading h2 { font-size: 22px; }
  .home-page .info-panel-heading .text-link { font-size: 11px; }
  .home-page .info-panel-description { font-size: 12px; }
  .home-page .faq-item button { padding-block: 14px; grid-template-columns: 30px minmax(0, 1fr) 36px; }
  .home-page .faq-item button span,
  .home-page .faq-item button b { font-size: 12px; }
  .home-page .faq-answer p { margin-left: 30px; margin-right: 4px; }
  .home-page .latest-article-empty { min-height: 120px; padding: 18px; }

  .home-page .footer { padding: 36px 0 16px; }
  .home-page .footer-top { gap: 26px; padding-bottom: 26px; }
  .home-page .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .home-page .footer-links > div { min-width: 0; }
  .home-page .footer-links a,
  .home-page .footer-button {
    min-height: 44px;
    padding-block: 5px;
    display: inline-flex;
    align-items: center;
  }
  .home-page .footer-bottom { gap: 12px; color: #98a39c; line-height: 1.6; }
  .home-page .footer-bottom div { gap: 16px; }
  .home-page .footer-bottom a { min-height: 36px; display: inline-flex; align-items: center; }

  .home-page dialog,
  .home-page .query-dialog,
  .home-page .checkout-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 22px 16px;
    overflow-y: auto;
    border-radius: 12px;
  }
  .home-page dialog h2 { padding-right: 42px; font-size: 23px; line-height: 1.25; }
  .home-page .dialog-close { top: 8px; right: 8px; min-width: 44px; height: 44px; padding: 0; }
  .home-page .result-grid { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 12px; }
  .home-page .result-grid strong { min-width: 0; overflow-wrap: anywhere; }
  .home-page .dialog-actions { gap: 10px; }
  .home-page .checkout-option { min-height: 76px; }
}

@media (max-width: 380px) {
  .home-page .container { width: calc(100% - 20px); }
  .home-page .brand { font-size: 16px; }
  .home-page .brand-mark { width: 30px; height: 30px; }
  .home-page .menu-toggle { min-width: 52px; }
  .home-page .hero-copy h1 { font-size: 31px; }
  .home-page .hero-actions .btn { padding-inline: 14px; font-size: 13px; }
  .home-page .hero-actions .text-link { font-size: 13px; }
  .home-page .hero-stats div { padding-inline: 7px; }
  .home-page .platform-panel,
  .home-page .quick-order,
  .home-page .home-info-panel,
  .home-page .home-info-panel.knowledge,
  .home-page .home-info-panel.faq-section { padding: 15px; }
  .home-page .panel-title { gap: 8px; }
  .home-page .panel-title small { font-size: 10px; }
  .home-page .platform-item { padding-inline: 8px; grid-template-columns: 38px minmax(0, 1fr) 30px; }
  .home-page .platform-item img { width: 34px; height: 34px; }
  .home-page .order-summary #order-summary-text { font-size: 13px; }
  .home-page .info-panel-heading { gap: 8px; }
  .home-page .info-panel-heading h2 { font-size: 21px; }
  .home-page .faq-item button { grid-template-columns: 27px minmax(0, 1fr) 34px; font-size: 13px; }
  .home-page .faq-answer p { margin-left: 27px; margin-right: 4px; }
}

@media (hover: none) and (max-width: 820px) {
  .home-page .btn:hover,
  .home-page .platform-item:hover,
  .home-page .article-grid article:hover { transform: none; }
  .home-page .latest-article-item a:hover .latest-article-arrow { transform: translateY(-50%); }
}
