/* Por Legal (www.porlegal.com)
   Color system: warm sand neutrals (about 60%), teal as the primary brand color (about 30%),
   terracotta as the warm secondary, sun gold as the highlight. Every color below comes from
   these tokens; the illustrations in src/art.mjs use the same hues. */
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Neutrals: warm sand */
  --sand-50: #fffbf5;
  --sand-100: #faf3e8;
  --sand-200: #f3e7d6;
  --sand-300: #e2cfb8;
  --line: #eee2d2;
  --card: #ffffff;
  --ink: #2b2520;
  --text: #51473f;
  --muted: #6f6359;
  /* Primary: teal (trust, calm) */
  --teal-800: #095952;
  --teal-700: #0b6e66;
  --teal-500: #14958a;
  --teal-100: #d5efea;
  --teal-50: #eaf6f3;
  /* Secondary: terracotta (warmth, people) */
  --terra-700: #a8432e;
  --terra-600: #c8553d;
  --terra-500: #dd6b4d;
  --terra-100: #f9dfd5;
  --terra-50: #fcefe9;
  /* Highlight: sun gold (hope) */
  --gold-800: #8a5409;
  --gold-600: #d48a1e;
  --gold-500: #e9a23b;
  --gold-100: #fbecc9;
  --gold-50: #fdf6e6;

  /* Text gradients stay within teal so they never pass through a muddy middle;
     the two-hue gradient is only used for thin accent lines. */
  --grad-text: linear-gradient(100deg, var(--teal-800) 0%, var(--teal-500) 50%, var(--teal-800) 100%);
  --grad-line: linear-gradient(90deg, var(--teal-500), var(--terra-500));
  --shadow: 0 1px 2px rgba(91, 60, 30, 0.05), 0 10px 28px -18px rgba(91, 60, 30, 0.22);
  --shadow-lg: 0 2px 4px rgba(91, 60, 30, 0.05), 0 26px 50px -26px rgba(91, 60, 30, 0.32);
  --radius-lg: 24px;
  --radius: 16px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--sand-50); color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; overflow-x: hidden; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--sand-50); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
svg, img { display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }
:focus-visible { outline: 2px solid var(--terra-600); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--teal-100); color: var(--ink); }

.container { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 200; padding: 8px 14px; border-radius: 8px; background: var(--card); color: var(--ink); }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.grad { background: var(--grad-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

/* Scroll reveal: site.js adds .in; the animation uses `translate` so hover transforms still work. */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].in { opacity: 1; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms) backwards; }
@keyframes rise { from { opacity: 0; translate: 0 28px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 251, 245, 0.86); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 10px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.logo { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-family: var(--display); font-size: 20px; letter-spacing: -0.01em; }
.brand-text small { font-size: 12.5px; color: var(--muted); }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 9px 14px; border-radius: 999px; color: var(--text); font-size: 15.5px; font-weight: 500; text-decoration: none; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--ink); background: var(--sand-200); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--sand-200); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad-line); }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.lang-menu, .menu { position: relative; }
.lang-menu summary { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid var(--sand-300); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 14.5px; font-weight: 600; }
.lang-menu summary .i { width: 18px; height: 18px; }
.lang-menu summary .i:last-child { width: 14px; height: 14px; color: var(--muted); transition: transform 0.2s; }
.lang-menu[open] summary .i:last-child { transform: rotate(180deg); }
.lang-panel, .menu-panel { position: absolute; right: 0; top: 52px; display: flex; flex-direction: column; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lang-panel { min-width: 170px; }
.lang-panel a, .menu-panel a { padding: 11px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; }
.lang-panel a:hover, .menu-panel a:hover { background: var(--sand-100); color: var(--ink); }
.lang-panel a[aria-current], .menu-panel a[aria-current] { color: var(--teal-700); background: var(--teal-50); }
.menu { display: none; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--sand-300); border-radius: 12px; background: var(--card); color: var(--ink); }
.menu-panel { width: min(320px, calc(100vw - 36px)); }
.menu-langs { display: flex; gap: 4px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.menu-langs a { flex: 1; text-align: center; padding: 9px 6px; font-size: 14px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: transform 0.2s, box-shadow 0.3s, border-color 0.3s, background 0.3s; }
.btn .i { width: 18px; height: 18px; }
.btn-primary { color: #fff; background: var(--teal-700); box-shadow: 0 12px 28px -14px rgba(11, 110, 102, 0.8); }
.btn-primary:hover { color: #fff; background: var(--teal-800); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(11, 110, 102, 0.9); }
.btn-ghost { color: var(--ink); background: var(--card); border: 1px solid var(--sand-300); }
.btn-ghost:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--teal-500); box-shadow: var(--shadow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-700); font-weight: 600; text-decoration: none; }
.text-link .i { width: 18px; height: 18px; transition: transform 0.2s; }
.text-link:hover { color: var(--teal-800); }
.text-link:hover .i { transform: translateX(3px); }
.text-link.small { margin-top: 18px; font-size: 14.5px; }
.text-link.small .i { width: 15px; height: 15px; }

/* Soft aurora and grid backdrops, tinted with the three brand hues */
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; animation: drift 24s ease-in-out infinite alternate; will-change: transform; }
.aurora span:nth-child(1) { top: -42vmax; left: -20vmax; background: radial-gradient(circle, rgba(20, 149, 138, 0.16), transparent 62%); }
.aurora span:nth-child(2) { top: -38vmax; right: -30vmax; background: radial-gradient(circle, rgba(221, 107, 77, 0.16), transparent 62%); animation-duration: 28s; animation-delay: -8s; }
.aurora span:nth-child(3) { bottom: -50vmax; left: 25%; background: radial-gradient(circle, rgba(233, 162, 59, 0.14), transparent 60%); animation-duration: 32s; animation-delay: -14s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(7vmax, 4vmax, 0) scale(1.12); }
  100% { transform: translate3d(-5vmax, 7vmax, 0) scale(0.94); }
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(110, 80, 50, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 80, 50, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 78%);
}

