/* CCBONLINE website kit — layout layer on top of colors_and_type.css
   All values come from the token file; nothing new is invented here. */

* { box-sizing: border-box; }

.site {
  background: var(--bg);
  color: var(--fg1);
  min-height: 100vh;
  font-family: var(--font-en);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 900px) { .wrap { padding: 0 24px; } }
@media (max-width: 560px) { .wrap { padding: 0 20px; } }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.nav-in {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}
.nav-logo { height: 26px; width: auto; display: block; flex: none; }
.nav-logo-inv { display: none; }
.nav-links { display: flex; gap: 30px; height: 100%; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink-70);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  transition: color var(--dur) var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ink);
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--rule);
  cursor: pointer; margin-left: auto; padding: 0;
}
.nav-toggle i { display: block; width: 14px; height: 9px; position: relative; }
.nav-toggle i::before,
.nav-toggle i::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); }
.nav-toggle i::before { top: 0; }
.nav-toggle i::after { bottom: 0; }

.nav-sheet { display: none; }

@media (max-width: 900px) {
  .nav-in { height: 62px; gap: 16px; }
  .nav-links { display: none; }
  .nav-right { gap: 14px; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-sheet {
    display: block;
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
    padding: 8px 0 20px;
  }
  .nav-sheet button {
    display: block; width: 100%; text-align: left;
    background: none; border: 0; border-bottom: 1px solid var(--rule-soft);
    padding: 14px 0; font: 500 14px/1 var(--font-en); color: var(--ink); cursor: pointer;
  }
  .nav-sheet .btn { margin-top: 16px; width: 100%; justify-content: center; }
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-55);
}
.lang button {
  background: none; border: 0; padding: 2px 1px;
  font: inherit; letter-spacing: inherit;
  color: var(--ink-55); cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.lang button:hover { color: var(--ink); }
.lang button.is-on { color: var(--ink); font-weight: 600; }
.lang i { font-style: normal; color: var(--rule); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  padding: 0 20px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--paper); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--paper-2); color: var(--ink); }
.btn-invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-invert:hover { background: #fff; color: var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 12.5px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--teal);
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(8, 126, 117, 0.34);
  padding: 0 0 3px;
  font-family: inherit;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--teal-ink); border-color: var(--teal-ink); }
.link-arrow .ar { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .ar { transform: translateX(3px); }

/* ---------------- Type helpers ---------------- */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.site[data-lang='zh'] .h-display {
  font-family: var(--font-cjk);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.28;
  letter-spacing: 0;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}
.site[data-lang='zh'] .h-section {
  font-family: var(--font-cjk);
  font-size: clamp(23px, 2.7vw, 33px);
  line-height: 1.38;
  letter-spacing: 0;
}
.lead {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-70);
  margin: 0;
  max-width: 60ch;
}
.site[data-lang='zh'] .lead { font-family: var(--font-cjk); line-height: 1.8; }
.micro {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-55);
}
.site[data-lang='zh'] .micro { letter-spacing: 0.06em; }

/* ---------------- Sections ---------------- */
.section { padding: 96px 0; border-top: 1px solid var(--rule); }
.section-tight { padding: 64px 0; }
@media (max-width: 760px) { .section { padding: 64px 0; } }

.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 0; }

