/* Desktop-first front page */
body.home #page-header{
  display:none;
}

body.home .site-content-container,
body.home .content-area,
body.home .site-main,
body.home .post,
body.home .entry-content{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}

body.home .hentry,
body.home article,
body.home .entry-content > *:not(.tdb-home){
  margin-bottom:0;
}

body.home .entry-content{
  margin:0;
}

.tdb-container{
  width:calc(100% - 48px);
  max-width:none;
  margin:0 auto;
}

.tdb-home{
  color:var(--td-text);
  overflow:hidden;
  background:#fff;
}

.tdb-home h1,
.tdb-home h2,
.tdb-home h3,
.tdb-home p{
  margin-top:0;
}

/* hero */
.tdb-hero{
  position:relative;
  background:
    radial-gradient(circle at 83% 20%, rgba(0,194,247,.12), transparent 24%),
    linear-gradient(180deg,#FBFDFF 0%,#F4F8FC 100%);
}

.tdb-hero__grid{
  min-height:620px;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(620px, .9fr);
  align-items:center;
  gap:64px;
  padding:48px 0 36px;
}

.tdb-kicker{
  margin-bottom:16px;
  color:var(--td-blue);
  font-size:15px;
  font-weight:800;
  letter-spacing:.16em;
}

.tdb-kicker--light{color:rgba(255,255,255,.8)}

.tdb-hero h1{
  max-width:760px;
  margin-bottom:28px;
  color:#071226;
  font-size:clamp(64px, 4.4vw, 86px);
  line-height:.96;
  letter-spacing:-.06em;
  font-weight:900;
}

.tdb-hero h1 span{color:var(--td-blue-2)}

.tdb-hero__lead{
  max-width:760px;
  margin-bottom:38px;
  color:#4E5D73;
  font-size:22px;
  line-height:1.45;
}

.tdb-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.tdb-btn{
  min-height:60px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:0 28px;
  border-radius:9px;
  font-size:22px;
  font-weight:800;
  text-decoration:none !important;
  transition:.25s ease;
}

.tdb-btn--primary{
  background:linear-gradient(135deg,var(--td-blue),var(--td-blue-2));
  color:#fff !important;
  box-shadow:0 12px 34px rgba(1,76,167,.18);
}

.tdb-btn--primary:hover{transform:translateY(-2px);box-shadow:0 14px 38px rgba(1,76,167,.24)}

.tdb-btn--outline{
  border:2px solid #C8D8E8;
  color:var(--td-blue) !important;
  background:#fff;
}

.tdb-btn--outline:hover{border-color:var(--td-blue);background:#F7FBFF}

.tdb-btn--light{background:#fff;color:var(--td-blue)!important}

.tdb-hero__visual{
  position:relative;
  min-height:500px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.tdb-hero__image{
  width:min(100%, 760px);
  height:auto;
  display:block;
  filter:drop-shadow(0 20px 30px rgba(17,24,39,.06));
}

.tdb-hero-note{
  position:absolute;
  right:2%;
  top:9%;
  color:var(--td-blue);
  font-size:29px;
  line-height:1.08;
  font-weight:700;
  font-style:italic;
  transform:rotate(-5deg);
}

/* principles */
.tdb-principles{
  padding:32px 0 28px;
  background:#fff;
  border-bottom:1px solid var(--td-line);
}

.tdb-principles__grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:0;
}

.tdb-principle{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:18px;
  padding:14px 24px;
  border-right:1px solid var(--td-line);
}
.tdb-principle:last-child{border-right:0}

.tdb-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#ECF5FF;
  color:var(--td-blue);
}

.tdb-principle h2{
  margin-bottom:5px;
  color:#0F172A;
  font-size:26px;
  line-height:1.15;
}

.tdb-principle p{
  margin-bottom:0;
  color:#667085;
  font-size:17px;
  line-height:1.42;
}

/* sellers */
.tdb-sellers{
  padding:52px 0 52px;
  background:#fff;
}

.tdb-sellers__panel{
  display:grid;
  grid-template-columns:1.05fr .9fr 420px;
  gap:36px;
  align-items:center;
  padding:46px;
  border-radius:28px;
  border:1px solid #E2ECF8;
  background:
    radial-gradient(circle at 85% 50%, rgba(255,255,255,.92), transparent 26%),
    linear-gradient(145deg,#F3F8FF 0%,#EEF6FF 75%,#F8FAFC 100%);
}

.tdb-sellers__copy h2,
.tdb-section-head h2,
.tdb-final-cta h2{
  color:#0B1220;
  font-size:clamp(50px, 4vw, 76px);
  line-height:.98;
  letter-spacing:-.05em;
}

.tdb-sellers__copy > p:not(.tdb-kicker){
  color:#526175;
  font-size:24px;
  line-height:1.45;
  margin-bottom:28px;
}

.tdb-sellers__features{
  display:grid;
  gap:16px;
}

.tdb-feature{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:18px;
  align-items:center;
  padding:18px 20px;
  border-radius:18px;
  border:1px solid rgba(1,76,167,.10);
  background:rgba(255,255,255,.94);
}

.tdb-feature__icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#F0F7FF;
  color:var(--td-blue);
}

.tdb-feature strong,
.tdb-feature span{display:block}

.tdb-feature strong{
  margin-bottom:5px;
  color:#0F172A;
  font-size:24px;
  line-height:1.15;
}

.tdb-feature span{
  color:#667085;
  font-size:16px;
  line-height:1.45;
}

.tdb-sellers__art{
  position:relative;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  min-height:400px;
}

.tdb-sellers__image{
  width:100%;
  max-width:430px;
  height:auto;
  display:block;
}

.tdb-person-caption{
  position:absolute;
  right:0;
  top:12px;
  max-width:230px;
  color:var(--td-blue);
  font-size:26px;
  line-height:1.05;
  font-style:italic;
  font-weight:700;
  text-align:right;
}

/* steps */
.tdb-steps{
  padding:18px 0 52px;
  background:#fff;
}

.tdb-section-head{
  margin-bottom:24px;
}

.tdb-steps__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--td-line);
  border-bottom:1px solid var(--td-line);
}

