:root {
  --ink: #0f1111;
  --link: #007185;
  --hero: #2375c7;
  --nav: #232f3e;
  --yellow: #ffd814;
  --yellow-edge: #fcd200;
  --line: #d5d9d9;
  --foot: #232f3e;
  --foot-deep: #131a22;
  --muted: #565959;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.shelf {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, "Amazon Ember", "Noto Sans", "Noto Sans SC", "Noto Sans Arabic", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

html[lang="zh-CN"] body.shelf { font-family: "Noto Sans SC", Arial, sans-serif; letter-spacing: 0; }
html[lang="ar"] body.shelf { font-family: "Noto Sans Arabic", Arial, sans-serif; }
html[lang="ru"] .pill { padding-inline: 1.45rem; }

a { color: var(--link); }
img { max-width: 100%; height: auto; }

.page-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  background: #131921;
  color: #fff;
  white-space: nowrap;
}

.page-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.page-tools {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 0.85rem;
  margin-inline-start: 2.25rem;
}

.page-bar a {
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 2px;
}

.page-links a:hover,
.page-brand:hover { border-color: #fff; }

.page-bar a[aria-current="page"] { font-weight: 700; }

.page-brand {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  margin-inline-end: 2.25rem;
  font-weight: 700;
}

.page-brand img { width: 22px; height: 22px; border-radius: 3px; }

.lang-pop { position: relative; }

.lang-pop summary {
  list-style: none;
  cursor: pointer;
  color: #fff;
  border: 1px solid #848688;
  border-radius: 3px;
  padding: 6px 12px;
  font-size: 14px;
}

.lang-pop summary::-webkit-details-marker { display: none; }

.lang-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 9.5rem;
  padding: 6px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.lang-menu a {
  display: block;
  color: var(--ink);
  padding: 8px 10px;
}

.lang-menu a:hover { background: #f3f3f3; color: var(--ink); }

.page-bar a.nav-dl {
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--yellow-edge);
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 700;
}

.page-bar a.nav-dl:hover { background: #f7ca00; border-color: #f7ca00; color: var(--ink); }

html[lang="ru"] .page-links a,
html[lang="ru"] .page-bar a.nav-dl { padding-inline: 1.15rem; }

@media (max-width: 900px) {
  .page-bar { grid-template-columns: 1fr; justify-items: center; gap: 8px; padding: 8px 12px; white-space: normal; }
  .page-brand, .page-tools { margin-inline: 0; justify-self: center; }
}

.dept-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 39px;
  padding: 0 6px;
  background: var(--nav);
  color: #fff;
  overflow-x: auto;
  white-space: nowrap;
}

.dept-bar a {
  color: #fff;
  text-decoration: none;
  padding: 6px 7px;
  font-size: 13px;
  border: 1px solid transparent;
  border-radius: 2px;
}

.dept-bar a:hover { border-color: #fff; }

.dept-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

.hero-band { background: var(--hero); color: #fff; }

.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  min-height: 176px;
  padding: 8px 8px 0;
}

.hero-grid h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.hero-grid .tagline { margin: 0; font-size: 18px; font-weight: 400; }

.hero-grid img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: left center;
}

.lede {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 8px 8px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
}

.sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.72fr);
  gap: 36px;
  padding: 22px 0 40px;
}

.sheet h2 { margin: 0 0 16px; font-size: 18px; font-weight: 700; }

.step-list { list-style: none; margin: 0; padding: 0; }