/* Hero — full-bleed video carrier on a Deep Ink ground.
   The clip is evidence-grade Canadian market footage (city, office, port, site).
   The legibility carrier behind the copy column is a reading surface for overlaid
   text, not decoration: one tonal transition, two stops, no decorative gradient. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 0;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  display: block;
}
.hero-carrier {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(24, 47, 59, 0.97) 0%,
    rgba(24, 47, 59, 0.94) 26%,
    rgba(24, 47, 59, 0.72) 46%,
    rgba(24, 47, 59, 0.28) 64%,
    rgba(24, 47, 59, 0) 78%);
}
.hero-in {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: min(88vh, 780px);
  padding-top: 96px;
  padding-bottom: 40px;
}
.hero-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 48px; }
.hero .eyebrow { color: var(--inverse-cjk); }
.hero .h-display { color: var(--paper); max-width: 17ch; }
.site[data-lang='zh'] .hero .h-display { max-width: 20ch; }
.hero-lead { margin-top: 28px; font-size: 18px; max-width: 46ch; color: rgba(247, 245, 240, 0.82); }
.hero-secondary {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(247, 245, 240, 0.62);
  max-width: 44ch;
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero .link-arrow { color: var(--paper); border-bottom-color: rgba(247, 245, 240, 0.42); }
.hero .link-arrow:hover { color: #fff; border-bottom-color: #fff; }
.hero-route {
  border-top: 1px solid rgba(247, 245, 240, 0.22);
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 0;
}
.hero .route-line { background: rgba(247, 245, 240, 0.20); }
.hero .route-dot { background: var(--teal); }
.hero .route-dot.is-idle { background: transparent; border: 1px solid rgba(247, 245, 240, 0.34); }
.hero .route-label { color: var(--paper); }
.hero .route-label.is-idle { color: rgba(247, 245, 240, 0.58); }
.hero .route-sep { color: rgba(247, 245, 240, 0.46); }

.route-node { display: flex; align-items: center; gap: 10px; flex: none; }
.route-dot { width: 6px; height: 6px; }
.route-line { flex: 1; height: 1px; margin: 0 16px; }
.route-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.15em; }
.route-sep { font-size: 10.5px; margin-left: 8px; letter-spacing: 0.02em; }

@media (max-width: 1000px) {
  .hero-in { min-height: 0; padding-top: 76px; }
  .hero .h-display { max-width: 20ch; }
}
@media (max-width: 760px) {
  .hero-in { padding-top: 56px; padding-bottom: 28px; }
  .hero-copy { padding-bottom: 36px; }
  .hero-lead { font-size: 16.5px; max-width: 38ch; }
  .hero-video { object-position: 70% 50%; }
  .hero-route { flex-wrap: wrap; gap: 14px; }
  .hero .route-line { display: none; }
  .hero-carrier {
    background: linear-gradient(180deg,
      rgba(24, 47, 59, 0.90) 0%,
      rgba(24, 47, 59, 0.84) 52%,
      rgba(24, 47, 59, 0.93) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-media {
    background: url("../media/ccbonline-hero-poster.jpg") center / cover no-repeat, var(--ink);
  }
}

/* Offers */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.offer {
  text-align: left;
  background: var(--bg);
  border: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 22px 24px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background-color var(--dur) var(--ease);
  min-height: 300px;
}
.offer:last-child { border-right: 0; }
.offer:hover { background: var(--bg-raised); }
.offer.is-sel { background: var(--bg-raised); }
.offer.is-sel { box-shadow: inset 0 -2px 0 0 var(--teal); }
.offer-no {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.offer-stage {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--ink-55);
  margin: 14px 0 10px;
  text-transform: uppercase;
}
.offer-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  min-height: 3.2em;
}
.site[data-lang='zh'] .offer-name { font-family: var(--font-cjk); font-size: 15px; line-height: 1.5; }
.offer-q { font-size: 13px; line-height: 1.5; color: var(--ink-70); margin: 12px 0 18px; flex: 1; }
.site[data-lang='zh'] .offer-q { font-family: var(--font-cjk); line-height: 1.7; }
.offer-get {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-40);
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  margin-bottom: 6px;
}
.offer-d { font-size: 12.5px; line-height: 1.55; color: var(--ink); }
.site[data-lang='zh'] .offer-d { font-family: var(--font-cjk); line-height: 1.7; }
.offer-link { margin-top: auto; padding-top: 16px; font-size: 12.5px; align-self: flex-start; }
@media (max-width: 1040px) {
  .offers { grid-template-columns: 1fr 1fr; }
  .offer:nth-child(2n) { border-right: 0; }
  .offer { min-height: 280px; }
}
@media (max-width: 620px) {
  .offers { grid-template-columns: 1fr; }
  .offer { border-right: 0; min-height: 0; }
}