.tdb-step{
  min-height:150px;
  display:grid;
  grid-template-columns:74px 1fr;
  gap:18px;
  align-items:center;
  padding:28px 24px;
  border-right:1px solid var(--td-line);
}

.tdb-step:last-child{border-right:0}

.tdb-step > span{
  width:60px;
  height:60px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,var(--td-blue),var(--td-blue-2));
  color:#fff;
  font-size:24px;
  font-weight:900;
  box-shadow:0 0 0 12px #EFF6FF;
}

.tdb-step strong{
  display:block;
  margin-bottom:6px;
  color:#0F172A;
  font-size:24px;
  line-height:1.15;
}

.tdb-step p{
  margin:0;
  color:#667085;
  font-size:16px;
  line-height:1.45;
}

/* final cta */
.tdb-final-cta{
  padding:0 0 56px;
  background:#fff;
}

.tdb-final-cta__box{
  min-height:200px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:38px;
  padding:42px 44px;
  border-radius:22px;
  background-image:
    url('../images/cta-cart.svg'),
    radial-gradient(circle at 92% 50%, rgba(0,194,247,.20), transparent 20%),
    linear-gradient(90deg,#0A55B3 0%, #0D68D3 60%, #1596EF 100%);
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-position:right 32px center,center,center;
  background-size:220px auto,auto,auto;
  color:#fff;
}

.tdb-final-cta h2{
  max-width:740px;
  margin:0 0 12px;
  color:#fff;
}

.tdb-final-cta p{
  margin:0;
  color:rgba(255,255,255,.84);
  font-size:22px;
}

/* footer */
.tdb-footer{
  padding:52px 0 24px;
  background:#F8FAFC;
  border-top:1px solid var(--td-line);
}

.tdb-footer .custom-logo{
  max-width:250px;
  width:auto;
  height:auto;
}

.tdb-footer__grid{
  display:grid;
  grid-template-columns:1.45fr 1fr 1fr 1fr;
  gap:56px;
  padding-bottom:38px;
}

.tdb-footer__brand p{
  max-width:320px;
  margin:18px 0 0;
  color:#667085;
  font-size:15px;
  line-height:1.55;
}

.tdb-footer h3{
  margin:0 0 18px;
  color:#0F172A;
  font-size:18px;
}

.tdb-footer a{
  display:block;
  margin:10px 0;
  color:#667085;
  font-size:16px;
  text-decoration:none;
}

.tdb-footer a:hover{color:var(--td-blue)}

.tdb-footer__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:18px;
  border-top:1px solid var(--td-line);
  color:#8A94A6;
  font-size:13px;
}

