/* ==========================================================================
   Hello Nancy — theme
   Design tokens lấy từ hello-nancy.us: kem #fcf7ed, blush #f3dce2,
   hồng #ff30cc, lime #ccfd28, mực #1a1a1a; Bricolage Grotesque cho tiêu đề,
   Fraunces cho thân chữ; nút bo tròn hoàn toàn (999px).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* palette */
  --cream:      #fcf7ed;   /* nền chủ đạo toàn trang */
  --cream-warm: #faf5eb;   /* panel ảnh, chìm hơn nền một nấc */
  --blush:      #f3dce2;   /* header, avatar */
  --hero-tint:  #fff0f5;   /* nền + scrim của hero */
  --pink:       #ff30cc;   /* màu nhấn chính */
  --pink-deep:  #d939bb;   /* bản đậm hơn cho chữ trên nền sáng */
  --lime:       #ccfd28;   /* màu nhấn phụ */
  --ink:        #1a1a1a;
  --muted:      #6c6158;
  --line:       #e6e0d6;
  --white:      #ffffff;
  --star:       #ffac33;

  /* type */
  --font-body: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-head: 'Bricolage Grotesque', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Tiêu đề hero dài nhất là 2 dòng ngắn nên cận dưới có thể để rộng tay;
     h2 thì phải nhỏ hơn vì "The women changing how we talk about this" xuống
     tối đa 2 dòng ở 900px. */
  --fs-h1:   clamp(2.35rem, 5.1vw, 4rem);
  --fs-h2:   clamp(1.8rem, 3.4vw, 2.75rem);
  --fs-lead: clamp(1.0625rem, 1.2vw, 1.125rem);

  /* layout */
  --wrap:      900px;      /* cột chữ của các section canh giữa */
  --wrap-wide: 1440px;     /* khung ngoài cùng, khớp --page-width bản gốc */
  --gutter:    40px;
  --radius:    24px;
  --radius-sm: 12px;
  --header-h:  74px;

  --ease: cubic-bezier(0, 0, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.055em;   /* Fraunces đặt hơi chật, bản gốc nới ~0.06em */
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { max-width: var(--wrap-wide); }

.section { position: relative; }
.section--cream { background: var(--cream); }

.section__heading {
  font-size: var(--fs-h2);
  margin: 0;
}
.section__heading--pink {
  color: var(--pink-deep);
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

/* Chỉ ẩn phần tử reveal khi JS thật sự chạy — không thì tắt JS là mất nội dung.
   Class 'js' do inline script trong <head> gắn, chạy trước lần vẽ đầu tiên. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding-inline: 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--pink       { background: var(--pink); color: var(--white); }
.btn--pink:hover { background: #f10cba; box-shadow: 0 10px 26px rgba(255, 48, 204, .30); }

.btn--pink-deep       { background: var(--pink-deep); color: var(--white); border-color: var(--pink-deep); }
.btn--pink-deep:hover { background: #c22ea5; box-shadow: 0 10px 26px rgba(217, 57, 187, .28); }

.btn--ink       { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ink:hover { background: #000; box-shadow: 0 10px 26px rgba(26, 26, 26, .25); }

.btn--outline       { background: transparent; color: var(--ink); border-color: rgba(26, 26, 26, .25); }
.btn--outline:hover { background: rgba(26, 26, 26, .05); }

.btn--upper { text-transform: uppercase; letter-spacing: 0.09em; font-size: .95rem; }
.btn--sm    { min-height: 42px; padding-inline: 22px; font-size: .9rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: rgba(26, 26, 26, .07); }
.icon-btn svg { width: 22px; height: 22px; }

.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.arrow:hover { background: var(--blush); border-color: var(--blush); }
.arrow svg   { width: 18px; height: 18px; }
.arrow[disabled] { opacity: .32; cursor: default; }
.arrow[disabled]:hover { background: var(--white); border-color: var(--line); }

/* --------------------------------------------------------------------------
   5. Stars
   -------------------------------------------------------------------------- */
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.star  { width: 14px; height: 14px; fill: currentColor; flex: none; }
.star--empty { opacity: .28; }

/* --------------------------------------------------------------------------
   6. SECTION 1 — Announcement
   -------------------------------------------------------------------------- */
.announce__benefits {
  background: var(--pink);
  color: var(--white);
  padding-block: 10px;
}
.announce__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
}
.announce__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .8125rem;
  letter-spacing: .07em;
  line-height: 1.4;
  text-align: center;
}
.announce__icon { width: 20px; height: 20px; flex: none; }

