/*
Theme Name: GeneratePress Child — tapHi
Template:   generatepress
Version:    1.0.0
*/

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --cream:  #FAF8F4;
  --sand:   #F2EDE5;
  --sage:   #5C6E5B;
  --ink:    #1C1A17;
  --stone:  #6B6459;
  --mist:   #A89E93;
  --border: #E8E3DC;
}

/* ============================================================
   BASE
   ============================================================ */
html, body { background-color: var(--cream) !important; }
body { color: var(--ink); font-family: 'DM Sans', sans-serif; font-weight: 300; }
*, *::before, *::after { box-sizing: border-box; }
* { border-radius: 0 !important; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--ink); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
p, label, input, textarea, select, li { font-family: 'DM Sans', sans-serif; font-weight: 300; }

/* ============================================================
   INPUTS
   ============================================================ */
input[type="text"], input[type="email"], input[type="url"],
input[type="tel"], input[type="number"], input[type="password"],
textarea, select {
  border: 1px solid var(--mist) !important;
  background-color: #fff !important;
  padding: 14px 16px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 300 !important;
  color: var(--ink) !important;
}
input::placeholder { color: var(--mist) !important; }

/* ============================================================
   WOOCOMMERCE BUTTONS
   ============================================================ */
.wp-block-button__link,
.woocommerce .button, .woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
button.single_add_to_cart_button, .taphi-cta-btn {
  background-color: var(--ink) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 32px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  letter-spacing: 0.05em !important;
  min-height: 52px !important;
  transition: opacity 0.2s ease !important;
}
.wp-block-button__link:hover,
.woocommerce .button:hover, .taphi-cta-btn:hover {
  opacity: 0.85 !important;
  background-color: var(--ink) !important;
  color: #fff !important;
}

/* ============================================================
   HEADER — custom tph-site-header
   ============================================================ */
.tph-site-header {
  background-color: var(--cream);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.tph-site-header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tph-site-header__logo { display: flex; align-items: center; }
.tph-site-header__logo .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.tph-site-header__logo img,
.tph-site-header__logo .custom-logo { height: 28px !important; width: auto !important; display: block !important; }
.tph-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 16px; color: var(--ink); text-decoration: none;
}
.tph-logo-text em { font-style: italic; font-weight: 400; }
.tph-logo-text strong { font-weight: 700; }

/* Nav list */
.tph-nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.tph-nav-list li a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400; font-size: 14px;
  color: var(--ink); text-decoration: none;
  padding: 6px 12px; display: block;
}
.tph-nav-list li a:hover { opacity: 0.6; }

/* CTA button */
.tph-nav-list .nav-cta a {
  background-color: var(--ink);
  color: var(--cream) !important;
  padding: 9px 20px;
  font-size: 13px;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.tph-nav-list .nav-cta a:hover { opacity: 0.85; }

/* Page title: hide GP default */
.entry-title, .page-title, .page-header { display: none !important; }

/* GP fallback overrides */
.site-header, .main-navigation { background-color: var(--cream) !important; }
.separate-containers .inside-article,
.one-container .container { background-color: var(--cream) !important; }

/* Remove GP content wrapper padding/margin that causes gaps */
.separate-containers .inside-article,
.separate-containers .inside-article.type-page,
.separate-containers .comments-area,
.inside-article, .entry-content, .hentry,
.site-content, .content-area, #primary, #main { padding: 0 !important; margin: 0 !important; }
#content { padding: 0 !important; }
.tph-wrap { padding: 0; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer, footer.site-info { background-color: var(--ink) !important; color: var(--mist) !important; }
.site-footer a, footer.site-info a { color: var(--cream) !important; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.tph-wrap { font-family: 'DM Sans', sans-serif; font-weight: 300; color: var(--ink); }
.tph-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.tph-full-bleed {
  margin-left: -50vw; margin-right: -50vw;
  width: 100vw; position: relative; left: 50%;
}
.tph-full-bleed .tph-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.tph-border-b { border-bottom: 0.5px solid var(--border); }

/* ============================================================
   EYEBROW / LABELS
   ============================================================ */
.tph-eyebrow, .tph-section-label, .tph-hiw-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
}
.tph-section-label { color: var(--mist); margin-bottom: 12px; }

/* ============================================================
   HEADINGS
   ============================================================ */
.tph-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 700;
  line-height: 1.08; color: var(--ink); margin: 0 0 6px;
}
.tph-h1 em { font-style: italic; font-weight: 400; }
.tph-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 700;
  line-height: 1.15; color: var(--ink); margin: 0 0 8px;
}
.tph-h2 em { font-style: italic; font-weight: 400; }
.tph-hiw-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 700; line-height: 1.1; margin: 0 0 24px;
}

