/* /contact/ and /privacy/ — resource pages on the shared site shell. */
.page-hero { padding: 72px 0 40px; }
.page-hero .container { display: grid; gap: 14px; justify-items: start; }
.page-title { margin-top: 4px; font-size: clamp(44px, 6vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; }
.page-hero .lead { max-width: 640px; margin-top: 10px; }
.page-hero .body { max-width: 640px; }

.contact-section { padding: 16px 0 104px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-card {
  position: relative; display: grid; align-content: start; gap: 10px; padding: 28px; border-radius: var(--radius-l);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hair);
  transition: transform var(--t-move) var(--ease-out), box-shadow var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out);
}
.contact-card:hover { transform: translateY(-3px); background: #fff; box-shadow: inset 0 0 0 1px var(--hair-strong), 0 24px 48px -28px rgba(0, 0, 0, .3); }
.contact-card:active { transform: translateY(-1px) scale(.995); }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--hair); margin-bottom: 8px; }
.contact-icon .icon { width: 20px; height: 20px; }
.contact-address { margin-top: 8px; font-size: 15px; font-weight: 600; color: #0066cc; overflow-wrap: anywhere; }
.contact-card > .arrow { position: absolute; top: 30px; right: 28px; width: 18px; height: 18px; color: var(--muted-2); transition: transform var(--t-ui) var(--ease-out), color var(--t-ui); }
.contact-card:hover > .arrow { transform: translateX(3px); color: var(--ink); }
.contact-note { margin-top: 24px; }

.policy-hero { padding-bottom: 28px; }
.policy-updated { font-size: 13px; }
.policy-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.policy-controls[hidden] { display: none; }
.policy-control { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 30px 0 12px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hair); font-size: 12px; font-weight: 500; color: var(--muted); }
.policy-control::after { content: ""; position: absolute; right: 13px; top: 13px; width: 5px; height: 5px; border-right: 1.5px solid var(--muted-2); border-bottom: 1.5px solid var(--muted-2); transform: rotate(45deg); pointer-events: none; }
.policy-control select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; padding-right: 4px; }

.policy { padding-bottom: 104px; }
.policy-summary { max-width: 760px; padding: 24px 28px; border-radius: var(--radius-m); background: var(--surface-2); font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; margin-top: 48px; align-items: start; }
.policy-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.policy-toc ol { display: grid; gap: 2px; border-left: 1px solid var(--hair); }
.policy-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1.5px solid transparent; font-size: 13px; color: var(--muted); transition: color var(--t-ui), border-color var(--t-ui); }
.policy-toc a:hover, .policy-toc a.is-current { color: var(--ink); border-left-color: var(--ink); }
.policy-body { max-width: 720px; }
.policy-section + .policy-section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--hair); }
.policy-section h2 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.policy-section h3 { font-size: 16px; font-weight: 600; margin: 22px 0 6px; }
.policy-section p, .policy-section li { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.policy-section p + p { margin-top: 10px; }
.policy-section ul { margin-top: 10px; display: grid; gap: 8px; }
.policy-section li { position: relative; padding-left: 18px; }
.policy-section li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); }
.policy-contact { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {
  .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .policy-toc { position: static; max-height: none; }
  .policy-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; gap: 0 16px; }
  .policy-toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding-top: 40px; }
  .policy-toc ol { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-card, .contact-card > .arrow { transition: none; }
}
