/*
 * WellRooted — landing page styles.
 *
 * Lifted from the wellrooted.in static pages, then namespaced: every class is
 * .wr-*, every design token is --wr-*, and every bare element rule is scoped
 * under #wr-landing, so the WordPress theme and this stylesheet cannot repaint
 * each other.
 *
 * Fonts (Inter + Poppins) are enqueued by the plugin, not @imported here.
 */

:root{
    --wr-teal-deep:#123B3B;
    --wr-teal-mid:#1F5757;
    --wr-blue-trust:#2C6E8E;
    --wr-mint-light:#E4F1EC;
    --wr-cream:#FAFAF7;
    --wr-coral:#FF7E5F;
    --wr-coral-dark:#E85F40;
    --wr-ink:#132323;
    --wr-ink-soft:#4B615E;
    --wr-line:#CFE0DA;
    --wr-radius:18px;

    /* One family everywhere: Inter, with a fallback chain that degrades to the
       closest native face per platform before reaching Poppins.
         -apple-system / BlinkMacSystemFont — iOS and macOS
         Segoe UI                          — Windows
         Roboto                            — Android, the nearest grotesque
         Poppins                           — last named attempt (see note below)
       --wr-font-display is kept as a separate name so headings can be given
       their own face again later by editing one line, not forty. */
    --wr-font-body:Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, Poppins, sans-serif;
    --wr-font-display:var(--wr-font-body);

    /* Page frame. One definition each, because the gutter also has to line the
       member-area top bar up with the content beneath it — three rules across
       two stylesheets that must never disagree. */
    --wr-maxw:1280px;
    --wr-gutter:20px;
  }
  :where(#wr-landing) *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  #wr-landing{
    font-family:var(--wr-font-body);
    color:var(--wr-ink);
    background:var(--wr-cream);
    line-height:1.6;
    overflow-x:hidden;
  }
  :where(#wr-landing) a{color:inherit; text-decoration:none;}
  :where(#wr-landing) img{max-width:100%; display:block;}
  .wr-wrap{width:100%; max-width:var(--wr-maxw); margin:0 auto; padding:0 var(--wr-gutter);}
  .wr-eyebrow{
    font-family:var(--wr-font-body);
    font-size:13px;
    font-weight:600;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--wr-blue-trust);
  }
  /* Material Symbols. The name in the element's text content is resolved to a
     glyph by the font's ligature table, so `font-feature-settings:'liga'` is
     load-bearing here, not decoration — without it the card reads "task_alt".
     .wr-icon--glyph opts back out for legacy emoji values, which have no
     ligature and would otherwise render at the icon font's fallback metrics. */
  .wr-icon{
    font-family:'Material Symbols Rounded';
    font-weight:normal; font-style:normal;
    font-size:24px; line-height:1;
    letter-spacing:normal; text-transform:none;
    display:inline-block; white-space:nowrap; direction:ltr;
    font-feature-settings:'liga';
    -webkit-font-smoothing:antialiased;
  }
  .wr-icon--glyph{font-family:var(--wr-font-body); font-size:22px;}

  .wr-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:15px 30px;
    border-radius:100px;
    font-weight:600;
    font-size:15.5px;
    cursor:pointer;
    border:none;
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  }
  .wr-btn-primary{
    background:var(--wr-coral);
    color:#fff;
    box-shadow:0 8px 24px -8px rgba(232,95,64,0.55);
  }
  .wr-btn-primary:hover{background:var(--wr-coral-dark); transform:translateY(-2px); box-shadow:0 12px 28px -8px rgba(232,95,64,0.65);}
  .wr-btn-ghost{
    background:transparent;
    color:var(--wr-teal-deep);
    border:1.5px solid var(--wr-teal-deep);
  }
  .wr-btn-ghost:hover{background:var(--wr-teal-deep); color:#fff;}

  /* ---------- NAV ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:#ffffff;
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--wr-line);
  }
  :where(#wr-landing) nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 0;
    position:relative;
  }
  .wr-logo{
    font-family:var(--wr-font-display);
    font-weight:600;
    font-size:22px;
    color:var(--wr-teal-deep);
    display:flex; align-items:center; gap:8px;
  }
  .wr-logo svg{width:22px; height:22px;}
  .wr-logo img{height:50px; width:auto; display:block;}
  .wr-nav-links{
    display:flex; align-items:center; gap:36px;
    font-weight:500; font-size:15px; color:var(--wr-ink-soft);
  }
  .wr-nav-links a:hover{color:var(--wr-teal-deep);}
  .wr-nav-cta .wr-btn{padding:11px 22px; font-size:14.5px;}

  .wr-mobile-toggle{
    display:none;
    background:none; border:none; cursor:pointer;
    width:36px; height:36px;
    align-items:center; justify-content:center;
    flex-direction:column; gap:5px;
  }
  .wr-mobile-toggle span{
    display:block; width:22px; height:2px;
    background:var(--wr-teal-deep);
    transition:transform .25s ease, opacity .25s ease;
  }
  .wr-mobile-toggle.wr-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .wr-mobile-toggle.wr-open span:nth-child(2){opacity:0;}
  .wr-mobile-toggle.wr-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  /* ---------- HERO (photo banner, Habuild-style) ---------- */
  .wr-hero{
    position:relative;
    min-height:640px;
    display:flex;
    align-items:center;
    overflow:hidden;
    /* Ground colour behind the backdrop, so a slow or broken image never
       leaves white copy on a white page. */
    background:var(--wr-teal-deep);
  }
  .wr-hero-bg{
    position:absolute; inset:0;
    background-image:url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?w=1600&q=80');
    background-size:cover;
    background-position:center 30%;
  }
  .wr-hero-bg::after{
    content:"";
    position:absolute; inset:0;
    /* Heaviest over the copy, lifting toward the right so the backdrop still
       reads behind the side image. */
    background:linear-gradient(100deg, rgba(18,59,59,0.92) 0%, rgba(18,59,59,0.78) 42%, rgba(44,110,142,0.35) 75%, rgba(44,110,142,0.15) 100%);
  }
  /* padding-block only: this element also carries .wr-wrap, whose
     `padding:0 var(--wr-gutter)` a `padding:90px 0` shorthand would wipe out. */
  .wr-hero-inner{position:relative; z-index:2; padding-top:90px; padding-bottom:90px;}
  .wr-hero-content{max-width:600px;}

  /* Two columns only when there is a side image to fill the second one —
     an empty grid track would push the copy off-centre for nothing. The
     modifier is set in PHP rather than :has(), so the rule stays obvious. */
  .wr-hero-inner--split{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,40%);
    gap:48px;
    align-items:center;
  }
  .wr-hero-media img{
    display:block;
    width:100%; height:auto;
    border-radius:var(--wr-radius);
    box-shadow:0 30px 60px -25px rgba(0,0,0,0.55);
  }
  .wr-hero h1{
    font-size:clamp(36px, 4.8vw, 56px);
    line-height:1.08;
    margin-bottom:20px;
    color:#fff;
  }
  .wr-hero h1 em{
    font-style:italic;
    color:#FFB49E;
  }
  .wr-hero p.wr-lead{
    font-size:18px;
    color:#D6E7E3;
    max-width:480px;
    margin-bottom:30px;
  }
  .wr-hero-cta-row{display:flex; align-items:center; gap:22px; flex-wrap:wrap; margin-bottom:26px;}
  .wr-hero-trust{
    display:flex; align-items:center; gap:12px;
  }
  .wr-hero-trust p{font-size:14px; color:#D6E7E3; font-weight:500;}
  .wr-hero-trust strong{color:#fff;}

  /* Portrait band between hero and trust bar. Light ground because the
     shipped portrait is a white-background studio shot — on the dark teal
     of its neighbours it would read as a floating white rectangle. */
  .wr-hero-portrait{background:var(--wr-cream); display:flex; justify-content:center;}
  .wr-hero-portrait img{width:100%; max-width:520px; height:auto; display:block;}

  /* ---------- TRUST BAR ---------- */
  .wr-trust-bar{
    background:var(--wr-teal-deep);
    padding:36px 0;
  }
  .wr-trust-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
    text-align:center;
  }
  .wr-trust-grid .wr-num{
    font-family:var(--wr-font-display);
    font-size:32px; font-weight:600; color:#fff;
  }
  .wr-trust-grid .wr-label{font-size:13px; color:#9FC4BE; font-weight:500; margin-top:4px;}
  .wr-trust-grid .wr-divider{border-left:1px solid rgba(255,255,255,0.15);}

  /* ---------- SECTION HEADERS ---------- */
  .wr-section{padding:100px 0;}
  .wr-section-head{max-width:640px; margin-bottom:56px;}
  .wr-section-head h2{font-size:clamp(28px,3.4vw,40px); margin-top:12px; line-height:1.15;}
  .wr-section-head p{color:var(--wr-ink-soft); font-size:16.5px; margin-top:14px;}
  .wr-section-head.wr-center{margin-left:auto; margin-right:auto; text-align:center;}

  /* ---------- LEGAL DOCUMENT ---------- */
  .wr-legal{background:#fff;}
  /* Narrower than .wr-wrap's 1280px: legal copy is read top to bottom, and a
     line much past ~75 characters is measurably harder to track back from. */
  .wr-legal__wrap{max-width:820px;}
  .wr-legal__title{font-size:clamp(30px,3.6vw,42px); line-height:1.15; color:var(--wr-teal-deep);}
  .wr-legal__updated{margin-top:10px; font-size:14px; color:var(--wr-ink-soft);}
  .wr-legal__intro{margin-top:20px; font-size:16.5px;}
  .wr-legal__toc{
    margin:32px 0 8px;
    background:var(--wr-mint-light);
    border-radius:var(--wr-radius);
    padding:22px 26px;
  }
  .wr-legal__toc h2{font-size:14px; text-transform:uppercase; letter-spacing:0.08em; color:var(--wr-teal-mid);}
  .wr-legal__toc ol{margin:12px 0 0; padding-left:20px; font-size:14.5px;}
  .wr-legal__toc li{margin:5px 0;}
  .wr-legal__toc a{color:var(--wr-blue-trust);}
  .wr-legal__toc a:hover{text-decoration:underline;}
  .wr-legal__block{
    margin-top:38px;
    /* The TOC links here; without this the sticky header covers the heading. */
    scroll-margin-top:90px;
  }
  .wr-legal__block h2{font-size:21px; color:var(--wr-teal-deep); margin-bottom:12px;}
  .wr-legal__block p, .wr-legal__intro p{margin-bottom:14px; color:var(--wr-ink-soft); font-size:15.5px;}
  .wr-legal__block ul{list-style:none; margin:0 0 14px;}
  .wr-legal__block li{
    position:relative; padding-left:20px; margin-bottom:8px;
    color:var(--wr-ink-soft); font-size:15.5px;
  }
  .wr-legal__block li::before{
    content:""; position:absolute; left:0; top:9px;
    width:7px; height:7px; border-radius:50%; background:var(--wr-coral);
  }
  .wr-legal a{color:var(--wr-blue-trust); text-decoration:underline;}

  /* ---------- BENEFITS ---------- */
  .wr-benefits-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
  }
  .wr-benefit-card{
    background:#fff;
    border:1px solid var(--wr-line);
    border-radius:var(--wr-radius);
    padding:36px 30px;
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .wr-benefit-card:hover{transform:translateY(-6px); box-shadow:0 24px 40px -20px rgba(18,59,59,0.25);}
  .wr-benefit-head{display:flex; align-items:center; gap:14px; margin-bottom:16px;}
  .wr-benefit-icon{
    width:52px; height:52px; border-radius:14px;
    display:flex; align-items:center; justify-content:center;
    flex:0 0 auto;
    /* A glyph takes its colour from `color`, where the emoji it replaced
       carried its own. The per-card `tint` is the tile behind it. */
    color:var(--wr-teal-deep);
  }
  .wr-benefit-icon .wr-icon{font-size:28px;}
  .wr-benefit-card h3{font-size:21px;}
  .wr-benefit-card ul{list-style:none;}
  .wr-benefit-card li{
    font-size:14.5px; color:var(--wr-ink-soft);
    padding-left:20px; position:relative; margin-bottom:8px;
  }
  .wr-benefit-card li::before{
    content:"";
    position:absolute; left:0; top:8px;
    width:8px; height:8px; border-radius:50%;
    background:var(--wr-coral);
  }

  /* ---------- FEATURES ---------- */
  .wr-features-section{background:var(--wr-mint-light);}
  .wr-features-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
  }
  .wr-feature-card{
    background:#fff;
    border-radius:16px;
    padding:28px 26px;
    border:1px solid rgba(18,59,59,0.06);
  }
  .wr-feature-head{display:flex; align-items:center; gap:12px; margin-bottom:10px;}
  .wr-feature-card .wr-fi{
    width:42px; height:42px;
    flex:0 0 42px;
    display:flex; align-items:center; justify-content:center;
    border-radius:12px;
    background:var(--wr-mint-light);
    color:var(--wr-teal-deep);
  }
  .wr-feature-card h4{font-family:var(--wr-font-display); font-size:17px; color:var(--wr-teal-deep); font-weight:600;}
  .wr-feature-card p{font-size:14px; color:var(--wr-ink-soft);}

  /* ---------- MID CTA ---------- */
  .wr-mid-cta{
    background:linear-gradient(120deg, var(--wr-teal-deep), var(--wr-blue-trust));
    border-radius:28px;
    padding:56px 60px;
    display:flex; align-items:center; justify-content:space-between; gap:40px;
    position:relative; overflow:hidden;
  }
  .wr-mid-cta::after{
    content:"";
    position:absolute; right:-60px; top:-60px;
    width:220px; height:220px; border-radius:50%;
    background:rgba(255,126,95,0.18);
  }
  .wr-mid-cta h3{color:#fff; font-size:28px; max-width:420px; position:relative; z-index:1;}
  .wr-mid-cta p{color:#C9DEDA; margin-top:8px; font-size:15px; position:relative; z-index:1;}
  .wr-mid-cta .wr-btn{position:relative; z-index:1; white-space:nowrap;}

  /* ---------- COACH ---------- */
  .wr-coach-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px;
  }
  .wr-coach-card{
    background:#fff;
    border-radius:var(--wr-radius);
    border:1px solid var(--wr-line);
    overflow:hidden;
    display:flex; flex-direction:column;
  }
  .wr-coach-photo{
    aspect-ratio:4/3;
    background:linear-gradient(140deg, var(--wr-mint-light), #fff);
    display:flex; align-items:center; justify-content:center;
    position:relative;
  }
  .wr-coach-photo .wr-initials{
    width:96px; height:96px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-family:var(--wr-font-display); font-size:32px; font-weight:600; color:#fff;
  }
  .wr-coach-body{padding:26px 28px 30px;}
  .wr-coach-body .wr-role{font-size:12.5px; color:var(--wr-blue-trust); font-weight:600; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:6px;}
  .wr-coach-body h3{font-size:22px; margin-bottom:10px;}
  .wr-coach-body p{font-size:14.5px; color:var(--wr-ink-soft);}

  /* ---------- REAL REVIEWS ---------- */
  .wr-reviews-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;
  }
  .wr-review-card{
    background:#fff;
    border:1px solid var(--wr-line);
    border-radius:var(--wr-radius);
    padding:26px 26px 24px;
    display:flex;
    flex-direction:column;
  }
  .wr-review-top{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
  }
  .wr-review-avatar{
    width:42px; height:42px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-weight:700; font-size:15px;
    flex-shrink:0;
  }
  .wr-review-top strong{display:block; font-size:14.5px; color:var(--wr-teal-deep);}
  .wr-review-stars{color:var(--wr-coral); font-size:12.5px; letter-spacing:2px;}
  .wr-review-card p{font-size:14px; color:var(--wr-ink-soft); line-height:1.65;}

  /* ---------- FOUNDER ---------- */
  .wr-founder-section{
    background:var(--wr-teal-deep);
    color:#fff;
    position:relative;
    overflow:hidden;
  }
  .wr-founder-grid{
    display:grid;
    grid-template-columns:0.85fr 1.15fr;
    gap:56px;
    align-items:center;
  }
  .wr-founder-section .wr-eyebrow{color:#8FC2BA;}
  .wr-founder-section h2{color:#fff;}
  .wr-founder-section p{color:#C9DEDA; font-size:16px; margin-top:16px; max-width:520px;}
  .wr-founder-photo{
    aspect-ratio:1/1;
    border-radius:22px;
    background:linear-gradient(150deg, #1F5757, #2C6E8E);
    display:flex; align-items:center; justify-content:center;
    border:1px solid rgba(255,255,255,0.12);
  }
  .wr-founder-photo .wr-initials{
    width:110px;height:110px;border-radius:50%;
    background:rgba(255,255,255,0.12);
    display:flex;align-items:center;justify-content:center;
    font-family:var(--wr-font-display); font-size:36px; color:#fff; font-weight:600;
    border:1px solid rgba(255,255,255,0.25);
  }
  .wr-founder-creds{
    display:flex; gap:28px; margin-top:24px; flex-wrap:wrap;
  }
  .wr-founder-creds div{font-size:13.5px; color:#9FC4BE;}
  .wr-founder-creds strong{display:block; color:#fff; font-size:15px; margin-bottom:2px;}

  /* ---------- FAQ ---------- */
  .wr-faq-list{max-width:760px; margin:0 auto;}
  .wr-faq-item{
    border-bottom:1px solid var(--wr-line);
    padding:22px 0;
    cursor:pointer;
  }
  .wr-faq-q{
    display:flex; align-items:center; justify-content:space-between;
    font-family:var(--wr-font-display); font-size:18px; font-weight:500; color:var(--wr-teal-deep);
    /* Reset the UA button chrome — this is a button for keyboard access, not
       for looks. Without these it renders grey, outset-bordered, centred and
       shrink-to-fit instead of filling the row. */
    width:100%; text-align:left; gap:20px;
    background:none; border:0; cursor:pointer; appearance:none;
  }
  .wr-faq-q .wr-plus{
    font-size:22px; color:var(--wr-coral); transition:transform .3s ease;
    flex-shrink:0; margin-left:20px;
  }
  .wr-faq-item.wr-open .wr-plus{transform:rotate(45deg);}
  .wr-faq-a{
    max-height:0; overflow:hidden;
    transition:max-height .35s ease, padding .35s ease;
    font-size:14.5px; color:var(--wr-ink-soft); line-height:1.7;
  }
  .wr-faq-item.wr-open .wr-faq-a{max-height:200px; padding-top:14px;}

  /* ---------- FOOTER ---------- */
  footer{background:#0D2E2E; color:#fff; padding:64px 0 28px;}
  .wr-footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:40px;
    padding-bottom:40px;
    border-bottom:1px solid rgba(255,255,255,0.1);
  }
  .wr-footer-logo{font-family:var(--wr-font-display); font-size:22px; font-weight:600; color:#fff; margin-bottom:14px;}
  .wr-footer-grid p{font-size:13.5px; color:#8FAFA9; max-width:260px;}
  .wr-footer-col h5{font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:#8FAFA9; margin-bottom:16px;}
  .wr-footer-col a{display:block; font-size:14.5px; color:#D6E7E3; margin-bottom:11px;}
  .wr-footer-col a:hover{color:var(--wr-coral);}
  .wr-footer-address{display:block; font-size:14.5px; color:#D6E7E3; line-height:1.6;}
  .wr-footer-social{display:flex; gap:12px; margin-top:18px;}
  .wr-footer-social a{
    width:36px; height:36px; border-radius:50%;
    border:1px solid rgba(255,255,255,0.18);
    display:flex; align-items:center; justify-content:center;
  }
  .wr-footer-bottom{
    display:flex; justify-content:space-between; align-items:center;
    padding-top:24px; font-size:13px; color:#7A9A94; flex-wrap:wrap; gap:12px;
  }
  .wr-footer-bottom a{color:#7A9A94;}

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 900px){
    /* Narrower gutter on phones: 20px of each edge is a bigger share of a
       390px screen than of a 1280px one. Redefined on :root so every rule
       that reads the token follows, rather than overriding each one. */
    :root{--wr-gutter:16px;}

    .wr-mobile-toggle{display:flex;}
    .wr-nav-links{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap:0;
      position:absolute;
      top:100%; left:0; right:0;
      background:var(--wr-cream);
      border-bottom:1px solid var(--wr-line);
      box-shadow:0 16px 24px -12px rgba(18,59,59,0.15);
      max-height:0;
      overflow:hidden;
      transition:max-height .3s ease;
    }
    .wr-nav-links.wr-open{max-height:60vh;}
    .wr-nav-links a{
      width:100%;
      padding:16px 28px;
      border-bottom:1px solid var(--wr-line);
      font-size:16px;
    }
    .wr-logo img{height:40px;}

    /* The backdrop stays full-bleed; it is the side image that stops being a
       column and stacks under the copy. Source order already puts it there,
       so collapsing to one track is the whole fix. */
    .wr-hero{min-height:auto;}
    .wr-hero-inner{padding-top:70px; padding-bottom:70px;}
    .wr-hero-content{max-width:100%;}
    .wr-hero-inner--split{grid-template-columns:1fr; gap:32px;}
    .wr-hero-media{max-width:420px;}
    .wr-trust-grid{grid-template-columns:repeat(2,1fr); row-gap:24px;}
    .wr-trust-grid .wr-divider{border-left:none;}
    .wr-benefits-grid{grid-template-columns:1fr;}
    .wr-features-grid{grid-template-columns:1fr;}
    .wr-coach-grid{grid-template-columns:1fr;}
    .wr-testimonials-strip{grid-template-columns:1fr;}
    .wr-reviews-grid{grid-template-columns:1fr;}
    .wr-founder-grid{grid-template-columns:1fr;}
    .wr-mid-cta{flex-direction:column; text-align:center; padding:40px 28px;}
    .wr-section{padding:64px 0;}
    /* The footer grid had no mobile rule, so four columns stayed jammed into
       ~300px. Two columns for the link lists, full width for the brand blurb. */
    .wr-footer-grid{grid-template-columns:1fr 1fr; gap:28px 20px;}
    .wr-footer-grid > *:first-child{grid-column:1 / -1;}
    .wr-footer-bottom{flex-direction:column; align-items:flex-start; gap:8px;}
  }


  :where(#wr-landing) a:focus-visible, :where(#wr-landing) button:focus-visible{outline:2px solid var(--wr-coral); outline-offset:3px;}
  @media (prefers-reduced-motion: reduce){
    :where(#wr-landing) *{transition:none !important;}
  }
.wr-plans-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  margin:48px 0 60px;
  /* stretch, not start: `start` sizes each card to its own content, which
     leaves the cards different heights and makes the CTA's margin-top:auto
     a no-op. Equal heights are what line the buttons up across the row. */
  align-items:stretch;
}
.wr-plan-card{
  background:#fff;
  border:1.5px solid var(--wr-line);
  border-radius:20px;
  padding:28px 26px 26px;
  position:relative;
  /* Clips the badge bar to the card's rounded corners, so its width is the
     card's width by construction rather than by matching border offsets. */
  overflow:hidden;
  /* Column, with the CTA pushed to the bottom: cards now hold the same
     elements but a plan without a strike price or discount chip is still two
     rows shorter, and the buttons must line up across the row regardless. */
  display:flex;
  flex-direction:column;
}
.wr-plan-cta{margin-top:auto;}
.wr-plan-card.wr-featured{
  /* Badge and border carry the emphasis. The lift and drop shadow are gone —
     they pulled the featured card out of alignment with its neighbours, which
     is the thing the ragged feature lists were already doing. */
  border-color:var(--wr-teal-deep);
  border-width:2px;
}
.wr-plan-badge{
  /* In normal flow with negative margins that cancel the card's padding, so
     the bar is exactly the card's inner width by construction. Absolute
     positioning here resolved against a box 52px wider than the card, which
     is what made the badge overhang both edges. */
  margin:-28px -26px 22px;
  display:flex; align-items:center; justify-content:center; gap:6px;
  background:var(--wr-teal-deep);
  color:#fff;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  padding:10px 20px;
  border-radius:19px 19px 0 0;
  white-space:nowrap;
}
.wr-plan-badge .wr-star{color:#FFC24B;}
.wr-plan-name{
  font-family:var(--wr-font-display);
  font-weight:600;
  font-size:22px;
  color:var(--wr-teal-deep);
  margin-bottom:10px;
}
.wr-plan-card.wr-featured .wr-plan-name{margin-top:0;}
.wr-plan-strike{
  color:#9AAFAB;
  text-decoration:line-through;
  font-size:15px;
  margin-right:10px;
}
.wr-plan-off{
  display:inline-flex;
  align-items:center;
  background:#FDE4E0;
  color:var(--wr-coral-dark);
  font-size:12px;
  font-weight:700;
  padding:4px 10px;
  border-radius:100px;
  vertical-align:middle;
}
.wr-plan-price{
  font-family:var(--wr-font-display);
  font-size:36px;
  font-weight:600;
  color:var(--wr-teal-deep);
  margin:10px 0 22px;
}
.wr-plan-price span{font-size:15px; color:var(--wr-ink-soft); font-weight:400; font-family:var(--wr-font-body);}
.wr-plan-cta{
  width:100%;
  text-align:center;
  display:block;
}

/* comparison table */
.wr-compare-wrap{
  overflow-x:auto;
  margin-bottom:80px;
  border-radius:20px;
  background:var(--wr-mint-light);
  padding:8px;
}
.wr-compare-table{
  width:100%;
  border-collapse:collapse;
  min-width:640px;
}
.wr-compare-table th{
  font-family:var(--wr-font-display);
  font-size:18px;
  font-weight:600;
  color:var(--wr-teal-deep);
  padding:22px 18px;
  text-align:center;
}
.wr-compare-table th:first-child{text-align:left; font-family:var(--wr-font-body); font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:var(--wr-ink-soft); font-weight:600;}
.wr-compare-table th.wr-highlight-col{
  background:rgba(18,59,59,0.08);
  border-radius:14px 14px 0 0;
}
.wr-compare-table td{
  padding:18px;
  text-align:center;
  border-top:1px solid rgba(18,59,59,0.08);
  font-size:14.5px;
  color:var(--wr-ink-soft);
}
.wr-compare-table td:first-child{
  text-align:left;
  font-weight:600;
  color:var(--wr-teal-deep);
  font-size:14.5px;
}
.wr-compare-table td.wr-highlight-col{background:rgba(18,59,59,0.05);}
.wr-compare-table tr:last-child td.wr-highlight-col{border-radius:0 0 14px 14px;}
.wr-check-yes{color:#2E9E6B; font-size:18px;}
.wr-check-no{color:#E15C4E; font-size:18px;}

@media (max-width: 900px){
  /* Horizontal swipe strip rather than a vertical stack. Three cards abreast
     on a 390px screen would be ~110px each — unreadable — so the row keeps a
     legible card width and scrolls, with snap points so it always lands on a
     card. The 78% width deliberately leaves the next card peeking, which is
     what tells the reader there is more to the right. */
  .wr-plans-grid{
    display:flex;
    align-items:stretch;
    gap:16px;
    /* Bleed to the screen edges, then pad back in: without this the first and
       last cards butt against the gutter and the strip looks clipped rather
       than scrollable. */
    margin:36px calc(var(--wr-gutter) * -1) 44px;
    padding:0 var(--wr-gutter) 8px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-padding-left:var(--wr-gutter);
    -webkit-overflow-scrolling:touch;
    /* The strip is self-evidently swipeable; a scrollbar over the cards is
       just noise on touch. */
    scrollbar-width:none;
  }
  .wr-plans-grid::-webkit-scrollbar{display:none;}
  .wr-plan-card{
    flex:0 0 78%;
    scroll-snap-align:start;
  }
}
.wr-contact-row .wr-label{
  font-size:12.5px;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:var(--wr-ink-soft);
  font-weight:600;
  margin-bottom:4px;
}

@media (max-width: 900px){
}

/* ─────────────────────────────────────────────────────────────────────────
   Layout utilities — replaces inline style= in the section renderer.
   Only data-driven values (a chosen tint, an uploaded image, an avatar
   colour) stay inline; everything structural lives here.
   ───────────────────────────────────────────────────────────────────────── */

.wr-section--tight{padding-top:0;}
.wr-section--mint{background:var(--wr-mint-light);}

/* Hero */
:where(#wr-landing) .wr-hero .wr-eyebrow{color:#8FC2BA;}
.wr-hero-trust img{
  width:44px; height:44px; flex:0 0 44px;
  border-radius:50%; object-fit:cover;
  /* The portrait is full-length, so a centred crop lands on the chest.
     Bias the crop upward to frame the face. */
  object-position:50% 18%;
  border:2px solid rgba(255,255,255,0.4);
}

/* Overlapping stack. `img + img` pulls every face but the first onto the one
   before it, so the group still starts flush at the text's left edge. Later
   siblings paint on top by document order — no z-index needed.
   Must follow the rule above: same specificity, so the `border` shorthand
   there would otherwise reset this border-color. */
.wr-hero-trust__avatars{display:flex; align-items:center; flex:0 0 auto;}
.wr-hero-trust__avatars img{border-color:rgba(255,255,255,0.85);}
.wr-hero-trust__avatars img + img{margin-left:-14px;}

/* Coach */
.wr-coach-grid{
  display:grid;
  grid-template-columns:0.8fr 1.2fr;
  align-items:stretch;
  gap:28px;
}
.wr-coach-card--body{justify-content:center; padding:8px;}
.wr-coach-photo img{width:100%; height:100%; object-fit:cover;}
.wr-coach-body{padding:26px 30px;}
.wr-coach-body h3{font-size:26px;}
.wr-coach-body p{margin-bottom:18px;}

/* Founder */
.wr-founder-photo img{width:100%; height:100%; object-fit:cover; border-radius:22px;}

/* Pill row — flex, wraps on narrow screens */
.wr-pills{display:flex; flex-wrap:wrap; gap:10px;}
.wr-pill{
  background:var(--wr-mint-light);
  color:var(--wr-teal-mid);
  font-size:12.5px;
  font-weight:600;
  padding:7px 14px;
  border-radius:100px;
}

@media (max-width:900px){
  .wr-coach-grid{grid-template-columns:1fr;}
}

/* ── Contact section ────────────────────────────────────────────────────── */

.wr-contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:start;
}
.wr-contact-card{
  display:flex; flex-direction:column; gap:4px;
  background:#fff;
  border:1px solid var(--wr-line);
  border-radius:22px;
  padding:14px 28px;
}
.wr-contact-row{
  display:flex; align-items:flex-start; gap:16px;
  padding:20px 0;
  border-bottom:1px solid var(--wr-line);
}
.wr-contact-row:last-of-type{border-bottom:none;}
.wr-contact-icon{
  display:flex; align-items:center; justify-content:center;
  flex:0 0 44px; width:44px; height:44px;
  border-radius:12px;
  background:var(--wr-mint-light);
  color:var(--wr-teal-deep);
  font-size:20px; line-height:1;
}
.wr-contact-row__body{min-width:0;}
.wr-contact-row__label{
  font-size:12.5px; font-weight:600; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--wr-ink-soft); margin-bottom:4px;
}
.wr-contact-row__body a{
  font-size:15.5px; font-weight:600; color:var(--wr-blue-trust); word-break:break-word;
}
.wr-contact-row__body a:hover{color:var(--wr-coral);}
.wr-contact-row__body p{font-size:15px; font-weight:500; line-height:1.6; color:var(--wr-ink);}

.wr-contact-hours{
  border-top:1px solid var(--wr-line);
  padding:20px 0 4px;
}
.wr-contact-hours p{font-size:14.5px; color:var(--wr-ink-soft); line-height:1.7;}

.wr-contact-map{
  border-radius:22px; overflow:hidden;
  border:1px solid var(--wr-line);
  min-height:100%;
}
.wr-contact-map iframe{
  display:block; width:100%; height:100%; min-height:460px; border:0;
}

@media (max-width:900px){
  .wr-contact-grid{grid-template-columns:1fr;}
  .wr-contact-map iframe{min-height:320px;}
}

/* ── Video carousel ─────────────────────────────────────────────────────── */

/* A horizontal scroller, not a JS carousel. scroll-snap gives the same
   card-by-card feel that a slider library would, using the browser's own
   momentum scrolling — which is what a phone user's thumb already expects,
   and what a keyboard and a screen reader already understand. */
.wr-vc-pills{justify-content:center; margin-bottom:28px;}

.wr-vc-pill{
  border:1px solid var(--wr-line);
  cursor:pointer;
  font-family:inherit;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.wr-vc-pill:hover{border-color:var(--wr-teal-mid);}
.wr-vc-pill[aria-pressed="true"]{
  background:var(--wr-teal-mid);
  border-color:var(--wr-teal-mid);
  color:#fff;
}

/* Default is the wrapping flex layout: every video is on the page, nothing
   hidden behind a sideways scroll. The carousel is opt-in per screen size,
   and only the --carousel-* modifiers turn on overflow and snapping. */
.wr-vc-track{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
}
/* Five across at 1280px: a 9:16 card three-across would stand 709px tall,
   which is more than most viewports have to give a single row. */
.wr-vc-card{
  flex:0 0 calc((100% - 4 * 22px) / 5);
  min-width:0;
}

@media (min-width:901px){
  .wr-vc-track--carousel-d{
    flex-wrap:nowrap;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    /* Room for the scrollbar and for the cards' focus ring, which would
       otherwise be clipped by the overflow. */
    padding-bottom:14px;
    scrollbar-width:thin;
  }
  .wr-vc-track--carousel-d .wr-vc-card{scroll-snap-align:start;}
}
/* The browser's own [hidden] rule is `display:none` at zero specificity, so
   any class rule setting display beats it — a filtered-out card or a played
   poster would stay on screen. Both need re-hiding at class specificity. */
.wr-vc-card[hidden], .wr-vc-poster[hidden]{display:none;}

.wr-vc-poster{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:9 / 16;
  padding:0;
  border:0;
  border-radius:var(--wr-radius);
  overflow:hidden;
  background:var(--wr-teal-deep);
  cursor:pointer;
}
.wr-vc-poster img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.wr-vc-play{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%, -50%);
  width:54px; height:54px;
  border-radius:50%;
  background:rgba(18,59,59,0.72);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:background .15s ease, transform .15s ease;
}
.wr-vc-poster:hover .wr-vc-play{
  background:var(--wr-coral);
  transform:translate(-50%, -50%) scale(1.06);
}
.wr-vc-duration{
  position:absolute;
  right:10px; bottom:10px;
  background:rgba(18,59,59,0.85);
  color:#fff;
  font-size:12px; font-weight:600;
  padding:3px 7px;
  border-radius:6px;
}

/* Replaces the poster in place once played — same box, so the row does not
   reflow and the neighbouring cards stay where the visitor left them. */
.wr-vc-frame{
  display:block;
  width:100%;
  aspect-ratio:9 / 16;
  border:0;
  border-radius:var(--wr-radius);
  background:#000;
}

.wr-vc-meta{padding:14px 2px 0;}
.wr-vc-tag{
  display:block;
  font-size:11.5px; font-weight:600;
  letter-spacing:0.08em; text-transform:uppercase;
  color:var(--wr-blue-trust);
  margin-bottom:6px;
}
.wr-vc-meta h3{
  font-size:16.5px; line-height:1.4;
  color:var(--wr-teal-deep);
  margin-bottom:6px;
}
.wr-vc-meta p{font-size:13.5px; color:var(--wr-ink-soft);}

@media (max-width:900px){
  .wr-vc-track{gap:16px;}
  /* Two per row wrapping — the flex default. */
  .wr-vc-card{flex-basis:calc((100% - 16px) / 2);}

  .wr-vc-track--carousel-m{
    flex-wrap:nowrap;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:14px;
    scrollbar-width:thin;
  }
  .wr-vc-track--carousel-m .wr-vc-card{
    scroll-snap-align:start;
    /* Just under two thirds: one card fills the screen and the next one peeks,
       which is the only affordance telling a thumb there is more to the right. */
    flex-basis:62%;
  }

  .wr-vc-pills{
    /* Pills scroll rather than wrapping into three stacked rows that push the
       videos below the fold. */
    flex-wrap:nowrap;
    overflow-x:auto;
    justify-content:flex-start;
    scrollbar-width:none;
  }
  .wr-vc-pill{flex:0 0 auto;}
}
