/* =========================================================
   壹分财税 · 官网样式
   配色严格取自 项目记忆/配色规范-theme.md（navy + gold）
   字号：官网正文 15–16px（D-008）；后台系统另用 13px
   ========================================================= */

:root {
  --primary: #0f2a4a;
  --primary-foreground: #ffffff;
  --sidebar: #0a1e36;
  --sidebar-foreground: #9fb0c3;
  --gold: #c8a96a;
  --gold-200: #e4d3a9;
  --navy-500: #1b4570;

  --bg: #e9eef4;
  --card: #ffffff;
  --muted: #e3e9f0;
  --border: #d4d9e0;
  --fg: #2c3542;
  --muted-fg: #8a94a3;
  --ok: #1e7a4d;
  --warn: #b8860b;
  --danger: #c0392b;

  --radius: 10px;
  --container: 1120px;
  --shadow: 0 1px 2px rgba(15, 42, 74, .04), 0 8px 24px rgba(15, 42, 74, .05);

  --font-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', ui-sans-serif,
    system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--primary);
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--navy-500); }

.btn-gold { background: var(--gold); color: #1a1408; }
.btn-gold:hover { background: #d8bd82; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-200); }

.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------- 页头 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--border); box-shadow: 0 2px 10px rgba(15, 42, 74, .05); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 21px; letter-spacing: .14em; color: var(--primary); font-weight: 700; }
.brand-text em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--muted-fg);
  margin-top: 5px;
}

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 15px;
  color: #47536b;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nav a:hover { color: var(--primary); border-bottom-color: var(--gold); }

.header-cta { margin-left: 4px; }

/* ---------------- 首屏 ---------------- */
.hero {
  background: var(--primary);
  color: #fff;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(200, 169, 106, .16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow span { display: block; width: 26px; height: 1px; background: var(--gold); opacity: .7; }
.eyebrow-light { color: var(--gold-200); }
.eyebrow-light span { background: var(--gold-200); }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.16;
  letter-spacing: -.02em;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .76);
  max-width: 33em;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .48); letter-spacing: .02em; }

.hero-panel {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: left; }
.fact { padding-right: 8px; }
.fact b { display: block; font-size: 34px; line-height: 1.1; color: var(--gold-200); font-weight: 700; letter-spacing: -.01em; }
.fact b small { font-size: 13px; margin-left: 2px; color: var(--gold); font-weight: 500; letter-spacing: 0; }
.fact span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .58); line-height: 1.4; }

