/* Page content only. Type, colours, cards, buttons, spacing and the shell
       all come from the live site CSS above (Fractul, btn-primary, courses-card,
       blog-card). These rules cover only what the live CSS has no class for:
       the template image tags, page/feature lists, the section separator and
       the Need guidance card from the Figma design. Colours are the live
       tokens: blue #4517FF, card #F9F9F9, line #E1E2E6, grey #6D6F7B. */
    .tpl-sec{padding-top:180px}
    .tpl-img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid #e1e2e6;box-sizing:border-box}
    .tpl-clones .blog-img{border:1px solid #e1e2e6;box-sizing:border-box}
    .tpl-media{position:relative;align-self:flex-start}
    .tpl-tag{position:absolute;top:16px;display:inline-flex;align-items:center;gap:8px;border-radius:999px;font-size:14px;font-weight:500;line-height:20px}
    .tpl-tag-framer{left:16px;background:#fff;border:1px solid #e1e2e6;padding:8px 15px 8px 11px;color:#000}
    .tpl-tag-framer img{width:16px;height:16px}
    .tpl-tag-free{right:16px;background:#000;color:#fff;padding:8px 15px}
    .tpl-meta{margin-bottom:16px}
    .tpl-meta strong{color:#000;font-weight:500}
    .tpl-sub{font-size:20px;line-height:28px;font-weight:500;color:#4517ff;margin-top:10px}
    .tpl-label{font-size:14px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#6d6f7b;margin:32px 0 12px}
    .tpl-chips{display:flex;flex-wrap:wrap;gap:8px}
    .tpl-chip{border:1px solid #e1e2e6;background:#fff;border-radius:40px;padding:8px 20px;font-size:15px;line-height:22px;color:#000}
    .tpl-chip-form{border-color:#4517ff;color:#4517ff}
    .tpl-feats{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;list-style:none;margin:0;padding:0}
    .tpl-feats li{display:flex;gap:10px;align-items:flex-start;font-size:16px;line-height:24px}
    .tpl-tick{flex:none;width:20px;height:20px;border-radius:50%;background:#4517ff;display:inline-flex;align-items:center;justify-content:center;margin-top:2px}
    .tpl-tick svg{width:11px;height:11px}
    .tpl-perfect{margin-top:28px}
    .tpl-perfect strong{color:#000;font-weight:500}
    .tpl-sep{border-top:1px solid #e1e2e6;margin-top:180px}
    .tpl-clones{margin-top:60px}
    .tpl-guide-outer{background:#f9f9f9;border:1px solid #e1e2e6;border-radius:24px;padding:7px;margin-top:60px}
    .tpl-guide{background:linear-gradient(100deg,#FFFFFF 20%,#F1EFFF 62%,#EAE7FF 100%);border:1px solid #4517ff;border-radius:18px;padding:52px 56px;display:flex;align-items:center;justify-content:space-between;gap:36px}
    .tpl-guide p{margin:16px 0 32px;max-width:430px}
    .tpl-guide-art{flex:none;width:196px}
    .tpl-guide-art img{width:100%;height:auto}
    @media (max-width:991px){
      .tpl-sec{padding-top:80px}
      .tpl-sep{margin-top:80px}
      .tpl-media{width:100%;max-width:none}
    }
    @media (max-width:767px){
      .tpl-feats{grid-template-columns:1fr}
      .tpl-guide{padding:36px 26px;flex-direction:column;align-items:flex-start}
      .tpl-guide-art{width:140px;align-self:flex-end}
    }
    /* Fractul, declared in the page itself as well as in the site CSS, so the
       typeface loads even if the stylesheet bundle is cached or inlined
       without its relative font paths. Same files, same weights. */
    @font-face{font-family:Fractul;src:url('../fonts/Fractul-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
    @font-face{font-family:Fractul;src:url('../fonts/Fractul-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
    @font-face{font-family:Fractul;src:url('../fonts/Fractul-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
    @font-face{font-family:Fractul;src:url('../fonts/Fractul-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
    /* Image sizing: the width/height attributes on the content images were
       being used as a fixed pixel height while the width shrank to fit the
       column, which stretched every picture vertically (hero 670x968 instead
       of 670x503, clonable previews 629x554 instead of 629x398). Height must
       follow the intrinsic ratio. Rules in the site CSS that set a real fixed
       height (nav icons, the mega-menu post thumb, the Framer tag icon) are
       more specific than this element rule and still win. */
    img{height:auto}
    .service-hero-img{display:block;width:100%;height:auto}
    .blog-img{height:auto}
    /* Font: the nav and footer get Fractul from v2-shell.css, but the page
       content relied on the Webflow stylesheet's body rule, which was not
       being applied to the middle sections (they fell back to Arial).
       Declare Fractul explicitly on the content wrapper and its text
       elements here, using the same font files declared above, so the
       whole page uses one typeface. */
    .page-wrapper{font-family:Fractul,Arial,sans-serif}
    .page-wrapper h1,.page-wrapper h2,.page-wrapper h3,.page-wrapper h4,
    .page-wrapper p,.page-wrapper a,.page-wrapper li,.page-wrapper span,
    .page-wrapper div,.page-wrapper button{font-family:Fractul,Arial,sans-serif}
    /* Template card layout: the live courses card is a single flex row, so
       everything sat beside the image and the area under the image stayed
       empty. Here the card is a block: a top row with the image and the
       intro beside it, then a full-width lower part (pages, features,
       perfect-for and the CTAs) that runs under the image as well. */
    .courses-card.tpl-card{display:block}
    .tpl-top{display:grid;grid-template-columns:minmax(0,45%) minmax(0,1fr);gap:60px;align-items:start}
    .tpl-top .course-img-wrap{width:auto;max-width:550px}
    .tpl-side{min-width:0;padding-top:28px}
    .tpl-bottom{margin-top:40px}
    .tpl-cols{display:grid;grid-template-columns:1fr;gap:8px 60px}
    .tpl-cols .tpl-label{margin-top:0}
    .tpl-side .tpl-label{margin-top:24px}
    .tpl-btnrow{border-top:1px solid #e1e2e6;margin-top:36px;padding-top:24px;display:flex;flex-wrap:wrap;gap:16px;justify-content:flex-end;align-items:center}
    .tpl-btnrow .v2-btn{flex:none;text-decoration:none}
    .tpl-btnrow .v2-btn .v2-btn-t{text-decoration:none}
    .tpl-btnrow .v2-btn:hover,.tpl-btnrow .v2-btn:focus,.tpl-btnrow .v2-btn:hover .v2-btn-t,.tpl-btnrow .v2-btn:focus .v2-btn-t{text-decoration:none}
    .tpl-guide .v2-btn{flex:none;text-decoration:none}
    .tpl-guide .v2-btn .v2-btn-t{text-decoration:none}
    .tpl-guide .v2-btn:hover,.tpl-guide .v2-btn:focus,.tpl-guide .v2-btn:hover .v2-btn-t,.tpl-guide .v2-btn:focus .v2-btn-t{text-decoration:none}
    @media (max-width:991px){
      .tpl-top{grid-template-columns:1fr;gap:30px}
      .tpl-top .course-img-wrap{max-width:none}
      .tpl-side{padding-top:0}
      .tpl-bottom{margin-top:32px}
    }
    @media (max-width:767px){
      .tpl-cols{grid-template-columns:1fr}
      .tpl-btnrow{flex-direction:row;align-items:center;justify-content:flex-end}
    }

/* footer v4: option E, brand column + links in 2 rows of 3 */
.v2-fmain{display:grid;grid-template-columns:320px 1fr;gap:80px;padding-bottom:60px;margin-bottom:48px;border-bottom:1px solid var(--v2-line-d)}
.v2-fbrand{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.v2-flogo img{height:38px;width:auto}
.v2-fdesc{color:#ffffff99;font-size:15px;line-height:24px;margin:0;max-width:300px}
.v2-fbrand .v2-fbadge{width:151px;border-radius:40px}
.v2-fcontact2{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.v2-fmail{color:#fff;font-size:16px;transition:color .2s}.v2-fmail:hover{color:#7c5cff}
.v2-fbrand .v2-social{margin:0}
.v2-fgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px 32px}
.v2-fcol{display:flex;flex-direction:column;gap:10px}
.v2-fcol a{color:#fff;font-size:15px;line-height:24px;transition:color .2s}
.v2-fcol a:hover{color:#7c5cff}
.v2-fsub{color:#ffffff59;font-size:12px;line-height:18px;text-transform:uppercase;letter-spacing:.06em;margin-top:8px}
.v2-flabel+.v2-fsub{margin-top:4px}
.v2-fbot .v2-r{width:auto;flex:0 1 auto;gap:40px}
.v2-fbot .v2-r span{white-space:nowrap}
@media (max-width:991px){.v2-fmain{grid-template-columns:1fr;gap:56px}}
@media (max-width:767px){.v2-fgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 20px}.v2-fbot .v2-r{justify-content:space-between;flex-wrap:wrap;gap:8px 20px}}