.announce__sale {
  background: var(--lime);
  color: var(--ink);
  padding-block: 8px;
  text-align: center;
}
.announce__sale-text {
  display: block;
  font-size: .8125rem;
  letter-spacing: .06em;
  line-height: 1.5;
}
a.announce__sale-text:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   7. SECTION 2 — Header
   -------------------------------------------------------------------------- */
.header { background: var(--blush); }
.header--sticky { position: sticky; top: 0; z-index: 40; }

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 12px;
}

.header__burger { display: none; }

.header__brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo { width: 44px; height: 44px; }
.header__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.header__nav { justify-self: center; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-list a {
  position: relative;
  font-size: .9375rem;
  letter-spacing: .05em;
  padding-block: 4px;
}
/* Gạch chân chạy ra từ giữa — cùng ngôn ngữ chuyển động với nút (0.2s ease). */
.nav-list a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--pink);
  transform: translateX(-50%);
  transition: width .2s var(--ease);
}
.nav-list a:hover::after { width: 100%; }

.header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 18px; height: 18px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .6875rem;
  line-height: 18px;
  text-align: center;
}

/* Drawer mobile */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(26, 26, 26, .45);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.overlay.is-open { opacity: 1; }

.drawer {
  position: fixed;
  top: 0; left: 0;
  z-index: 70;
  width: min(320px, 86vw);
  height: 100dvh;
  padding: 20px 24px 32px;
  background: var(--cream);
  transform: translateX(-100%);
  transition: transform .32s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.drawer.is-open { transform: none; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.drawer__brand { font-family: var(--font-head); font-size: 1.25rem; }
.drawer__list { display: flex; flex-direction: column; }
.drawer__list a {
  display: block;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
}
.drawer__list a:hover { color: var(--pink); }
.drawer__cta { margin-top: 24px; }

/* --------------------------------------------------------------------------
   8. SECTION 3 — Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 60vw, 720px);
  background: var(--hero-tint);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video,
.hero__media picture { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Có cả video desktop lẫn video mobile thì mỗi bản chỉ hiện ở đúng bề rộng của
   nó. Phải làm bằng media query: thuộc tính media trên <source> đã bị gỡ khỏi
   spec của <video>, khai vào cũng không trình duyệt nào đọc.
   Bản đang ẩn được module 4 của theme.js dừng lại để khỏi tốn băng thông. */
.hero__media--mobile { display: none; }

/* Điểm neo khi object-fit: cover phải cắt bớt video. Chỉnh giá trị này là đủ
   để đổi khung hình trên mobile, không phải encode lại. */
.hero__media video { object-position: var(--hero-focus, 50% 50%); }

/* Scrim mờ dần sang phải: cột chữ bên trái luôn nằm trên nền gần đặc, phần
   ảnh bên phải giữ nguyên. Đổi ảnh nền không phải chỉnh lại màu chữ. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--hero-tint) 0%,
    rgba(255, 240, 245, .55) 55%,
    rgba(255, 240, 245, 0) 88%
  );
}

.hero__inner { position: relative; padding-block: clamp(48px, 6vw, 64px); }
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 620px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  font-size: .875rem;
  line-height: 1;
  letter-spacing: .04em;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  font-size: var(--fs-h1);
  line-height: 1.05;
}
.hero__line--accent { color: var(--pink); }

.hero__body {
  margin: 0;
  max-width: 560px;
  font-size: var(--fs-lead);
  line-height: 1.8;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: .9375rem;
}
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__check-icon { width: 18px; height: 18px; flex: none; color: var(--pink); }

/* --------------------------------------------------------------------------
   9. SECTION 4 — Gentle by design
   -------------------------------------------------------------------------- */
.first-time { padding-block: clamp(52px, 6vw, 72px) clamp(44px, 5vw, 60px); }

.iconcols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-top: clamp(32px, 4vw, 48px);
}
.iconcols__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.iconcols__badge {
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--pink);
  flex: none;
}
.iconcols__icon { width: 42px; height: 42px; }
.iconcols__title { font-size: 1.25rem; }
.iconcols__text  { margin: 0; font-size: 1rem; line-height: 1.65; }

