/* ==========================================================================
   Bwell Design System
   Layout & interaction language referenced from apple.com;
   colour, type and voice from the Bwell Brand Guidelines 2026.
   ========================================================================== */

:root {
  /* Brand */
  --blue: #008ad0;
  --navy: #005d9d;
  --brand-gray: #a8aaad;
  /* Brand blue is 3.8:1 on white — below AA for normal text. Navy (also an
     official brand colour) carries text and fills; blue stays for gradients,
     the logo mark and decorative accents. */
  --blue-text: #005d9d;
  --blue-text-hover: #00436f;
  --gradient: linear-gradient(135deg, #008ad0 0%, #005d9d 100%);
  /* Deeper variant for surfaces carrying white text — the light end of
     --gradient is only 3.8:1 against white. */
  --gradient-deep: linear-gradient(135deg, #005d9d 0%, #00365a 100%);

  /* Neutrals — Apple-style near-black on near-white */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --surface-3: #fafafa;
  --hairline: #d2d2d7;
  --hairline-soft: #e8e8ed;

  /* Type */
  --font: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-display: 'Poppins', 'Kanit', -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  /* Metrics */
  --nav-h: 48px;
  --page: 1280px;
  --gutter: 22px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-text); text-decoration: none; }
button { font: inherit; }

/* --------------------------------------------------------------- Utilities */

.wrap { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Skip link: hidden until it takes keyboard focus. */
a.sr-only:focus {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  width: auto; height: auto; margin: 0; padding: 10px 18px;
  clip: auto; overflow: visible; border-radius: 8px;
  background: var(--blue-text); color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

/* Visible focus for keyboard users everywhere. */
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; border-radius: 4px; }

/* Apple's two tones of section ground */
.bg-light { background: var(--surface); }
.bg-gray { background: var(--surface-2); }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(44px, 6vw, 76px); }

/* ------------------------------------------------------------------- Type */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
:lang(th) h1, :lang(th) h2, :lang(th) h3 { line-height: 1.25; }

.t-hero    { font-size: clamp(40px, 6.4vw, 72px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.t-display { font-size: clamp(32px, 4.4vw, 54px); font-weight: 600; letter-spacing: -0.022em; line-height: 1.15; }
.t-title   { font-size: clamp(26px, 3vw, 38px);  font-weight: 600; letter-spacing: -0.018em; line-height: 1.2; }
.t-sub     { font-size: clamp(19px, 1.9vw, 25px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.35; }
.t-body    { font-size: 17px; font-weight: 300; line-height: 1.65; color: var(--ink-2); }
.t-small   { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.t-eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px;
}
.muted { color: var(--ink-2); }
.section-head { max-width: 720px; margin-inline: auto; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .t-body { margin-top: 14px; }

/* ---------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: 980px; border: 1px solid transparent;
  font-size: 16px; font-weight: 400; line-height: 1.2; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn-primary { background: var(--blue-text); color: #fff; }
.btn-primary:hover { background: var(--blue-text-hover); }
.btn-ghost { border-color: var(--blue-text); color: var(--blue-text); background: transparent; }
.btn-ghost:hover { background: var(--blue-text); color: #fff; }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn:active { transform: scale(.97); }

/* Apple's inline chevron link */
.link-chevron {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 17px; color: var(--blue-text);
}
.link-chevron::after {
  content: '›'; font-size: 1.25em; line-height: 1;
  transition: transform .25s var(--ease); display: inline-block;
}
.link-chevron:hover::after { transform: translateX(3px); }
.link-chevron.on-dark { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.cta-row.center { justify-content: center; }

/* ----------------------------------------------------------------- Header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav {
  max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter);
  height: 100%; display: flex; align-items: center; gap: 8px;
}
.nav-logo { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.nav-logo .mark { width: 22px; height: 22px; flex: none; }
.nav-logo .word {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  letter-spacing: -0.04em; color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-link {
  display: block; padding: 6px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 300; color: var(--ink);
  white-space: nowrap; transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-link:hover { color: var(--blue-text); background: rgba(0,0,0,.035); }
.nav-link[aria-current="page"] { color: var(--blue-text); font-weight: 400; }
.nav-shop {
  margin-left: 10px; padding: 6px 16px; border-radius: 980px;
  background: var(--blue-text); color: #fff; font-size: 13px; white-space: nowrap;
  transition: background-color .2s var(--ease);
}
.nav-shop:hover { background: var(--blue-text-hover); }

/* Dropdown / mega panel */
.nav-panel {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, -6px);
  min-width: 240px; padding: 14px; border-radius: 16px;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--hairline-soft);
  box-shadow: 0 12px 40px rgba(0,0,0,.10);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-panel.mega {
  left: 50%; width: min(920px, calc(100vw - 40px));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 20px;
}
.nav-links > li:hover .nav-panel,
.nav-links > li:focus-within .nav-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-panel a {
  display: block; padding: 8px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 300; color: var(--ink);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav-panel a:hover { background: var(--surface-2); color: var(--blue-text); }

/* Mobile nav */
.nav-toggle {
  display: none; width: 34px; height: 34px; border: 0; background: none;
  cursor: pointer; padding: 0; position: relative; margin-left: 6px;
}
.nav-toggle span {
  position: absolute; left: 8px; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 24px var(--gutter) 60px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  display: block; padding: 13px 2px; font-size: 20px; font-weight: 300;
  color: var(--ink); border-bottom: 1px solid var(--hairline-soft);
}
.mobile-menu .sub a { font-size: 15px; padding-left: 16px; color: var(--ink-2); }
.mobile-menu .group-label {
  margin-top: 26px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding-block: clamp(52px, 7vw, 92px) 0;
  text-align: center; overflow: hidden;
  background: var(--surface-2);
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.hero .t-sub { margin-top: 16px; color: var(--ink-2); }
.hero .cta-row { margin-top: 30px; }

/* Light hero: dark copy on a pale ground with the product family beneath —
   the treatment the wide, bright Bwell lineup banner calls for. */
.hero-light { background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%); }
.hero-lineup { margin-top: clamp(8px, 1.5vw, 20px); }
/* Specificity has to beat the .media utilities defined further down. */
.hero .hero-lineup .media {
  max-width: 1400px; margin-inline: auto;
  border-radius: 0; background: none; aspect-ratio: auto;
}
.hero .hero-lineup .media img {
  width: 100%; height: auto; object-fit: contain; padding: 0;
}

/* Category hero — light, Apple product-page style */
.cat-hero { padding-block: clamp(48px, 7vw, 92px) clamp(30px, 4vw, 50px); background: var(--surface-2); text-align: center; }
.crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--blue-text); }
.crumbs span { margin-inline: 6px; color: var(--hairline); }
.cat-hero .t-body { max-width: 640px; margin: 18px auto 0; }

/* ------------------------------------------------------------------ Media */

.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(160deg, #eef4f9 0%, #e2ecf5 100%);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.ratio-16-9 { aspect-ratio: 16 / 9; }
.media.ratio-4-3  { aspect-ratio: 4 / 3; }
.media.ratio-1-1  { aspect-ratio: 1 / 1; }
.media.ratio-3-4  { aspect-ratio: 3 / 4; }
/* Cut-out product shots: show the whole product rather than filling the frame. */
.media.fit-contain { background: #fff; }
.media.fit-contain img { object-fit: contain; padding: 6%; }

/* --------------------------------------------------------- Category tiles */

/* Hero tile — one full-width card, the "big story" slot */
.tile-hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(28px, 4vw, 64px);
  padding: clamp(32px, 4vw, 60px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--hairline-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile-hero:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.tile-hero .t-eyebrow { margin-bottom: 10px; }
.tile-hero .t-body { margin: 14px 0 24px; }

/* Two-up grid of category cards */
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.tile {
  display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius-lg); background: var(--surface-2);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.08); background: #fff; }
.tile h2, .tile h3, .tile-hero h2, .tile-hero h3 { color: var(--ink); }
.tile .t-title { font-size: clamp(21px, 2vw, 27px); }
.tile .t-body { margin: 12px 0 20px; font-size: 15.5px; flex: 1; }
.tile .media { margin-top: auto; }

/* ------------------------------------------------------------ Product grid */

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  display: flex; flex-direction: column; padding: 22px;
  background: var(--surface); border: 1px solid var(--hairline-soft);
  border-radius: var(--radius); text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.09); border-color: transparent; }
.product-card .media { margin-bottom: 18px; background: var(--surface-2); }
.product-card h3 { font-size: 16px; font-weight: 400; line-height: 1.45; letter-spacing: -0.005em; }
.product-card .price s { color: var(--ink-2); font-weight: 400; font-size: 0.8em; margin-right: 4px; }
.product-card .price {
  margin: 10px 0 18px; font-family: var(--font-display);
  font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.product-card .actions { margin-top: auto; display: grid; gap: 8px; }
.product-card .btn { padding: 9px 18px; font-size: 14px; }

/* ------------------------------------------------------- Sub-category nav */

.subcat-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.subcat {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.subcat:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.subcat .dot { width: 34px; height: 34px; flex: none; }
.subcat strong { display: block; font-weight: 400; font-size: 15.5px; color: var(--ink); letter-spacing: -0.005em; }
.subcat span { font-size: 13px; color: var(--ink-2); }

/* ------------------------------------------------------------ SEO features */

.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(30px, 5vw, 80px);
}
.feature.reverse .feature-media { order: 2; }
.feature .t-title { margin-bottom: 24px; }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.feature-list .num {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--blue-text); color: #fff;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
}
.feature-list .bullet {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: rgba(0,138,208,.1);
}
.feature-list .bullet svg { width: 15px; height: 15px; }
.feature-list strong { display: block; font-weight: 500; font-size: 16.5px; letter-spacing: -0.005em; }
.feature-list p { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.feature-list li > div > p:only-child { margin-top: 3px; font-size: 16px; color: var(--ink); }

/* -------------------------------------------------------- Collapsible SEO */

.seo-intro { max-width: 780px; margin-inline: auto; text-align: center; }
.seo-body { position: relative; }
.seo-body .extra {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease), opacity .3s var(--ease);
  opacity: 0;
}
.seo-body .extra > div { overflow: hidden; }
.seo-body.open .extra { grid-template-rows: 1fr; opacity: 1; }
.seo-body .extra p { margin-top: 16px; }
.seo-toggle {
  margin-top: 16px; border: 0; background: none; cursor: pointer;
  color: var(--blue-text); font-size: 16px; display: inline-flex; align-items: center; gap: 6px;
}
.seo-toggle::after { content: '⌄'; transition: transform .3s var(--ease); line-height: 1; }
.seo-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

/* ----------------------------------------------------------- Partner logos */

.logo-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px;
}
.logo-chip {
  display: grid; place-items: center; min-width: 150px; height: 74px; padding: 0 26px;
  background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: 14px;
  font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--ink-2);
  letter-spacing: -0.01em;
  transition: transform .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.logo-chip:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 10px 26px rgba(0,0,0,.07); }
.bg-gray .logo-chip { background: #fff; border-color: transparent; }

/* ------------------------------------------------------------------ Blog */

.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.09); }
.blog-card .media { border-radius: 0; }
.blog-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card .tag {
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-text); margin-bottom: 9px;
}
.blog-card h3, .blog-card .body { color: var(--ink); }
.blog-card h3 { font-size: 16.5px; font-weight: 400; line-height: 1.5; letter-spacing: -0.005em; flex: 1; }
.blog-card .link-chevron { margin-top: 16px; font-size: 15px; }