/* ============================================================
   HERO
   ============================================================ */
.tph-hero { padding: 80px 0 0; background: var(--cream); }
.tph-hero .tph-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tph-hero-text { max-width: 520px; }
.tph-sub { font-size: 18px; font-weight: 300; color: var(--stone); line-height: 1.65; margin: 18px 0 32px; }
.tph-hiw-sub { font-size: 18px; color: var(--stone); line-height: 1.65; margin-bottom: 48px; }
.tph-cta {
  background: var(--ink); color: var(--cream) !important;
  width: 100%; padding: 18px 32px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  font-weight: 400; letter-spacing: 0.05em;
  cursor: pointer; display: block; text-align: center;
  text-decoration: none; transition: opacity 0.2s;
}
.tph-cta:hover { opacity: 0.85; color: var(--cream) !important; }
.tph-cta-sec {
  background: none; border: 0.5px solid var(--ink);
  color: var(--ink) !important; width: 100%; padding: 15px 32px;
  margin-top: 12px; font-family: 'DM Sans', sans-serif;
  font-size: 14px; cursor: pointer; display: block;
  text-align: center; text-decoration: none;
}
.tph-cta-sec:hover { background: var(--ink); color: var(--cream) !important; }
.tph-hero-visual {
  background: var(--sand); aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
}
.tph-hero-visual span { font-size: 11px; color: var(--mist); letter-spacing: 0.1em; text-transform: uppercase; }

/* ============================================================
   STATS
   ============================================================ */
.tph-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border); margin-top: 40px;
}
.tph-stat { padding: 20px 16px; text-align: center; border-right: 0.5px solid var(--border); }
.tph-stat:last-child { border-right: none; }
.tph-stat-val { font-size: 15px; font-weight: 500; color: var(--ink); }
.tph-stat-lbl { font-size: 10px; color: var(--mist); margin-top: 3px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Stats strip — standalone between sections */
.tph-stats-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  max-width: 1140px; margin: 0 auto;
}
.tph-stats-strip .tph-stat { padding: 20px 16px; text-align: center; border-right: 0.5px solid var(--border); }
.tph-stats-strip .tph-stat:last-child { border-right: none; }

/* ============================================================
   SECTION
   ============================================================ */
.tph-section { padding: 80px 0; }

/* ============================================================
   STEPS
   ============================================================ */
.tph-steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tph-step-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: 16px; }
.tph-step-title { font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.tph-step-body { font-size: 14px; color: var(--stone); line-height: 1.65; }

/* HIW steps */
.tph-hiw-step { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 0.5px solid var(--border); }
.tph-hiw-step-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: var(--border); margin-bottom: 12px; }
.tph-hiw-step-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.tph-hiw-step-body { color: var(--stone); line-height: 1.65; }

/* ============================================================
   CONFIGURATOR
   ============================================================ */