/* Offer detail panel */
.offer-detail {
  margin-top: 0;
  border: 1px solid var(--rule);
  border-top: 0;
  background: var(--bg-raised);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 32px;
  align-items: start;
  animation: fadeIn var(--dur-slow) var(--ease);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.offer-detail .big { font-size: 19px; font-weight: 600; letter-spacing: -0.012em; margin: 0 0 8px; }
.site[data-lang='zh'] .offer-detail .big { font-family: var(--font-cjk); }
.offer-detail .en-def {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-55);
  margin: 0 0 14px;
  text-transform: none;
}
.offer-detail .body { font-size: 14px; line-height: 1.65; color: var(--ink-70); margin: 0; }
.site[data-lang='zh'] .offer-detail .body { font-family: var(--font-cjk); line-height: 1.75; }
.offer-detail .side { border-left: 1px solid var(--rule); padding-left: 28px; }
.offer-detail .side .micro { display: block; margin-bottom: 8px; font-size: 9.5px; }
@media (max-width: 860px) {
  .offer-detail { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .offer-detail .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; }
}

/* Approach */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.step { padding: 24px 32px 0 0; position: relative; }
.step:not(:last-child) { border-right: 1px solid var(--rule); }
.step + .step { padding-left: 32px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-no {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.step-line { flex: 1; height: 1px; background: var(--rule); }
.step h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; }
.site[data-lang='zh'] .step h3 { font-family: var(--font-cjk); font-size: 16px; }
.step p { font-size: 13.5px; line-height: 1.65; color: var(--ink-70); margin: 0; max-width: 30ch; }
.site[data-lang='zh'] .step p { font-family: var(--font-cjk); line-height: 1.75; }
@media (max-width: 760px) {
  .approach { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-right: 0; }
  .step:not(:last-child) { border-bottom: 1px solid var(--rule); }
}

/* CTA band */
.cta-band { background: var(--bg-deep); color: var(--fg-invert); padding: 88px 0; }
.cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.cta-band .h-section { color: var(--paper); max-width: 20ch; }
.cta-band .lead { color: rgba(247, 245, 240, 0.74); font-size: 15px; max-width: 44ch; }
.site[data-lang='zh'] .cta-band .lead { color: rgba(247, 245, 240, 0.78); }
.cta-band .eyebrow { color: var(--inverse-cjk); }
.cta-side { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.cta-note { font-size: 11.5px; line-height: 1.6; color: rgba(247, 245, 240, 0.5); letter-spacing: 0.01em; }
.cta-side .btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-buyer {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0 0 3px;
  font: 500 12.5px/1.5 var(--font-en);
  color: rgba(247, 245, 240, 0.72);
  cursor: pointer;
  border-bottom: 1px solid rgba(247, 245, 240, 0.28);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cta-buyer:hover { color: #fff; border-bottom-color: #fff; }
.site[data-lang='zh'] .cta-buyer { font-family: var(--font-cjk); font-size: 12px; }
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 64px 0; }
}

/* Footer */
.footer { background: var(--bg); padding: 56px 0 32px; border-top: 1px solid var(--rule); }
.foot-top {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.foot-logo { height: 30px; width: auto; display: block; }
.foot-id { max-width: 300px; min-width: 0; }
.foot-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 5px; }
.foot-contact .fc-line {
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
  width: fit-content;
}
.foot-contact .fc-line:hover { color: var(--teal); }
.foot-contact .fc-addr {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-55);
  margin-top: 2px;
  max-width: 32ch;
}
.foot-cols {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 1.2fr 0.9fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1040px) {
  .foot-cols { grid-template-columns: max-content max-content; gap: 36px 56px; justify-content: start; }
}
@media (max-width: 520px) {
  .foot-cols { grid-template-columns: 1fr; gap: 24px; }
}
.foot-col a { white-space: normal; }
.foot-col h4 {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 12px;
  color: var(--ink-55);
  margin: 0 0 12px;
}
.foot-col a,
.foot-col span {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-70);
  margin-bottom: 9px;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.foot-col a:hover { color: var(--teal); }
/* ---------------- Footer legal row ----------------
   Entity line left, legal navigation right. The soft-line nav only carries the
   documents a reader may need to check *after* reading a promise: /legal and
   /privacy. Neither is in the main nav — that stays commercial. */
.foot-legal {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--ink-55);
  flex-wrap: wrap;
}
.foot-legal .foot-entity { line-height: 1.6; }
.foot-lawlinks { display: flex; align-items: baseline; gap: 8px; flex: none; }
.foot-lawlinks i { font-style: normal; color: var(--rule); }
.foot-lawlinks button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--ink-55);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.foot-lawlinks button:hover { color: var(--teal); }
.foot-lawlinks button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .foot-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 820px) {
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-cols { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
}
@media(max-width:520px){
  .foot-cols { grid-template-columns: minmax(0,1fr); gap:24px; }
}

/* Inquiry dialog */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(24, 47, 59, 0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 90;
  animation: fadeIn 160ms var(--ease);
}
.dialog {
  background: var(--bg-raised);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-overlay);
  border-top: 2px solid var(--ink);
  padding: 32px 32px 28px;
  animation: fadeIn 200ms var(--ease);
}
.dialog h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 10px; }
.site[data-lang='zh'] .dialog h3 { font-family: var(--font-cjk); font-size: 20px; }
.dialog .sub { font-size: 13px; line-height: 1.6; color: var(--ink-70); margin: 0 0 24px; max-width: 44ch; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 11px 12px;
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(8, 126, 117, 0.14);
}
.field textarea { resize: vertical; min-height: 76px; line-height: 1.6; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dialog-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.dialog-foot .fine { font-size: 10.5px; color: var(--ink-55); max-width: 30ch; line-height: 1.5; }
/* Submission notice — the only place both legal documents are put in front of the
   visitor at the moment of interaction. Everything else is a footer link, which
   Canadian courts have treated as weak notice in browsewrap cases. */
.dialog-notice {
  flex: 1 1 100%;
  margin: 0 0 6px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-55);
  max-width: none;
}
.dialog-notice a { color: var(--teal); border-bottom: 1px solid rgba(8, 126, 117, 0.38); }
.dialog-notice a:hover { color: var(--teal-ink); border-bottom-color: var(--teal-ink); }
.site[data-lang='zh'] .dialog-notice { font-family: var(--font-cjk); line-height: 1.8; }
.sent { padding: 8px 0 4px; }
.sent .tick { width: 26px; height: 26px; border: 1px solid var(--teal); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 13px; margin-bottom: 16px; }
.sent p { font-size: 13.5px; line-height: 1.65; color: var(--ink-70); }
@media (max-width: 560px) {
  .dialog { padding: 24px 20px; }
  .field-2 { grid-template-columns: 1fr; }
}