/* Home hero */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 88px 0 132px; }
.constellation { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0.8; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.greeting { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 16px 6px 8px; border: 1px solid var(--sand-300); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 14px; box-shadow: var(--shadow); }
.pulse { position: relative; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, var(--gold-500) 30%, transparent 32%); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-500); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.rotator { display: inline-block; min-width: 3.2em; color: var(--ink); font-weight: 700; transition: opacity 0.3s, transform 0.3s; }
.rotator.out { opacity: 0; transform: translateY(-6px); }
.hero h1 { margin-bottom: 24px; font-size: clamp(40px, 5.6vw, 74px); line-height: 1.04; letter-spacing: -0.035em; }
:lang(zh-Hans) .hero h1 { line-height: 1.2; letter-spacing: 0.01em; }
.hero .lead { max-width: 35em; margin-bottom: 34px; font-size: 19px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.8); color: var(--ink); font-size: 14.5px; font-weight: 600; }
.hero-facts .i { width: 18px; height: 18px; color: var(--teal-700); }

/* Visit strip: overlaps the bottom of the home hero */
.visit-strip { position: relative; z-index: 2; margin-top: -68px; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-lg); }
.visit-item { display: flex; align-items: flex-start; gap: 16px; padding: 26px 28px; }
.visit-item + .visit-item { border-left: 1px solid var(--line); }
.visit-h { margin: 0 0 6px; color: var(--muted); font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
:lang(zh-Hans) .visit-h { font-size: 14px; letter-spacing: 0.06em; }
.visit-item p { margin: 0 0 8px; color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.visit-item .text-link.small { margin-top: 2px; }

/* Flat illustrations (art.mjs): bubbles and cards float gently; the current status ring pulses. */
.hero-visual { position: relative; }
.art { width: 100%; max-width: 480px; height: auto; margin: 0 auto; }
.art.hero-art { max-width: 600px; }
.art .float, .spot-svg .float { animation: float 6s ease-in-out infinite; }
.art .d2, .spot-svg .d2 { animation-delay: -1.5s; }
.art .d3, .spot-svg .d3 { animation-delay: -3s; }
.art .d4, .spot-svg .d4 { animation-delay: -4.5s; }
.art .ping, .spot-svg .ping { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes float { 50% { transform: translateY(-7px); } }
@keyframes ring { from { transform: scale(0.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Example case card */
.case-card { position: relative; overflow: hidden; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: var(--card); color: var(--text); box-shadow: var(--shadow-lg); }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.case-title { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 600; }
.case-title .i { color: var(--teal-700); }
.tag { padding: 3px 11px; border: 1px solid var(--gold-100); border-radius: 999px; background: var(--gold-50); color: var(--gold-800); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; }
.timeline { margin: 0 0 20px; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li.done::before { background: var(--teal-500); }
.timeline li:last-child::before { display: none; }
.js .timeline li { opacity: 0; }
.js .in .timeline li { opacity: 1; animation: step-in 0.6s ease-out backwards; animation-delay: calc(0.4s + var(--i) * 0.45s); }
@keyframes step-in { from { opacity: 0; translate: -10px 0; } }
.dot { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--sand-300); border-radius: 50%; background: var(--card); }
.done .dot { background: var(--teal-500); border-color: transparent; }
.done .dot .i { width: 14px; height: 14px; color: #fff; stroke-width: 3; }
.current .dot { border-color: var(--gold-500); background: var(--gold-50); animation: glow 2.2s ease-out infinite; }
.current .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(233, 162, 59, 0.5); } 70% { box-shadow: 0 0 0 12px rgba(233, 162, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 162, 59, 0); } }
.timeline b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 600; }
.timeline small { display: block; color: var(--gold-800); font-size: 13px; }
.todo b { color: var(--muted); font-weight: 500; }
.bubble { display: flex; align-items: flex-start; gap: 12px; min-height: 78px; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: var(--teal-50); color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.bubble .logo { width: 30px; height: 30px; border-radius: 8px; }
.bubble p { margin: 0; }
.typing::after { content: "▍"; margin-left: 1px; color: var(--teal-700); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Sections */
.section { position: relative; padding: 112px 0; }
.section.tight { padding: 72px 0; }
.section.alt { background: var(--sand-100); border-top: 1px solid var(--line); }
.section.alt::before { content: ""; position: absolute; top: -1px; left: 50%; width: min(600px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--terra-500), transparent); opacity: 0.45; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--teal-700); font-family: var(--display); font-size: 13.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
:lang(zh-Hans) .kicker { letter-spacing: 0.08em; }
.kicker::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: var(--grad-line); }
.section-head h2, .h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 50px); }
.h2.small { font-size: clamp(26px, 3vw, 34px); }
.section-head p:not(.kicker) { margin: 0; color: var(--muted); font-size: 18.5px; }
.after-grid { margin: 34px 0 0; }
.after { margin: 22px 0 0; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.card h3 { margin: 22px 0 10px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
a.card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
a.card:hover { color: inherit; transform: translateY(-6px); border-color: var(--sand-300); box-shadow: var(--shadow-lg); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; color: var(--teal-700); font-size: 15px; font-weight: 600; }
.more .i { width: 16px; height: 16px; transition: transform 0.2s; }
a.card:hover .more .i { transform: translateX(4px); }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(20, 149, 138, 0.07), transparent 45%); }
.spot::after { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(20, 149, 138, 0.75), rgba(221, 107, 77, 0.45) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.pillar-label { margin: 20px 0 0 !important; color: var(--terra-700) !important; font-family: var(--display); font-size: 13px !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pillar h3 { margin-top: 6px; }

/* Icon tiles: tinted background, icon in the matching deep shade */
.tile { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; color: var(--teal-700); background: var(--teal-100); }
.tile .i { width: 24px; height: 24px; }
.tile.teal { color: var(--teal-700); background: var(--teal-100); }
.tile.terra { color: var(--terra-700); background: var(--terra-100); }
.tile.gold { color: var(--gold-800); background: var(--gold-100); }
.tile.sand { color: var(--text); background: var(--sand-200); }

/* Credentials */
.cred h3 { margin-top: 20px; font-size: 18px; }
.cred-number { margin: 0 0 6px !important; color: var(--ink) !important; font-family: var(--display); font-size: 26px !important; font-weight: 700; letter-spacing: 0.01em; }

/* Home: cost and who we serve */
.cost-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; }
.cost-card, .serve-card { padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.cost-card { border-color: var(--gold-100); background: radial-gradient(120% 80% at 0% 0%, var(--gold-50), transparent 60%), var(--card); }
.card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.card-head h3 { margin: 0; font-size: 24px; }
.cost-card > p:not(.after) { margin: 0 0 20px; color: var(--text); }
.cost-card .after { margin-top: 24px; }
.serve-card .chips { display: grid; gap: 10px; }
.serve-card .chip { padding: 12px 16px; border-radius: 16px; box-shadow: none; }
.serve-card .muted { margin: 18px 0 0; }

/* Home: why Por Legal */
.split .section-head { margin-bottom: 32px; }
.why-list { display: grid; gap: 24px; margin: 0 0 28px; }
.why-list li { display: flex; align-items: flex-start; gap: 18px; }
.why-list h3 { margin: 4px 0 6px; font-size: 20px; }
.why-list p { margin: 0; color: var(--muted); }

/* Home: trust strip and FAQ preview */
.trust { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 32px 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.trust h2 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 28px); }
.trust p { margin: 0; color: var(--muted); }
.trust-links { display: flex; flex-wrap: wrap; gap: 0 26px; }
.trust-links .text-link.small { margin-top: 10px; }
.faq-more { margin: 32px 0 0; text-align: center; }
.faq-group { max-width: 880px; margin: 56px auto 18px; font-size: clamp(22px, 2.4vw, 26px); }
.faq-group:first-child { margin-top: 0; }
.tips h3 { margin-bottom: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -21px; width: 20px; height: 2px; background: linear-gradient(90deg, var(--terra-500), transparent); }
.num { display: block; margin-bottom: 18px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--display); font-size: 46px; font-weight: 700; line-height: 1; }
.steps h3 { margin-bottom: 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Two-column layouts and art */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.top { align-items: start; }
.sticky { position: sticky; top: 110px; align-self: start; }
.quote { margin: 0 0 20px; color: var(--ink); font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; line-height: 1.45; }
:lang(zh-Hans) .quote { font-family: var(--font); }
.prose p:not(.kicker), .big { color: var(--text); font-size: 18px; }

/* Our name, mission, values */
.word { display: flex; align-items: center; height: 60px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.word .logo { width: 54px; height: 54px; }
.meaning .card h3 { margin-top: 16px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv .card { padding: 44px; }
.mv .card p { color: var(--text); font-size: 20px; line-height: 1.6; }
.card.mission { background: radial-gradient(120% 120% at 0% 0%, var(--teal-50), transparent 60%), var(--card); }
.card.vision { background: radial-gradient(120% 120% at 100% 0%, var(--gold-50), transparent 60%), var(--card); }

/* Milestones */
.milestones { position: relative; max-width: 900px; }
.milestones::before { content: ""; position: absolute; left: 179px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--teal-500), var(--terra-500), var(--gold-500)); opacity: 0.8; }
.milestones li { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding-bottom: 40px; }
.milestones li:last-child { padding-bottom: 0; }
.milestones li::before { content: ""; position: absolute; left: 172px; top: 8px; width: 16px; height: 16px; border: 3px solid var(--teal-500); border-radius: 50%; background: var(--sand-50); }
.milestones li:last-child::before { border-color: var(--gold-500); }
.m-date { padding-top: 2px; color: var(--ink); font-family: var(--display); font-size: 17px; font-weight: 600; text-align: right; }
.m-body h3 { margin-bottom: 6px; font-size: 21px; }
.m-body p { margin: 0; color: var(--muted); }

/* Leaders */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 22px; }
.leader { display: flex; align-items: center; gap: 20px; }
.avatar { display: grid; place-items: center; flex: none; width: 66px; height: 66px; border-radius: 50%; background: var(--teal-700); color: #fff; font-family: var(--display); font-size: 22px; font-weight: 700; }
.leader:nth-child(2) .avatar { background: var(--terra-600); }
.leader h3 { margin: 0 0 2px; font-size: 21px; }
.leader p { margin: 0; }

/* Organization facts */
.facts-list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.facts-list div { padding: 20px 26px; border-bottom: 1px solid var(--line); }
.facts-list div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts-list div:nth-last-child(-n + 2) { border-bottom: 0; }
.facts-list dt { margin-bottom: 4px; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
:lang(zh-Hans) .facts-list dt { font-size: 13.5px; letter-spacing: 0.04em; }
.facts-list dd { margin: 0; color: var(--ink); font-size: 16.5px; font-weight: 600; }

/* Services */
.service { display: grid; grid-template-columns: 340px 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.service:first-child { padding-top: 0; border-top: 0; }
.service:last-child { padding-bottom: 0; }
.service-head .tile { width: 58px; height: 58px; border-radius: 17px; }
.service-head h2 { margin-top: 20px; font-size: 28px; }
.service-body > p { color: var(--text); font-size: 18px; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--text); }
.checks .i { width: 20px; height: 20px; margin-top: 4px; color: var(--teal-500); stroke-width: 2.4; }
.area { display: flex; flex-direction: column; }
.area-index { position: absolute; top: 24px; right: 28px; color: var(--sand-200); font-family: var(--display); font-size: 54px; font-weight: 700; line-height: 1; }
.area .checks { margin-top: 18px; gap: 9px; }
.area .checks li { font-size: 15.5px; color: var(--muted); }
.area .checks .i { width: 17px; height: 17px; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--sand-300); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 500; box-shadow: var(--shadow); }
.chip .i { width: 20px; height: 20px; color: var(--terra-600); }
.note { display: flex; align-items: flex-start; gap: 12px; max-width: 860px; margin: 44px 0 0; padding: 18px 22px; border: 1px solid var(--gold-100); border-radius: var(--radius); background: var(--gold-50); color: var(--text); font-size: 15.5px; }
.note .i { margin-top: 2px; color: var(--gold-800); }
.free-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 40px; border: 1px solid var(--gold-100); border-radius: 28px; background: radial-gradient(100% 140% at 0% 0%, var(--gold-50), transparent 60%), var(--card); box-shadow: var(--shadow); }
.free-banner .tile { width: 70px; height: 70px; border-radius: 22px; }
.free-banner .tile .i { width: 34px; height: 34px; }
.free-banner h2 { margin-bottom: 10px; font-size: clamp(26px, 3vw, 36px); }
.free-banner p { margin: 0; color: var(--text); }

/* Case status checks */
.vsteps li { position: relative; display: flex; gap: 20px; padding-bottom: 30px; }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li::before { content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--teal-500), transparent); opacity: 0.6; }
.vsteps li:last-child::before { display: none; }
.vsteps .vnum { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-700); color: #fff; font-family: var(--display); font-size: 18px; font-weight: 700; box-shadow: var(--shadow); }
.vsteps h3 { margin: 10px 0 6px; font-size: 19px; }
.vsteps p { margin: 0; color: var(--muted); }
.showcase { position: relative; padding: 40px; border: 1px dashed var(--sand-300); border-radius: 30px; background: var(--sand-50); }
.resource { display: flex; flex-direction: column; }
.resource p { margin-bottom: 24px !important; }
.resource .btn { align-self: flex-start; margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: border-color 0.3s, box-shadow 0.3s; }
.faq details[open] { border-color: var(--teal-500); box-shadow: var(--shadow-lg); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; color: var(--ink); font-size: 18px; font-weight: 600; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border: 1px solid var(--sand-300); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%230b6e66' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 24px; color: var(--text); }
.faq .answer p { margin: 0; }

/* Visit page */
.contact-card address { margin-bottom: 20px; color: var(--text); font-size: 17px; line-height: 1.65; }
.hours-list { display: grid; gap: 8px; margin: 0 0 12px; }
.hours-list div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed var(--sand-300); }
.hours-list div:last-child { border-bottom: 0; }
.hours-list dt { color: var(--text); }
.hours-list dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.hours-list .closed dd { color: var(--muted); font-weight: 500; }
.card.contact-card p { color: var(--text); }
.lang-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px !important; }
.lang-pills span { padding: 5px 13px; border: 1px solid var(--sand-300); border-radius: 999px; background: var(--sand-100); color: var(--ink); font-size: 14px; font-weight: 600; }
.bring { display: grid; gap: 14px; }
.bring li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); font-weight: 500; box-shadow: var(--shadow); }
.bring .tile { width: 42px; height: 42px; border-radius: 12px; }
.bring .tile .i { width: 21px; height: 21px; }