.first-time__actions { margin-top: clamp(32px, 4vw, 44px); text-align: center; }

/* --------------------------------------------------------------------------
   10. SECTION 5 — Come play a little
   -------------------------------------------------------------------------- */
.playing { padding-block: clamp(56px, 7vw, 80px); }

.playing__grid {
  display: grid;
  grid-template-columns: 1.09fr 1fr;
  gap: 48px;
  align-items: center;
}

.playing__panel {
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 72px);
  border-radius: var(--radius);
  background: var(--cream-warm);
}
.playing__panel img { border-radius: 4px; }

.playing__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-block: 24px;
}
.playing__sub {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
}
.playing__body { margin: 0; font-size: 1.0625rem; line-height: 1.7; }

/* --------------------------------------------------------------------------
   11. SECTION 6 — Experts
   -------------------------------------------------------------------------- */
.experts { padding-block: clamp(48px, 6vw, 64px); }

.experts__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.experts__badge {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
}
.experts__heading { text-align: center; }

.experts__viewport {
  position: relative;
  margin-top: clamp(28px, 4vw, 40px);
  padding-inline: 24px;
}

/* Track là vùng cuộn ngang thật: vuốt/trackpad chạy sẵn, JS chỉ thêm mũi tên.
   scrollbar bị ẩn vì đã có thanh tiến trình riêng bên dưới. */
.experts__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.experts__track::-webkit-scrollbar { display: none; }
.experts__track:focus-visible { outline-offset: -3px; }

.experts__slide {
  flex: 0 0 clamp(272px, 31.5%, 400px);
  display: flex;
  scroll-snap-align: start;
}
.experts__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px;
  border: 1px solid #e6e6e6;
  border-radius: var(--radius);
  background: var(--white);
}
.experts__top { display: flex; flex-direction: column; gap: 20px; }

.experts__avatar {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--pink-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0;
  overflow: hidden;
  flex: none;
}
.experts__avatar img { width: 100%; height: 100%; object-fit: cover; }

.experts__quote { margin: 0; font-size: 1.0625rem; line-height: 1.7; }
.experts__quote p { margin: 0; }

.experts__foot { margin: 0; }
.experts__author {
  margin: 0 0 2px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--pink);
}
.experts__meta { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }

.experts__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.experts__arrow--prev { left: 0; }
.experts__arrow--next { right: 0; }

.experts__progress {
  height: 3px;
  margin-top: 28px;
  border-radius: 999px;
  background: rgba(26, 26, 26, .12);
  overflow: hidden;
}
.experts__progress-bar {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: 999px;
  background: var(--ink);
  transition: width .2s var(--ease), transform .2s var(--ease);
}

/* --------------------------------------------------------------------------
   12. SECTION 7 — Curiosity looks good on you
   -------------------------------------------------------------------------- */
.explore {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(380px, 34vw, 470px);
  background: #8a2a68;   /* nền dự phòng khi chưa có ảnh: chữ trắng vẫn đọc được */
  overflow: hidden;
}
.explore__media { position: absolute; inset: 0; }
.explore__media img { width: 100%; height: 100%; object-fit: cover; }

/* Scrim phủ đều thay vì gradient: chữ nằm giữa nên chỗ nào cũng phải đủ tối.
   Hồng nhạt ở độ mờ thấp — đủ để kéo mọi ảnh nền về đúng tông thương hiệu mà
   vẫn giữ nền tối, chữ trắng đạt tương phản ~4.5:1. */