/* --------------------------------------------------------------- Reviews */

.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review {
  padding: 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--hairline-soft); display: flex; flex-direction: column;
}
.review .stars { color: #9c6300; letter-spacing: 2px; font-size: 14px; margin-bottom: 12px; }
.review p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.65; flex: 1; }
.review .who { display: flex; align-items: center; gap: 11px; }
.review .avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--gradient-deep);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.review .who strong { font-weight: 400; font-size: 15px; }

/* ------------------------------------------------------------- CTA bands */

.cta-band {
  border-radius: var(--radius-lg); padding: clamp(40px, 5.5vw, 76px) clamp(26px, 4vw, 60px);
  background: var(--gradient-deep); color: #fff; text-align: center;
}
.cta-band .t-title { color: #fff; }
.cta-band .t-body { color: rgba(255,255,255,.9); margin: 14px auto 28px; max-width: 560px; }

/* ------------------------------------------------------------------ Stats */

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .n {
  font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .l { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* ------------------------------------------------------------------ Cards */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--hairline-soft);
}
.bg-gray .card { background: #fff; border-color: transparent; }
.card .t-title { font-size: clamp(19px, 1.7vw, 23px); margin-bottom: 12px; }
.card .icon { width: 42px; height: 42px; margin-bottom: 18px; }

/* Prose for policy / article pages */
.prose h2 { font-size: clamp(23px, 2.4vw, 30px); margin: 48px 0 16px; }
.prose h3 { font-size: clamp(18px, 1.8vw, 21px); margin: 32px 0 12px; font-weight: 500; }
.prose p  { margin: 0 0 16px; color: var(--ink-2); line-height: 1.75; }
.prose ul { margin: 0 0 20px; padding-left: 22px; color: var(--ink-2); line-height: 1.8; }
.prose li { margin-bottom: 6px; }
.prose > *:first-child { margin-top: 0; }

/* ----------------------------------------------------------------- Footer */

.site-footer { background: var(--surface-2); padding-block: clamp(48px, 6vw, 72px) 40px; font-size: 13px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px 28px;
  padding-bottom: 34px; border-bottom: 1px solid var(--hairline);
}
.footer-brand .word {
  font-family: var(--font-display); font-size: 21px; font-weight: 700;
  letter-spacing: -0.04em; color: var(--ink);
}
.footer-brand p { margin: 12px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font); font-size: 12px; font-weight: 500; letter-spacing: .06em;
  color: var(--ink); margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--ink-2); font-weight: 300; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--blue-text); text-decoration: underline; }