/* Privacy notice */
.legal { max-width: 800px; }
.legal h2 { margin: 44px 0 12px; font-size: 24px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--text); }

/* Call to action */
.cta { padding: 30px 0 112px; }
.cta-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; padding: 64px; text-align: center; border-radius: 34px; background: linear-gradient(135deg, var(--teal-50), var(--sand-100) 48%, var(--terra-50)); box-shadow: var(--shadow-lg); }
.cta-panel h2 { margin-bottom: 14px; font-size: clamp(32px, 4vw, 52px); }
.cta-panel p { max-width: 36em; margin: 0 auto 28px; color: var(--text); font-size: 18px; }
.cta-panel .btn-row { justify-content: center; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.glow-border::after { content: ""; position: absolute; inset: 0; z-index: 2; padding: 2px; border-radius: inherit; pointer-events: none; background: conic-gradient(from var(--angle), var(--teal-500), var(--terra-500), var(--gold-500), rgba(20, 149, 138, 0.15), var(--teal-500)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 6s linear infinite; }
@keyframes spin { to { --angle: 360deg; } }

/* Page heroes */
.page-hero { position: relative; isolation: isolate; overflow: clip; padding: 96px 0 84px; border-bottom: 1px solid var(--line); }
.page-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.page-hero h1 { margin-bottom: 20px; font-size: clamp(40px, 5.4vw, 66px); letter-spacing: -0.03em; }
:lang(zh-Hans) .page-hero h1 { letter-spacing: 0.01em; }
.page-hero .lead { max-width: 40em; margin: 0; font-size: 19px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--terra-700); font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
:lang(zh-Hans) .eyebrow { letter-spacing: 0.08em; }
.eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; }
.hero-spot { width: 330px; }
.spot-svg { display: block; width: 100%; height: auto; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding: 90px 0 0; background: var(--sand-200); border-top: 1px solid var(--sand-300); color: var(--text); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer .brand { margin-bottom: 20px; }
.site-footer p { margin: 0 0 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--sand-300); border-radius: 999px; background: var(--card); color: var(--text); font-size: 13.5px; }
.badge .i { width: 16px; height: 16px; color: var(--teal-700); }
.footer-h { margin: 0 0 16px; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--teal-700); text-decoration: underline; }
.footer-inperson { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.footer-inperson .i { width: 18px; height: 18px; color: var(--terra-600); }
.footer-hint { color: var(--muted); font-size: 14px; }
.site-footer address { margin-bottom: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 24px 24px 0; border-top: 1px solid var(--sand-300); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-langs { display: flex; gap: 16px; }
.footer-langs a[aria-current] { color: var(--ink); font-weight: 700; }
.footer-bottom .fine { flex-basis: 100%; color: var(--muted); }
.wordmark { margin-top: 36px; overflow: hidden; background: linear-gradient(180deg, rgba(43, 37, 32, 0.13), rgba(43, 37, 32, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--display); font-size: clamp(76px, 17vw, 250px); font-weight: 700; line-height: 0.82; letter-spacing: -0.05em; text-align: center; white-space: nowrap; user-select: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .page-hero-inner { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-visual { max-width: 560px; }
  .hero-spot { width: 280px; }
  .visit-strip { margin-top: -52px; }
  .visit-grid, .cost-grid { grid-template-columns: 1fr; }
  .visit-item + .visit-item { border-left: 0; border-top: 1px solid var(--line); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .service { grid-template-columns: 1fr; gap: 20px; }
  .split { gap: 52px; }
  .split .art { max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-panel { padding: 48px 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .header-inner { min-height: 66px; }
  .brand-text small { display: none; }
  .hero { padding: 56px 0 104px; }
  .visit-item { padding: 20px; }
  .cost-card, .serve-card { padding: 26px; }
  .card-head h3 { font-size: 21px; }
  .trust { grid-template-columns: 1fr; padding: 26px; }
  .section.tight { padding: 56px 0; }
  .hero .lead, .page-hero .lead { font-size: 17px; }
  .page-hero { padding: 64px 0 56px; }
  .hero-spot { width: 230px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head p:not(.kicker) { font-size: 16.5px; }
  .grid-2, .grid-3, .grid-4, .mv, .leaders { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .mv .card { padding: 30px; }
  .mv .card p { font-size: 18px; }
  .case-card { padding: 20px; }
  .showcase { padding: 18px; border-radius: 22px; }
  .facts-list { grid-template-columns: 1fr; }
  .facts-list > div:nth-child(odd) { border-right: 0; }
  .facts-list > div:not(:last-child) { border-bottom: 1px solid var(--line); }
  .milestones::before { left: 7px; }
  .milestones li { grid-template-columns: 1fr; gap: 4px; padding-left: 36px; }
  .milestones li::before { left: 0; top: 4px; }
  .m-date { text-align: left; }
  .free-banner { grid-template-columns: 1fr; padding: 28px; }
  .cta { padding-bottom: 80px; }
  .cta-panel { padding: 34px 22px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .faq summary { padding: 18px 20px; font-size: 16.5px; }
  .faq .answer { padding: 0 20px 20px; }
}
@media (max-width: 380px) {
  .lang-menu summary { padding: 0 9px; }
  .lang-menu summary .i:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .timeline li { opacity: 1; }
  .constellation { display: none; }
}