.explore__scrim { position: absolute; inset: 0; background: #f7c9dd; opacity: .26; }

.explore__inner {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: clamp(48px, 6vw, 64px);
}
.explore__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  text-align: center;
}
.explore__heading {
  display: flex;
  flex-direction: column;
  font-size: var(--fs-h1);
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 2px 26px rgba(26, 26, 26, .20);
}

/* --------------------------------------------------------------------------
   13. SECTION 8 — Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 60px) 32px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__title {
  margin: 0 0 16px;
  font-size: 1.125rem;
}
.footer__toggle { display: none; }

.footer__body p { margin: 0 0 12px; font-size: .9375rem; line-height: 1.75; }
.footer__legal { color: var(--muted); font-size: .8125rem; }

.footer__contact li,
.footer__links li { margin-bottom: 8px; font-size: .9375rem; }
.footer__contact-label { color: var(--muted); }
.footer__contact a:hover,
.footer__links a:hover { color: var(--pink); text-decoration: underline; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer__social { display: flex; gap: 4px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.footer__social a:hover { background: var(--blush); color: var(--pink); }
.footer__social-icon { width: 20px; height: 20px; }
.footer__copy { color: var(--muted); font-size: .75rem; letter-spacing: .04em; }

/* --------------------------------------------------------------------------
   14. Cookie consent
   -------------------------------------------------------------------------- */
.cookie {
  width: min(460px, calc(100vw - 32px));
  margin: auto;
  padding: 28px;
  border: 0;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 14px 44px rgba(26, 26, 26, .20);
}
/* Nền vừa tối vừa nhoè: blur tách hẳn modal khỏi trang, nên lớp tối có thể
   nhạt hơn mà vẫn đủ tập trung. -webkit- cho Safari < 18. */
.cookie::backdrop {
  background: rgba(26, 26, 26, .38);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* theme.js focus vào chính dialog (tabindex="-1") để screen reader đọc tiêu đề
   trước khi Tab tới nút. Nó không phải control nên viền focus quanh cả card chỉ
   là nhiễu — hai nút bên trong vẫn giữ viền bình thường. */
.cookie:focus,
.cookie:focus-visible { outline: none; }

/* Trình duyệt không có showModal() (Safari < 15.4, Firefox < 98) coi <dialog>
   như một block thường và đổ thẳng nó vào giữa trang — chốt display:none để
   chưa mở thì không có gì lọt ra. */
.cookie:not([open]) { display: none; }

/* Hiệu ứng mở: dialog đi từ display:none nên phải cho display/overlay vào
   transition-behavior: allow-discrete, @starting-style là trạng thái đầu.
   Trình duyệt chưa hỗ trợ thì dialog hiện ngay, không vỡ gì. */
@media (prefers-reduced-motion: no-preference) {
  .cookie {
    opacity: 1;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease),
                display .25s allow-discrete, overlay .25s allow-discrete;
  }
  /* Backdrop fade cùng nhịp với card — blur ập vào ngay lập tức trông rất giật.
     ::backdrop nằm ở top layer nên phải khai báo transition riêng cho nó. */
  .cookie::backdrop {
    opacity: 1;
    transition: opacity .25s var(--ease),
                display .25s allow-discrete, overlay .25s allow-discrete;
  }
  @starting-style {
    .cookie[open] { opacity: 0; transform: translateY(10px) scale(.98); }
    .cookie[open]::backdrop { opacity: 0; }
  }
}
.cookie__title { margin: 0 0 10px; font-size: 1.5rem; }
.cookie__text  { margin: 0 0 20px; font-size: .9375rem; line-height: 1.7; }
.cookie__text a { color: var(--pink-deep); text-decoration: underline; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { flex: 1 1 150px; }

/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .playing__grid { gap: 32px; }
  .experts__slide { flex-basis: clamp(272px, 46%, 400px); }
}

