/* Easy Get Healthy — clarity-led visual refinement, 2026-12-04.
   Primitive → semantic → component tokens. No external assets or motion dependency. */
:root{
  --eg-evergreen-900:oklch(.31 .06 165);
  --eg-evergreen-700:oklch(.40 .075 165);
  --eg-mint-200:oklch(.92 .05 152);
  --eg-sage-100:oklch(.975 .012 150);
  --eg-ink-900:oklch(.25 .03 160);
  --eg-slate-600:oklch(.46 .025 160);
  --eg-surface-page:var(--eg-sage-100);
  --eg-text-primary:var(--eg-ink-900);
  --eg-text-secondary:var(--eg-slate-600);
  --eg-action-primary:var(--eg-evergreen-900);
  --eg-action-hover:var(--eg-evergreen-700);
  --eg-action-contrast:var(--eg-mint-200);
  --eg-button-bg:var(--eg-action-primary);
  --eg-button-text:var(--eg-action-contrast);
  --eg-focus-ring:var(--eg-evergreen-700);

  --background:150 14% 96%;
  --foreground:156 26% 12%;
  --card:150 20% 98%;
  --card-foreground:156 26% 12%;
  --popover:150 20% 98%;
  --popover-foreground:156 26% 12%;
  --primary:164 70% 14%;
  --primary-foreground:140 44% 93%;
  --secondary:150 14% 93%;
  --secondary-foreground:156 26% 14%;
  --muted:150 10% 92%;
  --muted-foreground:158 11% 36%;
  --accent:145 30% 91%;
  --accent-foreground:164 70% 14%;
  --border:150 12% 85%;
  --input:150 12% 76%;
  --ring:164 70% 20%;
  --radius:.75rem;
}

body{text-rendering:optimizeLegibility}
h1,h2,h3,h4,.serif{
  font-family:"Instrument Sans","PingFang SC","Microsoft YaHei",sans-serif;
  font-weight:600;
  line-height:1.16;
  letter-spacing:-.032em;
  text-wrap:balance;
}
.font-display{
  font-family:"Instrument Sans","PingFang SC","Microsoft YaHei",sans-serif;
  line-height:1.16;
  letter-spacing:-.032em;
  text-wrap:balance;
}
#top figure .font-display{
  font-family:"Fraunces","Songti SC",SimSun,Georgia,serif;
  font-weight:500;
  letter-spacing:-.018em;
}
p{line-height:1.65}
.measure{max-width:70ch}
.muted,.sub,.lede{color:hsl(var(--muted-foreground))}