.who { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.who-title { font-size: 12.5px; color: rgba(255, 255, 255, .5); letter-spacing: .1em; margin-bottom: 8px; }
.who-text { font-size: 13.5px; color: rgba(255, 255, 255, .62); line-height: 1.75; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font-size: 13px;
  color: var(--gold-200);
  border: 1px solid rgba(200, 169, 106, .3);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(200, 169, 106, .06);
}

.panel-foot { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 92px 0; }
.section-muted { background: var(--bg); }

.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--primary);
  font-weight: 700;
}
.sec-lead { margin-top: 16px; font-size: 16px; color: #5c6879; line-height: 1.85; }

.sec-head-light h2 { color: #fff; }
.sec-head-light .sec-lead { color: rgba(255, 255, 255, .7); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #c6ccd6; }

.ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--muted);
  color: var(--primary);
  margin-bottom: 18px;
}
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { font-size: 18px; color: var(--primary); font-weight: 700; letter-spacing: .01em; }
.card p { margin-top: 10px; font-size: 15px; color: #5c6879; line-height: 1.8; }

/* 痛点卡 */
.pain .do {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.7;
}

/* 服务卡 */
.service { position: relative; display: flex; flex-direction: column; }
.badge {
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted-fg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 16px;
}
.badge.gold { color: #8a6d2f; border-color: rgba(200, 169, 106, .55); background: rgba(200, 169, 106, .1); }
.service .desc { min-height: 84px; }

.ticks { margin-top: 16px; display: grid; gap: 8px; }
.ticks li { font-size: 14.5px; color: #5c6879; padding-left: 18px; position: relative; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

.deliver {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 13.5px;
  color: var(--muted-fg);
  letter-spacing: .02em;
}

/* ---------------- 深色带 ---------------- */
.band { background: var(--primary); color: #fff; }

.founder-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }

.founder-figure {
  border-left: 1px solid rgba(200, 169, 106, .35);
  padding-left: 26px;
}
.founder-figure b {
  display: block;
  font-size: clamp(72px, 9vw, 118px);
  line-height: .92;
  color: var(--gold-200);
  font-weight: 700;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.founder-figure span { display: block; margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .78); }
.founder-figure i { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: var(--gold); letter-spacing: .08em; }

.founder-copy h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.32; color: #fff; font-weight: 700; margin-bottom: 22px; }
.founder-copy p { font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, .74); max-width: 36em; }
.founder-copy p + p { margin-top: 14px; }
.founder-copy .muted-light { font-size: 14px; color: rgba(255, 255, 255, .45); margin-top: 20px; }

/* ---------------- 自研工具 ---------------- */
.scenes { border-top: 1px solid var(--border); }
.scene {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.scene h3 {
  font-size: 19px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  position: relative;
  padding-left: 18px;
}
.scene h3::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 2px; height: 16px;
  background: var(--gold);
}
.scene p { font-size: 15.5px; color: #5c6879; line-height: 1.9; }

.note {
  margin-top: 34px;
  font-size: 15px;
  color: #4a5768;
  padding: 18px 22px;
  background: var(--muted);
  border-radius: var(--radius);
  border-left: 2px solid var(--gold);
  line-height: 1.85;
}

/* ---------------- 流程 ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li {
  position: relative;
  padding: 0 24px 0 0;
}
.steps li::before {
  content: "";
  position: absolute;
  left: 40px; right: 0; top: 19px;
  height: 1px;
  background: var(--border);
}
.steps li:last-child::before { display: none; }

.step-no {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 106, .6);
  background: #fff;
  color: #8a6d2f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-top: 16px; font-size: 17px; color: var(--primary); font-weight: 700; }
.steps .when { margin-top: 6px; font-size: 13px; color: var(--gold); letter-spacing: .04em; font-weight: 600; }
.steps p:last-child { margin-top: 10px; font-size: 15px; color: #5c6879; line-height: 1.8; }

/* ---------------- 关于 ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; color: var(--primary); font-weight: 700; margin-bottom: 20px; }
.about-grid p { font-size: 16px; color: #5c6879; line-height: 1.9; }
.about-grid p + p { margin-top: 14px; }

.promise { margin-top: 30px; display: grid; gap: 14px; }
.promise li { font-size: 15px; color: #5c6879; padding-left: 18px; position: relative; }
.promise li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.promise b { color: var(--primary); margin-right: 8px; }

.reg-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
}
.reg-card h3 {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--muted-fg);
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.reg { margin-top: 4px; }
.reg > div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--muted);
  font-size: 14.5px;
}
.reg > div:last-child { border-bottom: 0; }
.reg dt { color: var(--muted-fg); }
.reg dd { color: var(--primary); line-height: 1.65; }
.reg-note { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 13px; color: var(--muted-fg); line-height: 1.7; }

/* ---------------- 联系 ---------------- */
.contact { padding-bottom: 100px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }

.contact-list { display: grid; gap: 16px; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
}
a.contact-item:hover { border-color: rgba(200, 169, 106, .5); background: rgba(200, 169, 106, .06); }

.ci-ico { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: rgba(200, 169, 106, .12); color: var(--gold-200); }
.ci-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ci-body { display: flex; flex-direction: column; gap: 4px; }
.ci-body small { font-size: 12.5px; color: rgba(255, 255, 255, .5); letter-spacing: .06em; }
.ci-body strong { font-size: 21px; font-weight: 700; color: #fff; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ci-body .hint { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .45); }

.qr-slot {
  width: 148px;
  height: 148px;
  margin-top: 6px;
  border: 1px dashed rgba(200, 169, 106, .45);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 8px, transparent 8px 16px);
}
.qr-slot span { font-size: 13px; color: var(--gold-200); letter-spacing: .04em; }
.qr-slot em { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .38); }
.qr-slot svg { width: 26px; height: 26px; fill: none; stroke: rgba(200, 169, 106, .75); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 30px;
  color: var(--fg);
}
.contact-card h3 { font-size: 21px; color: var(--primary); font-weight: 700; }
.contact-card p { margin-top: 12px; font-size: 15px; color: #5c6879; line-height: 1.85; }
.contact-card .btn { margin-top: 22px; }
.hours { font-size: 13px !important; color: var(--muted-fg) !important; margin-top: 12px !important; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--sidebar); color: var(--sidebar-foreground); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }

.wordmark { font-size: 24px; color: #fff; font-weight: 700; letter-spacing: .16em; }
.wordmark-en { font-size: 10px; letter-spacing: .34em; color: var(--gold); margin-top: 6px; }
.footer-desc { margin-top: 16px; font-size: 14px; color: #8fa3ba; max-width: 22em; line-height: 1.8; }

.footer-title { font-size: 13px; color: #c3d0de; letter-spacing: .1em; margin-bottom: 16px; }
.footer-nav a, .footer-contact a { display: block; font-size: 14.5px; color: #8fa3ba; padding: 5px 0; transition: color .16s ease; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-200); }
.footer-contact p { font-size: 14.5px; color: #8fa3ba; padding: 5px 0; }
.footer-meta { margin-top: 10px; font-size: 12.5px !important; color: #6b7f96 !important; }

.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 12.5px; color: #6b7f96; flex-wrap: wrap; }
.pending { color: #8a7a55; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .founder-figure { border-left: 0; border-top: 1px solid rgba(200, 169, 106, .35); padding-left: 0; padding-top: 22px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .steps li:nth-child(2)::before { display: none; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .section { padding: 68px 0; }
  .hero { padding: 64px 0 72px; }
  .grid-3 { grid-template-columns: 1fr; }
  .service .desc { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .scene { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::before { display: none; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fact b { font-size: 24px; }
  .fact span { font-size: 12px; }
  .reg > div { grid-template-columns: 108px 1fr; font-size: 14px; }
  .contact-card { padding: 26px 22px; }
  .btn { height: 46px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

.footer-record a { color: #9fb3c8; text-decoration: none; border-bottom: 1px dashed transparent; transition: color .2s, border-color .2s; }
.footer-record a:hover { color: #c8a96a; border-bottom-color: #c8a96a; }
.footer-sep { margin: 0 8px; opacity: .5; }
/* 企业微信二维码 */
.qr-real { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.qr-real img { width: 132px; height: 132px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: #fff; padding: 6px; }
.qr-real span { font-size: 12px; color: #9fb3c8; }
/* 电话号码防抓取：未点击前显示为提示文字 */
.js-phone { cursor: pointer; }
.js-phone-text { letter-spacing: .02em; }
/* 首屏二维码卡（面板底部） */
.panel-qr { display: flex; flex-direction: row; align-items: center; gap: 12px;
  width: 100%; box-sizing: border-box; padding: 12px 14px; margin-top: 16px;
  background: #fff; border: 1px solid rgba(200,169,106,.45); border-radius: 10px;
  text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.panel-qr:hover { border-color: #c8a96a; box-shadow: 0 10px 26px rgba(15,42,74,.18); }
.panel-qr img { width: 92px; height: 92px; border-radius: 8px; display: block; flex: 0 0 92px; }
.panel-qr-text { display: block; flex: 1 1 auto; min-width: 0; }
.panel-qr-text b { display: block; font-size: 14px; color: #0f2a4a; margin-bottom: 5px; }
.panel-qr-text small { display: block; font-size: 12px; color: #5b6675; line-height: 1.6; }
@media (max-width: 640px) {
  .panel-qr img { flex: 0 0 76px; width: 76px; height: 76px; }
  .panel-qr-text b { font-size: 13px; }
  .panel-qr-text small { font-size: 11.5px; }
}
.footer-police { display: inline-flex; align-items: center; gap: 5px; color: #9fb3c8; text-decoration: none; }
.footer-police img { width: 18px; height: 20px; display: block; }
.footer-police:hover { color: #c8a96a; }
@media (max-width: 640px) { .footer-police img { width: 15px; height: 17px; } }

/* 客户登录下拉（按钮同「电话咨询」样式） */
.login-menu { position: relative; display: inline-flex; margin-right: 8px; }
.login-trigger { gap: 6px; }
.login-trigger svg { width: 14px; height: 14px; }
.login-panel { display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 80;
  min-width: 184px; background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; padding: 6px;
  box-shadow: 0 16px 40px rgba(15,42,74,.16); }
.login-menu.is-open .login-panel { display: block; }
.login-panel a { display: block; padding: 9px 12px; border-radius: 7px; text-decoration: none;
  font-size: 13.5px; color: #0f2a4a; white-space: nowrap; }
.login-panel a:hover { background: #f4f7fb; color: #0f2a4a; }
@media (max-width: 760px) { .login-panel { right: auto; left: 0; } }