.step-list > li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.step-no { color: #007185; font-size: 16px; font-weight: 700; line-height: 1.3; }

.step-list p { margin: 0 0 10px; }

.fine { color: var(--ink); font-size: 13px; }
.fine a { color: var(--link); }

.types { margin: 0 0 16px; font-size: 13px; color: #333; }

.pill {
  display: inline-block;
  margin: 4px 0 10px;
  padding: 7px 16px;
  border: 1px solid var(--yellow-edge);
  border-radius: 20px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
}

.pill:hover { background: #f7ca00; color: var(--ink); }

.corner-dl {
  position: fixed;
  z-index: 40;
  inset-inline-end: 18px;
  bottom: 18px;
  box-shadow: 0 4px 14px rgba(15, 17, 17, 0.28);
}

.shot { display: block; width: min(100%, 535px); margin: 6px 0 10px; background: #fff; height: auto; }

.or-line { margin: 4px 0 8px; color: var(--ink); font-size: 14px; }

.drop-shot { display: block; width: min(100%, 420px); height: auto; margin-top: 8px; }

.way-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.way-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

.way-list a:hover { background: #f7fafa; }

.way-list a.is-on {
  background: #f0f8ff;
  border-color: #b7d7ea;
  box-shadow: inset 0 0 0 1px #d6ebf5;
}

.way-list svg { width: 26px; height: 26px; flex: 0 0 26px; }

.learn { margin-top: 28px; }
.learn h2 { margin-bottom: 10px; }
.learn ul { margin: 0; padding: 0; list-style: none; }
.learn li { margin: 0 0 8px; }
.learn a { color: var(--link); text-decoration: none; }
.learn a:hover { color: #c7511f; text-decoration: underline; }

.rec-band {
  background: #f2f4f4;
  border-top: 1px solid #e3e6e6;
  border-bottom: 1px solid #e3e6e6;
  text-align: center;
  padding: 28px 16px 32px;
}

.rec-band h2 { margin: 0 0 12px; font-size: 18px; }

.signin {
  display: block;
  width: min(280px, 100%);
  margin: 0 auto;
  padding: 8px 12px;
  border-radius: 20px;
  text-align: center;
  font-size: 13px;
}

.rec-note { margin: 8px 0 0; font-size: 12px; color: var(--ink); }
.rec-note a { color: var(--link); text-decoration: none; }
.rec-note a:hover { color: #c7511f; text-decoration: underline; }

.back-top {
  display: block;
  background: #37475a;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 15px 12px;
  font-size: 13px;
}

.back-top:hover { color: #fff; text-decoration: underline; }

.foot-slab { background: var(--foot); color: #ddd; padding: 36px 0 28px; }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
}
.foot-slab h3 { margin: 0 0 10px; color: #fff; font-size: 16px; font-weight: 700; }
.foot-slab ul { list-style: none; margin: 0; padding: 0; }
.foot-slab li { margin: 0 0 8px; }
.foot-slab a { color: #ddd; text-decoration: none; font-size: 13px; }
.foot-slab a:hover { text-decoration: underline; }

.locale-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #3a4553;
}

.smile-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.smile-lockup img { width: 28px; height: 28px; border-radius: 4px; }

.locale-row a.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #848688;
  border-radius: 3px;
  color: #ddd;
  text-decoration: none;
  padding: 6px 10px;
  font-size: 13px;
  background: transparent;
}

.locale-row a.chip[aria-current="true"] { border-color: #fff; color: #fff; }

.service-slab { background: var(--foot-deep); color: #999; padding: 28px 0 40px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px 18px;
}
.service-grid a { display: block; color: #999; text-decoration: none; font-size: 12px; line-height: 1.3; }
.service-grid a strong { display: block; color: #ddd; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.service-grid a span { display: block; color: #999; font-weight: 400; }
.service-grid a:hover { text-decoration: underline; }

.legal-line {
  width: min(1100px, calc(100% - 32px));
  margin: 18px auto 0;
  color: #999;
  font-size: 12px;
  text-align: center;
}

.page-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 48px;
  color: var(--ink);
}

.page-copy h1 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.page-copy h2 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.page-copy p, .page-copy li { font-size: 14px; line-height: 1.55; }
.page-copy p { margin: 0 0 12px; }
.page-copy .kicker { display: block; margin: 0 0 6px; color: #007185; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.page-copy .font-display, .page-copy .prose-muted { color: inherit; font-family: inherit; letter-spacing: 0; }
.page-copy a { color: var(--link); }
.page-copy a.pulse-cta,
.page-copy a.ghost-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 16px;
  border: 1px solid var(--yellow-edge);
  border-radius: 20px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.page-copy a.pulse-cta:hover,
.page-copy a.ghost-cta:hover { background: #f7ca00; color: var(--ink); }
.page-copy table { width: 100%; border-collapse: collapse; margin: 0; background: #fff; }
.page-copy th, .page-copy td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; font-size: 14px; color: var(--ink); vertical-align: top; }
.page-copy th { background: #f0f2f2; font-weight: 700; }
.page-copy .lift-card {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.08);
  color: var(--ink);
}
.page-copy div:has(> details.lift-card),
.page-copy ol:has(> li.lift-card) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.page-copy section:has(> .lift-card),
.page-copy section:has(> article.lift-card),
.page-copy > section:first-child[class*="grid"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  align-items: start;
}
.page-copy details.lift-card { padding: 0; overflow: hidden; }
.page-copy details.lift-card summary {
  display: block;
  padding: 14px 16px 4px;
  color: #0f1111;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.page-copy details.lift-card summary::-webkit-details-marker { display: none; }
.page-copy details.lift-card p { margin: 0; padding: 4px 16px 16px; color: #333; }
.page-copy .break-all { color: #0f1111; font-family: Consolas, "Courier New", monospace; font-size: 13px; word-break: break-all; }
.page-copy pre { margin: 0 0 16px; padding: 12px; overflow: auto; background: #f7f7f7; border: 1px solid var(--line); color: #0f1111; font-size: 13px; }
.page-copy ol, .page-copy ul { margin: 0 0 14px; padding-inline-start: 1.2rem; }
.page-copy ol:has(> li.lift-card) { padding-inline-start: 0; margin-bottom: 0; }
.page-copy > section:first-child {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 28px;
  padding: 32px max(16px, calc((100% - 1100px) / 2)) 36px;
  background: #2375c7;
  color: #fff;
}
.page-copy > section:first-child .kicker,
.page-copy > section:first-child h1,
.page-copy > section:first-child h2,
.page-copy > section:first-child p,
.page-copy > section:first-child li { color: #fff; }
.page-copy > section:first-child a:not(.pulse-cta):not(.ghost-cta) { color: #fff; }
.page-copy > section:first-child .lift-card,
.page-copy > section:first-child .lift-card h1,
.page-copy > section:first-child .lift-card h2,
.page-copy > section:first-child .lift-card p,
.page-copy > section:first-child .lift-card li,
.page-copy > section:first-child .lift-card summary { color: #0f1111; }
.page-copy > section:first-child .lift-card .kicker { color: #007185; }
.page-copy > section:first-child .lift-card a:not(.pulse-cta):not(.ghost-cta) { color: var(--link); }
.page-copy > section:first-child div:has(> table),
.page-copy section:not(:first-child):has(table) {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.page-copy > :not(section:first-child) {
  width: min(1100px, calc(100% - 32px));
  margin-inline: auto;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .hero-grid, .sheet, .foot-grid { grid-template-columns: 1fr; }
  .hero-grid img { height: 140px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-copy div:has(> details.lift-card),
  .page-copy ol:has(> li.lift-card),
  .page-copy section:has(> .lift-card),
  .page-copy section:has(> article.lift-card),
  .page-copy > section:first-child[class*="grid"] { grid-template-columns: 1fr; }
}
