@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --red:#d71920;
  --black:#090909;
  --ink:#161616;
  --muted:#666666;
  --line:#e8e8e8;
  --white:#ffffff;
  --off:#f7f7f7;
  --soft-red:#fff1f1;
  --shadow:0 22px 65px rgba(0,0,0,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
}
a{color:inherit}
img{max-width:100%;display:block}
h1,h2,h3{margin:0;line-height:1;letter-spacing:-.065em}
h1{font-size:clamp(3.2rem,8vw,8.3rem);font-weight:900;max-width:1120px}
h2{font-size:clamp(2.3rem,5vw,5.2rem);font-weight:900}
h3{font-size:1.45rem;font-weight:900}
p{font-size:1.03rem;color:var(--muted)}
.section{padding:100px 6vw}
.overline{
  margin:0 0 18px;
  color:var(--red);
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:.74rem;
  font-weight:900;
}
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 6vw;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.logo span{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  background:var(--red);
  color:white;
  font-weight:900;
  letter-spacing:-.06em;
}
.logo strong{
  font-size:1rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.nav{
  display:flex;
  align-items:center;
  gap:28px;
  font-size:.88rem;
  font-weight:800;
}
.nav a{text-decoration:none}
.nav-cta{
  border:2px solid var(--black);
  padding:10px 16px;
}
.menu-button{display:none;border:0;background:var(--black);color:white;padding:10px 14px;font-weight:800}

.hero{
  min-height:calc(100vh - 94px);
  display:grid;
  grid-template-columns:1fr .88fr;
  align-items:center;
  gap:64px;
}
.hero-subtitle{
  font-size:1.25rem;
  max-width:780px;
  margin:30px 0 0;
}
.hero-actions,.contact-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:34px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:0;
  padding:15px 22px;
  font-weight:900;
  border:2px solid transparent;
  cursor:pointer;
  transition:.18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-red{
  background:var(--red);
  color:white;
  border-color:var(--red);
}
.btn-outline{
  background:white;
  color:var(--black);
  border-color:var(--black);
}
.hero-image{
  position:relative;
  padding:18px;
  border:1px solid var(--line);
}
.hero-image:before{
  content:"";
  position:absolute;
  inset:-18px 18px 18px -18px;
  background:var(--soft-red);
  z-index:-1;
}
.hero-image img{
  height:660px;
  width:100%;
  object-fit:cover;
}
.stats-bar{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.stats-bar div{
  padding:30px 6vw;
  border-right:1px solid var(--line);
}
.stats-bar strong{
  display:block;
  color:var(--red);
  font-size:2rem;
  line-height:1;
}
.stats-bar span{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-weight:800;
  font-size:.88rem;
}
.split,.about-section,.mtd-section,.guide-section{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}
.split-image img,.about-image img{
  height:620px;
  width:100%;
  object-fit:cover;
}
.split-copy p,.about-copy p,.mtd-copy p,.guide-copy p{
  max-width:660px;
}
.text-link{
  display:inline-block;
  margin-top:20px;
  color:var(--red);
  font-weight:900;
  text-decoration:none;
}
.services-section{background:var(--off)}
.section-title{
  max-width:900px;
  margin-bottom:54px;
}
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.services-grid article{
  background:white;
  padding:42px;
  min-height:285px;
}
.services-grid span{
  display:block;
  color:var(--red);
  font-weight:900;
  margin-bottom:26px;
}
.quote-panel{
  padding:120px 10vw;
  background:var(--black);
  color:white;
}
.quote-panel blockquote{
  margin:0;
  max-width:1120px;
  font-size:clamp(2rem,4vw,4.8rem);
  line-height:1.05;
  letter-spacing:-.06em;
  font-weight:900;
}
.quote-panel cite{
  display:block;
  margin-top:26px;
  color:#dddddd;
  font-style:normal;
  font-weight:800;
}
.timeline{
  display:grid;
  gap:16px;
}
.timeline div{
  border:1px solid var(--line);
  padding:32px;
}
.timeline small{
  color:var(--red);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.timeline strong{
  display:block;
  font-size:1.5rem;
  margin-top:8px;
}
.software-strip{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0;
  background:var(--red);
  color:white;
}
.software-strip span{
  padding:24px 34px;
  border-right:1px solid rgba(255,255,255,.25);
  font-weight:900;
}
.team-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.team-card{
  border:1px solid var(--line);
  padding:42px;
  min-height:360px;
}
.initials{
  width:96px;
  height:96px;
  display:grid;
  place-items:center;
  background:var(--red);
  color:white;
  font-size:2rem;
  font-weight:900;
  margin-bottom:26px;
}
.initials.black{background:var(--black)}
.role{
  margin:.5rem 0 1rem;
  color:var(--red);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.76rem;
  font-weight:900;
}
.guide-section{background:var(--off)}
.lead-form{
  background:white;
  border:1px solid var(--line);
  padding:42px;
  box-shadow:var(--shadow);
}
label{
  display:block;
  margin:16px 0;
  font-weight:800;
}
input,select,textarea{
  width:100%;
  margin-top:8px;
  padding:15px;
  border:1px solid var(--line);
  font:inherit;
}
.lead-form .btn{width:100%;margin-top:16px}
.contact-cta{
  padding:120px 6vw;
  background:var(--black);
  color:white;
}
.contact-cta h2,.contact-cta p{color:white}
.check-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  list-style:none;
  padding:0;
  margin:42px 0 0;
}
.check-list li{
  border:1px solid rgba(255,255,255,.22);
  padding:18px;
  font-weight:900;
}
.footer{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  padding:60px 6vw;
  background:#f2f2f2;
}
.footer strong{
  display:block;
  font-size:1.1rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.footer a{
  display:block;
  text-decoration:none;
  margin:.4rem 0;
  font-weight:800;
}
.whatsapp{
  position:fixed;
  right:22px;
  bottom:22px;
  width:60px;
  height:60px;
  display:grid;
  place-items:center;
  background:#25D366;
  color:white;
  text-decoration:none;
  border-radius:50%;
  font-size:1.6rem;
  box-shadow:0 18px 45px rgba(0,0,0,.25);
  z-index:80;
}
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:980px){
  .menu-button{display:block}
  .nav{
    display:none;
    position:absolute;
    top:92px;
    left:6vw;
    right:6vw;
    background:white;
    border:1px solid var(--line);
    padding:24px;
    flex-direction:column;
    align-items:flex-start;
    box-shadow:var(--shadow);
  }
  .nav.open{display:flex}
  .hero,.split,.about-section,.mtd-section,.guide-section{grid-template-columns:1fr}
  .hero-image img,.split-image img,.about-image img{height:460px}
  .stats-bar{grid-template-columns:repeat(2,1fr)}
  .services-grid{grid-template-columns:1fr 1fr}
  .check-list{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .section{padding:70px 5vw}
  .site-header{padding:18px 5vw}
  h1{font-size:3.3rem}
  h2{font-size:2.5rem}
  .hero{gap:40px}
  .stats-bar,.services-grid,.team-grid,.check-list{grid-template-columns:1fr}
  .stats-bar div{padding:26px 5vw}
  .services-grid article{padding:30px}
  .quote-panel{padding:80px 5vw}
  .contact-cta{padding:80px 5vw}
}


/* Small business page additions */
.smallbiz-hero .hero-image:before { background: #f4f4f4; }
.red-tick-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}
.red-tick-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 800;
  color: var(--ink);
}
.red-tick-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 900;
}
.feature-rows { border-top: 1px solid var(--line); }
.feature-row {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row ul {
  columns: 2;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 750;
}
.package-section { background: #ffffff; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.package-grid div {
  padding: 34px;
  border-right: 1px solid var(--line);
}
.package-grid div:last-child { border-right: 0; }
.package-grid strong {
  display: block;
  font-size: 1.2rem;
  color: var(--red);
  margin-bottom: 10px;
}
@media(max-width:980px){
  .feature-row { grid-template-columns: 1fr; gap: 20px; }
  .package-grid { grid-template-columns: 1fr 1fr; }
  .package-grid div { border-bottom: 1px solid var(--line); }
}
@media(max-width:640px){
  .feature-row ul { columns: 1; }
  .package-grid { grid-template-columns: 1fr; }
  .package-grid div { border-right: 0; }
}


/* Homepage services refined to match small business page style */
.homepage-feature-rows {
  border-top: 1px solid var(--line);
  background: #ffffff;
}
.homepage-feature-row {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}
.homepage-feature-row h3 {
  max-width: 480px;
}
.homepage-feature-row p {
  max-width: 720px;
}
.homepage-feature-row ul {
  columns: 2;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 750;
}
.homepage-feature-row li {
  margin-bottom: 6px;
}
.services-section .section-title p:not(.overline) {
  max-width: 760px;
}
@media(max-width:980px){
  .homepage-feature-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media(max-width:640px){
  .homepage-feature-row ul {
    columns: 1;
  }
}


/* Real team photos */
.photo-team-card {
  padding: 0;
  overflow: hidden;
}
.photo-team-card .team-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  margin: 0 0 30px;
  display: block;
}
.photo-team-card h3,
.photo-team-card .role,
.photo-team-card p {
  padding-left: 42px;
  padding-right: 42px;
}
.photo-team-card p:last-child {
  padding-bottom: 42px;
}
.team-card:first-child .team-photo {
  object-position: 36% center;
}
@media(max-width:640px){
  .photo-team-card .team-photo {
    height: 320px;
  }
  .photo-team-card h3,
  .photo-team-card .role,
  .photo-team-card p {
    padding-left: 30px;
    padding-right: 30px;
  }
  .photo-team-card p:last-child {
    padding-bottom: 30px;
  }
}


/* Contact form section */
.contact-form-section {
  padding: 100px 6vw;
}
.contact-content {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-copy {
  max-width: 760px;
}
.main-contact-form {
  background: #ffffff;
  color: var(--ink);
  padding: 42px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 22px 65px rgba(0,0,0,.18);
}
.main-contact-form h3 {
  margin-bottom: 20px;
}
.main-contact-form label {
  color: var(--ink);
}
.main-contact-form input,
.main-contact-form select,
.main-contact-form textarea {
  border: 1px solid #d9d9d9;
  background: #ffffff;
}
.main-contact-form textarea {
  resize: vertical;
}
.main-contact-form .btn {
  width: 100%;
  margin-top: 16px;
}
.main-contact-form small {
  display: block;
  margin-top: 14px;
  color: #666666;
}
@media(max-width:980px){
  .contact-content {
    grid-template-columns: 1fr;
  }
}
@media(max-width:640px){
  .contact-form-section {
    padding: 80px 5vw;
  }
  .main-contact-form {
    padding: 30px;
  }
}


/* Real TML logo */
.logo-image-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.site-logo {
  display: block;
  width: 220px;
  max-width: 42vw;
  height: auto;
}
.logo-image-link span,
.logo-image-link strong {
  display: none;
}
@media(max-width:640px){
  .site-logo {
    width: 175px;
    max-width: 58vw;
  }
}


/* Modern TML logo in header */
.logo-image-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-logo {
  display: block;
  width: 235px;
  max-width: 44vw;
  height: auto;
}
@media(max-width:640px){
  .site-logo {
    width: 180px;
    max-width: 58vw;
  }
}


/* SEO upgrade sections */
.local-seo-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.local-grid,
.seo-service-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.local-grid div,
.seo-service-links a {
  background: #ffffff;
  padding: 26px;
}
.local-grid strong {
  display: block;
  color: var(--red);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.local-grid span {
  color: var(--muted);
  font-weight: 750;
}
.seo-service-links {
  margin: -20px 0 48px;
}
.seo-service-links a {
  text-decoration: none;
  font-weight: 900;
  color: var(--ink);
}
.seo-service-links a:hover {
  color: var(--red);
}
.faq-section {
  background: #ffffff;
}
.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-list details {
  border: 1px solid var(--line);
  padding: 24px 28px;
  background: #ffffff;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--ink);
}
.faq-list p {
  margin-bottom: 0;
}
.service-page-hero h1 {
  max-width: 1000px;
}
@media(max-width:980px){
  .local-grid,
  .seo-service-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width:640px){
  .local-grid,
  .seo-service-links {
    grid-template-columns: 1fr;
  }
}


/* Navigation fix and service page link strip */
.page-link-strip {
  margin: -35px 6vw 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(0,0,0,.06);
}
.page-link-strip a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  border: 1px solid var(--line);
  padding: 10px 14px;
  background: #ffffff;
}
.page-link-strip a:hover {
  color: var(--red);
  border-color: var(--red);
}
.breadcrumb {
  padding: 26px 6vw 0;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .9rem;
  font-weight: 800;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--red);
  text-decoration: none;
}
@media(max-width:980px){
  .nav {
    gap: 16px;
  }
}
@media(max-width:640px){
  .page-link-strip {
    margin: -25px 5vw 0;
  }
  .page-link-strip a {
    width: 100%;
  }
}


/* Thank you / checklist download page */
.thank-you-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  background: #ffffff;
}
.thank-you-card {
  max-width: 980px;
  border: 1px solid var(--line);
  padding: 70px;
  background: #ffffff;
  box-shadow: 0 22px 65px rgba(0,0,0,.10);
}
.thank-you-card h1 {
  max-width: 850px;
}
.thank-you-note {
  margin-top: 34px;
  padding: 24px;
  background: #fff1f1;
  border-left: 6px solid var(--red);
}
.thank-you-note p {
  margin-bottom: 0;
}
@media(max-width:640px){
  .thank-you-card {
    padding: 36px 26px;
  }
}


/* Lead capture thank-you page upgrades */
.next-steps-section {
  background: #ffffff;
}
.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.next-steps-grid article {
  background: #ffffff;
  padding: 34px;
}
.next-steps-grid span {
  display: block;
  color: var(--red);
  font-weight: 900;
  margin-bottom: 18px;
}
.soft-conversion-section {
  background: #f7f7f7;
}
.soft-conversion-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 54px;
  box-shadow: 0 22px 65px rgba(0,0,0,.08);
}
.conversion-actions {
  display: grid;
  gap: 14px;
}
.conversion-actions .btn,
.conversion-actions .text-link {
  width: 100%;
  text-align: center;
  justify-content: center;
}
@media(max-width:980px){
  .next-steps-grid,
  .soft-conversion-card {
    grid-template-columns: 1fr;
  }
}
@media(max-width:640px){
  .soft-conversion-card {
    padding: 32px;
  }
}











/* Matching style for Free Monthly Finance Checklist button */
.btn-download-match {
  white-space: nowrap;
}
@media(max-width:1100px){
  .hero-actions .btn-download-match {
    white-space: normal;
  }
}
@media(max-width:640px){
  .hero-actions .btn-download-match {
    width: 100%;
  }
}
