@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Hanken+Grotesk:wght@500;600;700;800&family=IBM+Plex+Mono:wght@500&display=swap");

/* Rank Forge unified design system — 2026 deployment pass */
:root{
  --rf-ink:#17181a;
  --rf-navy:#1e2a3a;
  --rf-copy:#46515e;
  --rf-muted:#68727e;
  --rf-cream:#f5f4f0;
  --rf-paper:#fcfbf9;
  --rf-line:#d8d1c5;
  --rf-orange:#e4531e;
  --rf-orange-dark:#c23f14;
  --rf-card-radius:12px;
  --rf-control-radius:8px;
  --rf-shadow:0 22px 52px rgba(23,24,26,.10);
}

html{scroll-padding-top:104px;}
body{
  margin:0;
  background:var(--rf-cream);
  color:var(--rf-ink);
  font-family:"Barlow",sans-serif !important;
  text-rendering:optimizeLegibility;
}
body>div,
main,
footer{font-family:"Barlow",sans-serif !important;}
h1,h2,h3,h4,h5,h6,
h1[style],h2[style],h3[style],h4[style],
[style*="font-family:Archivo"],
.ax-grotesk{
  font-family:"Hanken Grotesk",sans-serif !important;
}
h1[style]{
  text-transform:none !important;
  letter-spacing:-.045em !important;
  text-wrap:balance;
}
h2[style],h3[style]{letter-spacing:-.025em !important;text-wrap:balance;}
p,li,label,input,select,textarea,button{font-family:"Barlow",sans-serif;}
p{max-width:70ch;}
input,select,textarea,button{font-size:16px !important;}
input,select,textarea{
  border-radius:var(--rf-control-radius) !important;
  min-height:48px;
}
button,a,summary{-webkit-tap-highlight-color:transparent;}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(228,83,30,.32) !important;
  outline-offset:3px;
}

/* Functional microcopy remains readable without flattening editorial hierarchy. */
[style*="font-size:9.5px"],
[style*="font-size:10px"],
[style*="font-size:11px"],
[style*="font-size:11.5px"]{font-size:12px !important;}

/* Shared card and control geometry */
.rf-leadbox,
[data-blog-grid]>a,
main [style*="border-radius:18px"],
main [style*="border-radius:20px"]{border-radius:var(--rf-card-radius) !important;}
.rf-leadbox{box-shadow:var(--rf-shadow) !important;}
button[type="submit"],
a[href="/free-seo-audit"].rfh0,
.rfnav-cta,
.rfn-cta{
  min-height:48px;
  border-radius:var(--rf-control-radius) !important;
  font-family:"Hanken Grotesk",sans-serif !important;
  font-weight:700 !important;
}

/* One navigation language and visual treatment across every template. */
.rfnav,.rfn{
  background:rgba(252,251,249,.97) !important;
  border-bottom:1px solid var(--rf-line) !important;
  box-shadow:0 8px 28px rgba(23,24,26,.06) !important;
  font-family:"Barlow",sans-serif !important;
}
.rfnav-top,.rfn-top{background:var(--rf-ink) !important;}
.rfnav-topin,.rfn-topin{height:32px !important;min-height:32px !important;}
.rfnav-main,.rfn-main{height:68px !important;min-height:68px !important;}
.rfnav-main{max-width:1280px !important;}
.rfnav-logo img{height:38px !important;width:auto !important;}
.rfnav-logo b{
  display:flex !important;
  flex-direction:column;
  line-height:1;
  color:var(--rf-ink) !important;
  font-size:21px !important;
  font-style:normal !important;
  text-transform:none;
}
.rfnav-logo b span{font-weight:700;}
.rfnav-logo b small{
  margin-top:4px;
  color:var(--rf-orange);
  font-family:"Hanken Grotesk",sans-serif;
  font-size:10px !important;
  font-weight:600;
  letter-spacing:2.6px;
  text-transform:uppercase;
}
.rf-footer-brand{display:flex !important;align-items:center;gap:11px;}
.rf-footer-brand img{width:40px;height:auto;display:block;}
.rf-footer-brand b{display:flex;flex-direction:column;font:700 20px/1 "Hanken Grotesk",sans-serif;color:var(--rf-ink);}
.rf-footer-brand small{margin-top:4px;color:var(--rf-orange);font:600 10px/1 "Hanken Grotesk",sans-serif;letter-spacing:2.4px;text-transform:uppercase;}
.rfnav-menu{gap:2px !important;}
.rfnav-menu>a:not(.rfnav-cta),
.rfnav-dd>summary,
.rfn-link{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  border-radius:4px !important;
  color:#3f474f !important;
  font-family:"Barlow",sans-serif !important;
  font-size:14.5px !important;
  font-weight:600 !important;
}
.rfnav-menu>a:not(.rfnav-cta):hover,
.rfnav-dd>summary:hover{color:var(--rf-orange) !important;}
.rfnav-cta,.rfn-cta{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  background:var(--rf-orange) !important;
  color:#fff !important;
  padding:12px 18px !important;
  box-shadow:none !important;
}
.rfnav-cta:hover,.rfn-cta:hover{background:var(--rf-orange-dark) !important;}
.rfnav-burger,.rfn-burger{width:44px !important;height:44px !important;border-radius:var(--rf-control-radius) !important;}
.rfnav-bottombar a,.rfn-mobbar a{min-height:54px;}

