@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;500;700&display=swap');

:root {
  --blue: #12326B;
  --orange: #E8562A;
  --ink: #F2F0E9;
  --line: rgba(18, 50, 107, .22);
  --font: 'Noto Sans Hebrew', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  background: var(--ink);
  color: var(--blue);
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 14px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* 底部固定条 */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--blue);
  color: var(--ink);
  border-top: 4px solid var(--orange);
}

.dock .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 4px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
  min-width: 0;
}

.dock .brand .name {
  font-size: 15px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock .brand .markbox { display: block; width: 26px; height: 26px; flex: 0 0 26px; }
.dock .brand .mark { width: 26px; height: 26px; object-fit: contain; }

.navbox { position: relative; margin-left: auto; flex: 0 0 auto; }

.navbox > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 13px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.navbox > summary::-webkit-details-marker { display: none; }
.navbox > summary::after { content: '+'; font-weight: 700; }
.navbox[open] > summary::after { content: '\2212'; }

.navbox menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: min(262px, 76vw);
  max-height: 60vh;
  overflow: auto;
  background: rgba(18, 50, 107, .96);
  border: 2px solid var(--orange);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbox menu li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(242, 240, 233, .18);
}

.navbox menu li:last-child a { border-bottom: 0; }

.navbox menu li a:hover,
.navbox menu li a:focus-visible {
  background: var(--orange);
  color: var(--ink);
}

.dock .call {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  flex: 0 0 auto;
  transition: background .16s ease, color .16s ease;
}

.dock .call:hover { background: var(--ink); color: var(--blue); }

/* 首屏 */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 26px;
  padding: 56px 18px 130px;
  background: var(--blue);
  color: var(--ink);
}

.hero > * { position: relative; z-index: 2; }

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 8.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -.012em;
  font-weight: 700;
  max-width: 18ch;
}

.hero .lead {
  max-width: 36ch;
  margin: 0 0 22px;
  font-size: 17px;
  color: rgba(242, 240, 233, .82);
}

.hero-cta { margin: 0; }

.jump {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 14px 24px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--orange);
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.jump:hover { background: var(--ink); color: var(--blue); border-color: var(--ink); }

.hero-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
  z-index: 1;
}

.hero-art .shot {
  margin: 0;
  overflow: hidden;
  background: rgba(242, 240, 233, .13);
  border: 3px solid var(--ink);
}

.hero-art .shot--a { aspect-ratio: 4 / 3; }
.hero-art .shot--b { margin-top: 26px; aspect-ratio: 4 / 5; border-color: var(--orange); background: rgba(232, 86, 42, .3); }

.hero-art .shot img { width: 100%; height: 100%; object-fit: cover; }

.hero .slash {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -34px;
  height: 92px;
  background: var(--orange);
  transform: skewY(-3.5deg);
  z-index: 1;
}

/* 正文 */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 18px 0;
}

.panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.prose { min-width: 0; }

.prose div[id] {
  scroll-margin-top: 20px;
  scroll-margin-bottom: 120px;
  margin: 0 0 26px;
  padding: 22px 18px;
  background: rgba(18, 50, 107, .055);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid var(--line);
}

.prose div[id]:last-child { margin-bottom: 0; }

.prose h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 4.4vw, 30px);
  line-height: 1.28;
  font-weight: 700;
}

.prose h2 > span {
  display: inline-block;
  border-left: 7px solid var(--orange);
  padding-left: 12px;
}

.prose h3 {
  margin: 24px 0 10px;
  font-size: clamp(18px, 3.4vw, 21px);
  line-height: 1.35;
  font-weight: 700;
}

.prose h3 > span {
  display: inline-block;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 3px;
}

.prose p,
.prose li { font-size: 17px; }

.prose ul,
.prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }

.prose strong { font-weight: 700; }

.prose a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose blockquote {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 6px solid var(--blue);
  background: rgba(18, 50, 107, .08);
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 16px;
}

.prose th,
.prose td {
  border: 2px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.prose th { background: var(--blue); color: var(--ink); font-weight: 700; }

.prose img { margin: 0 0 16px; border: 2px solid var(--line); }

.prose time { font-weight: 500; color: rgba(18, 50, 107, .68); }

/* 侧边 */
.side { min-width: 0; }

.side-box {
  position: static;
  padding: 16px;
  border: 3px solid var(--blue);
  background: rgba(18, 50, 107, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.side-box h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
}

.side-box h2 > span {
  display: inline-block;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 4px;
}

.side-box ul { list-style: none; margin: 0; padding: 0; }

.side-box li a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 2px;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.side-box li a:hover { color: var(--orange); }

.side-box .top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--blue);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.side-box .top:hover { background: var(--orange); }

/* 页脚 */
.foot {
  margin-top: 56px;
  background: var(--blue);
  color: var(--ink);
  padding-bottom: 26px;
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 18px;
  background: var(--orange);
  color: var(--ink);
}

.foot-cta h2 {
  margin: 0;
  font-size: clamp(24px, 6.4vw, 40px);
  line-height: 1.2;
  font-weight: 700;
}

.foot-cta h2 > span { display: inline-block; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 14px 22px;
  background: var(--blue);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--blue);
  transition: background .16s ease, color .16s ease;
}

.cta-btn:hover { background: var(--ink); color: var(--blue); }

.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 18px;
}

.foot-cols h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(242, 240, 233, .72);
}

.foot-cols h3 > span {
  display: inline-block;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 4px;
}

.foot-cols ul { list-style: none; margin: 0; padding: 0; }

.foot-cols li a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 4px 0;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid rgba(242, 240, 233, .18);
}

.foot-cols li a:hover { color: var(--orange); }

.foot-cols address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(242, 240, 233, .82);
  overflow-wrap: anywhere;
}

.foot-cols address a { text-decoration: underline; text-underline-offset: 3px; }
.foot-cols address a:hover { color: var(--orange); }

.foot-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 0;
  border-top: 1px solid rgba(242, 240, 233, .2);
  text-align: center;
}

.foot-bar p { margin: 0; font-size: 15px; color: rgba(242, 240, 233, .74); }

/* 滚动显现 */
[data-rv] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}

[data-rv].on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rv] { opacity: 1; transform: none; transition: none; }
  .jump, .cta-btn, .dock .call { transition: none; }
}

@media (min-width: 620px) {
  .dock { padding-inline: 22px; gap: 14px; }
  .dock .brand .name { font-size: 17px; }
  .hero { padding: 70px 28px 150px; }
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 44px;
    padding: 80px 46px 150px;
  }
  .hero .lead { font-size: 18px; }
  .hero-art { gap: 16px; }
  .hero-art .shot--b { margin-top: 44px; }
  .hero .slash { height: 120px; bottom: -52px; }
  .wrap { padding: 56px 32px 0; }
  .prose div[id] { padding: 30px 26px; }
}

@media (min-width: 980px) {
  .panel {
    grid-template-columns: minmax(0, 1fr) 268px;
    gap: 38px;
    align-items: start;
  }
  .side-box { position: sticky; top: 20px; }
  .foot-cta { padding: 46px 40px; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