/* ---------------- Specialized services ----------------
   A separate category, not a lower tier. Two cards, one component, identical
   geometry, deliberately quieter than the four-offer grid (1px rule, 11px
   numerals) so the two categories read as distinct without implying rank. */
.specialized .section-head { margin-bottom: 36px; }
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 760px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-card {
  text-align: left;
  background: var(--bg);
  border: 0;
  border-right: 1px solid var(--rule);
  padding: 26px 32px 30px 0;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  transition: background-color var(--dur) var(--ease);
}
.spec-card + .spec-card { padding-left: 32px; padding-right: 0; border-right: 0; }
@media (max-width: 760px) {
  .spec-card, .spec-card + .spec-card {
    padding: 24px 0;
    border-right: 0;
  }
  .spec-card + .spec-card { border-top: 1px solid var(--rule); }
}
.spec-card:hover { background: var(--bg-raised); }
.spec-no {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.spec-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
  max-width: 24ch;
}
.site[data-lang='zh'] .spec-name { font-family: var(--font-cjk); font-size: 16px; line-height: 1.55; letter-spacing: 0; }
.spec-body {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--ink-70);
  max-width: 46ch;
  margin-bottom: 18px;
}
.site[data-lang='zh'] .spec-body { font-family: var(--font-cjk); line-height: 1.85; }
.spec-link { margin-top: auto; align-self: flex-start; font-size: 12.5px; }
.spec-foot {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  gap: 32px;
  align-items: baseline;
}
@media (max-width: 760px) { .spec-foot { grid-template-columns: 1fr; gap: 12px; } }
.spec-foot .link-arrow { font-size: 12.5px; }
.spec-note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-55);
  max-width: 62ch;
}
.site[data-lang='zh'] .spec-note { font-family: var(--font-cjk); line-height: 1.85; }