@media (max-width: 899px) {
  :root { --gutter: 20px; }

  .header__inner { grid-template-columns: auto 1fr auto; }
  .header__burger { display: inline-flex; justify-self: start; }
  .header__brand  { justify-self: center; }
  .header__nav,
  .header__cta { display: none; }

  .iconcols { grid-template-columns: 1fr; gap: 36px; max-width: 460px; margin-inline: auto; }

  .playing__grid { grid-template-columns: 1fr; }
  .playing__content { align-items: center; text-align: center; padding-block: 0; }

  .footer__cols { grid-template-columns: 1fr; gap: 0; }

  /* Cột 2 và 3 thu thành accordion; cột đầu không có [data-accordion] nên
     giữ nguyên dạng đoạn văn. */
  .footer__col[data-accordion] { border-top: 1px solid var(--line); }
  .footer__col[data-accordion] .footer__title { margin: 0; }
  .footer__col[data-accordion] .footer__title-text { display: none; }
  .footer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding-block: 16px;
    font-family: var(--font-head);
    font-size: 1.125rem;
    text-align: left;
  }
  .footer__chevron {
    width: 18px; height: 18px;
    flex: none;
    transform: rotate(90deg);
    transition: transform .25s var(--ease);
  }
  .footer__toggle[aria-expanded="true"] .footer__chevron { transform: rotate(-90deg); }

  .footer__col[data-accordion] .footer__body {
    display: none;
    padding-bottom: 16px;
  }
  .footer__col[data-accordion].is-open .footer__body { display: block; }

  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  /* Mobile chỉ đủ chỗ 1 dòng: các mục chồng lên nhau ở cùng ô lưới, module 3
     của theme.js đổi .is-active để xoay vòng. */
  .announce__list { grid-template-columns: 1fr; gap: 0; }
  .announce__item {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .28s var(--ease), transform .28s var(--ease);
    pointer-events: none;
  }
  /* Mục mới chờ .28s rồi mới hiện — đúng lúc mục cũ vừa tan hết. Cùng chồng
     lên một ô lưới nên nếu fade song song thì hai dòng chữ đè lên nhau. */
  .announce__item.is-active {
    opacity: 1;
    transform: none;
    transition-delay: .28s;
    pointer-events: auto;
  }

  /* Cao hơn phần chữ một quãng, để chừa hẳn một dải video sạch ở đáy — có
     footage dọc rồi thì phải cho nó thở, không thì quay video làm gì. */
  .hero { min-height: 800px; }
  .hero__media--desktop { display: none; }
  .hero__media--mobile  { display: block; }

  /* Video quay ngang (16:9, hay 21:9 như bản hiện tại) đem xuống khung dựng
     đứng thì cover chỉ chừa lại ~23% bề ngang ở giữa — chủ thể thường nằm lệch
     nên bị cắt mất sạch. Kéo điểm neo sang phải để giữ được người trong khung.

     :not(--mobile) là cố ý: file hero-mobile.* đã được crop dọc sẵn cho đúng
     khung này rồi, đẩy neo thêm nữa là hỏng bố cục của nó. */
  .hero__media:not(.hero__media--mobile) video { --hero-focus: 75% 50%; }
  .hero__inner { padding-block: clamp(40px, 9vw, 56px); }
  .hero__content { max-width: none; gap: 20px; }
  /* Ảnh nền dựng đứng ở mobile, chữ đè lên phần trên nên scrim đặc ở đỉnh rồi
     nhạt dần xuống đáy — vừa đủ tương phản cho chữ, vừa để lộ ảnh phía dưới. */
  .hero__scrim {
    background: linear-gradient(
      to bottom,
      rgba(255, 240, 245, .90) 0%,
      rgba(255, 240, 245, .84) 52%,
      rgba(255, 240, 245, .58) 74%,
      rgba(255, 240, 245, .10) 100%
    );
  }
  .hero__badge { font-size: .8125rem; padding: 8px 14px; }
  .hero__checks { flex-direction: column; gap: 4px; }
  .hero__cta { width: 100%; }

  .experts__viewport { padding-inline: 0; }
  .experts__track { padding-inline: var(--gutter); }
  .experts__slide { flex-basis: min(84vw, 400px); }
  .experts__arrow { display: none; }

  .explore__inner { padding-block: clamp(44px, 10vw, 64px); }
}

@media (max-width: 479px) {
  .btn { padding-inline: 24px; }
  .header__name { font-size: 1.125rem; }
  .cookie { padding: 22px; }
}