.tdb-footer__legal{
  display:flex;
  gap:18px;
}

.tdb-footer__legal a{margin:0;font-size:13px}

/* responsive later, but basic fallback */
@media (max-width:1180px){
  .tdb-home-mainbar__inner{grid-template-columns:220px minmax(320px,1fr) auto}
  .tdb-home-nav__inner{grid-template-columns:220px 1fr}
  .tdb-home-menu{gap:24px}
  .tdb-hero__grid{grid-template-columns:minmax(0,1fr) 500px;gap:32px}
  .tdb-principles__grid{grid-template-columns:repeat(2,1fr);row-gap:20px}
  .tdb-principle:nth-child(2){border-right:0}
  .tdb-sellers__panel{grid-template-columns:1fr 1fr}
  .tdb-sellers__art{display:none}
}


/* 0.2.3 — final desktop-width override; tablet/mobile pass comes later */
@media (min-width:1200px){
  .tdb-container{
    width:calc(100% - 48px) !important;
    max-width:none !important;
    margin-left:24px !important;
    margin-right:24px !important;
  }

  .tdb-home-mainbar__inner{
    grid-template-columns:minmax(220px, 300px) minmax(520px, 1fr) auto;
  }

  .tdb-home-nav__inner{
    grid-template-columns:minmax(220px, 300px) 1fr;
  }

  .tdb-hero__grid{
    grid-template-columns:minmax(700px, 1.15fr) minmax(520px, .85fr);
    gap:42px;
  }

  .tdb-sellers__panel{
    grid-template-columns:minmax(520px, 1.05fr) minmax(460px, .95fr) minmax(300px, 380px);
  }
}