.footer-bottom {
  padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px;
  align-items: center; justify-content: space-between; color: var(--ink-2);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: var(--ink-2); }
.footer-bottom a:hover { color: var(--blue-text); text-decoration: underline; }

/* -------------------------------------------------------- Scroll reveal */

.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.d1.in { transition-delay: .07s; }
.reveal.d2.in { transition-delay: .14s; }
.reveal.d3.in { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1080px) {
  .product-grid, .blog-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-shop { display: none; }
  .nav-toggle { display: block; }
  .tile-hero { grid-template-columns: 1fr; }
  .tile-hero .media { order: -1; }
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: -1; }
  .feature .feature-media { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .tile-grid { grid-template-columns: 1fr; }
  .product-grid, .blog-grid, .review-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .logo-chip { min-width: 120px; height: 62px; font-size: 14px; padding: 0 18px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .cta-row.center { align-items: center; }
}

/* ------------------------------------------------------ Product detail page */

.pdp-hero { padding-block: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 72px); background: var(--surface); }
.pdp-hero .crumbs { text-align: left; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--nav-h) + 16px); min-width: 0; }
.pdp-info { min-width: 0; }
.pdp-main .media { background: var(--surface-2); }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pdp-thumbs button {
  flex: 0 0 72px; width: 72px; height: 72px; padding: 6px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--hairline-soft); background: var(--surface-2);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp-thumbs button:hover { transform: translateY(-2px); }
