:root {
  --navy: #0A1F44;
  --yellow: #FFC72C;
  --cream: #FFF6D6;
  --blue: #1D4ED8;
  --blue-dark: #163BA8;
  --tint: #F5F8FF;
  --line: #E3EBFF;
  --line-2: #DCE7FF;
  --body: #3B4B6B;
  --muted: #4A5A78;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: 'IBM Plex Sans Thai', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--text); color: var(--navy); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.show-mobile { display: none; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 80px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; text-decoration: none; font-family: inherit; cursor: pointer; border: 0; transition: transform .12s ease, background-color .12s ease; padding: 14px 24px; font-size: 16px; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 13px 22px; font-size: 15px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #F5B800; color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #142D5C; }
.btn-block { width: 100%; padding: 16px; font-size: 17px; line-height: 1.35; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; }
.brand-sub { font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; }
.main-nav a { color: var(--navy); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { color: var(--blue); }
.nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.link-login { padding: 12px 18px; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; }
.link-login:hover, .link-login[aria-current="page"] { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { background: #FEF5CD; } /* matches the illustration background */
.hero-inner { padding-top: 72px; padding-bottom: 64px; display: flex; align-items: center; gap: 64px; min-height: 640px; }
.hero-copy { flex: 1 1 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #C9D9FF; font-size: 14px; font-weight: 600; color: var(--blue); }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 1.02; letter-spacing: -.02em; }
.lead { font-size: 20px; line-height: 1.6; color: var(--body); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 12px; font-size: 15px; color: var(--body); }
.checks li::before { content: "✓ "; color: var(--navy); font-weight: 700; }
.hero-art { width: 520px; flex-shrink: 0; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-img { position: relative; container-type: inline-size; }
.hero-img img { width: 100%; height: auto; display: block; }
.bubble-text { position: absolute; transform: translate(-50%, -50%); font-weight: 700; color: var(--navy); line-height: 1.05; text-align: center; white-space: nowrap; pointer-events: none; }
.bubble-th { left: 32.4%; top: 15%; font-size: 4.6cqw; }
.bubble-en { left: 66.9%; top: 15.2%; font-size: 3.4cqw; }

/* Logos */
.logos { border-bottom: 1px solid var(--line); }
.logos-inner { min-height: 160px; display: flex; align-items: center; gap: 48px; padding-top: 32px; padding-bottom: 32px; }
.logos-label { width: 220px; flex-shrink: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.logos-grid { flex-grow: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.logo-tile { height: 64px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; font-size: 15px; color: #5E6C8A; text-align: center; padding: 0 8px; }
.logo-tile-brand { gap: 8px; font-family: var(--display); font-weight: 700; font-size: 20px; }
.logo-tile svg { width: 24px; height: 24px; flex-shrink: 0; }
.logo-community span { line-height: 1.05; text-align: left; }
.logo-community small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.slider-dots.logos-dots { display: none; }
.logos-slider { flex-grow: 1; }
.logos-slider .slide-btn { display: none; }

/* Section heads */
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.section-head.center { align-items: center; text-align: center; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .08em; color: var(--blue); }
.eyebrow-dark { color: var(--navy); }
h2 { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1.1; letter-spacing: -.01em; }
h2.big { font-size: 56px; }
.muted { font-size: 18px; line-height: 1.55; color: var(--body); }

/* Why */
.why { padding: 88px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.why-card { padding: 28px 24px; border-radius: 24px; background: var(--tint); display: flex; flex-direction: column; gap: 14px; }
.why-card svg { width: 96px; height: 96px; flex-shrink: 0; }
.why-card h3 { font-family: var(--display); font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.why-card p { font-size: 16px; line-height: 1.55; color: var(--body); }

/* Schedule */
.schedule { background: var(--yellow); }
.schedule-inner { padding-top: 80px; padding-bottom: 80px; display: flex; align-items: center; gap: 72px; }
.schedule-copy { flex: 1 1 0; display: flex; flex-direction: column; gap: 20px; }
.th-heading { font-family: var(--text); font-weight: 700; font-size: 44px; line-height: 1.3; letter-spacing: 0; }
.schedule-en { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.25; }
.schedule-body { font-size: 18px; line-height: 1.6; color: #2B3A5C; max-width: 520px; }
.steps { list-style: none; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step) " · "; }

.booking { width: 560px; flex-shrink: 0; padding: 32px; border-radius: 28px; background: #fff; display: flex; flex-direction: column; gap: 22px; }
.booking-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.booking-head h3 { font-family: var(--display); font-weight: 700; font-size: 22px; }
.tz { font-size: 14px; color: var(--muted); }
.seg { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--cream); }
.seg-btn { flex: 1 1 0; min-height: 44px; padding: 12px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 600; background: transparent; color: var(--navy); }
.seg-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field-label { padding: 0; font-size: 14px; font-weight: 600; color: var(--navy); }
.field-sub { font-weight: 500; color: var(--muted); }
.month-nav { display: flex; align-items: center; gap: 6px; }
.month-toggle { min-width: 150px; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--navy); }
.month-toggle:hover { background: var(--cream); }
.month-toggle svg { transition: transform .15s ease; }
.month-toggle[aria-expanded="true"] { background: var(--cream); }
.month-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.week-btn { width: 44px; height: 36px; border-radius: 10px; border: 1.5px solid #E6E9F0; background: #fff; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.week-btn:hover:not(:disabled) { border-color: var(--navy); }
.week-btn:disabled { opacity: .35; cursor: default; }
.cal { display: flex; flex-direction: column; gap: 6px; }
.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-head span { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.suburb-field { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.suburb-field[hidden] { display: none; }
.text-input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #CBD3E1; font: inherit; font-size: 16px; color: var(--navy); background: #fff; }
.text-input::placeholder { color: #7A869E; }
.text-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 78, 216, .18); }
.text-input[aria-invalid="true"] { border-color: #C2410C; }
.field-hint { font-size: 13px; color: var(--muted); }
.field-error { font-size: 14px; color: #B42318; }
.field-error:empty { display: none; }
.times { max-height: 236px; overflow-y: auto; overscroll-behavior: contain; padding: 2px 4px 2px 0; }

/* Availability popup */
.modal { width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; color: var(--navy); background: #fff; box-shadow: 0 24px 64px rgba(10, 31, 68, .28); }
.modal::backdrop { background: rgba(10, 31, 68, .55); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--tint); }
.modal-body { padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.modal-body h3 { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; padding-right: 32px; }
.modal-sub { font-size: 15px; line-height: 1.55; color: var(--body); }
.modal-loading, .modal-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 12px 0; }
.modal-loading h3, .modal-done h3 { padding-right: 0; }
.spinner { width: 44px; height: 44px; border-radius: 999px; border: 4px solid var(--cream); border-top-color: var(--yellow); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.modal-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.modal-status.ok { background: #E3F5E8; color: #1E6B3A; }
.modal-status.busy { background: #FDECE7; color: #A1341B; }
.modal-summary { margin: 0; padding: 16px; border-radius: 16px; background: var(--cream); display: flex; flex-direction: column; gap: 10px; }
.modal-summary div { display: flex; gap: 12px; }
.modal-summary dt { width: 56px; flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.modal-summary dd { margin: 0; font-size: 15px; font-weight: 600; }
.muted-sm { font-weight: 400; color: var(--muted); }
.modal-form { display: flex; flex-direction: column; gap: 8px; }
.modal-form .btn { margin-top: 8px; }
.modal-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.modal-slots:empty { display: none; }
.booking-hint { margin-top: -8px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.booked-note { font-size: 15px; font-weight: 600; color: #1E6B3A; text-align: center; }
.booked-note:empty { display: none; }
.chip { border: 1.5px solid #E6E9F0; background: #fff; color: var(--navy); cursor: pointer; font-family: inherit; border-radius: 14px; }
.chip:hover { border-color: #E0A800; }
.chip[aria-pressed="true"] { background: var(--yellow); border-color: #E0A800; }
.cal-day { height: 44px; padding: 0; border-radius: 12px; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.cal-week .cal-day { height: 52px; font-size: 18px; font-weight: 700; }
.cal-day:disabled { border-color: transparent; background: transparent; color: #A9B2C4; font-weight: 500; cursor: default; }
.cal-day.is-today:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--navy); }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.time { padding: 12px 0; min-height: 46px; border-radius: 12px; font-size: 15px; font-weight: 600; }

/* Reviews */
.reviews { padding: 88px 0; background: var(--tint); }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.reviews-head h2 { margin-bottom: 10px; }
.text-link { font-size: 16px; font-weight: 600; }
.reviews-grid { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.reviews-grid::-webkit-scrollbar { display: none; }
.reviews-grid:focus-visible { outline-offset: 4px; border-radius: 24px; }
/* 3 cards plus a slice of the next one, so it's clear there are more */
.reviews-grid .review { flex: 0 0 calc((100% - 72px) / 3.25); scroll-snap-align: start; }
.reviews-controls { display: flex; align-items: center; gap: 8px; }
.slider { position: relative; }
.slide-btn { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; padding: 0; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--navy); box-shadow: 0 10px 24px rgba(10, 31, 68, .18); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: opacity .2s ease, transform .15s ease; }
.slide-btn svg { width: 22px; height: 22px; }
.slide-btn:hover { transform: scale(1.06); border-color: var(--navy); }
.slide-btn:disabled { opacity: 0; pointer-events: none; }
.slide-prev { left: -26px; }
.slide-next { right: -26px; }
.slider-dots { display: flex; justify-content: center; gap: 0; margin-top: 16px; }
.slider-dots button { width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slider-dots button::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #C3CDE2; transition: width .2s ease, background-color .2s ease; }
.slider-dots button[aria-current="true"]::after { width: 22px; background: var(--navy); }
.rating-pill { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 15px; color: var(--body); white-space: nowrap; }
.rating-pill strong { color: var(--navy); }
.rating-pill .stars { font-size: 18px; letter-spacing: 0; }
.swipe-hint { display: none; }
.review { padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 22px; }
.stars { font-size: 20px; color: #B07D00; letter-spacing: 2px; }
.review blockquote { font-size: 18px; line-height: 1.6; flex-grow: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review figcaption > span:last-child { display: flex; flex-direction: column; }
.review strong { font-size: 16px; }
.review small { font-size: 14px; color: var(--muted); }
.avatar { width: 48px; height: 48px; border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.avatar svg { display: block; width: 100%; height: 100%; }

/* Course */
.course { padding: 88px 0; }
.course-body { display: flex; gap: 32px; }
.learn { width: 440px; flex-shrink: 0; padding: 32px; border-radius: 24px; background: var(--cream); display: flex; flex-direction: column; gap: 16px; }
.learn h3 { font-family: var(--display); font-weight: 700; font-size: 22px; }
.learn-list { list-style: none; padding: 0; counter-reset: l; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; font-size: 15px; }
.learn-list li { counter-increment: l; }
.learn-list li::before { content: counter(l) " · "; }
.learn .muted { font-size: 15px; }
.prices { flex-grow: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.price { padding: 24px; border-radius: 20px; border: 1.5px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; text-align: left; }
.price-featured { border: 2px solid var(--navy); background: var(--navy); box-shadow: 0 14px 32px rgba(10, 31, 68, .22); }
.price-featured .price-name { color: #C9D9FF; }
.price-featured .price-desc { color: #DCE6FB; }
.price-featured .price-amt { color: var(--yellow); }
.price-featured .price-amt span { color: #C9D9FF; }
.price-info { display: flex; flex-direction: column; gap: 6px; }
.price-name { font-size: 15px; font-weight: 600; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-desc { font-size: 15px; color: var(--body); }
.price-amt { font-family: var(--display); font-weight: 800; font-size: 36px; white-space: nowrap; }
.price-amt span { font-size: 16px; font-weight: 500; color: var(--muted); }
.badge { font-size: 12px; font-weight: 700; color: var(--navy); background: var(--yellow); padding: 3px 10px; border-radius: 999px; }
/* desktop: name first, then amount, then description */
.price { grid-template-areas: "name" "amt" "desc"; }
.price-info { display: contents; }
.price-name { grid-area: name; }
.price-amt { grid-area: amt; }
.price-desc { grid-area: desc; }
.coming-soon { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; border-radius: 18px; border: 1.5px dashed #93B4FF; font-size: 16px; color: var(--body); }
.coming-soon strong { color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 32px; }
.footer-top { display: flex; gap: 64px; margin-bottom: 48px; }
.footer-brand { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: #C9D9FF; }
.footer-cols { flex-grow: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 32px; font-size: 15px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols h4 { font-size: 15px; font-weight: 600; }
.footer-cols a, .footer-cols span { color: #C9D9FF; text-decoration: none; }
.footer-cols a:hover { color: #fff; }
/* bigger tap area for footer text links without moving them */
.footer-cols a:not(.fs-icon), .footer-legal a { padding: 6px 0; margin: -6px 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-cols .fs-icon { width: 38px; height: 38px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease; }
.fs-icon svg { width: 18px; height: 18px; }
.footer-cols a.fs-icon:hover { background: var(--yellow); color: var(--navy); }
.footer-cols .fs-icon.is-soon { opacity: .4; cursor: default; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid #23396B; font-size: 14px; color: #93A7D1; }
.footer-legal { display: flex; gap: 24px; }
.footer-bottom a { color: #93A7D1; }
.footer-bottom a:hover { color: #fff; }

/* Home: blog section */
.home-blog { padding: 88px 0; background: #fff; border-top: 1px solid var(--line); }
.home-blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.home-blog-head .section-head { margin-bottom: 0; }
.home-blog-pin .ebook-box { margin: 0 0 28px; position: relative; padding: 32px 36px; box-shadow: 0 16px 40px rgba(224, 168, 0, .25); }
.home-blog-pin .ebook-box img { width: 150px; }
.home-blog-pin .ebook-box strong { font-size: 28px; }
.pin-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--navy); color: #fff !important; font-size: 12px !important; letter-spacing: .08em; }
.home-blog-more { display: none; margin-top: 24px; }
.home-blog-head .text-link { padding: 10px 0; }

/* Social media */
.social { padding: 88px 0; background: var(--cream); }
.social .section-head { margin-bottom: 40px; }
.social-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.social-card { height: 100%; min-height: 96px; box-sizing: border-box; padding: 20px; border-radius: 20px; border: 1.5px solid var(--line-2); background: #fff; display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; }
a.social-card { transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
a.social-card:hover { color: var(--navy); border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 31, 68, .12); }
.social-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; }
.social-icon svg { width: 26px; height: 26px; }
.social-tiktok .social-icon { background: #111; }
.social-youtube .social-icon { background: #FF0033; }
.social-instagram .social-icon { background: linear-gradient(45deg, #F9A825, #E1306C 55%, #833AB4); }
.social-email .social-icon { background: var(--yellow); color: var(--navy); }
.social-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.social-text strong { font-size: 17px; }
.social-text span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.social-go { margin-left: auto; flex-shrink: 0; color: var(--muted); }
a.social-card:hover .social-go { color: var(--navy); }
.social-card.is-soon { background: rgba(255, 255, 255, .55); border-style: dashed; border-color: #E7D9A6; }
.social-card.is-soon .social-icon { opacity: .55; }

.ig-feed { margin-top: 0; padding: 24px; border-radius: 28px; background: #fff; border: 1.5px solid #F1E3AE; }
.ig-feed-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ig-badge { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(45deg, #F9A825, #E1306C 55%, #833AB4); }
.ig-badge svg { width: 20px; height: 20px; }
.ig-feed-head strong { font-size: 17px; }
.ig-handle { font-size: 15px; color: var(--muted); }
.ig-follow { margin-left: auto; padding: 6px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.ig-follow:hover { background: #142D5C; color: #fff; }
.ig-soon-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
a.logo-tile { text-decoration: none; transition: background-color .15s ease, color .15s ease; }
a.logo-tile:hover { background: #DCE7FF; color: var(--navy); }
.soon-pill { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: var(--cream); color: #7A5A00; font-size: 13px; font-weight: 700; }
.ig-grid-wrap { display: grid; }
.ig-grid-wrap > * { grid-area: 1 / 1; }
.ig-grid { align-self: center; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ig-tile { aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ig-tile > svg { width: 34%; height: 34%; opacity: .55; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-post { background: var(--tint); }
.ig-post a { position: relative; display: block; width: 100%; height: 100%; }
.ig-post a:hover img { opacity: .88; }
.ig-play { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 999px; background: rgba(10, 31, 68, .7); color: #fff; display: flex; align-items: center; justify-content: center; }
.ig-play svg { width: 16px; height: 16px; }
.ig-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.ig-tile.t-yellow { background: #FFE9A8; color: #E0A800; }
.ig-tile.t-blue { background: #DCE7FF; color: var(--blue); }
.ig-tile.t-cream { background: var(--cream); color: #E0A800; }
.ig-tile.t-navy { background: #D6DCEA; color: var(--navy); }
.ig-tile.t-tint { background: var(--tint); color: #93B4FF; }
.ig-tile.t-yellow2 { background: #FFF1C2; color: #F5B800; }
.ig-soon { align-self: center; justify-self: center; z-index: 1; max-width: 460px; margin: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 28px; text-align: center; background: #fff; border-radius: 20px; box-shadow: 0 14px 36px rgba(10, 31, 68, .16); }
.ig-soon strong { font-family: var(--display); font-size: 22px; }
.ig-soon span { max-width: 420px; font-size: 15px; line-height: 1.5; color: var(--body); }
.ig-soon .btn { margin-top: 6px; }
.ig-follow { white-space: nowrap; }

/* FAQ page */
.faq-hero { background: var(--cream); }
.faq-hero .container { padding-top: 72px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.faq-hero h1 { font-family: var(--display); font-weight: 800; font-size: 60px; line-height: 1.05; letter-spacing: -.02em; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.faq-jump a { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1.5px solid #C9D9FF; color: var(--navy); font-size: 15px; font-weight: 600; text-decoration: none; }
.faq-jump a:hover { border-color: var(--navy); }
.faq-body { padding: 72px 0 88px; }
.faq-container { max-width: 880px; display: flex; flex-direction: column; gap: 56px; }
.faq-group { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 104px; }
.faq-group h2 { font-size: 32px; margin-bottom: 8px; }
.faq-item { border: 1.5px solid var(--line-2); border-radius: 18px; background: #fff; }
.faq-item[open] { border-color: var(--yellow); background: #FFFCF1; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 12px; height: 12px; flex-shrink: 0; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-3px) rotate(45deg); transition: transform .15s ease; }
.faq-item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: 18px; }
.faq-answer { padding: 0 24px 22px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.65; color: var(--body); }
.faq-list { padding-left: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.faq-list.faq-list-plain { grid-template-columns: 1fr; gap: 8px; }
.faq-prices { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.faq-prices div { padding: 14px 16px; border-radius: 14px; background: var(--cream); }
.faq-prices dt { font-size: 14px; color: var(--muted); }
.faq-prices dd { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); }
.faq-prices dd small { display: block; font-family: var(--text); font-size: 13px; font-weight: 500; color: var(--muted); }
.faq-prices .faq-price-best { background: var(--navy); }
.faq-prices .faq-price-best dt { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #C9D9FF; }
.faq-prices .faq-price-best dd { color: var(--yellow); }
.faq-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; border-radius: 24px; background: var(--yellow); }
.faq-cta h2 { font-size: 30px; margin-bottom: 6px; }
.faq-cta .muted { color: #2B3A5C; }
.faq-cta .btn { flex-shrink: 0; white-space: nowrap; }

/* Blog */
.blog-hero { background: var(--cream); }
.blog-hero .container { padding-top: 64px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.blog-hero h1 { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1.05; letter-spacing: -.02em; }
.blog-hero .lead { max-width: 680px; }
.blog-ebook { padding: 40px 0 0; }
.blog-list { padding: 48px 0 88px; }
.blog-list h2 { font-size: 32px; margin-bottom: 24px; }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card a { height: 100%; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1.5px solid var(--line-2); color: var(--navy); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.post-card a:hover { color: var(--navy); transform: translateY(-3px); border-color: var(--navy); box-shadow: 0 14px 30px rgba(10, 31, 68, .12); }
.post-card-img { display: block; aspect-ratio: 1200 / 630; background: var(--tint); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-ph { display: block; width: 100%; height: 100%; background: var(--cream); }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.post-card-body strong { font-family: var(--display); font-size: 21px; line-height: 1.2; }
.post-card-excerpt { font-size: 15px; line-height: 1.55; color: var(--body); }
.post-meta { font-size: 14px; color: var(--muted); }
.post-empty { color: var(--muted); }

.ebook-box { display: flex; align-items: center; gap: 28px; padding: 24px 28px; border-radius: 24px; background: var(--yellow); margin: 40px 0; }
.ebook-box img { width: 120px; height: auto; flex-shrink: 0; border-radius: 10px; box-shadow: 0 10px 24px rgba(10, 31, 68, .2); transform: rotate(-3deg); }
.ebook-box > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ebook-box .eyebrow { color: var(--navy); font-size: 13px; }
.ebook-box strong { font-family: var(--display); font-size: 24px; line-height: 1.15; }
.ebook-box span:not(.eyebrow) { font-size: 15px; color: #2B3A5C; }
.ebook-box .btn { margin-top: 6px; background: var(--navy); color: #fff; }
.ebook-box .btn:hover { background: #142D5C; color: #fff; }
.blog-ebook .ebook-box { margin: 0; }
/* Two free eBooks side by side */
.ebook-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 40px 0; }
.ebook-pair .ebook-box { margin: 0; align-items: flex-start; gap: 22px; }
.ebook-pair .ebook-box img { width: 104px; }
.ebook-pair .ebook-box strong { font-size: 21px; }
.ebook-pair .ebook-box > div { height: 100%; }
.ebook-pair .ebook-box .btn { margin-top: auto; }
.ebook-pair .ebook-box:nth-child(2) { background: #DCE7FF; }
.blog-ebook .ebook-pair, .home-blog-pin .ebook-pair { margin: 0; }
.home-blog-pin .ebook-pair { margin-bottom: 28px; }
.home-blog-pin .ebook-pair .ebook-box { padding: 28px; }
.home-blog-pin .ebook-pair .ebook-box img { width: 120px; }
.home-blog-pin .ebook-pair .ebook-box strong { font-size: 23px; }
@media (max-width: 900px) {
  .ebook-pair { grid-template-columns: 1fr; gap: 16px; }
  .ebook-pair .ebook-box .btn { margin-top: 6px; }
}
@media (max-width: 640px) {
  .ebook-pair .ebook-box, .home-blog-pin .ebook-pair .ebook-box { flex-direction: row; padding: 20px; gap: 16px; }
  .ebook-pair .ebook-box img, .home-blog-pin .ebook-pair .ebook-box img { width: 72px; }
  .ebook-pair .ebook-box span:not(.eyebrow) { font-size: 14px; line-height: 1.45; }
  .ebook-pair .ebook-box .btn { padding: 12px 16px; font-size: 15px; white-space: nowrap; }
  .ebook-pair .ebook-box strong, .home-blog-pin .ebook-pair .ebook-box strong { font-size: 19px; }
}
.ebook-box > div { flex: 1; min-width: 0; }
.ebook-form { width: 100%; max-width: 620px; margin-top: 6px; }
.ebook-fields { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; gap: 10px; }
.ebook-fields .text-input { border-color: rgba(10, 31, 68, .25); }
.ebook-box .ebook-fields .btn { margin-top: 0; white-space: nowrap; }
.ebook-box .ebook-consent { display: block; margin-top: 8px; font-size: 13px; color: #3B4B6B; }
.ebook-box .ebook-msg { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: #8A1C0E; }
.ebook-msg:empty { display: none; }
.ebook-modal .modal-body[hidden] { display: none; }
.ebook-modal-cover { width: 96px; height: auto; border-radius: 10px; box-shadow: 0 10px 24px rgba(10, 31, 68, .2); transform: rotate(-3deg); }
.ebook-modal .field-label .optional { font-weight: 500; color: var(--muted); }
.ebook-modal .field-error:empty { display: none; }
.ebook-modal .ebook-consent { font-size: 13px; color: var(--muted); text-align: center; }
.ebook-done { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 4px; }
.ebook-done[hidden] { display: none; }
.ebook-box .ebook-done-title { font-size: 20px; }

.post { padding: 40px 0 88px; }
.post-container { max-width: 780px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.post h1 { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1.08; letter-spacing: -.015em; margin-bottom: 12px; }
.post-cover { margin: 28px 0 8px; }
.post-cover img { width: 100%; height: auto; display: block; border-radius: 22px; }
.faq-video { margin: 4px 0 8px; }
.faq-video-frame { position: relative; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--navy); }
.faq-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.faq-video figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.legal-container { max-width: 820px; }
.legal-updated { font-size: 15px; color: var(--muted); }
.prose { font-size: 18px; line-height: 1.75; color: #22314F; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 32px; margin-top: 44px; color: var(--navy); }
.prose h3 { font-family: var(--display); font-size: 23px; margin-top: 32px; color: var(--navy); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--navy); }
.prose blockquote { margin: 28px 0; padding: 18px 24px; border-radius: 18px; background: var(--cream); font-family: var(--display); font-size: 21px; line-height: 1.45; color: var(--navy); }
.prose figure { margin: 28px 0; }
.prose figure img, .prose p img { max-width: 100%; height: auto; border-radius: 18px; display: block; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line-2); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th { text-align: left; background: var(--tint); padding: 12px 14px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.prose td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose td:first-child { font-weight: 600; color: var(--navy); font-size: 17px; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 20px; background: var(--navy); color: #fff; margin: 32px 0; }
.post-cta > div { display: flex; flex-direction: column; gap: 4px; }
.post-cta strong { font-family: var(--display); font-size: 20px; color: #fff; }
.post-cta span { font-size: 15px; color: #DCE6FB; line-height: 1.5; }
.post-cta .btn { background: var(--yellow); color: var(--navy); flex-shrink: 0; }
.post-related { margin-top: 56px; }
.post-related h2 { font-size: 28px; margin-bottom: 20px; }
.post-related .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Tablet ---------- */
@media (max-width: 1200px) {
  .container { padding-left: 40px; padding-right: 40px; }
  .hero h1 { font-size: 60px; }
  .hero-art { width: 420px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-inner { flex-direction: column; align-items: center; gap: 40px; }
  .schedule-copy, .booking { width: 100%; max-width: 640px; flex: none; }
  .course-body { flex-direction: column; }
  .learn { width: auto; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { width: auto; max-width: 480px; }
  .main-nav { gap: 24px; }
}

@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .link-login { display: none; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(10, 31, 68, .12); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid #F0F3FA; }
  .main-nav a.nav-mobile-only { display: block; border-bottom: 0; }
  .hero-inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-art { width: 100%; max-width: 480px; align-self: center; }
  .logos-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .logos-label { width: auto; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swipe-hint { display: inline; }
  .reviews-scroller { padding: 0; }
  .reviews-grid { gap: 16px; padding: 0 40px 4px; scroll-padding-inline: 40px; }
  .reviews-grid .review { flex: 0 0 320px; }
  .slide-prev { left: 12px; }
  .slide-next { right: 12px; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .hide-mobile { display: none; }
  .show-mobile { display: initial; }
  div.show-mobile { display: block; }
  .header-inner { height: 64px; padding: 0 16px; }
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 11px; }
  .header-actions { gap: 8px; }
  .btn-sm { padding: 12px 16px; font-size: 14px; }
  .main-nav { padding: 8px 16px 20px; }
  html { scroll-padding-top: 72px; }

  .hero-inner { padding-top: 40px; padding-bottom: 48px; gap: 20px; }
  .hero-copy { gap: 20px; }
  .pill { font-size: 13px; padding: 7px 14px; }
  .hero h1 { font-size: 40px; line-height: 1.05; }
  .lead { font-size: 17px; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-top: 4px; }
  .hero-ctas .btn { width: 100%; padding: 17px 24px; }
  .checks { flex-direction: column; gap: 6px; margin-top: 0; }

  /* Logos: one swipeable row with dots, like the reviews */
  .logos-inner { min-height: 0; gap: 12px; padding-top: 24px; padding-bottom: 12px; }
  .logos-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; scroll-padding-inline: 24px; }
  .logos-grid::-webkit-scrollbar { display: none; }
  .logos-grid .logo-tile { flex: 0 0 calc((100% - 20px) / 2.3); scroll-snap-align: start; }
  .slider-dots.logos-dots { display: flex; margin-top: 0; }
  .logos-dots button { width: 28px; height: 28px; }
  .logos-slider .slide-btn { display: flex; width: 36px; height: 36px; margin-top: -18px; }
  .logos-slider .slide-btn svg { width: 16px; height: 16px; }
  .logos-slider .slide-prev { left: -14px; }
  .logos-slider .slide-next { right: -14px; }
  .logo-tile { height: 52px; font-size: 14px; }
  .logo-tile-brand { font-size: 18px; }

  .section-head, .section-head.center { align-items: flex-start; text-align: left; margin-bottom: 28px; gap: 10px; }
  .eyebrow { font-size: 14px; }
  h2 { font-size: 32px; }
  h2.big { font-size: 40px; }
  .muted { font-size: 16px; }

  .why { padding: 56px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 20px; }
  .why-card svg { width: 64px; height: 64px; }
  .why-card h3 { font-size: 19px; margin-bottom: 6px; }
  .why-card p { font-size: 15px; }

  .schedule-inner { padding: 56px 16px; gap: 28px; }
  .schedule-copy { padding: 0 8px; gap: 14px; }
  .th-heading { font-size: 30px; line-height: 1.35; }
  .schedule-en { font-size: 22px; }
  .schedule-body { font-size: 16px; }
  .steps { font-size: 16px; gap: 8px; }
  .booking { padding: 20px; border-radius: 24px; gap: 18px; }
  .booking-head h3 { font-size: 20px; }
  .tz { font-size: 13px; }
  .seg { gap: 6px; padding: 5px; }
  .seg-btn { padding: 10px 8px; }
  .cal-head, .cal-grid { gap: 4px; }
  .cal-day { height: 42px; font-size: 15px; }
  .cal-week .cal-day { height: 48px; font-size: 17px; }
  .month-toggle { min-width: 0; font-size: 15px; padding: 6px 6px; }
  .times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modal-body { padding: 28px 20px 20px; }
  .modal-body h3 { font-size: 22px; }
  .btn-block { font-size: 16px; padding: 16px 12px; }

  .reviews { padding: 56px 0; }
  .reviews-head { margin-bottom: 24px; }
  .reviews-head h2 { margin-bottom: 8px; }
  .reviews-scroller { padding: 0; }
  .reviews-grid { gap: 14px; padding: 0 24px; scroll-padding-inline: 24px; }
  .reviews-grid .review { flex-basis: 290px; padding: 24px; border-radius: 20px; gap: 18px; }
  .slide-btn { width: 44px; height: 44px; margin-top: -22px; }
  .slide-btn svg { width: 20px; height: 20px; }
  .slide-prev { left: 6px; }
  .slide-next { right: 6px; }
  .slider-dots { margin-top: 14px; }
  .review blockquote { font-size: 16px; }
  .rating-pill { padding: 8px 14px; font-size: 14px; }
  .reviews-head { flex-direction: column; align-items: flex-start; gap: 14px; }

  .course { padding: 56px 0; }
  .course-body { gap: 24px; }
  .learn { padding: 24px; border-radius: 20px; gap: 14px; }
  .learn h3 { font-size: 20px; }
  .learn-list { grid-template-columns: 1fr; gap: 10px; }
  .prices { grid-template-columns: 1fr; gap: 12px; }
  .price { padding: 20px; border-radius: 18px; grid-template-areas: "name amt" "desc amt"; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; row-gap: 4px; }
  .price-name { justify-content: flex-start; }
  .price-desc { font-size: 14px; }
  .price-amt { font-size: 28px; }
  .price-amt span { font-size: 14px; }
  .badge { font-size: 12px; padding: 2px 8px; }
  .coming-soon { margin-top: 24px; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px; font-size: 15px; }

  .site-footer { padding: 48px 0 32px; }
  .footer-top { gap: 32px; margin-bottom: 32px; }
  .footer-logo { font-size: 21px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .home-blog { padding: 56px 0; }
  .home-blog-head { margin-bottom: 20px; }
  .home-blog-pin .ebook-box { padding: 22px; margin-bottom: 20px; }
  .home-blog-pin .ebook-box img { width: 110px; }
  .home-blog-pin .ebook-box strong { font-size: 22px; }
  .home-blog-more { display: block; }
  .home-blog-more .btn { width: 100%; }
  .blog-hero .container { padding-top: 40px; padding-bottom: 32px; }
  .blog-hero h1 { font-size: 38px; }
  .blog-list { padding: 36px 0 56px; }
  .blog-list h2 { font-size: 26px; }
  .post-grid, .post-related .post-grid { grid-template-columns: 1fr; gap: 16px; }
  .ebook-box { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px; }
  .ebook-box img { width: 100px; }
  .ebook-box strong { font-size: 21px; }
  .ebook-box .btn { width: 100%; }
  .ebook-fields { grid-template-columns: 1fr; }
  .post { padding: 24px 0 56px; }
  .post h1 { font-size: 32px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 25px; margin-top: 36px; }
  .prose h3 { font-size: 20px; }
  .prose table { font-size: 15px; }
  .prose th, .prose td { padding: 10px 12px; }
  .post-cta { flex-direction: column; align-items: stretch; padding: 20px; }
  .post-cta .btn { width: 100%; }
  .footer-social { gap: 10px; }
  .footer-cols .fs-icon { width: 44px; height: 44px; }
  .footer-follow { grid-column: 1 / -1; }
  .fs-icon svg { width: 20px; height: 20px; }
  .social { padding: 56px 0; }
  .social .section-head { margin-bottom: 24px; }
  .social-grid { gap: 12px; }
  .social-card { position: relative; padding: 16px; gap: 10px; min-height: 0; border-radius: 18px; flex-direction: column; align-items: flex-start; }
  .social-go { position: absolute; top: 16px; right: 16px; }
  .social-icon { width: 44px; height: 44px; border-radius: 14px; }
  .social-icon svg { width: 22px; height: 22px; }
  .social-text strong { font-size: 16px; }
  .social-text span { font-size: 13px; }
  .ig-feed { margin-top: 0; padding: 16px; border-radius: 22px; }
  .ig-grid { gap: 6px; }
  .ig-tile { border-radius: 10px; }
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ig-soon { padding: 16px 18px; margin: 8px; gap: 6px; }
  .ig-soon strong { font-size: 16px; }
  .ig-handle { display: none; }
  .ig-soon-links { gap: 6px; flex-wrap: nowrap; }
  .ig-soon-links .btn { padding: 9px 12px; font-size: 14px; }
  .ig-cta { gap: 6px; flex-wrap: nowrap; margin-top: 14px; }
  .ig-cta .btn { padding: 9px 12px; font-size: 14px; white-space: nowrap; }
  .ig-soon span { display: none; }
  .ig-soon { padding: 14px 18px; }
  .soon-pill { margin-left: 0; }
  .faq-hero .container { padding-top: 40px; padding-bottom: 40px; gap: 14px; }
  .faq-hero h1 { font-size: 38px; }
  .faq-body { padding: 48px 0 64px; }
  .faq-container { gap: 40px; }
  .faq-group { scroll-margin-top: 80px; }
  .faq-group h2 { font-size: 26px; }
  .faq-item summary { padding: 18px 18px; font-size: 16px; }
  .faq-answer { padding: 0 18px 18px; font-size: 15px; }
  .faq-list { grid-template-columns: 1fr; }
  .faq-cta { flex-direction: column; align-items: stretch; padding: 24px; }
  .faq-cta h2 { font-size: 24px; }
  .faq-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@media (max-width: 640px) {
  .seg-btn { line-height: 1.2; }
  .seg-sub { display: block; font-size: 12px; font-weight: 500; opacity: .85; }
}
.email-link { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.email-link:hover { color: var(--blue-dark); }

@media (max-width: 900px) {
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1366px) {
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { width: auto; max-width: 480px; }
}

@media (max-width: 1024px) and (min-width: 641px) {
  .ebook-fields { grid-template-columns: 1fr 1fr; }
  .ebook-fields .btn { grid-column: 1 / -1; }
}

/* Home blog: compact rows on tablets and phones */
@media (max-width: 1024px) {
  .home-post-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-post-grid .post-card a { flex-direction: row; align-items: stretch; min-height: 170px; }
  .home-post-grid .post-card-img { flex: 0 0 150px; aspect-ratio: auto; }
  .home-post-grid .post-card-img img { height: 100%; object-fit: cover; object-position: 100% center; }
  .home-post-grid .post-card-body { justify-content: center; padding: 16px 18px; }
}
@media (max-width: 640px) {
  .home-post-grid .post-card a { min-height: 112px; }
  .home-post-grid .post-card-img { flex-basis: 100px; }
  .home-post-grid .post-card-body { padding: 12px 14px; gap: 4px; }
  .home-post-grid .post-card-body strong { font-size: 16px; }
  .home-post-grid .post-card-excerpt { display: none; }
  .home-post-grid .post-meta { font-size: 12px; }
}