/* 0.2.6 — final CTA cart: fully visible, no overlap with button */
@media (min-width:1181px){
  .tdb-final-cta__box{
    position:relative;
    overflow:hidden;
    padding-right:300px !important;
    background-image:
      radial-gradient(circle at 92% 50%, rgba(0,194,247,.20), transparent 20%),
      linear-gradient(90deg,#0A55B3 0%, #0D68D3 60%, #1596EF 100%) !important;
  }
  .tdb-final-cta__box::after{
    content:"";
    position:absolute;
    right:28px;
    top:50%;
    width:230px;
    height:158px;
    transform:translateY(-50%);
    background:url('../images/cta-cart.svg') center/contain no-repeat;
    pointer-events:none;
    z-index:1;
  }
  .tdb-final-cta__box > div,
  .tdb-final-cta__box .tdb-btn{
    position:relative;
    z-index:2;
  }
  .tdb-final-cta__box .tdb-btn{
    margin-right:10px;
  }
}


/* =========================================================
   HOME RESPONSIVE — 0.2.12
   ========================================================= */

/* -------- TABLET -------- */
@media (max-width:1024px){
  .tdb-hero__grid{
    min-height:auto !important;
    grid-template-columns:1fr 420px !important;
    gap:28px !important;
    padding:42px 0 34px !important;
  }

  .tdb-hero h1{
    font-size:58px !important;
    line-height:.96 !important;
  }

  .tdb-hero__lead{
    font-size:18px !important;
  }

  .tdb-btn{
    min-height:52px !important;
    padding:0 22px !important;
    font-size:16px !important;
  }

  .tdb-hero__visual{
    min-height:390px !important;
  }

  .tdb-hero-note{
    max-width:230px !important;
    font-size:22px !important;
  }

  .tdb-principles__grid{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .tdb-principle{
    min-height:130px;
    border-bottom:1px solid var(--td-line);
  }

  .tdb-principle:nth-child(2n){
    border-right:0 !important;
  }

  .tdb-sellers__panel{
    grid-template-columns:1fr 1fr !important;
    gap:26px !important;
    padding:34px !important;
  }

  .tdb-sellers__art{
    display:none !important;
  }

  .tdb-sellers__copy h2,
  .tdb-section-head h2,
  .tdb-final-cta h2{
    font-size:46px !important;
  }

  .tdb-sellers__copy > p:not(.tdb-kicker){
    font-size:18px !important;
  }

  .tdb-feature strong{
    font-size:19px !important;
  }

  .tdb-steps__grid{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .tdb-step:nth-child(2){
    border-right:0 !important;
  }

  .tdb-step:nth-child(-n+2){
    border-bottom:1px solid var(--td-line);
  }

  .tdb-final-cta__box{
    padding:34px !important;
  }
}

/* -------- PHONE -------- */
@media (max-width:767px){
  .tdb-home{
    overflow:hidden;
  }

  /* HERO */
  .tdb-hero{
    background:
      radial-gradient(circle at 78% 20%, rgba(0,194,247,.11), transparent 28%),
      linear-gradient(180deg,#FBFDFF 0%,#F4F8FC 100%) !important;
  }

  .tdb-hero__grid{
    min-height:auto !important;
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
    padding:30px 0 20px !important;
  }

  .tdb-hero__content{
    width:100% !important;
  }

  .tdb-kicker{
    margin-bottom:10px !important;
    font-size:11px !important;
    letter-spacing:.12em !important;
  }

  .tdb-hero h1{
    max-width:none !important;
    margin-bottom:16px !important;
    font-size:44px !important;
    line-height:.96 !important;
    letter-spacing:-.045em !important;
  }

  .tdb-hero__lead{
    max-width:none !important;
    margin-bottom:22px !important;
    font-size:16px !important;
    line-height:1.45 !important;
  }

  .tdb-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .tdb-btn{
    width:100% !important;
    min-height:52px !important;
    padding:0 18px !important;
    font-size:16px !important;
    border-radius:8px !important;
  }

  .tdb-hero__visual{
    width:100% !important;
    min-height:290px !important;
    margin-top:2px !important;
    overflow:hidden !important;
  }

  .tdb-hero__art{
    width:112% !important;
    max-width:none !important;
    margin-left:-6% !important;
  }

  .tdb-hero-note{
    top:8px !important;
    right:6px !important;
    max-width:180px !important;
    font-size:18px !important;
    line-height:1.05 !important;
  }

  /* PRINCIPLES */
  .tdb-principles{
    padding:8px 0 8px !important;
  }

  .tdb-principles__grid{
    grid-template-columns:1fr !important;
  }

  .tdb-principle{
    min-height:auto !important;
    grid-template-columns:54px 1fr !important;
    gap:14px !important;
    padding:18px 2px !important;
    border-right:0 !important;
    border-bottom:1px solid var(--td-line);
  }

  .tdb-principle:last-child{
    border-bottom:0;
  }

  .tdb-icon{
    width:50px !important;
    height:50px !important;
    border-radius:14px !important;
  }

  .tdb-principle h2{
    margin-bottom:4px !important;
    font-size:19px !important;
  }

  .tdb-principle p{
    font-size:14px !important;
    line-height:1.4 !important;
  }

  /* SELLER BLOCK */
  .tdb-sellers{
    padding:28px 0 !important;
  }

  .tdb-sellers__panel{
    display:block !important;
    min-height:0 !important;
    padding:24px 18px !important;
    border-radius:18px !important;
  }

  .tdb-sellers__copy h2,
  .tdb-section-head h2,
  .tdb-final-cta h2{
    font-size:36px !important;
    line-height:1 !important;
  }

  .tdb-sellers__copy > p:not(.tdb-kicker){
    margin-bottom:20px !important;
    font-size:16px !important;
    line-height:1.45 !important;
  }

  .tdb-sellers__features{
    margin-top:22px !important;
    gap:10px !important;
  }

  .tdb-feature{
    min-height:0 !important;
    grid-template-columns:50px 1fr !important;
    gap:12px !important;
    padding:15px !important;
    border-radius:14px !important;
  }

  .tdb-feature__icon{
    width:46px !important;
    height:46px !important;
  }

  .tdb-feature strong{
    margin-bottom:3px !important;
    font-size:17px !important;
  }

  .tdb-feature span{
    font-size:13px !important;
  }

  .tdb-sellers__art{
    display:none !important;
  }

  /* STEPS */
  .tdb-steps{
    padding:18px 0 30px !important;
  }

  .tdb-section-head{
    margin-bottom:18px !important;
  }

  .tdb-steps__grid{
    grid-template-columns:1fr !important;
  }

  .tdb-step{
    min-height:108px !important;
    grid-template-columns:58px 1fr !important;
    gap:14px !important;
    padding:18px 6px !important;
    border-right:0 !important;
    border-bottom:1px solid var(--td-line) !important;
  }

  .tdb-step:last-child{
    border-bottom:0 !important;
  }

  .tdb-step > span{
    width:50px !important;
    height:50px !important;
    font-size:18px !important;
    box-shadow:0 0 0 7px #F1F7FF !important;
  }

  .tdb-step strong{
    font-size:18px !important;
  }

  .tdb-step p{
    font-size:14px !important;
  }

  /* FINAL CTA */
  .tdb-final-cta{
    padding:0 0 30px !important;
  }

  .tdb-final-cta__box{
    min-height:0 !important;
    display:block !important;
    padding:24px 18px !important;
    border-radius:18px !important;
  }

  .tdb-final-cta h2{
    max-width:none !important;
    margin-bottom:10px !important;
  }

  .tdb-final-cta p{
    font-size:15px !important;
    line-height:1.4 !important;
  }

  .tdb-final-cta .tdb-btn{
    min-width:0 !important;
    width:100% !important;
    margin-top:18px !important;
  }
}


/* =========================================================
   HOME TABLET — 0.2.14
   ========================================================= */
@media (min-width:768px) and (max-width:1024px){

  .tdb-hero__grid{
    min-height:auto !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 390px !important;
    gap:26px !important;
    padding:40px 0 32px !important;
  }

  .tdb-kicker{
    margin-bottom:12px !important;
    font-size:12px !important;
  }

  .tdb-hero h1{
    margin-bottom:20px !important;
    font-size:56px !important;
    line-height:.96 !important;
  }

  .tdb-hero__lead{
    margin-bottom:26px !important;
    font-size:17px !important;
    line-height:1.45 !important;
  }

  .tdb-actions{
    gap:12px !important;
  }

  .tdb-btn{
    min-height:50px !important;
    padding:0 20px !important;
    font-size:15px !important;
  }

  .tdb-hero__visual{
    min-height:380px !important;
  }

  .tdb-hero__art{
    width:106% !important;
    max-width:none !important;
    margin-left:-3% !important;
  }

  .tdb-hero-note{
    top:10px !important;
    right:8px !important;
    max-width:210px !important;
    font-size:20px !important;
  }

  /* principles 2x2 */
  .tdb-principles{
    padding:20px 0 !important;
  }

  .tdb-principles__grid{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .tdb-principle{
    min-height:120px !important;
    grid-template-columns:56px 1fr !important;
    gap:14px !important;
    padding:18px 20px !important;
    border-bottom:1px solid var(--td-line);
  }

  .tdb-principle:nth-child(2n){
    border-right:0 !important;
  }

  .tdb-principle:nth-last-child(-n+2){
    border-bottom:0 !important;
  }

  .tdb-principle h2{
    font-size:21px !important;
  }

  .tdb-principle p{
    font-size:14px !important;
  }

  /* sellers 2 columns, no art */
  .tdb-sellers{
    padding:42px 0 !important;
  }

  .tdb-sellers__panel{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:26px !important;
    padding:32px !important;
    border-radius:22px !important;
  }

  .tdb-sellers__art{
    display:none !important;
  }

  .tdb-sellers__copy h2,
  .tdb-section-head h2,
  .tdb-final-cta h2{
    font-size:44px !important;
    line-height:1 !important;
  }

  .tdb-sellers__copy > p:not(.tdb-kicker){
    font-size:17px !important;
    line-height:1.45 !important;
  }

  .tdb-feature{
    min-height:92px !important;
    grid-template-columns:54px 1fr !important;
    gap:14px !important;
    padding:15px !important;
  }

  .tdb-feature__icon{
    width:48px !important;
    height:48px !important;
  }

  .tdb-feature strong{
    font-size:18px !important;
  }

  .tdb-feature span{
    font-size:13px !important;
  }

  /* steps 2x2 */
  .tdb-steps{
    padding:28px 0 42px !important;
  }

  .tdb-steps__grid{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .tdb-step{
    min-height:118px !important;
    padding:20px !important;
  }

  .tdb-step:nth-child(2){
    border-right:0 !important;
  }

  .tdb-step:nth-child(-n+2){
    border-bottom:1px solid var(--td-line);
  }

  .tdb-step strong{
    font-size:20px !important;
  }

  .tdb-step p{
    font-size:14px !important;
  }

  /* final cta */
  .tdb-final-cta{
    padding-bottom:42px !important;
  }

  .tdb-final-cta__box{
    min-height:170px !important;
    padding:30px !important;
    gap:24px !important;
  }

  .tdb-final-cta .tdb-btn{
    min-width:240px !important;
    font-size:15px !important;
  }
}