/* One clear brand appearance per region; the care story carries the page. */
main .brand-mark{display:none}
.section-rule,.kicker{font-weight:600;letter-spacing:.075em;color:hsl(var(--muted-foreground))}
.section-rule::after,.kicker::after{display:none}
main section:not(#top) .section-rule,main section .kicker{display:none}

/* Calm, neutral surfaces instead of a decorative editorial grid. */
#top>div[class*="background-image"]{display:none}
.hero::before{background-image:none;-webkit-mask-image:none;mask-image:none}
.section,.site-footer,footer{border-color:hsl(var(--border))}
.section.alt{background:hsl(var(--secondary)/.62)}
section[style]{border-top-color:hsl(var(--border))!important;border-bottom-color:hsl(var(--border))!important}

/* Type scale: highly readable headings, restrained serif only in patient quotes. */
#top h1{font-size:clamp(2.65rem,4.4vw,3.75rem);font-weight:600;line-height:1.1;letter-spacing:-.045em}
#top h1>span{display:block}
.hero h1{font-size:clamp(2.4rem,4.6vw,3.75rem);font-weight:600;line-height:1.12;letter-spacing:-.04em}
body:has(#insurers) .hero h1{font-size:clamp(2.3rem,4vw,3.35rem);line-height:1.14}
.section-heading h2,.section h2{font-size:clamp(1.85rem,3vw,2.5rem);letter-spacing:-.035em}
html[lang="zh-CN"] #top h1{font-size:clamp(2.4rem,4vw,3.4rem);line-height:1.22;letter-spacing:-.035em}
html[lang="zh-CN"] #top figure .font-display{font-family:"Instrument Sans","PingFang SC","Microsoft YaHei",sans-serif;font-weight:500;letter-spacing:0}
.stat .num,.price,.formula,.howcard .step{
  font-family:"Instrument Sans","PingFang SC","Microsoft YaHei",sans-serif;
  font-weight:600;
  letter-spacing:-.03em;
}

/* Navigation and controls: 44 px targets, visible keyboard focus, short press feedback. */
header{z-index:40}
header nav :is(a,button){min-height:44px}
header .navlinks a{display:inline-flex;align-items:center}
:root body :is(a,button,input,select,textarea,summary):focus-visible{
  outline:3px solid var(--eg-focus-ring);
  outline-offset:3px;
}
.btn,a.bg-primary,button.bg-primary,[data-slot="button"]{
  min-height:44px;
  border-radius:12px;
  transition:background-color .16s ease-out,color .16s ease-out,border-color .16s ease-out,transform .12s ease-out;
}
.btn:active,a.bg-primary:active,button.bg-primary:active,[data-slot="button"]:active{transform:scale(.98)}
.btn:hover{opacity:1}
.btn-primary,a.bg-primary,button.bg-primary{background:var(--eg-button-bg);color:var(--eg-button-text)}
.btn-primary:hover,a.bg-primary:hover,button.bg-primary:hover{background:var(--eg-action-hover);opacity:1}
.btn-secondary,.btn-ghost{border-radius:12px}
.language-switch{border-radius:11px;transition:background-color .16s ease-out,color .16s ease-out,transform .12s ease-out}
.language-switch:active{transform:scale(.97)}

/* Separate content with space and shape, not hairline grids or nested decoration. */
.card,.service-card,.price-card,.capability-card,.callout,.qa,.howcard,.verdict,.tablewrap,.stats,.cta,.hero-aside,.formula{
  border-radius:16px;
}
.service-grid,.price-grid,.capability-grid{
  gap:1rem;
  background:transparent;
  border:0;
  border-radius:0;
  overflow:visible;
}
.service-card,.price-card,.capability-card{border:1px solid hsl(var(--border))}
.flow-item,.money-item{border-top-width:1px}
.callout{border-left:1px solid hsl(var(--border));border-radius:16px}
.tablewrap{box-shadow:0 12px 32px -28px hsl(var(--foreground)/.35)}
th{background:hsl(var(--secondary)/.72)}
.stats{box-shadow:0 12px 32px -28px hsl(var(--foreground)/.3)}
#top .shadow-sm{box-shadow:0 20px 48px -34px hsl(var(--foreground)/.42)}
footer a,.site-footer a{display:inline-flex;align-items:center;min-height:44px}
#contact :is(input,select,textarea){border-radius:12px;min-height:48px}
#contact label{font-weight:500}

/* Content stays visible; motion communicates only direct manipulation. */
.js .reveal,.js .reveal.is-visible{opacity:1;transform:none;transition:none}
html[lang="zh-CN"] :is(h1,h2,h3,h4,.font-display,.serif){
  font-family:"Instrument Sans","PingFang SC","Microsoft YaHei",sans-serif;
  font-style:normal;
  line-height:1.24;
  letter-spacing:-.02em;
}
html[lang="zh-CN"] blockquote,html[lang="zh-CN"] blockquote .font-display{line-height:1.55;letter-spacing:0}

@media(max-width:820px){
  #top h1{font-size:clamp(2.45rem,10.5vw,3.35rem);line-height:1.12}
  .hero h1{font-size:clamp(2.2rem,9vw,3rem);line-height:1.14}
  .section-heading h2,.section h2{font-size:clamp(1.75rem,7vw,2.25rem)}
  .hero{padding-top:3.5rem}
}
@media(max-width:620px){
  body{font-size:16px;line-height:1.65}
  #top h1{font-size:2.5rem;letter-spacing:-.04em}
  html[lang="zh-CN"] #top h1{font-size:clamp(1.95rem,9.4vw,2.2rem);line-height:1.26}
  .hero h1{font-size:2.25rem;letter-spacing:-.035em}
  body:has(#insurers) .hero h1{font-size:2rem;line-height:1.18}
  .hero{padding-top:2.75rem}
  .lede{font-size:1rem;line-height:1.7}
  .service-card,.price-card,.capability-card{padding:1.4rem}
  .cta{padding:1.5rem}
  .stat .num{font-size:1.4rem}
  html[lang="zh-CN"] .stat .num{font-size:1.2rem;letter-spacing:-.035em}
}
@media(max-width:370px){
  header .nav>.brand{gap:6px}
  header .nav>.brand .brand-mark{width:32px;height:32px}
  header .nav>.brand .brand-name{font-size:14px;letter-spacing:-.035em}
  #top h1{font-size:2.25rem}
  .hero h1{font-size:2.05rem}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media(prefers-reduced-transparency:reduce){
  header,.site-header{backdrop-filter:none;background:hsl(var(--background))}
}