/* Inner-page heroes use the same editorial styling as the homepage. */
.ax-hero{background:linear-gradient(180deg,#fff 0%,#f3efe7 100%) !important;}
.ax-hero h1{line-height:.98 !important;}
.ax-hero .ax-hl::after{bottom:-.22em !important;height:.25em !important;}
.ax-badge-wrap{display:none !important;}
.rf-page-about main>section:first-of-type>div[style*="opacity"],
.rf-page-blog main>section:first-of-type>div[style*="opacity"],
.rf-page-contact main>section:first-of-type>div[style*="opacity"]{display:none !important;}

/* Purposeful proof components */
.rf-founder-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:clamp(30px,5vw,70px);
  align-items:center;
  max-width:1120px !important;
}
.rf-founder-proof{
  position:relative;
  overflow:hidden;
  min-height:340px;
  border:1px solid rgba(23,24,26,.12);
  border-radius:var(--rf-card-radius);
  background:#ddd;
  box-shadow:var(--rf-shadow);
}
.rf-founder-proof img{display:block;width:100%;height:340px;object-fit:cover;object-position:center 18%;}
.rf-founder-proof figcaption{
  position:absolute;
  left:12px;right:12px;bottom:12px;
  padding:13px 14px;
  border-radius:8px;
  background:rgba(23,24,26,.88);
  color:#fff;
  backdrop-filter:blur(8px);
}
.rf-founder-proof strong{display:block;font:700 16px/1.2 "Hanken Grotesk",sans-serif;}
.rf-founder-proof span{display:block;margin-top:3px;color:#f3a17a;font:500 12px/1.3 "IBM Plex Mono",monospace;letter-spacing:.6px;text-transform:uppercase;}
.rf-local-signal{
  display:flex;
  gap:12px;
  align-items:center;
  width:fit-content;
  max-width:100%;
  margin-top:24px;
  padding:12px 15px;
  border:1px solid var(--rf-line);
  border-radius:var(--rf-control-radius);
  background:rgba(255,255,255,.74);
}
.rf-local-signal b{font:700 14px/1.25 "Hanken Grotesk",sans-serif;color:var(--rf-navy);}
.rf-local-signal span{display:block;margin-top:2px;color:var(--rf-muted);font-size:13px;line-height:1.35;}
.rf-local-pin{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:8px;background:rgba(228,83,30,.14);color:var(--rf-orange);font-size:20px;}
.rf-next-steps{
  height:100%;
  min-height:280px;
  padding:28px;
  border:1px solid var(--rf-line);
  border-radius:var(--rf-card-radius);
  background:var(--rf-navy);
  color:#fff;
}
.rf-next-steps h3{margin:0 0 8px;font:700 24px/1.1 "Hanken Grotesk",sans-serif;}
.rf-next-steps>p{margin:0 0 22px;color:#c7d0d9;line-height:1.55;}
.rf-next-steps ol{display:grid;gap:14px;margin:0;padding:0;list-style:none;counter-reset:steps;}
.rf-next-steps li{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:start;color:#eef1f4;line-height:1.45;counter-increment:steps;}
.rf-next-steps li::before{content:counter(steps);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--rf-orange);color:#fff;font-weight:700;}

/* Blog controls: easier scanning and progressive disclosure. */
[data-blog-filters] button{min-height:44px !important;padding:10px 18px !important;}
.rf-blog-more{
  display:flex;
  justify-content:center;
  margin-top:34px;
}
.rf-blog-more button{
  min-width:180px;
  min-height:48px;
  padding:12px 24px;
  border:1px solid var(--rf-navy);
  border-radius:var(--rf-control-radius);
  background:var(--rf-navy);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

/* Contact page brings the task into view sooner. */
.rf-page-contact main>section:first-of-type>div:last-child{
  padding-top:clamp(34px,4vw,54px) !important;
  padding-bottom:clamp(38px,4vw,58px) !important;
}
.rf-page-contact main>section:nth-of-type(2)>div{padding-top:clamp(34px,4vw,54px) !important;}

@media(max-width:1180px){
  .rfnav-menu,.rfn-menu{display:none !important;}
  .rfnav-burger,.rfn-burger{display:flex !important;}
  .rfnav-cta{display:none !important;}
  .rfn-cta{display:inline-flex !important;}
}

@media(min-width:761px) and (max-width:1180px){
  .rfn-mobbar{display:none !important;}
}

@media(max-width:760px){
  html{scroll-padding-top:78px;}
  body.rf-has-mobile-bar{padding-bottom:calc(58px + env(safe-area-inset-bottom));}
  .rfnav-top,.rfn-top{display:none !important;}
  .rfnav-main,.rfn-main{height:72px !important;min-height:72px !important;}
  .rfn-cta{display:none !important;}
  .rfnav-bottombar,.rfn-mobbar{padding-bottom:env(safe-area-inset-bottom);}
  body.rf-form-focus .rfnav-bottombar,
  body.rf-form-focus .rfn-mobbar{transform:translateY(120%);pointer-events:none;}
  footer .rf-footer-group{border-top:1px solid rgba(127,127,127,.26);padding-top:0;}
  footer .rf-footer-heading{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-height:52px;
    margin:0 !important;
    cursor:pointer;
  }
  footer .rf-footer-heading::after{content:"+";font-size:22px;line-height:1;color:var(--rf-orange);}
  footer .rf-footer-group.is-open .rf-footer-heading::after{content:"−";}
  footer .rf-footer-links{display:none !important;padding:4px 0 18px;}
  footer .rf-footer-group.is-open .rf-footer-links{display:flex !important;}
  main>section>div[style*="padding:clamp"]{
    padding-top:clamp(42px,10vw,58px) !important;
    padding-bottom:clamp(42px,10vw,62px) !important;
  }
  h1[style]{font-size:clamp(36px,10.5vw,44px) !important;line-height:1.01 !important;}
  h2[style]{line-height:1.08 !important;}
  .ax-hero .ax-hl{white-space:normal;}
  .ax-hero .ax-hl::after{bottom:-.12em !important;}
  .ax-hero a.rfh0[href="/free-seo-audit"],
  #rf-hero-form button[type="submit"]{width:100% !important;flex:1 0 100% !important;justify-content:center;text-align:center;}
  .ax-hero a.rfh1[href^="#"]{
    min-height:44px;
    padding:10px 4px !important;
    border:0 !important;
    border-radius:0 !important;
    text-decoration:underline !important;
    text-underline-offset:4px;
  }
  #rf-hero-form>div{flex-basis:100% !important;}
  .rf-page-home main>section:first-of-type p{font-size:16px !important;line-height:1.55 !important;}
  .rf-founder-hero{grid-template-columns:1fr;padding-top:42px !important;padding-bottom:48px !important;}
  .rf-founder-proof{min-height:300px;margin:0;}
  .rf-founder-proof img{height:300px;}
  [data-blog-filters]{
    flex-wrap:nowrap !important;
    overflow-x:auto;
    margin-right:-18px !important;
    padding:2px 18px 10px 0;
    scrollbar-width:none;
  }
  [data-blog-filters]::-webkit-scrollbar{display:none;}
  [data-blog-filters] button{flex:0 0 auto;}
  [data-blog-grid]{grid-template-columns:1fr !important;}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto !important;animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;}
}

/* --------------------------------------------------------------------------
   Editorial pass: remove generic landing-page motifs and let proof lead.
   -------------------------------------------------------------------------- */
#rf-progress,#rf-float,.ax-mq-strip,.ax-badge-wrap{display:none !important;}
.ax-hl{white-space:normal !important;}
.ax-hl svg{display:none !important;}
.ax-hl::after,
.ax-hero .ax-hl::after{
  left:0 !important;
  right:0 !important;
  bottom:-.04em !important;
  height:3px !important;
  border-radius:0 !important;
  background:currentColor !important;
  opacity:.8;
}
.ax-hero a.rfh1[href^="#"]{
  min-height:44px;
  padding:11px 4px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  text-decoration:underline !important;
  text-decoration-thickness:1px !important;
  text-underline-offset:5px;
}

/* Generic skyline artwork is replaced by typography, local context, and proof. */
main [style*="--sky-front"],
footer [style*="--sky-front"]{display:none !important;}

/* Flatter, more authored surfaces: forms may float, information does not. */
main [style*="background:#ffffff"][style*="border:1px"][style*="border-radius"],
main [style*="background:#FCFBF9"][style*="border:1px"][style*="border-radius"]{
  border-radius:5px !important;
  box-shadow:none !important;
}
.rf-leadbox,
.rf-founder-proof,
.rf-next-steps{border-radius:8px !important;}
main a.rfh0:not([href="/free-seo-audit"]):hover,
main a.rfh1:hover,
main .rfh2:hover{transform:none !important;}

/* Proof blocks read like a report rather than interchangeable app cards. */
.rf-page-home main>section [data-count]{
  font-variant-numeric:tabular-nums;
  letter-spacing:-.04em;
}
.rf-page-home main>section [data-reveal][style*="background:#FCFBF9"]{
  border-top:3px solid var(--rf-ink) !important;
}
.rf-page-home main>section [data-reveal][style*="background:#FCFBF9"]:first-child{
  border-top-color:var(--rf-orange) !important;
}

/* Inner pages use a calm solid field instead of generic hero gradients. */
.rf-page-seo .ax-hero,
.rf-page-about main>section:first-of-type,
.rf-page-blog main>section:first-of-type,
.rf-page-contact main>section:first-of-type,
.rf-page-location main>section:first-of-type{
  background:#f7f5f0 !important;
}
body:not(.rf-page-home) h1[style]{font-size:clamp(42px,6vw,72px) !important;}

/* Blog becomes an editorial index with one clear lead story. */
.rf-page-blog main>section:first-of-type>div:last-child{
  max-width:1180px !important;
  text-align:left !important;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  column-gap:clamp(40px,7vw,96px);
  align-items:end;
}
.rf-page-blog main>section:first-of-type h1{grid-column:1;max-width:10ch;}
.rf-page-blog main>section:first-of-type p{grid-column:2;grid-row:1 / span 2;margin:0 !important;padding-bottom:8px;}
.rf-page-blog [data-blog-grid]>a{
  border-radius:5px !important;
  border-top:3px solid var(--rf-ink) !important;
}
.rf-page-blog [data-blog-grid]>a:first-child{
  grid-column:span 2;
  display:grid !important;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  border-top-color:var(--rf-orange) !important;
}
.rf-page-blog [data-blog-grid]>a:first-child>div:first-child{height:100% !important;min-height:310px;}
.rf-page-blog [data-blog-grid]>a:first-child h2{font-size:clamp(25px,3vw,36px) !important;line-height:1.08 !important;}

/* Contact starts as a direct conversation, not a centered SaaS landing page. */
.rf-page-contact main>section:first-of-type>div:last-child{
  max-width:1100px !important;
  text-align:left !important;
}
.rf-page-contact main>section:first-of-type h1{max-width:12ch;}
.rf-page-contact main>section:first-of-type p{margin-left:0 !important;margin-right:0 !important;max-width:640px !important;}

/* Location pages feel local through content, not a reusable city silhouette. */
.rf-page-location main>section:first-of-type{
  border-bottom:1px solid var(--rf-line);
}
.rf-page-location .rf-local-signal{
  border-left:3px solid var(--rf-orange);
  border-radius:0;
  background:transparent;
  padding-left:16px;
}
.rf-page-location .rf-local-pin{display:none;}

@media(max-width:760px){
  .rf-page-blog main>section:first-of-type>div:last-child{display:block;}
  .rf-page-blog main>section:first-of-type p{margin-top:18px !important;}
  .rf-page-blog [data-blog-grid]>a:first-child{
    grid-column:span 1;
    display:flex !important;
  }
  .rf-page-blog [data-blog-grid]>a:first-child>div:first-child{min-height:0;height:190px !important;}
  .rf-page-contact main>section:first-of-type>div:last-child{text-align:left !important;}
}
