.ocare-home {
  --home-teal: #174c4a;
  --home-deep: #103937;
  --home-pale: #edf5ed;
}

.home-hero, .home-final { color: white; background: var(--home-deep); }
.home-hero { background: radial-gradient(ellipse at 83% 38%, #33817e 0%, var(--home-teal) 38%, var(--home-deep) 74%); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(1.8rem, 5vw, 4.5rem); padding-top: clamp(2.6rem, 5vw, 4rem); }
.home-hero-copy { padding-bottom: clamp(2.6rem, 5vw, 4rem); container-type: inline-size; }
.home-hero-copy .eyebrow { color: var(--lime); }
.home-hero h1 { margin-top: .7rem; font-size: clamp(2.25rem, 5.05vw, 5rem); line-height: 1.07; }
.home-hero h1 > * { display: block; }
.home-hero h1 > :empty { display: none; }
html:lang(th) .home-hero h1 { font-size: min(5rem, 4.8vw); font-size: min(5rem, 11cqi); line-height: 1.15; }
html:lang(th) .home-hero h1 > * { white-space: nowrap; }
.home-lead { max-width: 39rem; margin: 1.35rem 0 1.65rem; color: #e0efea; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.home-ghost { color: white; border-color: #aecfc5; }
.home-ghost:hover { color: var(--home-deep); background: white; }
.home-hero-media { position: relative; align-self: end; justify-self: end; width: 100%; max-width: 33rem; margin: 0; }
.home-hero-media img { display: block; width: 100%; height: auto; mask-image: linear-gradient(to right, transparent, black 3%); }

.home-proof { padding-block: 1.85rem 2.15rem; background: #e8f1e8; }
.home-proof h2 { margin-bottom: 1rem; font-size: clamp(1.15rem, 2.5vw, 1.55rem); }
.home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem 1rem; margin: 0; }
.home-stats > div { padding-inline-start: .8rem; border-left: 2px solid #b3ccb9; }
.home-stats dt { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.1; }
.home-stats dd { margin: .3rem 0 0; color: var(--muted); }
.home-standards { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.25rem); margin-top: 1.2rem; padding-top: .9rem; border-top: 1px solid #b3ccb9; }
.home-standards img { display: block; flex: none; width: clamp(6rem, 14vw, 10rem); height: auto; }
.home-standards > div { min-width: 0; }
.home-standards h3 { font-size: 1rem; }
.home-standards p { color: var(--muted); font-size: .9rem; }
.home-trust { padding-block: clamp(1.75rem, 4vw, 3rem) .25rem; }
.home-trust-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.home-trust-header h2 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
.home-trust-controls { display: flex; flex: none; gap: .4rem; }
.home-trust-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 .15rem; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--deep); font-size: 1.65rem; line-height: 1; }
.home-trust-controls button:disabled { opacity: .45; cursor: default; }
.home-trust-track { position: relative; display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 3rem); overflow-x: auto; padding-block: .65rem .9rem; scroll-snap-type: x mandatory; scrollbar-color: #abc5b7 transparent; scrollbar-width: thin; }
.home-trust-track img { display: block; flex: none; width: auto; height: clamp(3.6rem, 7vw, 4.75rem); scroll-snap-align: start; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: no-preference) {
  .home-trust-track { scroll-behavior: smooth; }
}
.home-section-heading { max-width: 52rem; margin-bottom: 1.6rem; }
.home-section-heading .eyebrow { margin-bottom: .5rem; color: #427664; }
.home-section-heading > p:not(.eyebrow) { margin-top: .6rem; color: var(--muted); }
.home-solutions { gap: 1.15rem; }
.home-solution { overflow: hidden; display: grid; grid-template-rows: auto 1fr; border: 1px solid #c9ddd1; border-radius: 1.15rem; background: #fff; }
.home-solution-visual { height: clamp(12rem, 24vw, 19rem); background: #fff; }
.home-solution-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.home-cgm-visual { background: #235151; }
.home-cgm-visual img { object-fit: contain; }
.home-solution-copy { display: grid; gap: .5rem; align-content: start; justify-items: start; padding: clamp(1.15rem, 3vw, 1.8rem); }
.home-solution-copy .eyebrow { color: #427664; }
.home-solution-copy h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.16; }
.home-solution-copy p:not(.eyebrow, .product-line) { color: var(--muted); }
.home-solution-copy .button { margin-top: .45rem; }

.home-why { background: var(--home-pale); }
.home-why-copy p { color: var(--muted); }
.home-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
.home-why-grid article { overflow: hidden; border: 1px solid #c9ddd1; border-radius: 1rem; background: white; }
.home-why-media { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 1rem; background: #dceae3; color: #365b53; text-align: center; }
.home-why-media img { width: 100%; height: 100%; object-fit: cover; }
.home-why-media:has(img) { padding: 0; }
.home-why-copy { padding: clamp(1rem, 3vw, 1.6rem); }
.home-why-copy h3 { margin-bottom: .45rem; font-size: clamp(1.15rem, 2.5vw, 1.55rem); line-height: 1.32; }
.home-intelligence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; gap: .85rem; }
.home-intelligence dl, .home-intelligence ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.home-intelligence dl div, .home-intelligence li { padding: .65rem .85rem; border: 1px solid #c9ddd1; border-radius: .6rem; background: #f3f8f3; }
.home-intelligence dt, .home-intelligence li { font-weight: 700; }
.home-intelligence dd { margin: 0; color: var(--muted); font-size: .9rem; }
.home-intelligence-core { display: grid; gap: .4rem; place-content: center; padding: 1.5rem; border-radius: .85rem; color: white; background: var(--home-deep); }
.home-intelligence-core strong { font-size: 1.28rem; }
.home-intelligence-core span { color: var(--lime); }
.home-intelligence li { display: flex; align-items: center; }
.home-final p { max-width: 37rem; margin-block: .7rem 1.25rem; color: #e0efea; }

@media (max-width: 760px) {
  .home-hero-grid, .home-intelligence { grid-template-columns: minmax(0, 1fr); }
  .home-hero-copy { padding-bottom: 0; }
  .home-hero-media { justify-self: center; max-width: 27rem; }
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem .65rem; }
}
@media (max-width: 560px) {
  .home-why-grid { grid-template-columns: minmax(0, 1fr); }
}