.pdp-thumbs button[aria-pressed="true"] { border-color: var(--blue-text); box-shadow: 0 0 0 1px var(--blue-text); }
.pdp-info .t-eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdp-info .t-display { font-size: clamp(28px, 3.2vw, 42px); margin-top: 8px; }
.pdp-subtitle { margin-top: 10px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.pdp-info > .t-body { margin-top: 14px; }
.pdp-price {
  margin-top: 22px; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
}
.pdp-price-ask { font-family: var(--font); font-weight: 500; font-size: 22px; color: var(--blue-text); }
.pdp-price-ask span { display: block; font-size: 14px; font-weight: 400; color: var(--ink-2); margin-top: 4px; }
.pdp-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-chips li {
  font-size: 13.5px; padding: 6px 12px; border-radius: 980px;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--hairline-soft);
}
.pdp-info .cta-row { margin-top: 26px; }
.pdp-meta { margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }

.badge {
  display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none;
  padding: 3px 10px; border-radius: 980px; background: var(--blue-text); color: #fff; vertical-align: middle;
}
.product-card { position: relative; }
.product-card .badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.product-card h3 a { color: inherit; }
.product-card h3 a:hover { color: var(--blue-text); }

.pdp-stats {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.pdp-stats li {
  padding: 26px 22px; border-radius: var(--radius); background: var(--surface-2); text-align: center;
}
.pdp-stats strong {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.02em; color: var(--blue-text);
}
.pdp-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }

.spec-wrap { max-width: 900px; margin-inline: auto; }
.spec-wrap .section-head { margin-inline: 0; }
.spec-table { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.spec-table > div {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--hairline-soft); font-size: 15.5px;
}
.spec-table dt { color: var(--ink-2); }
.spec-table dd { margin: 0; color: var(--ink); font-weight: 500; }
.pdp-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

.table-scroll { min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--hairline-soft); }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14.5px; background: var(--surface); }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline-soft); }
.compare thead th { background: var(--surface-2); font-weight: 500; font-size: 15px; }
.compare thead th a { color: var(--blue-text); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 18%; background: var(--surface-3); }
.compare td { color: var(--ink-2); line-height: 1.55; }
.compare .is-current { background: rgba(0,138,208,.08); color: var(--ink); }
.compare thead .is-current { color: var(--blue-text); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .pdp-stats { grid-template-columns: repeat(2, 1fr); }
  .spec-table { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pdp-stats { gap: 10px; }
  .pdp-stats li { padding: 18px 12px; }
  .spec-table > div { grid-template-columns: 1fr; gap: 2px; }
}