.tph-conf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.tph-conf-visual { background: #E8E3DC; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.tph-conf-visual span { font-size: 11px; color: var(--mist); letter-spacing: 0.1em; text-transform: uppercase; }
.tph-conf-title { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; margin-bottom: 4px; }
.tph-conf-sub { font-size: 14px; color: var(--stone); margin-bottom: 32px; }
.tph-conf-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.tph-conf-wrap {
  background: var(--sand);
  margin-left: -50vw; margin-right: -50vw;
  width: 100vw; position: relative; left: 50%; padding: 80px 0;
}
.tph-hiw-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Colour swatches */
.tph-colors { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.tph-color-btn, .tph-color-btn2 {
  width: 42px; height: 42px; border: 2px solid transparent;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: border-color 0.2s;
}
.tph-color-btn.active, .tph-color-btn2.active { border-color: var(--sage); }
.tph-color-btn:hover, .tph-color-btn2:hover { border-color: var(--mist); }

/* Chain buttons */
.tph-chains { display: flex; gap: 12px; margin-bottom: 28px; }
.tph-chain-btn, .tph-chain-btn2 {
  flex: 1; padding: 14px; border: 0.5px solid #C8C3BA;
  background: var(--cream); font-family: 'DM Sans', sans-serif;
  font-size: 14px; cursor: pointer; color: var(--ink);
  transition: all 0.2s; text-align: center;
}
.tph-chain-btn.active, .tph-chain-btn2.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Summary */
.tph-conf-summary { background: var(--cream); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tph-conf-sum-lbl { font-size: 14px; color: var(--stone); }
.tph-conf-sum-price { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; }
.tph-hiw-cta {
  background: var(--ink); color: var(--cream);
  padding: 18px 32px; font-family: 'DM Sans', sans-serif;
  font-size: 15px; text-decoration: none;
  display: block; text-align: center; width: 100%;
}
.tph-hiw-cta:hover { background: #2C2A27; color: var(--cream); }

/* ============================================================
   SECURITY SECTION
   ============================================================ */
.tph-security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tph-security-badge { background: var(--sand); padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.tph-security-icon {
  width: auto; height: auto; border: none; box-shadow: none;
  background: none; padding: 4px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.tph-security-icon-inner { width: 18px; height: 22px; border: 2.5px solid var(--ink); border-radius: 2px; position: relative; }
.tph-security-icon-inner::before { content: ''; position: absolute; top: 7px; left: 4px; width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }
.tph-security-icon-inner::after { content: ''; position: absolute; top: -12px; left: 2px; width: 10px; height: 9px; border: 2.5px solid var(--ink); border-bottom: none; border-radius: 6px 6px 0 0; }
.tph-security-text { font-size: 14px; color: var(--stone); line-height: 1.65; }
.tph-security-text strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 6px; font-size: 16px; }

/* ============================================================
   FREE / PRO SECTION
   ============================================================ */
.tph-free-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.tph-check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.tph-check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--mist); line-height: 1.5; }
.tph-check-icon { width: 18px; height: 18px; border: 0.5px solid var(--sage); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.tph-check-icon::after { content: ''; width: 7px; height: 7px; background: var(--sage); }
.tph-pro-box { border-top: 0.5px solid #2C2A27; padding-top: 28px; }
.tph-pro-label { font-size: 11px; color: var(--stone); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.tph-pro-text { font-size: 15px; color: var(--mist); line-height: 1.6; }
.tph-pro-text span { color: var(--cream); font-weight: 400; }

/* ============================================================
   FOOTER
   ============================================================ */
.tph-footer { background: var(--ink); color: var(--cream); }
.tph-footer__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.tph-footer__top { padding: 48px 0; border-bottom: 0.5px solid #2C2A27; }
.tph-footer__top .tph-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.tph-footer__logo { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--cream); margin-bottom: 10px; }
.tph-footer__logo em { font-style: italic; font-weight: 400; }
.tph-footer__logo strong { font-weight: 700; }
.tph-footer__desc { font-size: 13px; color: var(--stone); line-height: 1.6; max-width: 260px; }
.tph-footer__links { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-start; justify-content: flex-end; }
.tph-footer__link { font-size: 13px; color: var(--mist); letter-spacing: 0.03em; text-decoration: none; }
.tph-footer__link:hover { color: var(--cream); }
.tph-footer__login { font-size: 13px; color: var(--sage); letter-spacing: 0.03em; text-decoration: underline; }
.tph-footer__login:hover { color: var(--cream); }
.tph-footer__bottom { padding: 20px 0; }
.tph-footer__bottom .tph-footer__inner { font-size: 11px; color: var(--stone); }

/* Old inline footer classes (homepage) — keep for compatibility */
.tph-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.tph-footer-logo { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--cream); margin-bottom: 10px; }
.tph-footer-logo em { font-style: italic; font-weight: 400; }
.tph-footer-logo strong { font-weight: 700; }
.tph-footer-desc { font-size: 13px; color: var(--stone); line-height: 1.6; }
.tph-footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: flex-end; }
.tph-footer-link { font-size: 13px; color: var(--mist); letter-spacing: 0.03em; text-decoration: none; }
.tph-footer-link:hover { color: var(--cream); }
.tph-footer-login { font-size: 13px; color: var(--sage); letter-spacing: 0.03em; text-decoration: underline; }

/* ============================================================
   BLOG — ARCHIVE
   ============================================================ */

/* GP site-content is flex by default — override to block since we have no sidebars */
#content.site-content { display: block !important; }

/* Blog/single take full width inside GP's flex site-content */
main.tph-blog,
main.tph-single { width: 100%; flex: 1 1 100%; }

/* GP dynamic CSS sets grid-container to 1400px — override to match tapHi 1140px design */
.grid-container {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* All GP-templated pages: constrain #primary to 1140px and center */
#content.site-content > #primary.content-area {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Standard WP pages (privacy, about etc — not homepage, not WC): padding inside article */
body.page:not(.home) .inside-article {
  padding: 48px !important;
}

/* WooCommerce pages: padding + transparent background */
body.woocommerce .inside-article,
body.woocommerce-page .inside-article {
  padding: 32px 48px 64px !important;
  background: transparent !important;
}

/* Blog pages use wider padding than generic tph-inner */
.tph-blog .tph-inner,
.tph-single .tph-inner {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 48px !important;
  padding-right: 48px !important;
}

.tph-blog-header {
  padding: 64px 0 48px;
  border-bottom: 0.5px solid var(--border);
}
.tph-blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 700;
  line-height: 1.1; color: var(--ink);
  margin: 8px 0 12px;
}
.tph-blog-sub { font-size: 16px; color: var(--stone); max-width: 480px; }

.tph-blog-grid-wrap { padding: 48px 0 64px; }
.tph-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
}

.tph-post-card { display: flex; flex-direction: column; }
.tph-post-card__img-link {
  display: block; margin-bottom: 20px;
  width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--sand);
}
.tph-post-card__img-link img,
.tph-post-card__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tph-post-card__img-placeholder {
  width: 100%; aspect-ratio: 16/10;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.tph-post-card__img-placeholder span { font-size: 11px; color: var(--mist); letter-spacing: 0.15em; text-transform: uppercase; }

.tph-post-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tph-post-card__cat { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); }
.tph-post-card__date { font-size: 11px; color: var(--mist); }
.tph-post-card__title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0 0 10px; }
.tph-post-card__title a { color: var(--ink); text-decoration: none; }
.tph-post-card__title a:hover { opacity: 0.7; }
.tph-post-card__excerpt { font-size: 14px; color: var(--stone); line-height: 1.65; margin: 0 0 16px; }
.tph-post-card__link { font-size: 13px; color: var(--ink); text-decoration: none; letter-spacing: 0.03em; }
.tph-post-card__link:hover { opacity: 0.6; }

.tph-blog-pagination { margin-top: 48px; padding-top: 32px; border-top: 0.5px solid var(--border); }
.tph-blog-pagination .nav-links { display: flex; gap: 16px; }
.tph-blog-pagination .page-numbers { font-size: 14px; color: var(--ink); text-decoration: none; }
.tph-blog-pagination .page-numbers.current { font-weight: 500; }

.tph-blog-empty { padding: 48px 0; font-size: 15px; color: var(--stone); }

/* ============================================================
   BLOG — SINGLE POST
   ============================================================ */
.tph-article__header {
  padding: 56px 0 40px;
  border-bottom: 0.5px solid var(--border);
}
.tph-back-link {
  display: inline-block; font-size: 13px; color: var(--stone);
  text-decoration: none; letter-spacing: 0.03em; margin-bottom: 24px;
}
.tph-back-link:hover { color: var(--ink); }
.tph-article__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tph-article__cat { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); }
.tph-article__date { font-size: 11px; color: var(--mist); }
.tph-article__title {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 700;
  line-height: 1.1; color: var(--ink); margin: 0;
  max-width: 720px;
}

.tph-article__featured { padding: 40px 0 0; }
.tph-article__featured-img { width: 100%; max-height: 520px; object-fit: cover; display: block; }

.tph-article__content { padding: 48px 0 80px; }

/* Prose — article body text */
.tph-prose { max-width: 680px; }
.tph-prose p { font-size: 16px; line-height: 1.8; color: var(--stone); margin: 0 0 24px; }
.tph-prose h2 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--ink); margin: 40px 0 16px; }
.tph-prose h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--ink); margin: 32px 0 12px; }
.tph-prose a { color: var(--ink); }
.tph-prose ul, .tph-prose ol { font-size: 16px; line-height: 1.8; color: var(--stone); margin: 0 0 24px; padding-left: 24px; }
.tph-prose blockquote { border-left: 2px solid var(--sage); margin: 32px 0; padding: 4px 0 4px 24px; }
.tph-prose blockquote p { font-family: 'Playfair Display', serif; font-size: 20px; font-style: italic; color: var(--ink); }
.tph-prose img { width: 100%; height: auto; display: block; margin: 32px 0; }
.tph-prose strong { font-weight: 500; color: var(--ink); }

.tph-article__footer { margin-top: 48px; padding-top: 32px; border-top: 0.5px solid var(--border); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.taphi-fade-up { animation: fadeUp 0.6s ease forwards; }

/* ============================================================
   MOBILE  (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Header */
  .tph-site-header__inner { padding: 10px 20px; }
  .tph-site-header__logo img { height: 22px; }
  .tph-nav-list li a { font-size: 11px !important; padding: 4px 6px !important; }
  .tph-nav-list .nav-cta a { padding: 7px 12px !important; font-size: 11px !important; }
  .hide-mobile { display: none !important; }

  /* Remove GP article padding */
  .separate-containers .inside-article,
  .separate-containers .page-header,
  .one-container .site-content,
  .inside-page-header { padding: 0 !important; }

  /* Hero */
  .tph-hero { padding: 36px 0 28px !important; }
  .tph-inner { padding: 0 20px !important; }
  .tph-hero .tph-inner { grid-template-columns: 1fr !important; gap: 0 !important; }
  .tph-hero-text { max-width: 100% !important; text-align: left !important; }
  .tph-hero-visual { display: none !important; }
  .tph-h1 { font-size: 32px !important; line-height: 1.1 !important; }
  .tph-sub { font-size: 14px !important; margin: 12px 0 24px !important; line-height: 1.6 !important; }
  .tph-eyebrow { font-size: 10px !important; text-align: left !important; }
  .tph-cta { padding: 16px !important; font-size: 14px !important; }
  .tph-cta-sec { padding: 14px !important; margin-top: 10px !important; font-size: 13px !important; }

  /* Stats */
  .tph-stats, .tph-stats-strip { display: flex !important; justify-content: space-evenly !important; margin-top: 0 !important; }
  .tph-stat { flex: 1 !important; text-align: center !important; padding: 12px 4px !important; }
  .tph-stat-val { font-size: 12px !important; font-weight: 400 !important; }
  .tph-stat-lbl { font-size: 10px !important; margin-top: 2px !important; letter-spacing: 0.05em !important; }

  /* Sections */
  .tph-section { padding: 36px 0 !important; }
  .tph-h2 { font-size: 22px !important; }

  /* Steps: number left, text right */
  .tph-steps { display: flex !important; flex-direction: column !important; gap: 0 !important; margin-top: 24px !important; }
  .tph-step { border-bottom: 0.5px solid var(--sand) !important; padding: 16px 0 !important; }
  .tph-step:last-child { border-bottom: none !important; }
  .tph-step > div { display: grid !important; grid-template-columns: 32px 1fr !important; grid-template-rows: auto auto !important; column-gap: 16px !important; align-items: start !important; }
  .tph-step-num { font-size: 22px !important; color: var(--border) !important; grid-row: 1 / 3 !important; align-self: start !important; line-height: 1 !important; font-weight: 700 !important; margin-bottom: 0 !important; }
  .tph-step-title { font-size: 14px !important; font-weight: 500 !important; color: var(--ink) !important; margin-bottom: 3px !important; }
  .tph-step-body { font-size: 13px !important; color: var(--stone) !important; line-height: 1.5 !important; }

  /* Configurator */
  .tph-conf-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .tph-conf-visual { display: none !important; }
  .tph-conf-wrap { padding: 36px 20px !important; margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; left: 0 !important; }
  .tph-full-bleed { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; left: 0 !important; padding-top: 36px !important; padding-bottom: 36px !important; }
  .tph-full-bleed .tph-inner { padding: 0 20px !important; }

  /* Security */
  .tph-security-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Free / Pro */
  .tph-free-grid { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Footer */
  .tph-footer__top .tph-footer__inner { flex-direction: column; gap: 28px; }
  .tph-footer__links { justify-content: flex-start; }
  .tph-footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; padding: 0 !important; }
  .tph-footer-links { justify-content: flex-start !important; }

  /* HIW page */
  .tph-hiw-h1 { font-size: 32px !important; }
  div[style*="max-width:800px"] { padding: 40px 20px !important; }
  .tph-hiw-inner { padding: 0 !important; }

  /* Blog */
  .tph-blog .tph-inner,
  .tph-single .tph-inner { padding-left: 20px !important; padding-right: 20px !important; }
  .tph-blog-header { padding: 40px 0 32px; }
  .tph-blog-title { font-size: 32px !important; }
  .tph-blog-grid-wrap { padding: 36px 0; }
  .tph-blog-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .tph-article__title { font-size: 28px !important; }
  .tph-prose { max-width: 100%; }
  .tph-prose p { font-size: 15px; }
  .tph-article__content { padding: 36px 0 48px; }
}
